1. Packages
  2. Google Cloud Native
  3. API Docs
  4. firebasehosting
  5. firebasehosting/v1beta1
  6. Domain

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.firebasehosting/v1beta1.Domain

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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=google_native.firebasehosting.v1beta1.DomainRedirectArgs(
            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

    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.GoogleNative.FirebaseHosting.V1Beta1.Inputs.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 DomainRedirectArgs
    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 DomainRedirectArgs
    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.GoogleNative.FirebaseHosting.V1Beta1.Outputs.DomainProvisioningResponse
    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 DomainProvisioningResponse
    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 DomainProvisioningResponse
    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 DomainProvisioningResponse
    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 DomainProvisioningResponse
    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

    Path string
    The URL path on which to serve the specified token to satisfy the certificate challenge.
    Token string
    The token to serve at the specified URL path to satisfy the certificate challenge.
    Path string
    The URL path on which to serve the specified token to satisfy the certificate challenge.
    Token string
    The token to serve at the specified URL path to satisfy the certificate challenge.
    path String
    The URL path on which to serve the specified token to satisfy the certificate challenge.
    token String
    The token to serve at the specified URL path to satisfy the certificate challenge.
    path string
    The URL path on which to serve the specified token to satisfy the certificate challenge.
    token string
    The token to serve at the specified URL path to satisfy the certificate challenge.
    path str
    The URL path on which to serve the specified token to satisfy the certificate challenge.
    token str
    The token to serve at the specified URL path to satisfy the certificate challenge.
    path String
    The URL path on which to serve the specified token to satisfy the certificate challenge.
    token String
    The token to serve at the specified URL path to satisfy the certificate challenge.

    DomainProvisioningResponse, DomainProvisioningResponseArgs

    CertChallengeDiscoveredTxt List<string>
    The TXT records (for the certificate challenge) that were found at the last DNS fetch.
    CertChallengeDns Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.CertDnsChallengeResponse
    The DNS challenge for generating a certificate.
    CertChallengeHttp Pulumi.GoogleNative.FirebaseHosting.V1Beta1.Inputs.CertHttpChallengeResponse
    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.
    DnsFetchTime string
    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.
    CertChallengeDiscoveredTxt []string
    The TXT records (for the certificate challenge) that were found at the last DNS fetch.
    CertChallengeDns CertDnsChallengeResponse
    The DNS challenge for generating a certificate.
    CertChallengeHttp CertHttpChallengeResponse
    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.
    DnsFetchTime string
    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.
    certChallengeDiscoveredTxt List<String>
    The TXT records (for the certificate challenge) that were found at the last DNS fetch.
    certChallengeDns CertDnsChallengeResponse
    The DNS challenge for generating a certificate.
    certChallengeHttp CertHttpChallengeResponse
    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.
    dnsFetchTime String
    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.
    certChallengeDiscoveredTxt string[]
    The TXT records (for the certificate challenge) that were found at the last DNS fetch.
    certChallengeDns CertDnsChallengeResponse
    The DNS challenge for generating a certificate.
    certChallengeHttp CertHttpChallengeResponse
    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.
    dnsFetchTime string
    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_discovered_txt Sequence[str]
    The TXT records (for the certificate challenge) that were found at the last DNS fetch.
    cert_challenge_dns CertDnsChallengeResponse
    The DNS challenge for generating a certificate.
    cert_challenge_http CertHttpChallengeResponse
    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_time str
    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.
    certChallengeDiscoveredTxt List<String>
    The TXT records (for the certificate challenge) that were found at the last DNS fetch.
    certChallengeDns Property Map
    The DNS challenge for generating a certificate.
    certChallengeHttp Property Map
    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.
    dnsFetchTime String
    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.GoogleNative.FirebaseHosting.V1Beta1.DomainRedirectType
    The redirect status code.
    DomainName string
    The domain name to redirect to.
    Type DomainRedirectType
    The redirect status code.
    domainName String
    The domain name to redirect to.
    type DomainRedirectType
    The redirect status code.
    domainName string
    The domain name to redirect to.
    type DomainRedirectType
    The redirect status code.
    domain_name str
    The domain name to redirect to.
    type DomainRedirectType
    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

    RedirectTypeUnspecified
    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.
    DomainRedirectTypeRedirectTypeUnspecified
    REDIRECT_TYPE_UNSPECIFIEDThe default redirect type; should not be intentionlly used.
    DomainRedirectTypeMovedPermanently
    MOVED_PERMANENTLYThe redirect will respond with an HTTP status code of 301 Moved Permanently.
    RedirectTypeUnspecified
    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.
    RedirectTypeUnspecified
    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi