Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.firebasehosting/v1beta1.Domain
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a domain mapping on the specified site. Auto-naming is currently not supported for this resource.
Create Domain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Domain(name: string, args: DomainArgs, opts?: CustomResourceOptions);@overload
def Domain(resource_name: str,
           args: DomainArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Domain(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           domain_name: Optional[str] = None,
           site: Optional[str] = None,
           site_id: Optional[str] = None,
           domain_redirect: Optional[DomainRedirectArgs] = None,
           project: Optional[str] = None)func NewDomain(ctx *Context, name string, args DomainArgs, opts ...ResourceOption) (*Domain, error)public Domain(string name, DomainArgs args, CustomResourceOptions? opts = null)
public Domain(String name, DomainArgs args)
public Domain(String name, DomainArgs args, CustomResourceOptions options)
type: google-native:firebasehosting/v1beta1:Domain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var domainResource = new GoogleNative.FirebaseHosting.V1Beta1.Domain("domainResource", new()
{
    DomainName = "string",
    Site = "string",
    SiteId = "string",
    DomainRedirect = new GoogleNative.FirebaseHosting.V1Beta1.Inputs.DomainRedirectArgs
    {
        DomainName = "string",
        Type = GoogleNative.FirebaseHosting.V1Beta1.DomainRedirectType.RedirectTypeUnspecified,
    },
    Project = "string",
});
example, err := firebasehosting.NewDomain(ctx, "domainResource", &firebasehosting.DomainArgs{
	DomainName: pulumi.String("string"),
	Site:       pulumi.String("string"),
	SiteId:     pulumi.String("string"),
	DomainRedirect: &firebasehosting.DomainRedirectArgs{
		DomainName: pulumi.String("string"),
		Type:       firebasehosting.DomainRedirectTypeRedirectTypeUnspecified,
	},
	Project: pulumi.String("string"),
})
var domainResource = new Domain("domainResource", DomainArgs.builder()
    .domainName("string")
    .site("string")
    .siteId("string")
    .domainRedirect(DomainRedirectArgs.builder()
        .domainName("string")
        .type("REDIRECT_TYPE_UNSPECIFIED")
        .build())
    .project("string")
    .build());
domain_resource = google_native.firebasehosting.v1beta1.Domain("domainResource",
    domain_name="string",
    site="string",
    site_id="string",
    domain_redirect={
        "domain_name": "string",
        "type": google_native.firebasehosting.v1beta1.DomainRedirectType.REDIRECT_TYPE_UNSPECIFIED,
    },
    project="string")
const domainResource = new google_native.firebasehosting.v1beta1.Domain("domainResource", {
    domainName: "string",
    site: "string",
    siteId: "string",
    domainRedirect: {
        domainName: "string",
        type: google_native.firebasehosting.v1beta1.DomainRedirectType.RedirectTypeUnspecified,
    },
    project: "string",
});
type: google-native:firebasehosting/v1beta1:Domain
properties:
    domainName: string
    domainRedirect:
        domainName: string
        type: REDIRECT_TYPE_UNSPECIFIED
    project: string
    site: string
    siteId: string
Domain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Domain resource accepts the following input properties:
- DomainName string
- The domain name of the association.
- Site string
- The site name of the association.
- SiteId string
- DomainRedirect Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Domain Redirect 
- If set, the domain should redirect with the provided parameters.
- Project string
- DomainName string
- The domain name of the association.
- Site string
- The site name of the association.
- SiteId string
- DomainRedirect DomainRedirect Args 
- If set, the domain should redirect with the provided parameters.
- Project string
- domainName String
- The domain name of the association.
- site String
- The site name of the association.
- siteId String
- domainRedirect DomainRedirect 
- If set, the domain should redirect with the provided parameters.
- project String
- domainName string
- The domain name of the association.
- site string
- The site name of the association.
- siteId string
- domainRedirect DomainRedirect 
- If set, the domain should redirect with the provided parameters.
- project string
- domain_name str
- The domain name of the association.
- site str
- The site name of the association.
- site_id str
- domain_redirect DomainRedirect Args 
- If set, the domain should redirect with the provided parameters.
- project str
- domainName String
- The domain name of the association.
- site String
- The site name of the association.
- siteId String
- domainRedirect Property Map
- If set, the domain should redirect with the provided parameters.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Domain resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
Pulumi.Google Native. Firebase Hosting. V1Beta1. Outputs. Domain Provisioning Response 
- Information about the provisioning of certificates and the health of the DNS resolution for the domain.
- Status string
- Additional status of the domain association.
- UpdateTime string
- The time at which the domain was last updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
DomainProvisioning Response 
- Information about the provisioning of certificates and the health of the DNS resolution for the domain.
- Status string
- Additional status of the domain association.
- UpdateTime string
- The time at which the domain was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
DomainProvisioning Response 
- Information about the provisioning of certificates and the health of the DNS resolution for the domain.
- status String
- Additional status of the domain association.
- updateTime String
- The time at which the domain was last updated.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
DomainProvisioning Response 
- Information about the provisioning of certificates and the health of the DNS resolution for the domain.
- status string
- Additional status of the domain association.
- updateTime string
- The time at which the domain was last updated.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning
DomainProvisioning Response 
- Information about the provisioning of certificates and the health of the DNS resolution for the domain.
- status str
- Additional status of the domain association.
- update_time str
- The time at which the domain was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning Property Map
- Information about the provisioning of certificates and the health of the DNS resolution for the domain.
- status String
- Additional status of the domain association.
- updateTime String
- The time at which the domain was last updated.
Supporting Types
CertDnsChallengeResponse, CertDnsChallengeResponseArgs        
- DomainName string
- The domain name upon which the DNS challenge must be satisfied.
- Token string
- The value that must be present as a TXT record on the domain name to satisfy the challenge.
- DomainName string
- The domain name upon which the DNS challenge must be satisfied.
- Token string
- The value that must be present as a TXT record on the domain name to satisfy the challenge.
- domainName String
- The domain name upon which the DNS challenge must be satisfied.
- token String
- The value that must be present as a TXT record on the domain name to satisfy the challenge.
- domainName string
- The domain name upon which the DNS challenge must be satisfied.
- token string
- The value that must be present as a TXT record on the domain name to satisfy the challenge.
- domain_name str
- The domain name upon which the DNS challenge must be satisfied.
- token str
- The value that must be present as a TXT record on the domain name to satisfy the challenge.
- domainName String
- The domain name upon which the DNS challenge must be satisfied.
- token String
- The value that must be present as a TXT record on the domain name to satisfy the challenge.
CertHttpChallengeResponse, CertHttpChallengeResponseArgs        
DomainProvisioningResponse, DomainProvisioningResponseArgs      
- CertChallenge List<string>Discovered Txt 
- The TXT records (for the certificate challenge) that were found at the last DNS fetch.
- CertChallenge Pulumi.Dns Google Native. Firebase Hosting. V1Beta1. Inputs. Cert Dns Challenge Response 
- The DNS challenge for generating a certificate.
- CertChallenge Pulumi.Http Google Native. Firebase Hosting. V1Beta1. Inputs. Cert Http Challenge Response 
- The HTTP challenge for generating a certificate.
- CertStatus string
- The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- DiscoveredIps List<string>
- The IPs found at the last DNS fetch.
- DnsFetch stringTime 
- The time at which the last DNS fetch occurred.
- DnsStatus string
- The DNS record match status as of the last DNS fetch.
- ExpectedIps List<string>
- The list of IPs to which the domain is expected to resolve.
- CertChallenge []stringDiscovered Txt 
- The TXT records (for the certificate challenge) that were found at the last DNS fetch.
- CertChallenge CertDns Dns Challenge Response 
- The DNS challenge for generating a certificate.
- CertChallenge CertHttp Http Challenge Response 
- The HTTP challenge for generating a certificate.
- CertStatus string
- The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- DiscoveredIps []string
- The IPs found at the last DNS fetch.
- DnsFetch stringTime 
- The time at which the last DNS fetch occurred.
- DnsStatus string
- The DNS record match status as of the last DNS fetch.
- ExpectedIps []string
- The list of IPs to which the domain is expected to resolve.
- certChallenge List<String>Discovered Txt 
- The TXT records (for the certificate challenge) that were found at the last DNS fetch.
- certChallenge CertDns Dns Challenge Response 
- The DNS challenge for generating a certificate.
- certChallenge CertHttp Http Challenge Response 
- The HTTP challenge for generating a certificate.
- certStatus String
- The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- discoveredIps List<String>
- The IPs found at the last DNS fetch.
- dnsFetch StringTime 
- The time at which the last DNS fetch occurred.
- dnsStatus String
- The DNS record match status as of the last DNS fetch.
- expectedIps List<String>
- The list of IPs to which the domain is expected to resolve.
- certChallenge string[]Discovered Txt 
- The TXT records (for the certificate challenge) that were found at the last DNS fetch.
- certChallenge CertDns Dns Challenge Response 
- The DNS challenge for generating a certificate.
- certChallenge CertHttp Http Challenge Response 
- The HTTP challenge for generating a certificate.
- certStatus string
- The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- discoveredIps string[]
- The IPs found at the last DNS fetch.
- dnsFetch stringTime 
- The time at which the last DNS fetch occurred.
- dnsStatus string
- The DNS record match status as of the last DNS fetch.
- expectedIps string[]
- The list of IPs to which the domain is expected to resolve.
- cert_challenge_ Sequence[str]discovered_ txt 
- The TXT records (for the certificate challenge) that were found at the last DNS fetch.
- cert_challenge_ Certdns Dns Challenge Response 
- The DNS challenge for generating a certificate.
- cert_challenge_ Certhttp Http Challenge Response 
- The HTTP challenge for generating a certificate.
- cert_status str
- The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- discovered_ips Sequence[str]
- The IPs found at the last DNS fetch.
- dns_fetch_ strtime 
- The time at which the last DNS fetch occurred.
- dns_status str
- The DNS record match status as of the last DNS fetch.
- expected_ips Sequence[str]
- The list of IPs to which the domain is expected to resolve.
- certChallenge List<String>Discovered Txt 
- The TXT records (for the certificate challenge) that were found at the last DNS fetch.
- certChallenge Property MapDns 
- The DNS challenge for generating a certificate.
- certChallenge Property MapHttp 
- The HTTP challenge for generating a certificate.
- certStatus String
- The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- discoveredIps List<String>
- The IPs found at the last DNS fetch.
- dnsFetch StringTime 
- The time at which the last DNS fetch occurred.
- dnsStatus String
- The DNS record match status as of the last DNS fetch.
- expectedIps List<String>
- The list of IPs to which the domain is expected to resolve.
DomainRedirect, DomainRedirectArgs    
- DomainName string
- The domain name to redirect to.
- Type
Pulumi.Google Native. Firebase Hosting. V1Beta1. Domain Redirect Type 
- The redirect status code.
- DomainName string
- The domain name to redirect to.
- Type
DomainRedirect Type 
- The redirect status code.
- domainName String
- The domain name to redirect to.
- type
DomainRedirect Type 
- The redirect status code.
- domainName string
- The domain name to redirect to.
- type
DomainRedirect Type 
- The redirect status code.
- domain_name str
- The domain name to redirect to.
- type
DomainRedirect Type 
- The redirect status code.
- domainName String
- The domain name to redirect to.
- type "REDIRECT_TYPE_UNSPECIFIED" | "MOVED_PERMANENTLY"
- The redirect status code.
DomainRedirectResponse, DomainRedirectResponseArgs      
- DomainName string
- The domain name to redirect to.
- Type string
- The redirect status code.
- DomainName string
- The domain name to redirect to.
- Type string
- The redirect status code.
- domainName String
- The domain name to redirect to.
- type String
- The redirect status code.
- domainName string
- The domain name to redirect to.
- type string
- The redirect status code.
- domain_name str
- The domain name to redirect to.
- type str
- The redirect status code.
- domainName String
- The domain name to redirect to.
- type String
- The redirect status code.
DomainRedirectType, DomainRedirectTypeArgs      
- RedirectType Unspecified 
- REDIRECT_TYPE_UNSPECIFIEDThe default redirect type; should not be intentionlly used.
- MovedPermanently 
- MOVED_PERMANENTLYThe redirect will respond with an HTTP status code of 301 Moved Permanently.
- DomainRedirect Type Redirect Type Unspecified 
- REDIRECT_TYPE_UNSPECIFIEDThe default redirect type; should not be intentionlly used.
- DomainRedirect Type Moved Permanently 
- MOVED_PERMANENTLYThe redirect will respond with an HTTP status code of 301 Moved Permanently.
- RedirectType Unspecified 
- REDIRECT_TYPE_UNSPECIFIEDThe default redirect type; should not be intentionlly used.
- MovedPermanently 
- MOVED_PERMANENTLYThe redirect will respond with an HTTP status code of 301 Moved Permanently.
- RedirectType Unspecified 
- REDIRECT_TYPE_UNSPECIFIEDThe default redirect type; should not be intentionlly used.
- MovedPermanently 
- MOVED_PERMANENTLYThe redirect will respond with an HTTP status code of 301 Moved Permanently.
- REDIRECT_TYPE_UNSPECIFIED
- REDIRECT_TYPE_UNSPECIFIEDThe default redirect type; should not be intentionlly used.
- MOVED_PERMANENTLY
- MOVED_PERMANENTLYThe redirect will respond with an HTTP status code of 301 Moved Permanently.
- "REDIRECT_TYPE_UNSPECIFIED"
- REDIRECT_TYPE_UNSPECIFIEDThe default redirect type; should not be intentionlly used.
- "MOVED_PERMANENTLY"
- MOVED_PERMANENTLYThe redirect will respond with an HTTP status code of 301 Moved Permanently.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.