HostingCustomDomainState class
Input properties used for looking up and filtering HostingCustomDomain resources.
Constructors
-
HostingCustomDomainState({Input<
String?> ? certPreference, Input<List< ? certs, Input<HostingCustomDomainCert> ?>String?> ? createTime, Input<String?> ? customDomain, Input<String?> ? deleteTime, Input<String?> ? deletionPolicy, Input<String?> ? etag, Input<String?> ? expireTime, Input<String?> ? hostState, Input<List< ? issues, Input<HostingCustomDomainIssue> ?>String?> ? name, Input<String?> ? ownershipState, Input<String?> ? project, Input<bool?> ? reconciling, Input<String?> ? redirectTarget, Input<List< ? requiredDnsUpdates, Input<HostingCustomDomainRequiredDnsUpdate> ?>String?> ? siteId, Input<String?> ? updateTime, Input<bool?> ? waitDnsVerification}) -
Creates a new HostingCustomDomainState.
certPreferenceA field that lets you specify which SSL certificate type Hosting createscertsThe SSL certificate Hosting has for thisCustomDomain's domain name.createTimeTheCustomDomain's create time.customDomainThe ID of theCustomDomain, which is the domain name you'd like to use with Firebase Hosting.deleteTimeThe time theCustomDomainwas deleted; null forCustomDomainsthatdeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.etagA string that represents the current state of theCustomDomainandexpireTimeThe minimum time before a soft-deletedCustomDomainis completely removedhostStateThe host state of your domain name. Host state is determined by checking eachissuesA set of errors Hosting systems encountered when trying to establishnameThe fully-qualified name of theCustomDomain.ownershipStateThe ownership state of your domain name. Ownership is determined at aprojectThe ID of the project in which the resource belongs.reconcilingif true, indicates that Hosting's systems are attempting toredirectTargetA domain name that this CustomDomain should direct traffic towards. IfrequiredDnsUpdatesA set of updates you should make to the domain name's DNS records tositeIdThe ID of the site in which to create this custom domain association.updateTimeThe last time theCustomDomainwas updated.waitDnsVerificationIf true, Terraform will wait for DNS records to be fully resolved on theCustomDomain.const -
HostingCustomDomainState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
certPreference
→ Input<
String?> ? -
A field that lets you specify which SSL certificate type Hosting creates
for your domain name. Spark plan
CustomDomains only have access to theGROUPEDcert type, while Blaze plan can select any option. Possible values are:GROUPED,PROJECT_GROUPED,DEDICATED.final -
certs
→ Input<
List< ?HostingCustomDomainCert> ?> -
The SSL certificate Hosting has for this
CustomDomain's domain name. For newCustomDomains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check thestatefield for more. Structure is documented below.final -
createTime
→ Input<
String?> ? -
The
CustomDomain's create time.final -
customDomain
→ Input<
String?> ? -
The ID of the
CustomDomain, which is the domain name you'd like to use with Firebase Hosting.final -
deleteTime
→ Input<
String?> ? -
The time the
CustomDomainwas deleted; null forCustomDomainsthat haven't been deleted. DeletedCustomDomainspersist for approximately 30 days, after which time Hosting removes them completely.final -
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
etag
→ Input<
String?> ? -
A string that represents the current state of the
CustomDomainand allows you to confirm its initial state in requests that would modify it.final -
expireTime
→ Input<
String?> ? -
The minimum time before a soft-deleted
CustomDomainis completely removed from Hosting; null forCustomDomainsthat haven't been deleted.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
hostState
→ Input<
String?> ? -
The host state of your domain name. Host state is determined by checking each
IP address associated with your domain name to see if it's serving
Hosting content.
HOST_UNHOSTED:
Your
CustomDomain's domain name isn't associated with any IP addresses. HOST_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See yourCustomDomain'sissuesfield for more details. HOST_MISMATCH: YourCustomDomain's domain name has IP addresses that don't ultimately resolve to Hosting. HOST_CONFLICT: YourCustomDomain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, removeAandAAAArecords related to non-Hosting services. HOST_ACTIVE: All requests against yourCustomDomain's domain name are served by Hosting. If theCustomDomain'sOwnershipStateis alsoACTIVE, Hosting serves your Hosting Site's content on the domain name.final -
issues
→ Input<
List< ?HostingCustomDomainIssue> ?> -
A set of errors Hosting systems encountered when trying to establish
Hosting's ability to serve secure content for your domain name. Resolve
these issues to ensure your
CustomDomainbehaves properly. Structure is documented below.final -
name
→ Input<
String?> ? -
The fully-qualified name of the
CustomDomain.final -
ownershipState
→ Input<
String?> ? -
The ownership state of your domain name. Ownership is determined at a
Firebase project level, and established by adding
TXTrecords to your domain name's DNS records. Ownership cascades to subdomains. Granting a project ownership offoo.comalso grants that project ownership overbar.foo.com, unless you add specificTXTrecords tobar.foo.comthat grant a different project ownership. If yourCustomDomainis in anOwnershipStateother thanOWNERSHIP_ACTIVEfor more than 30 days and it hasn't been updated in at least 30 days, Hosting's ownership systems delete theCustomDomain. OWNERSHIP_MISSING: YourCustomDomain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf. OWNERSHIP_UNREACHABLE: YourCustomDomain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See yourCustomDomain'sissuesfield for more details. OWNERSHIP_MISMATCH: YourCustomDomain's domain name is owned by another Firebase project. Remove the conflictingTXTrecords and replace them with project-specific records for your current Firebase project. OWNERSHIP_CONFLICT: YourCustomDomain's domain name has conflictingTXTrecords that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership. OWNERSHIP_PENDING: YourCustomDomain's DNS records are configured correctly. Hosting will transfer ownership of your domain to thisCustomDomainwithin 24 hours. OWNERSHIP_ACTIVE: YourCustomDomain's domain name hasTXTrecords that grant its project permission to act on its behalf.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
reconciling
→ Input<
bool?> ? -
if true, indicates that Hosting's systems are attempting to
make the
CustomDomain's state match your preferred state. This is most frequentlytruewhen initially provisioning aCustomDomainor when creating a new SSL certificate to match an updatedcertPreferencefinal -
redirectTarget
→ Input<
String?> ? -
A domain name that this CustomDomain should direct traffic towards. If
specified, Hosting will respond to requests against this CustomDomain
with an HTTP 301 code, and route traffic to the specified
redirectTargetinstead.final -
requiredDnsUpdates
→ Input<
List< ?HostingCustomDomainRequiredDnsUpdate> ?> -
A set of updates you should make to the domain name's DNS records to
let Hosting serve secure content on its behalf.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
siteId
→ Input<
String?> ? -
The ID of the site in which to create this custom domain association.
final
-
updateTime
→ Input<
String?> ? -
The last time the
CustomDomainwas updated.final -
waitDnsVerification
→ Input<
bool?> ? -
If true, Terraform will wait for DNS records to be fully resolved on the
CustomDomain. If false, Terraform will not wait for DNS records on theCustomDomain. Any issues in theCustomDomainwill be returned and stored in the Terraform state.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited