Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.firebasehosting/v1beta1.CustomDomain
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a CustomDomain
.
Auto-naming is currently not supported for this resource.
Create CustomDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomDomain(name: string, args: CustomDomainArgs, opts?: CustomResourceOptions);
@overload
def CustomDomain(resource_name: str,
args: CustomDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
custom_domain_id: Optional[str] = None,
site_id: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
cert_preference: Optional[CustomDomainCertPreference] = None,
labels: Optional[Mapping[str, str]] = None,
project: Optional[str] = None,
redirect_target: Optional[str] = None)
func NewCustomDomain(ctx *Context, name string, args CustomDomainArgs, opts ...ResourceOption) (*CustomDomain, error)
public CustomDomain(string name, CustomDomainArgs args, CustomResourceOptions? opts = null)
public CustomDomain(String name, CustomDomainArgs args)
public CustomDomain(String name, CustomDomainArgs args, CustomResourceOptions options)
type: google-native:firebasehosting/v1beta1:CustomDomain
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 CustomDomainArgs
- 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 CustomDomainArgs
- 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 CustomDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomDomainArgs
- 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 customDomainResource = new GoogleNative.FirebaseHosting.V1Beta1.CustomDomain("customDomainResource", new()
{
CustomDomainId = "string",
SiteId = "string",
Annotations =
{
{ "string", "string" },
},
CertPreference = GoogleNative.FirebaseHosting.V1Beta1.CustomDomainCertPreference.TypeUnspecified,
Labels =
{
{ "string", "string" },
},
Project = "string",
RedirectTarget = "string",
});
example, err := firebasehosting.NewCustomDomain(ctx, "customDomainResource", &firebasehosting.CustomDomainArgs{
CustomDomainId: pulumi.String("string"),
SiteId: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
CertPreference: firebasehosting.CustomDomainCertPreferenceTypeUnspecified,
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
RedirectTarget: pulumi.String("string"),
})
var customDomainResource = new CustomDomain("customDomainResource", CustomDomainArgs.builder()
.customDomainId("string")
.siteId("string")
.annotations(Map.of("string", "string"))
.certPreference("TYPE_UNSPECIFIED")
.labels(Map.of("string", "string"))
.project("string")
.redirectTarget("string")
.build());
custom_domain_resource = google_native.firebasehosting.v1beta1.CustomDomain("customDomainResource",
custom_domain_id="string",
site_id="string",
annotations={
"string": "string",
},
cert_preference=google_native.firebasehosting.v1beta1.CustomDomainCertPreference.TYPE_UNSPECIFIED,
labels={
"string": "string",
},
project="string",
redirect_target="string")
const customDomainResource = new google_native.firebasehosting.v1beta1.CustomDomain("customDomainResource", {
customDomainId: "string",
siteId: "string",
annotations: {
string: "string",
},
certPreference: google_native.firebasehosting.v1beta1.CustomDomainCertPreference.TypeUnspecified,
labels: {
string: "string",
},
project: "string",
redirectTarget: "string",
});
type: google-native:firebasehosting/v1beta1:CustomDomain
properties:
annotations:
string: string
certPreference: TYPE_UNSPECIFIED
customDomainId: string
labels:
string: string
project: string
redirectTarget: string
siteId: string
CustomDomain 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 CustomDomain resource accepts the following input properties:
- Custom
Domain stringId - Required. The ID of the
CustomDomain
, which is the domain name you'd like to use with Firebase Hosting. - Site
Id string - Annotations Dictionary<string, string>
- Annotations you can add to leave both human- and machine-readable metadata about your
CustomDomain
. - Cert
Preference Pulumi.Google Native. Firebase Hosting. V1Beta1. Custom Domain Cert Preference - A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the
GROUPED
cert type, while Blaze plan domains can select any option. - Labels Dictionary<string, string>
- Labels used for extra metadata and/or filtering.
- Project string
- Redirect
Target string - A domain name that this
CustomDomain
should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specifiedredirect_target
instead.
- Custom
Domain stringId - Required. The ID of the
CustomDomain
, which is the domain name you'd like to use with Firebase Hosting. - Site
Id string - Annotations map[string]string
- Annotations you can add to leave both human- and machine-readable metadata about your
CustomDomain
. - Cert
Preference CustomDomain Cert Preference - A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the
GROUPED
cert type, while Blaze plan domains can select any option. - Labels map[string]string
- Labels used for extra metadata and/or filtering.
- Project string
- Redirect
Target string - A domain name that this
CustomDomain
should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specifiedredirect_target
instead.
- custom
Domain StringId - Required. The ID of the
CustomDomain
, which is the domain name you'd like to use with Firebase Hosting. - site
Id String - annotations Map<String,String>
- Annotations you can add to leave both human- and machine-readable metadata about your
CustomDomain
. - cert
Preference CustomDomain Cert Preference - A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the
GROUPED
cert type, while Blaze plan domains can select any option. - labels Map<String,String>
- Labels used for extra metadata and/or filtering.
- project String
- redirect
Target String - A domain name that this
CustomDomain
should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specifiedredirect_target
instead.
- custom
Domain stringId - Required. The ID of the
CustomDomain
, which is the domain name you'd like to use with Firebase Hosting. - site
Id string - annotations {[key: string]: string}
- Annotations you can add to leave both human- and machine-readable metadata about your
CustomDomain
. - cert
Preference CustomDomain Cert Preference - A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the
GROUPED
cert type, while Blaze plan domains can select any option. - labels {[key: string]: string}
- Labels used for extra metadata and/or filtering.
- project string
- redirect
Target string - A domain name that this
CustomDomain
should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specifiedredirect_target
instead.
- custom_
domain_ strid - Required. The ID of the
CustomDomain
, which is the domain name you'd like to use with Firebase Hosting. - site_
id str - annotations Mapping[str, str]
- Annotations you can add to leave both human- and machine-readable metadata about your
CustomDomain
. - cert_
preference CustomDomain Cert Preference - A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the
GROUPED
cert type, while Blaze plan domains can select any option. - labels Mapping[str, str]
- Labels used for extra metadata and/or filtering.
- project str
- redirect_
target str - A domain name that this
CustomDomain
should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specifiedredirect_target
instead.
- custom
Domain StringId - Required. The ID of the
CustomDomain
, which is the domain name you'd like to use with Firebase Hosting. - site
Id String - annotations Map<String>
- Annotations you can add to leave both human- and machine-readable metadata about your
CustomDomain
. - cert
Preference "TYPE_UNSPECIFIED" | "TEMPORARY" | "GROUPED" | "PROJECT_GROUPED" | "DEDICATED" - A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the
GROUPED
cert type, while Blaze plan domains can select any option. - labels Map<String>
- Labels used for extra metadata and/or filtering.
- project String
- redirect
Target String - A domain name that this
CustomDomain
should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specifiedredirect_target
instead.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomDomain resource produces the following output properties:
- Cert
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Outputs. Certificate Response - The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the
state
field for more. - Create
Time string - The custom domain's create time.
- Delete
Time string - The time the
CustomDomain
was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make anUndeleteCustomDomain
request. - Etag string
- A string that represents the current state of the
CustomDomain
and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when makingUpdateCustomDomain
,DeleteCustomDomain
, andUndeleteCustomDomain
requests. - Expire
Time string - The minimum time before a soft-deleted
CustomDomain
is completely removed from Hosting; null for custom domains that haven't been deleted. - Host
State string - The
HostState
of the domain name thisCustomDomain
refers to. - Id string
- The provider-assigned unique ID for this managed resource.
- Issues
List<Pulumi.
Google Native. Firebase Hosting. V1Beta1. Outputs. Status Response> - 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
CustomDomain
behaves properly. - Name string
- The fully-qualified name of the
CustomDomain
. - Ownership
State string - The
OwnershipState
of the domain name thisCustomDomain
refers to. - Reconciling bool
- A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently
true
when initially provisioning aCustomDomain
after aCreateCustomDomain
request or when creating a new SSL certificate to match an updatedcert_preference
after anUpdateCustomDomain
request. - Required
Dns Pulumi.Updates Google Native. Firebase Hosting. V1Beta1. Outputs. Dns Updates Response - A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
- Update
Time string - The last time the
CustomDomain
was updated.
- Cert
Certificate
Response - The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the
state
field for more. - Create
Time string - The custom domain's create time.
- Delete
Time string - The time the
CustomDomain
was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make anUndeleteCustomDomain
request. - Etag string
- A string that represents the current state of the
CustomDomain
and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when makingUpdateCustomDomain
,DeleteCustomDomain
, andUndeleteCustomDomain
requests. - Expire
Time string - The minimum time before a soft-deleted
CustomDomain
is completely removed from Hosting; null for custom domains that haven't been deleted. - Host
State string - The
HostState
of the domain name thisCustomDomain
refers to. - Id string
- The provider-assigned unique ID for this managed resource.
- Issues
[]Status
Response - 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
CustomDomain
behaves properly. - Name string
- The fully-qualified name of the
CustomDomain
. - Ownership
State string - The
OwnershipState
of the domain name thisCustomDomain
refers to. - Reconciling bool
- A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently
true
when initially provisioning aCustomDomain
after aCreateCustomDomain
request or when creating a new SSL certificate to match an updatedcert_preference
after anUpdateCustomDomain
request. - Required
Dns DnsUpdates Updates Response - A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
- Update
Time string - The last time the
CustomDomain
was updated.
- cert
Certificate
Response - The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the
state
field for more. - create
Time String - The custom domain's create time.
- delete
Time String - The time the
CustomDomain
was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make anUndeleteCustomDomain
request. - etag String
- A string that represents the current state of the
CustomDomain
and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when makingUpdateCustomDomain
,DeleteCustomDomain
, andUndeleteCustomDomain
requests. - expire
Time String - The minimum time before a soft-deleted
CustomDomain
is completely removed from Hosting; null for custom domains that haven't been deleted. - host
State String - The
HostState
of the domain name thisCustomDomain
refers to. - id String
- The provider-assigned unique ID for this managed resource.
- issues
List<Status
Response> - 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
CustomDomain
behaves properly. - name String
- The fully-qualified name of the
CustomDomain
. - ownership
State String - The
OwnershipState
of the domain name thisCustomDomain
refers to. - reconciling Boolean
- A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently
true
when initially provisioning aCustomDomain
after aCreateCustomDomain
request or when creating a new SSL certificate to match an updatedcert_preference
after anUpdateCustomDomain
request. - required
Dns DnsUpdates Updates Response - A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
- update
Time String - The last time the
CustomDomain
was updated.
- cert
Certificate
Response - The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the
state
field for more. - create
Time string - The custom domain's create time.
- delete
Time string - The time the
CustomDomain
was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make anUndeleteCustomDomain
request. - etag string
- A string that represents the current state of the
CustomDomain
and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when makingUpdateCustomDomain
,DeleteCustomDomain
, andUndeleteCustomDomain
requests. - expire
Time string - The minimum time before a soft-deleted
CustomDomain
is completely removed from Hosting; null for custom domains that haven't been deleted. - host
State string - The
HostState
of the domain name thisCustomDomain
refers to. - id string
- The provider-assigned unique ID for this managed resource.
- issues
Status
Response[] - 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
CustomDomain
behaves properly. - name string
- The fully-qualified name of the
CustomDomain
. - ownership
State string - The
OwnershipState
of the domain name thisCustomDomain
refers to. - reconciling boolean
- A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently
true
when initially provisioning aCustomDomain
after aCreateCustomDomain
request or when creating a new SSL certificate to match an updatedcert_preference
after anUpdateCustomDomain
request. - required
Dns DnsUpdates Updates Response - A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
- update
Time string - The last time the
CustomDomain
was updated.
- cert
Certificate
Response - The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the
state
field for more. - create_
time str - The custom domain's create time.
- delete_
time str - The time the
CustomDomain
was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make anUndeleteCustomDomain
request. - etag str
- A string that represents the current state of the
CustomDomain
and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when makingUpdateCustomDomain
,DeleteCustomDomain
, andUndeleteCustomDomain
requests. - expire_
time str - The minimum time before a soft-deleted
CustomDomain
is completely removed from Hosting; null for custom domains that haven't been deleted. - host_
state str - The
HostState
of the domain name thisCustomDomain
refers to. - id str
- The provider-assigned unique ID for this managed resource.
- issues
Sequence[Status
Response] - 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
CustomDomain
behaves properly. - name str
- The fully-qualified name of the
CustomDomain
. - ownership_
state str - The
OwnershipState
of the domain name thisCustomDomain
refers to. - reconciling bool
- A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently
true
when initially provisioning aCustomDomain
after aCreateCustomDomain
request or when creating a new SSL certificate to match an updatedcert_preference
after anUpdateCustomDomain
request. - required_
dns_ Dnsupdates Updates Response - A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
- update_
time str - The last time the
CustomDomain
was updated.
- cert Property Map
- The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the
state
field for more. - create
Time String - The custom domain's create time.
- delete
Time String - The time the
CustomDomain
was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make anUndeleteCustomDomain
request. - etag String
- A string that represents the current state of the
CustomDomain
and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when makingUpdateCustomDomain
,DeleteCustomDomain
, andUndeleteCustomDomain
requests. - expire
Time String - The minimum time before a soft-deleted
CustomDomain
is completely removed from Hosting; null for custom domains that haven't been deleted. - host
State String - The
HostState
of the domain name thisCustomDomain
refers to. - id String
- The provider-assigned unique ID for this managed resource.
- issues List<Property Map>
- 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
CustomDomain
behaves properly. - name String
- The fully-qualified name of the
CustomDomain
. - ownership
State String - The
OwnershipState
of the domain name thisCustomDomain
refers to. - reconciling Boolean
- A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently
true
when initially provisioning aCustomDomain
after aCreateCustomDomain
request or when creating a new SSL certificate to match an updatedcert_preference
after anUpdateCustomDomain
request. - required
Dns Property MapUpdates - A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
- update
Time String - The last time the
CustomDomain
was updated.
Supporting Types
CertVerificationResponse, CertVerificationResponseArgs
- Dns
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Dns Updates Response - A
TXT
record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. - Http
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Http Update Response - A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
- Dns
Dns
Updates Response - A
TXT
record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. - Http
Http
Update Response - A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
- dns
Dns
Updates Response - A
TXT
record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. - http
Http
Update Response - A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
- dns
Dns
Updates Response - A
TXT
record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. - http
Http
Update Response - A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
- dns
Dns
Updates Response - A
TXT
record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. - http
Http
Update Response - A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
- dns Property Map
- A
TXT
record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name. - http Property Map
- A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.
CertificateResponse, CertificateResponseArgs
- Create
Time string - The certificate's creation time. For
TEMPORARY
certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created. - Expire
Time string - The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.
- Issues
List<Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Status Response> - A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors.
- State string
- The state of the certificate. Only the
CERT_ACTIVE
andCERT_EXPIRING_SOON
states provide SSL coverage for a domain name. If the state isPROPAGATING
and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates. - Type string
- The certificate's type.
- Verification
Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Cert Verification Response - A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
- Create
Time string - The certificate's creation time. For
TEMPORARY
certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created. - Expire
Time string - The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.
- Issues
[]Status
Response - A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors.
- State string
- The state of the certificate. Only the
CERT_ACTIVE
andCERT_EXPIRING_SOON
states provide SSL coverage for a domain name. If the state isPROPAGATING
and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates. - Type string
- The certificate's type.
- Verification
Cert
Verification Response - A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
- create
Time String - The certificate's creation time. For
TEMPORARY
certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created. - expire
Time String - The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.
- issues
List<Status
Response> - A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors.
- state String
- The state of the certificate. Only the
CERT_ACTIVE
andCERT_EXPIRING_SOON
states provide SSL coverage for a domain name. If the state isPROPAGATING
and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates. - type String
- The certificate's type.
- verification
Cert
Verification Response - A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
- create
Time string - The certificate's creation time. For
TEMPORARY
certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created. - expire
Time string - The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.
- issues
Status
Response[] - A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors.
- state string
- The state of the certificate. Only the
CERT_ACTIVE
andCERT_EXPIRING_SOON
states provide SSL coverage for a domain name. If the state isPROPAGATING
and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates. - type string
- The certificate's type.
- verification
Cert
Verification Response - A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
- create_
time str - The certificate's creation time. For
TEMPORARY
certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created. - expire_
time str - The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.
- issues
Sequence[Status
Response] - A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors.
- state str
- The state of the certificate. Only the
CERT_ACTIVE
andCERT_EXPIRING_SOON
states provide SSL coverage for a domain name. If the state isPROPAGATING
and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates. - type str
- The certificate's type.
- verification
Cert
Verification Response - A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
- create
Time String - The certificate's creation time. For
TEMPORARY
certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created. - expire
Time String - The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.
- issues List<Property Map>
- A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors.
- state String
- The state of the certificate. Only the
CERT_ACTIVE
andCERT_EXPIRING_SOON
states provide SSL coverage for a domain name. If the state isPROPAGATING
and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates. - type String
- The certificate's type.
- verification Property Map
- A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
CustomDomainCertPreference, CustomDomainCertPreferenceArgs
- Type
Unspecified - TYPE_UNSPECIFIEDThe certificate's type is unspecified. The message is invalid if this is unspecified.
- Temporary
- TEMPORARYA short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.
- Grouped
- GROUPEDThe standard certificate for Spark plan custom domains.
- Project
Grouped - PROJECT_GROUPEDBlaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.
- Dedicated
- DEDICATEDBlaze plan only. A certificate that covers a single domain name.
- Custom
Domain Cert Preference Type Unspecified - TYPE_UNSPECIFIEDThe certificate's type is unspecified. The message is invalid if this is unspecified.
- Custom
Domain Cert Preference Temporary - TEMPORARYA short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.
- Custom
Domain Cert Preference Grouped - GROUPEDThe standard certificate for Spark plan custom domains.
- Custom
Domain Cert Preference Project Grouped - PROJECT_GROUPEDBlaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.
- Custom
Domain Cert Preference Dedicated - DEDICATEDBlaze plan only. A certificate that covers a single domain name.
- Type
Unspecified - TYPE_UNSPECIFIEDThe certificate's type is unspecified. The message is invalid if this is unspecified.
- Temporary
- TEMPORARYA short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.
- Grouped
- GROUPEDThe standard certificate for Spark plan custom domains.
- Project
Grouped - PROJECT_GROUPEDBlaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.
- Dedicated
- DEDICATEDBlaze plan only. A certificate that covers a single domain name.
- Type
Unspecified - TYPE_UNSPECIFIEDThe certificate's type is unspecified. The message is invalid if this is unspecified.
- Temporary
- TEMPORARYA short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.
- Grouped
- GROUPEDThe standard certificate for Spark plan custom domains.
- Project
Grouped - PROJECT_GROUPEDBlaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.
- Dedicated
- DEDICATEDBlaze plan only. A certificate that covers a single domain name.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIEDThe certificate's type is unspecified. The message is invalid if this is unspecified.
- TEMPORARY
- TEMPORARYA short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.
- GROUPED
- GROUPEDThe standard certificate for Spark plan custom domains.
- PROJECT_GROUPED
- PROJECT_GROUPEDBlaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.
- DEDICATED
- DEDICATEDBlaze plan only. A certificate that covers a single domain name.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIEDThe certificate's type is unspecified. The message is invalid if this is unspecified.
- "TEMPORARY"
- TEMPORARYA short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.
- "GROUPED"
- GROUPEDThe standard certificate for Spark plan custom domains.
- "PROJECT_GROUPED"
- PROJECT_GROUPEDBlaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.
- "DEDICATED"
- DEDICATEDBlaze plan only. A certificate that covers a single domain name.
DnsRecordResponse, DnsRecordResponseArgs
- Domain
Name string - The domain name the record pertains to, e.g.
foo.bar.com.
. - Rdata string
- The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
. - Required
Action string - An enum that indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- Domain
Name string - The domain name the record pertains to, e.g.
foo.bar.com.
. - Rdata string
- The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
. - Required
Action string - An enum that indicates the a required action for this record.
- Type string
- The record's type, which determines what data the record contains.
- domain
Name String - The domain name the record pertains to, e.g.
foo.bar.com.
. - rdata String
- The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
. - required
Action String - An enum that indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
- domain
Name string - The domain name the record pertains to, e.g.
foo.bar.com.
. - rdata string
- The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
. - required
Action string - An enum that indicates the a required action for this record.
- type string
- The record's type, which determines what data the record contains.
- domain_
name str - The domain name the record pertains to, e.g.
foo.bar.com.
. - rdata str
- The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
. - required_
action str - An enum that indicates the a required action for this record.
- type str
- The record's type, which determines what data the record contains.
- domain
Name String - The domain name the record pertains to, e.g.
foo.bar.com.
. - rdata String
- The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g.
0 issue "pki.goog"
. - required
Action String - An enum that indicates the a required action for this record.
- type String
- The record's type, which determines what data the record contains.
DnsRecordSetResponse, DnsRecordSetResponseArgs
- Check
Error Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Status Response - An error Hosting services encountered when querying your domain name's DNS records. Note: Hosting ignores
NXDOMAIN
errors, as those generally just mean that a domain name hasn't been set up yet. - Domain
Name string - The domain name the record set pertains to.
- Records
List<Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Dns Record Response> - Records on the domain.
- Check
Error StatusResponse - An error Hosting services encountered when querying your domain name's DNS records. Note: Hosting ignores
NXDOMAIN
errors, as those generally just mean that a domain name hasn't been set up yet. - Domain
Name string - The domain name the record set pertains to.
- Records
[]Dns
Record Response - Records on the domain.
- check
Error StatusResponse - An error Hosting services encountered when querying your domain name's DNS records. Note: Hosting ignores
NXDOMAIN
errors, as those generally just mean that a domain name hasn't been set up yet. - domain
Name String - The domain name the record set pertains to.
- records
List<Dns
Record Response> - Records on the domain.
- check
Error StatusResponse - An error Hosting services encountered when querying your domain name's DNS records. Note: Hosting ignores
NXDOMAIN
errors, as those generally just mean that a domain name hasn't been set up yet. - domain
Name string - The domain name the record set pertains to.
- records
Dns
Record Response[] - Records on the domain.
- check_
error StatusResponse - An error Hosting services encountered when querying your domain name's DNS records. Note: Hosting ignores
NXDOMAIN
errors, as those generally just mean that a domain name hasn't been set up yet. - domain_
name str - The domain name the record set pertains to.
- records
Sequence[Dns
Record Response] - Records on the domain.
- check
Error Property Map - An error Hosting services encountered when querying your domain name's DNS records. Note: Hosting ignores
NXDOMAIN
errors, as those generally just mean that a domain name hasn't been set up yet. - domain
Name String - The domain name the record set pertains to.
- records List<Property Map>
- Records on the domain.
DnsUpdatesResponse, DnsUpdatesResponseArgs
- Check
Time string - The last time Hosting checked your custom domain's DNS records.
- Desired
List<Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Dns Record Set Response> - The set of DNS records Hosting needs to serve secure content on the domain.
- Discovered
List<Pulumi.
Google Native. Firebase Hosting. V1Beta1. Inputs. Dns Record Set Response> - The set of DNS records Hosting discovered when inspecting a domain.
- Check
Time string - The last time Hosting checked your custom domain's DNS records.
- Desired
[]Dns
Record Set Response - The set of DNS records Hosting needs to serve secure content on the domain.
- Discovered
[]Dns
Record Set Response - The set of DNS records Hosting discovered when inspecting a domain.
- check
Time String - The last time Hosting checked your custom domain's DNS records.
- desired
List<Dns
Record Set Response> - The set of DNS records Hosting needs to serve secure content on the domain.
- discovered
List<Dns
Record Set Response> - The set of DNS records Hosting discovered when inspecting a domain.
- check
Time string - The last time Hosting checked your custom domain's DNS records.
- desired
Dns
Record Set Response[] - The set of DNS records Hosting needs to serve secure content on the domain.
- discovered
Dns
Record Set Response[] - The set of DNS records Hosting discovered when inspecting a domain.
- check_
time str - The last time Hosting checked your custom domain's DNS records.
- desired
Sequence[Dns
Record Set Response] - The set of DNS records Hosting needs to serve secure content on the domain.
- discovered
Sequence[Dns
Record Set Response] - The set of DNS records Hosting discovered when inspecting a domain.
- check
Time String - The last time Hosting checked your custom domain's DNS records.
- desired List<Property Map>
- The set of DNS records Hosting needs to serve secure content on the domain.
- discovered List<Property Map>
- The set of DNS records Hosting discovered when inspecting a domain.
HttpUpdateResponse, HttpUpdateResponseArgs
- Check
Error Pulumi.Google Native. Firebase Hosting. V1Beta1. Inputs. Status Response - An error encountered during the last contents check. If null, the check completed successfully.
- Desired string
- A text string to serve at the path.
- Discovered string
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- Last
Check stringTime - The last time Hosting systems checked for the file contents.
- Path string
- The path to the file.
- Check
Error StatusResponse - An error encountered during the last contents check. If null, the check completed successfully.
- Desired string
- A text string to serve at the path.
- Discovered string
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- Last
Check stringTime - The last time Hosting systems checked for the file contents.
- Path string
- The path to the file.
- check
Error StatusResponse - An error encountered during the last contents check. If null, the check completed successfully.
- desired String
- A text string to serve at the path.
- discovered String
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- last
Check StringTime - The last time Hosting systems checked for the file contents.
- path String
- The path to the file.
- check
Error StatusResponse - An error encountered during the last contents check. If null, the check completed successfully.
- desired string
- A text string to serve at the path.
- discovered string
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- last
Check stringTime - The last time Hosting systems checked for the file contents.
- path string
- The path to the file.
- check_
error StatusResponse - An error encountered during the last contents check. If null, the check completed successfully.
- desired str
- A text string to serve at the path.
- discovered str
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- last_
check_ strtime - The last time Hosting systems checked for the file contents.
- path str
- The path to the file.
- check
Error Property Map - An error encountered during the last contents check. If null, the check completed successfully.
- desired String
- A text string to serve at the path.
- discovered String
- Whether Hosting was able to find the required file contents on the specified path during its last check.
- last
Check StringTime - The last time Hosting systems checked for the file contents.
- path String
- The path to the file.
StatusResponse, StatusResponseArgs
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<Immutable
Dictionary<string, string>> - A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
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.