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=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:
- Domain
Name string - The domain name of the association.
- Site string
- The site name of the association.
- Site
Id string - Domain
Redirect Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Domain Redirect - If set, the domain should redirect with the provided parameters.
- Project string
- Domain
Name string - The domain name of the association.
- Site string
- The site name of the association.
- Site
Id string - Domain
Redirect DomainRedirect Args - If set, the domain should redirect with the provided parameters.
- Project string
- domain
Name String - The domain name of the association.
- site String
- The site name of the association.
- site
Id String - domain
Redirect DomainRedirect - If set, the domain should redirect with the provided parameters.
- project String
- domain
Name string - The domain name of the association.
- site string
- The site name of the association.
- site
Id string - domain
Redirect 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
- domain
Name String - The domain name of the association.
- site String
- The site name of the association.
- site
Id String - domain
Redirect 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.
- Update
Time string - The time at which the domain was last updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
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.
- Update
Time string - The time at which the domain was last updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
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.
- update
Time String - The time at which the domain was last updated.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
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.
- update
Time string - The time at which the domain was last updated.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning
Domain
Provisioning 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.
- update
Time String - The time at which the domain was last updated.
Supporting Types
CertDnsChallengeResponse, CertDnsChallengeResponseArgs
- Domain
Name 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 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 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 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.
- domain
Name 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
- Cert
Challenge List<string>Discovered Txt - The TXT records (for the certificate challenge) that were found at the last DNS fetch.
- Cert
Challenge Pulumi.Dns Google Native. Firebase Hosting. V1Beta1. Inputs. Cert Dns Challenge Response - The DNS challenge for generating a certificate.
- Cert
Challenge Pulumi.Http Google Native. Firebase Hosting. V1Beta1. Inputs. Cert Http Challenge Response - The HTTP challenge for generating a certificate.
- Cert
Status string - The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- Discovered
Ips List<string> - The IPs found at the last DNS fetch.
- Dns
Fetch stringTime - The time at which the last DNS fetch occurred.
- Dns
Status string - The DNS record match status as of the last DNS fetch.
- Expected
Ips List<string> - The list of IPs to which the domain is expected to resolve.
- Cert
Challenge []stringDiscovered 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 string - The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- Discovered
Ips []string - The IPs found at the last DNS fetch.
- Dns
Fetch stringTime - The time at which the last DNS fetch occurred.
- Dns
Status string - The DNS record match status as of the last DNS fetch.
- Expected
Ips []string - The list of IPs to which the domain is expected to resolve.
- cert
Challenge List<String>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 String - The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- discovered
Ips List<String> - The IPs found at the last DNS fetch.
- dns
Fetch StringTime - The time at which the last DNS fetch occurred.
- dns
Status String - The DNS record match status as of the last DNS fetch.
- expected
Ips List<String> - The list of IPs to which the domain is expected to resolve.
- cert
Challenge string[]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 string - The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- discovered
Ips string[] - The IPs found at the last DNS fetch.
- dns
Fetch stringTime - The time at which the last DNS fetch occurred.
- dns
Status string - The DNS record match status as of the last DNS fetch.
- expected
Ips 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.
- cert
Challenge List<String>Discovered Txt - The TXT records (for the certificate challenge) that were found at the last DNS fetch.
- cert
Challenge Property MapDns - The DNS challenge for generating a certificate.
- cert
Challenge Property MapHttp - The HTTP challenge for generating a certificate.
- cert
Status String - The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
- discovered
Ips List<String> - The IPs found at the last DNS fetch.
- dns
Fetch StringTime - The time at which the last DNS fetch occurred.
- dns
Status String - The DNS record match status as of the last DNS fetch.
- expected
Ips List<String> - The list of IPs to which the domain is expected to resolve.
DomainRedirect, DomainRedirectArgs
- Domain
Name string - The domain name to redirect to.
- Type
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Domain Redirect Type - The redirect status code.
- Domain
Name string - The domain name to redirect to.
- Type
Domain
Redirect Type - The redirect status code.
- domain
Name String - The domain name to redirect to.
- type
Domain
Redirect Type - The redirect status code.
- domain
Name string - The domain name to redirect to.
- type
Domain
Redirect Type - The redirect status code.
- domain_
name str - The domain name to redirect to.
- type
Domain
Redirect Type - The redirect status code.
- domain
Name String - The domain name to redirect to.
- type "REDIRECT_TYPE_UNSPECIFIED" | "MOVED_PERMANENTLY"
- The redirect status code.
DomainRedirectResponse, DomainRedirectResponseArgs
- Domain
Name string - The domain name to redirect to.
- Type string
- The redirect status code.
- Domain
Name string - The domain name to redirect to.
- Type string
- The redirect status code.
- domain
Name String - The domain name to redirect to.
- type String
- The redirect status code.
- domain
Name 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.
- domain
Name String - The domain name to redirect to.
- type String
- The redirect status code.
DomainRedirectType, DomainRedirectTypeArgs
- 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
.
- Domain
Redirect Type Redirect Type Unspecified - REDIRECT_TYPE_UNSPECIFIEDThe default redirect type; should not be intentionlly used.
- Domain
Redirect Type 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
.
- 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
.
- "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.