v1beta1

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The certificate's type is unspecified. The message is invalid if this is unspecified.
	CustomDomainCertPreferenceTypeUnspecified = CustomDomainCertPreference("TYPE_UNSPECIFIED")
	// A short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.
	CustomDomainCertPreferenceTemporary = CustomDomainCertPreference("TEMPORARY")
	// The standard certificate for Spark plan custom domains.
	CustomDomainCertPreferenceGrouped = CustomDomainCertPreference("GROUPED")
	// Blaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.
	CustomDomainCertPreferenceProjectGrouped = CustomDomainCertPreference("PROJECT_GROUPED")
	// Blaze plan only. A certificate that covers a single domain name.
	CustomDomainCertPreferenceDedicated = CustomDomainCertPreference("DEDICATED")
)
View Source
const (
	// The default redirect type; should not be intentionlly used.
	DomainRedirectTypeRedirectTypeUnspecified = DomainRedirectType("REDIRECT_TYPE_UNSPECIFIED")
	// The redirect will respond with an HTTP status code of `301 Moved Permanently`.
	DomainRedirectTypeMovedPermanently = DomainRedirectType("MOVED_PERMANENTLY")
)
View Source
const (
	// An unspecified type. Indicates that a version was released. This is the default value when no other `type` is explicitly specified.
	ReleaseTypeTypeUnspecified = ReleaseType("TYPE_UNSPECIFIED")
	// A version was uploaded to Firebase Hosting and released.
	ReleaseTypeDeploy = ReleaseType("DEPLOY")
	// The release points back to a previously deployed version.
	ReleaseTypeRollback = ReleaseType("ROLLBACK")
	// The release prevents the site from serving content. Firebase Hosting acts as if the site never existed.
	ReleaseTypeSiteDisable = ReleaseType("SITE_DISABLE")
)
View Source
const (
	// The app association files will be automatically created from the apps that exist in the Firebase project.
	ServingConfigAppAssociationAuto = ServingConfigAppAssociation("AUTO")
	// No special handling of the app association files will occur, these paths will result in a 404 unless caught with a Rewrite.
	ServingConfigAppAssociationNone = ServingConfigAppAssociation("NONE")
)
View Source
const (
	// No behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.
	ServingConfigTrailingSlashBehaviorTrailingSlashBehaviorUnspecified = ServingConfigTrailingSlashBehavior("TRAILING_SLASH_BEHAVIOR_UNSPECIFIED")
	// Trailing slashes are _added_ to directory indexes as well as to any URL path not ending in a file extension.
	ServingConfigTrailingSlashBehaviorAdd = ServingConfigTrailingSlashBehavior("ADD")
	// Trailing slashes are _removed_ from directory indexes as well as from any URL path not ending in a file extension.
	ServingConfigTrailingSlashBehaviorRemove = ServingConfigTrailingSlashBehavior("REMOVE")
)
View Source
const (
	// The default status; should not be intentionally used.
	VersionStatusVersionStatusUnspecified = VersionStatus("VERSION_STATUS_UNSPECIFIED")
	// The version has been created, and content is currently being added to the version.
	VersionStatusCreated = VersionStatus("CREATED")
	// All content has been added to the version, and the version can no longer be changed.
	VersionStatusFinalized = VersionStatus("FINALIZED")
	// The version has been deleted.
	VersionStatusDeleted = VersionStatus("DELETED")
	// The version was not updated to `FINALIZED` within 12 hours and was automatically deleted.
	VersionStatusAbandoned = VersionStatus("ABANDONED")
	// The version is outside the site-configured limit for the number of retained versions, so the version's content is scheduled for deletion.
	VersionStatusExpired = VersionStatus("EXPIRED")
	// The version is being cloned from another version. All content is still being copied over.
	VersionStatusCloning = VersionStatus("CLONING")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ActingUserResponse

type ActingUserResponse struct {
	// The email address of the user when the user performed the action.
	Email string `pulumi:"email"`
	// A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
	ImageUrl string `pulumi:"imageUrl"`
}

Contains metadata about the user who performed an action, such as creating a release or finalizing a version.

type ActingUserResponseOutput

type ActingUserResponseOutput struct{ *pulumi.OutputState }

Contains metadata about the user who performed an action, such as creating a release or finalizing a version.

func (ActingUserResponseOutput) ElementType

func (ActingUserResponseOutput) ElementType() reflect.Type

func (ActingUserResponseOutput) Email

The email address of the user when the user performed the action.

func (ActingUserResponseOutput) ImageUrl

A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.

func (ActingUserResponseOutput) ToActingUserResponseOutput

func (o ActingUserResponseOutput) ToActingUserResponseOutput() ActingUserResponseOutput

func (ActingUserResponseOutput) ToActingUserResponseOutputWithContext

func (o ActingUserResponseOutput) ToActingUserResponseOutputWithContext(ctx context.Context) ActingUserResponseOutput

type CertDnsChallengeResponse

type CertDnsChallengeResponse struct {
	// The domain name upon which the DNS challenge must be satisfied.
	DomainName string `pulumi:"domainName"`
	// The value that must be present as a TXT record on the domain name to satisfy the challenge.
	Token string `pulumi:"token"`
}

Represents a DNS certificate challenge.

type CertDnsChallengeResponseOutput

type CertDnsChallengeResponseOutput struct{ *pulumi.OutputState }

Represents a DNS certificate challenge.

func (CertDnsChallengeResponseOutput) DomainName

The domain name upon which the DNS challenge must be satisfied.

func (CertDnsChallengeResponseOutput) ElementType

func (CertDnsChallengeResponseOutput) ToCertDnsChallengeResponseOutput

func (o CertDnsChallengeResponseOutput) ToCertDnsChallengeResponseOutput() CertDnsChallengeResponseOutput

func (CertDnsChallengeResponseOutput) ToCertDnsChallengeResponseOutputWithContext

func (o CertDnsChallengeResponseOutput) ToCertDnsChallengeResponseOutputWithContext(ctx context.Context) CertDnsChallengeResponseOutput

func (CertDnsChallengeResponseOutput) Token

The value that must be present as a TXT record on the domain name to satisfy the challenge.

type CertHttpChallengeResponse

type CertHttpChallengeResponse struct {
	// The URL path on which to serve the specified token to satisfy the certificate challenge.
	Path string `pulumi:"path"`
	// The token to serve at the specified URL path to satisfy the certificate challenge.
	Token string `pulumi:"token"`
}

Represents an HTTP certificate challenge.

type CertHttpChallengeResponseOutput

type CertHttpChallengeResponseOutput struct{ *pulumi.OutputState }

Represents an HTTP certificate challenge.

func (CertHttpChallengeResponseOutput) ElementType

func (CertHttpChallengeResponseOutput) Path

The URL path on which to serve the specified token to satisfy the certificate challenge.

func (CertHttpChallengeResponseOutput) ToCertHttpChallengeResponseOutput

func (o CertHttpChallengeResponseOutput) ToCertHttpChallengeResponseOutput() CertHttpChallengeResponseOutput

func (CertHttpChallengeResponseOutput) ToCertHttpChallengeResponseOutputWithContext

func (o CertHttpChallengeResponseOutput) ToCertHttpChallengeResponseOutputWithContext(ctx context.Context) CertHttpChallengeResponseOutput

func (CertHttpChallengeResponseOutput) Token

The token to serve at the specified URL path to satisfy the certificate challenge.

type CertVerificationResponse added in v0.32.0

type CertVerificationResponse struct {
	// A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name.
	Dns DnsUpdatesResponse `pulumi:"dns"`
	// 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.
	Http HttpUpdateResponse `pulumi:"http"`
}

A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it's not necessary to provide both.

type CertVerificationResponseOutput added in v0.32.0

type CertVerificationResponseOutput struct{ *pulumi.OutputState }

A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it's not necessary to provide both.

func (CertVerificationResponseOutput) Dns added in v0.32.0

A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name.

func (CertVerificationResponseOutput) ElementType added in v0.32.0

func (CertVerificationResponseOutput) Http added in v0.32.0

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.

func (CertVerificationResponseOutput) ToCertVerificationResponseOutput added in v0.32.0

func (o CertVerificationResponseOutput) ToCertVerificationResponseOutput() CertVerificationResponseOutput

func (CertVerificationResponseOutput) ToCertVerificationResponseOutputWithContext added in v0.32.0

func (o CertVerificationResponseOutput) ToCertVerificationResponseOutputWithContext(ctx context.Context) CertVerificationResponseOutput

type CertificateResponse added in v0.32.0

type CertificateResponse struct {
	// 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.
	CreateTime string `pulumi:"createTime"`
	// 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.
	ExpireTime string `pulumi:"expireTime"`
	// 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.
	Issues []StatusResponse `pulumi:"issues"`
	// The state of the certificate. Only the `CERT_ACTIVE` and `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the state is `PROPAGATING` 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.
	State string `pulumi:"state"`
	// The certificate's type.
	Type string `pulumi:"type"`
	// 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.
	Verification CertVerificationResponse `pulumi:"verification"`
}

An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created custom domains, Hosting's intent to create one.

type CertificateResponseOutput added in v0.32.0

type CertificateResponseOutput struct{ *pulumi.OutputState }

An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created custom domains, Hosting's intent to create one.

func (CertificateResponseOutput) CreateTime added in v0.32.0

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.

func (CertificateResponseOutput) ElementType added in v0.32.0

func (CertificateResponseOutput) ElementType() reflect.Type

func (CertificateResponseOutput) ExpireTime added in v0.32.0

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.

func (CertificateResponseOutput) Issues added in v0.32.0

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.

func (CertificateResponseOutput) State added in v0.32.0

The state of the certificate. Only the `CERT_ACTIVE` and `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the state is `PROPAGATING` 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.

func (CertificateResponseOutput) ToCertificateResponseOutput added in v0.32.0

func (o CertificateResponseOutput) ToCertificateResponseOutput() CertificateResponseOutput

func (CertificateResponseOutput) ToCertificateResponseOutputWithContext added in v0.32.0

func (o CertificateResponseOutput) ToCertificateResponseOutputWithContext(ctx context.Context) CertificateResponseOutput

func (CertificateResponseOutput) Type added in v0.32.0

The certificate's type.

func (CertificateResponseOutput) Verification added in v0.32.0

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.

type Channel added in v0.3.0

type Channel struct {
	pulumi.CustomResourceState

	// Required. Immutable. A unique ID within the site that identifies the channel.
	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// The time at which the channel was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// Text labels used for extra metadata and/or filtering.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The current release for the channel, if any.
	Release ReleaseResponseOutput `pulumi:"release"`
	// The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
	RetainedReleaseCount pulumi.IntOutput    `pulumi:"retainedReleaseCount"`
	SiteId               pulumi.StringOutput `pulumi:"siteId"`
	// Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
	Ttl pulumi.StringOutput `pulumi:"ttl"`
	// The time at which the channel was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of `web.app`. The content of this channel's current release can also be viewed at the Firebase-provided subdomain of `firebaseapp.com`. If this channel is the `live` channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
	Url pulumi.StringOutput `pulumi:"url"`
}

Creates a new channel in the specified site.

func GetChannel added in v0.3.0

func GetChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelState, opts ...pulumi.ResourceOption) (*Channel, error)

GetChannel gets an existing Channel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewChannel added in v0.3.0

func NewChannel(ctx *pulumi.Context,
	name string, args *ChannelArgs, opts ...pulumi.ResourceOption) (*Channel, error)

NewChannel registers a new resource with the given unique name, arguments, and options.

func (*Channel) ElementType added in v0.3.0

func (*Channel) ElementType() reflect.Type

func (*Channel) ToChannelOutput added in v0.3.0

func (i *Channel) ToChannelOutput() ChannelOutput

func (*Channel) ToChannelOutputWithContext added in v0.3.0

func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput

type ChannelArgs added in v0.3.0

type ChannelArgs struct {
	// Required. Immutable. A unique ID within the site that identifies the channel.
	ChannelId pulumi.StringInput
	// The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field.
	ExpireTime pulumi.StringPtrInput
	// Text labels used for extra metadata and/or filtering.
	Labels pulumi.StringMapInput
	// The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
	RetainedReleaseCount pulumi.IntPtrInput
	SiteId               pulumi.StringInput
	// Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
	Ttl pulumi.StringPtrInput
}

The set of arguments for constructing a Channel resource.

func (ChannelArgs) ElementType added in v0.3.0

func (ChannelArgs) ElementType() reflect.Type

type ChannelInput added in v0.3.0

type ChannelInput interface {
	pulumi.Input

	ToChannelOutput() ChannelOutput
	ToChannelOutputWithContext(ctx context.Context) ChannelOutput
}

type ChannelOutput added in v0.3.0

type ChannelOutput struct{ *pulumi.OutputState }

func (ChannelOutput) ChannelId added in v0.21.0

func (o ChannelOutput) ChannelId() pulumi.StringOutput

Required. Immutable. A unique ID within the site that identifies the channel.

func (ChannelOutput) CreateTime added in v0.19.0

func (o ChannelOutput) CreateTime() pulumi.StringOutput

The time at which the channel was created.

func (ChannelOutput) ElementType added in v0.3.0

func (ChannelOutput) ElementType() reflect.Type

func (ChannelOutput) ExpireTime added in v0.19.0

func (o ChannelOutput) ExpireTime() pulumi.StringOutput

The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field.

func (ChannelOutput) Labels added in v0.19.0

Text labels used for extra metadata and/or filtering.

func (ChannelOutput) Name added in v0.19.0

The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID

func (ChannelOutput) Project added in v0.21.0

func (o ChannelOutput) Project() pulumi.StringOutput

func (ChannelOutput) Release added in v0.19.0

The current release for the channel, if any.

func (ChannelOutput) RetainedReleaseCount added in v0.19.0

func (o ChannelOutput) RetainedReleaseCount() pulumi.IntOutput

The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.

func (ChannelOutput) SiteId added in v0.21.0

func (o ChannelOutput) SiteId() pulumi.StringOutput

func (ChannelOutput) ToChannelOutput added in v0.3.0

func (o ChannelOutput) ToChannelOutput() ChannelOutput

func (ChannelOutput) ToChannelOutputWithContext added in v0.3.0

func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOutput

func (ChannelOutput) Ttl added in v0.19.0

Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.

func (ChannelOutput) UpdateTime added in v0.19.0

func (o ChannelOutput) UpdateTime() pulumi.StringOutput

The time at which the channel was last updated.

func (ChannelOutput) Url added in v0.19.0

The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of `web.app`. The content of this channel's current release can also be viewed at the Firebase-provided subdomain of `firebaseapp.com`. If this channel is the `live` channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.

type ChannelState added in v0.3.0

type ChannelState struct {
}

func (ChannelState) ElementType added in v0.3.0

func (ChannelState) ElementType() reflect.Type

type CloudRunRewrite added in v0.29.0

type CloudRunRewrite struct {
	// Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
	Region *string `pulumi:"region"`
	// User-defined ID of the Cloud Run service.
	ServiceId string `pulumi:"serviceId"`
	// Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
	Tag *string `pulumi:"tag"`
}

A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error).

type CloudRunRewriteArgs added in v0.29.0

type CloudRunRewriteArgs struct {
	// Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// User-defined ID of the Cloud Run service.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error).

func (CloudRunRewriteArgs) ElementType added in v0.29.0

func (CloudRunRewriteArgs) ElementType() reflect.Type

func (CloudRunRewriteArgs) ToCloudRunRewriteOutput added in v0.29.0

func (i CloudRunRewriteArgs) ToCloudRunRewriteOutput() CloudRunRewriteOutput

func (CloudRunRewriteArgs) ToCloudRunRewriteOutputWithContext added in v0.29.0

func (i CloudRunRewriteArgs) ToCloudRunRewriteOutputWithContext(ctx context.Context) CloudRunRewriteOutput

func (CloudRunRewriteArgs) ToCloudRunRewritePtrOutput added in v0.29.0

func (i CloudRunRewriteArgs) ToCloudRunRewritePtrOutput() CloudRunRewritePtrOutput

func (CloudRunRewriteArgs) ToCloudRunRewritePtrOutputWithContext added in v0.29.0

func (i CloudRunRewriteArgs) ToCloudRunRewritePtrOutputWithContext(ctx context.Context) CloudRunRewritePtrOutput

type CloudRunRewriteInput added in v0.29.0

type CloudRunRewriteInput interface {
	pulumi.Input

	ToCloudRunRewriteOutput() CloudRunRewriteOutput
	ToCloudRunRewriteOutputWithContext(context.Context) CloudRunRewriteOutput
}

CloudRunRewriteInput is an input type that accepts CloudRunRewriteArgs and CloudRunRewriteOutput values. You can construct a concrete instance of `CloudRunRewriteInput` via:

CloudRunRewriteArgs{...}

type CloudRunRewriteOutput added in v0.29.0

type CloudRunRewriteOutput struct{ *pulumi.OutputState }

A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error).

func (CloudRunRewriteOutput) ElementType added in v0.29.0

func (CloudRunRewriteOutput) ElementType() reflect.Type

func (CloudRunRewriteOutput) Region added in v0.29.0

Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.

func (CloudRunRewriteOutput) ServiceId added in v0.29.0

User-defined ID of the Cloud Run service.

func (CloudRunRewriteOutput) Tag added in v0.31.1

Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI

func (CloudRunRewriteOutput) ToCloudRunRewriteOutput added in v0.29.0

func (o CloudRunRewriteOutput) ToCloudRunRewriteOutput() CloudRunRewriteOutput

func (CloudRunRewriteOutput) ToCloudRunRewriteOutputWithContext added in v0.29.0

func (o CloudRunRewriteOutput) ToCloudRunRewriteOutputWithContext(ctx context.Context) CloudRunRewriteOutput

func (CloudRunRewriteOutput) ToCloudRunRewritePtrOutput added in v0.29.0

func (o CloudRunRewriteOutput) ToCloudRunRewritePtrOutput() CloudRunRewritePtrOutput

func (CloudRunRewriteOutput) ToCloudRunRewritePtrOutputWithContext added in v0.29.0

func (o CloudRunRewriteOutput) ToCloudRunRewritePtrOutputWithContext(ctx context.Context) CloudRunRewritePtrOutput

type CloudRunRewritePtrInput added in v0.29.0

type CloudRunRewritePtrInput interface {
	pulumi.Input

	ToCloudRunRewritePtrOutput() CloudRunRewritePtrOutput
	ToCloudRunRewritePtrOutputWithContext(context.Context) CloudRunRewritePtrOutput
}

CloudRunRewritePtrInput is an input type that accepts CloudRunRewriteArgs, CloudRunRewritePtr and CloudRunRewritePtrOutput values. You can construct a concrete instance of `CloudRunRewritePtrInput` via:

        CloudRunRewriteArgs{...}

or:

        nil

func CloudRunRewritePtr added in v0.29.0

func CloudRunRewritePtr(v *CloudRunRewriteArgs) CloudRunRewritePtrInput

type CloudRunRewritePtrOutput added in v0.29.0

type CloudRunRewritePtrOutput struct{ *pulumi.OutputState }

func (CloudRunRewritePtrOutput) Elem added in v0.29.0

func (CloudRunRewritePtrOutput) ElementType added in v0.29.0

func (CloudRunRewritePtrOutput) ElementType() reflect.Type

func (CloudRunRewritePtrOutput) Region added in v0.29.0

Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.

func (CloudRunRewritePtrOutput) ServiceId added in v0.29.0

User-defined ID of the Cloud Run service.

func (CloudRunRewritePtrOutput) Tag added in v0.31.1

Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI

func (CloudRunRewritePtrOutput) ToCloudRunRewritePtrOutput added in v0.29.0

func (o CloudRunRewritePtrOutput) ToCloudRunRewritePtrOutput() CloudRunRewritePtrOutput

func (CloudRunRewritePtrOutput) ToCloudRunRewritePtrOutputWithContext added in v0.29.0

func (o CloudRunRewritePtrOutput) ToCloudRunRewritePtrOutputWithContext(ctx context.Context) CloudRunRewritePtrOutput

type CloudRunRewriteResponse

type CloudRunRewriteResponse struct {
	// Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
	Region string `pulumi:"region"`
	// User-defined ID of the Cloud Run service.
	ServiceId string `pulumi:"serviceId"`
	// Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI
	Tag string `pulumi:"tag"`
}

A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error).

type CloudRunRewriteResponseOutput

type CloudRunRewriteResponseOutput struct{ *pulumi.OutputState }

A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error).

func (CloudRunRewriteResponseOutput) ElementType

func (CloudRunRewriteResponseOutput) Region

Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.

func (CloudRunRewriteResponseOutput) ServiceId

User-defined ID of the Cloud Run service.

func (CloudRunRewriteResponseOutput) Tag added in v0.31.1

Optional. User-provided TrafficConfig tag to send traffic to. When omitted, traffic is sent to the service-wide URI

func (CloudRunRewriteResponseOutput) ToCloudRunRewriteResponseOutput

func (o CloudRunRewriteResponseOutput) ToCloudRunRewriteResponseOutput() CloudRunRewriteResponseOutput

func (CloudRunRewriteResponseOutput) ToCloudRunRewriteResponseOutputWithContext

func (o CloudRunRewriteResponseOutput) ToCloudRunRewriteResponseOutputWithContext(ctx context.Context) CloudRunRewriteResponseOutput

type CustomDomain added in v0.32.0

type CustomDomain struct {
	pulumi.CustomResourceState

	// Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// 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.
	Cert CertificateResponseOutput `pulumi:"cert"`
	// 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.
	CertPreference pulumi.StringOutput `pulumi:"certPreference"`
	// The custom domain's create time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Required. The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting.
	CustomDomainId pulumi.StringOutput `pulumi:"customDomainId"`
	// 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 an `UndeleteCustomDomain` request.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// 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 making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven't been deleted.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// The `HostState` of the domain name this `CustomDomain` refers to.
	HostState pulumi.StringOutput `pulumi:"hostState"`
	// 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.
	Issues StatusResponseArrayOutput `pulumi:"issues"`
	// Labels used for extra metadata and/or filtering.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The fully-qualified name of the `CustomDomain`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The `OwnershipState` of the domain name this `CustomDomain` refers to.
	OwnershipState pulumi.StringOutput `pulumi:"ownershipState"`
	Project        pulumi.StringOutput `pulumi:"project"`
	// 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 a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// 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 specified `redirect_target` instead.
	RedirectTarget pulumi.StringOutput `pulumi:"redirectTarget"`
	// A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
	RequiredDnsUpdates DnsUpdatesResponseOutput `pulumi:"requiredDnsUpdates"`
	SiteId             pulumi.StringOutput      `pulumi:"siteId"`
	// The last time the `CustomDomain` was updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a `CustomDomain`. Auto-naming is currently not supported for this resource.

func GetCustomDomain added in v0.32.0

func GetCustomDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomDomainState, opts ...pulumi.ResourceOption) (*CustomDomain, error)

GetCustomDomain gets an existing CustomDomain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomDomain added in v0.32.0

func NewCustomDomain(ctx *pulumi.Context,
	name string, args *CustomDomainArgs, opts ...pulumi.ResourceOption) (*CustomDomain, error)

NewCustomDomain registers a new resource with the given unique name, arguments, and options.

func (*CustomDomain) ElementType added in v0.32.0

func (*CustomDomain) ElementType() reflect.Type

func (*CustomDomain) ToCustomDomainOutput added in v0.32.0

func (i *CustomDomain) ToCustomDomainOutput() CustomDomainOutput

func (*CustomDomain) ToCustomDomainOutputWithContext added in v0.32.0

func (i *CustomDomain) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput

type CustomDomainArgs added in v0.32.0

type CustomDomainArgs struct {
	// Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.
	Annotations pulumi.StringMapInput
	// 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.
	CertPreference CustomDomainCertPreferencePtrInput
	// Required. The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting.
	CustomDomainId pulumi.StringInput
	// Labels used for extra metadata and/or filtering.
	Labels  pulumi.StringMapInput
	Project pulumi.StringPtrInput
	// 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 specified `redirect_target` instead.
	RedirectTarget pulumi.StringPtrInput
	SiteId         pulumi.StringInput
}

The set of arguments for constructing a CustomDomain resource.

func (CustomDomainArgs) ElementType added in v0.32.0

func (CustomDomainArgs) ElementType() reflect.Type

type CustomDomainCertPreference added in v0.32.0

type CustomDomainCertPreference string

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.

func (CustomDomainCertPreference) ElementType added in v0.32.0

func (CustomDomainCertPreference) ElementType() reflect.Type

func (CustomDomainCertPreference) ToCustomDomainCertPreferenceOutput added in v0.32.0

func (e CustomDomainCertPreference) ToCustomDomainCertPreferenceOutput() CustomDomainCertPreferenceOutput

func (CustomDomainCertPreference) ToCustomDomainCertPreferenceOutputWithContext added in v0.32.0

func (e CustomDomainCertPreference) ToCustomDomainCertPreferenceOutputWithContext(ctx context.Context) CustomDomainCertPreferenceOutput

func (CustomDomainCertPreference) ToCustomDomainCertPreferencePtrOutput added in v0.32.0

func (e CustomDomainCertPreference) ToCustomDomainCertPreferencePtrOutput() CustomDomainCertPreferencePtrOutput

func (CustomDomainCertPreference) ToCustomDomainCertPreferencePtrOutputWithContext added in v0.32.0

func (e CustomDomainCertPreference) ToCustomDomainCertPreferencePtrOutputWithContext(ctx context.Context) CustomDomainCertPreferencePtrOutput

func (CustomDomainCertPreference) ToStringOutput added in v0.32.0

func (e CustomDomainCertPreference) ToStringOutput() pulumi.StringOutput

func (CustomDomainCertPreference) ToStringOutputWithContext added in v0.32.0

func (e CustomDomainCertPreference) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (CustomDomainCertPreference) ToStringPtrOutput added in v0.32.0

func (e CustomDomainCertPreference) ToStringPtrOutput() pulumi.StringPtrOutput

func (CustomDomainCertPreference) ToStringPtrOutputWithContext added in v0.32.0

func (e CustomDomainCertPreference) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type CustomDomainCertPreferenceInput added in v0.32.0

type CustomDomainCertPreferenceInput interface {
	pulumi.Input

	ToCustomDomainCertPreferenceOutput() CustomDomainCertPreferenceOutput
	ToCustomDomainCertPreferenceOutputWithContext(context.Context) CustomDomainCertPreferenceOutput
}

CustomDomainCertPreferenceInput is an input type that accepts CustomDomainCertPreferenceArgs and CustomDomainCertPreferenceOutput values. You can construct a concrete instance of `CustomDomainCertPreferenceInput` via:

CustomDomainCertPreferenceArgs{...}

type CustomDomainCertPreferenceOutput added in v0.32.0

type CustomDomainCertPreferenceOutput struct{ *pulumi.OutputState }

func (CustomDomainCertPreferenceOutput) ElementType added in v0.32.0

func (CustomDomainCertPreferenceOutput) ToCustomDomainCertPreferenceOutput added in v0.32.0

func (o CustomDomainCertPreferenceOutput) ToCustomDomainCertPreferenceOutput() CustomDomainCertPreferenceOutput

func (CustomDomainCertPreferenceOutput) ToCustomDomainCertPreferenceOutputWithContext added in v0.32.0

func (o CustomDomainCertPreferenceOutput) ToCustomDomainCertPreferenceOutputWithContext(ctx context.Context) CustomDomainCertPreferenceOutput

func (CustomDomainCertPreferenceOutput) ToCustomDomainCertPreferencePtrOutput added in v0.32.0

func (o CustomDomainCertPreferenceOutput) ToCustomDomainCertPreferencePtrOutput() CustomDomainCertPreferencePtrOutput

func (CustomDomainCertPreferenceOutput) ToCustomDomainCertPreferencePtrOutputWithContext added in v0.32.0

func (o CustomDomainCertPreferenceOutput) ToCustomDomainCertPreferencePtrOutputWithContext(ctx context.Context) CustomDomainCertPreferencePtrOutput

func (CustomDomainCertPreferenceOutput) ToStringOutput added in v0.32.0

func (CustomDomainCertPreferenceOutput) ToStringOutputWithContext added in v0.32.0

func (o CustomDomainCertPreferenceOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (CustomDomainCertPreferenceOutput) ToStringPtrOutput added in v0.32.0

func (CustomDomainCertPreferenceOutput) ToStringPtrOutputWithContext added in v0.32.0

func (o CustomDomainCertPreferenceOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type CustomDomainCertPreferencePtrInput added in v0.32.0

type CustomDomainCertPreferencePtrInput interface {
	pulumi.Input

	ToCustomDomainCertPreferencePtrOutput() CustomDomainCertPreferencePtrOutput
	ToCustomDomainCertPreferencePtrOutputWithContext(context.Context) CustomDomainCertPreferencePtrOutput
}

func CustomDomainCertPreferencePtr added in v0.32.0

func CustomDomainCertPreferencePtr(v string) CustomDomainCertPreferencePtrInput

type CustomDomainCertPreferencePtrOutput added in v0.32.0

type CustomDomainCertPreferencePtrOutput struct{ *pulumi.OutputState }

func (CustomDomainCertPreferencePtrOutput) Elem added in v0.32.0

func (CustomDomainCertPreferencePtrOutput) ElementType added in v0.32.0

func (CustomDomainCertPreferencePtrOutput) ToCustomDomainCertPreferencePtrOutput added in v0.32.0

func (o CustomDomainCertPreferencePtrOutput) ToCustomDomainCertPreferencePtrOutput() CustomDomainCertPreferencePtrOutput

func (CustomDomainCertPreferencePtrOutput) ToCustomDomainCertPreferencePtrOutputWithContext added in v0.32.0

func (o CustomDomainCertPreferencePtrOutput) ToCustomDomainCertPreferencePtrOutputWithContext(ctx context.Context) CustomDomainCertPreferencePtrOutput

func (CustomDomainCertPreferencePtrOutput) ToStringPtrOutput added in v0.32.0

func (CustomDomainCertPreferencePtrOutput) ToStringPtrOutputWithContext added in v0.32.0

func (o CustomDomainCertPreferencePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type CustomDomainInput added in v0.32.0

type CustomDomainInput interface {
	pulumi.Input

	ToCustomDomainOutput() CustomDomainOutput
	ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput
}

type CustomDomainOutput added in v0.32.0

type CustomDomainOutput struct{ *pulumi.OutputState }

func (CustomDomainOutput) Annotations added in v0.32.0

func (o CustomDomainOutput) Annotations() pulumi.StringMapOutput

Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.

func (CustomDomainOutput) Cert added in v0.32.0

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.

func (CustomDomainOutput) CertPreference added in v0.32.0

func (o CustomDomainOutput) CertPreference() pulumi.StringOutput

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.

func (CustomDomainOutput) CreateTime added in v0.32.0

func (o CustomDomainOutput) CreateTime() pulumi.StringOutput

The custom domain's create time.

func (CustomDomainOutput) CustomDomainId added in v0.32.0

func (o CustomDomainOutput) CustomDomainId() pulumi.StringOutput

Required. The ID of the `CustomDomain`, which is the domain name you'd like to use with Firebase Hosting.

func (CustomDomainOutput) DeleteTime added in v0.32.0

func (o CustomDomainOutput) DeleteTime() pulumi.StringOutput

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 an `UndeleteCustomDomain` request.

func (CustomDomainOutput) ElementType added in v0.32.0

func (CustomDomainOutput) ElementType() reflect.Type

func (CustomDomainOutput) Etag added in v0.32.0

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 making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.

func (CustomDomainOutput) ExpireTime added in v0.32.0

func (o CustomDomainOutput) ExpireTime() pulumi.StringOutput

The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven't been deleted.

func (CustomDomainOutput) HostState added in v0.32.0

func (o CustomDomainOutput) HostState() pulumi.StringOutput

The `HostState` of the domain name this `CustomDomain` refers to.

func (CustomDomainOutput) Issues added in v0.32.0

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.

func (CustomDomainOutput) Labels added in v0.32.0

Labels used for extra metadata and/or filtering.

func (CustomDomainOutput) Name added in v0.32.0

The fully-qualified name of the `CustomDomain`.

func (CustomDomainOutput) OwnershipState added in v0.32.0

func (o CustomDomainOutput) OwnershipState() pulumi.StringOutput

The `OwnershipState` of the domain name this `CustomDomain` refers to.

func (CustomDomainOutput) Project added in v0.32.0

func (CustomDomainOutput) Reconciling added in v0.32.0

func (o CustomDomainOutput) Reconciling() pulumi.BoolOutput

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 a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.

func (CustomDomainOutput) RedirectTarget added in v0.32.0

func (o CustomDomainOutput) RedirectTarget() pulumi.StringOutput

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 specified `redirect_target` instead.

func (CustomDomainOutput) RequiredDnsUpdates added in v0.32.0

func (o CustomDomainOutput) RequiredDnsUpdates() DnsUpdatesResponseOutput

A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.

func (CustomDomainOutput) SiteId added in v0.32.0

func (CustomDomainOutput) ToCustomDomainOutput added in v0.32.0

func (o CustomDomainOutput) ToCustomDomainOutput() CustomDomainOutput

func (CustomDomainOutput) ToCustomDomainOutputWithContext added in v0.32.0

func (o CustomDomainOutput) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput

func (CustomDomainOutput) UpdateTime added in v0.32.0

func (o CustomDomainOutput) UpdateTime() pulumi.StringOutput

The last time the `CustomDomain` was updated.

type CustomDomainState added in v0.32.0

type CustomDomainState struct {
}

func (CustomDomainState) ElementType added in v0.32.0

func (CustomDomainState) ElementType() reflect.Type

type DnsRecordResponse added in v0.32.0

type DnsRecordResponse struct {
	// The domain name the record pertains to, e.g. `foo.bar.com.`.
	DomainName string `pulumi:"domainName"`
	// 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"`.
	Rdata string `pulumi:"rdata"`
	// An enum that indicates the a required action for this record.
	RequiredAction string `pulumi:"requiredAction"`
	// The record's type, which determines what data the record contains.
	Type string `pulumi:"type"`
}

DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (such as your Hosting site files).

type DnsRecordResponseArrayOutput added in v0.32.0

type DnsRecordResponseArrayOutput struct{ *pulumi.OutputState }

func (DnsRecordResponseArrayOutput) ElementType added in v0.32.0

func (DnsRecordResponseArrayOutput) Index added in v0.32.0

func (DnsRecordResponseArrayOutput) ToDnsRecordResponseArrayOutput added in v0.32.0

func (o DnsRecordResponseArrayOutput) ToDnsRecordResponseArrayOutput() DnsRecordResponseArrayOutput

func (DnsRecordResponseArrayOutput) ToDnsRecordResponseArrayOutputWithContext added in v0.32.0

func (o DnsRecordResponseArrayOutput) ToDnsRecordResponseArrayOutputWithContext(ctx context.Context) DnsRecordResponseArrayOutput

type DnsRecordResponseOutput added in v0.32.0

type DnsRecordResponseOutput struct{ *pulumi.OutputState }

DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (such as your Hosting site files).

func (DnsRecordResponseOutput) DomainName added in v0.32.0

The domain name the record pertains to, e.g. `foo.bar.com.`.

func (DnsRecordResponseOutput) ElementType added in v0.32.0

func (DnsRecordResponseOutput) ElementType() reflect.Type

func (DnsRecordResponseOutput) Rdata added in v0.32.0

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"`.

func (DnsRecordResponseOutput) RequiredAction added in v0.32.0

func (o DnsRecordResponseOutput) RequiredAction() pulumi.StringOutput

An enum that indicates the a required action for this record.

func (DnsRecordResponseOutput) ToDnsRecordResponseOutput added in v0.32.0

func (o DnsRecordResponseOutput) ToDnsRecordResponseOutput() DnsRecordResponseOutput

func (DnsRecordResponseOutput) ToDnsRecordResponseOutputWithContext added in v0.32.0

func (o DnsRecordResponseOutput) ToDnsRecordResponseOutputWithContext(ctx context.Context) DnsRecordResponseOutput

func (DnsRecordResponseOutput) Type added in v0.32.0

The record's type, which determines what data the record contains.

type DnsRecordSetResponse added in v0.32.0

type DnsRecordSetResponse struct {
	// 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.
	CheckError StatusResponse `pulumi:"checkError"`
	// The domain name the record set pertains to.
	DomainName string `pulumi:"domainName"`
	// Records on the domain.
	Records []DnsRecordResponse `pulumi:"records"`
}

A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.

type DnsRecordSetResponseArrayOutput added in v0.32.0

type DnsRecordSetResponseArrayOutput struct{ *pulumi.OutputState }

func (DnsRecordSetResponseArrayOutput) ElementType added in v0.32.0

func (DnsRecordSetResponseArrayOutput) Index added in v0.32.0

func (DnsRecordSetResponseArrayOutput) ToDnsRecordSetResponseArrayOutput added in v0.32.0

func (o DnsRecordSetResponseArrayOutput) ToDnsRecordSetResponseArrayOutput() DnsRecordSetResponseArrayOutput

func (DnsRecordSetResponseArrayOutput) ToDnsRecordSetResponseArrayOutputWithContext added in v0.32.0

func (o DnsRecordSetResponseArrayOutput) ToDnsRecordSetResponseArrayOutputWithContext(ctx context.Context) DnsRecordSetResponseArrayOutput

type DnsRecordSetResponseOutput added in v0.32.0

type DnsRecordSetResponseOutput struct{ *pulumi.OutputState }

A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.

func (DnsRecordSetResponseOutput) CheckError added in v0.32.0

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.

func (DnsRecordSetResponseOutput) DomainName added in v0.32.0

The domain name the record set pertains to.

func (DnsRecordSetResponseOutput) ElementType added in v0.32.0

func (DnsRecordSetResponseOutput) ElementType() reflect.Type

func (DnsRecordSetResponseOutput) Records added in v0.32.0

Records on the domain.

func (DnsRecordSetResponseOutput) ToDnsRecordSetResponseOutput added in v0.32.0

func (o DnsRecordSetResponseOutput) ToDnsRecordSetResponseOutput() DnsRecordSetResponseOutput

func (DnsRecordSetResponseOutput) ToDnsRecordSetResponseOutputWithContext added in v0.32.0

func (o DnsRecordSetResponseOutput) ToDnsRecordSetResponseOutputWithContext(ctx context.Context) DnsRecordSetResponseOutput

type DnsUpdatesResponse added in v0.32.0

type DnsUpdatesResponse struct {
	// The last time Hosting checked your custom domain's DNS records.
	CheckTime string `pulumi:"checkTime"`
	// The set of DNS records Hosting needs to serve secure content on the domain.
	Desired []DnsRecordSetResponse `pulumi:"desired"`
	// The set of DNS records Hosting discovered when inspecting a domain.
	Discovered []DnsRecordSetResponse `pulumi:"discovered"`
}

A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active.

type DnsUpdatesResponseOutput added in v0.32.0

type DnsUpdatesResponseOutput struct{ *pulumi.OutputState }

A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active.

func (DnsUpdatesResponseOutput) CheckTime added in v0.32.0

The last time Hosting checked your custom domain's DNS records.

func (DnsUpdatesResponseOutput) Desired added in v0.32.0

The set of DNS records Hosting needs to serve secure content on the domain.

func (DnsUpdatesResponseOutput) Discovered added in v0.32.0

The set of DNS records Hosting discovered when inspecting a domain.

func (DnsUpdatesResponseOutput) ElementType added in v0.32.0

func (DnsUpdatesResponseOutput) ElementType() reflect.Type

func (DnsUpdatesResponseOutput) ToDnsUpdatesResponseOutput added in v0.32.0

func (o DnsUpdatesResponseOutput) ToDnsUpdatesResponseOutput() DnsUpdatesResponseOutput

func (DnsUpdatesResponseOutput) ToDnsUpdatesResponseOutputWithContext added in v0.32.0

func (o DnsUpdatesResponseOutput) ToDnsUpdatesResponseOutputWithContext(ctx context.Context) DnsUpdatesResponseOutput

type Domain added in v0.3.0

type Domain struct {
	pulumi.CustomResourceState

	// The domain name of the association.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// If set, the domain should redirect with the provided parameters.
	DomainRedirect DomainRedirectResponseOutput `pulumi:"domainRedirect"`
	Project        pulumi.StringOutput          `pulumi:"project"`
	// Information about the provisioning of certificates and the health of the DNS resolution for the domain.
	Provisioning DomainProvisioningResponseOutput `pulumi:"provisioning"`
	// The site name of the association.
	Site   pulumi.StringOutput `pulumi:"site"`
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// Additional status of the domain association.
	Status pulumi.StringOutput `pulumi:"status"`
	// The time at which the domain was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a domain mapping on the specified site. Auto-naming is currently not supported for this resource.

func GetDomain added in v0.3.0

func GetDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainState, opts ...pulumi.ResourceOption) (*Domain, error)

GetDomain gets an existing Domain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomain added in v0.3.0

func NewDomain(ctx *pulumi.Context,
	name string, args *DomainArgs, opts ...pulumi.ResourceOption) (*Domain, error)

NewDomain registers a new resource with the given unique name, arguments, and options.

func (*Domain) ElementType added in v0.3.0

func (*Domain) ElementType() reflect.Type

func (*Domain) ToDomainOutput added in v0.3.0

func (i *Domain) ToDomainOutput() DomainOutput

func (*Domain) ToDomainOutputWithContext added in v0.3.0

func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput

type DomainArgs added in v0.3.0

type DomainArgs struct {
	// The domain name of the association.
	DomainName pulumi.StringInput
	// If set, the domain should redirect with the provided parameters.
	DomainRedirect DomainRedirectPtrInput
	Project        pulumi.StringPtrInput
	// The site name of the association.
	Site   pulumi.StringInput
	SiteId pulumi.StringInput
}

The set of arguments for constructing a Domain resource.

func (DomainArgs) ElementType added in v0.3.0

func (DomainArgs) ElementType() reflect.Type

type DomainInput added in v0.3.0

type DomainInput interface {
	pulumi.Input

	ToDomainOutput() DomainOutput
	ToDomainOutputWithContext(ctx context.Context) DomainOutput
}

type DomainOutput added in v0.3.0

type DomainOutput struct{ *pulumi.OutputState }

func (DomainOutput) DomainName added in v0.19.0

func (o DomainOutput) DomainName() pulumi.StringOutput

The domain name of the association.

func (DomainOutput) DomainRedirect added in v0.19.0

func (o DomainOutput) DomainRedirect() DomainRedirectResponseOutput

If set, the domain should redirect with the provided parameters.

func (DomainOutput) ElementType added in v0.3.0

func (DomainOutput) ElementType() reflect.Type

func (DomainOutput) Project added in v0.21.0

func (o DomainOutput) Project() pulumi.StringOutput

func (DomainOutput) Provisioning added in v0.19.0

Information about the provisioning of certificates and the health of the DNS resolution for the domain.

func (DomainOutput) Site added in v0.19.0

func (o DomainOutput) Site() pulumi.StringOutput

The site name of the association.

func (DomainOutput) SiteId added in v0.21.0

func (o DomainOutput) SiteId() pulumi.StringOutput

func (DomainOutput) Status added in v0.19.0

func (o DomainOutput) Status() pulumi.StringOutput

Additional status of the domain association.

func (DomainOutput) ToDomainOutput added in v0.3.0

func (o DomainOutput) ToDomainOutput() DomainOutput

func (DomainOutput) ToDomainOutputWithContext added in v0.3.0

func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutput

func (DomainOutput) UpdateTime added in v0.19.0

func (o DomainOutput) UpdateTime() pulumi.StringOutput

The time at which the domain was last updated.

type DomainProvisioningResponse

type DomainProvisioningResponse struct {
	// The TXT records (for the certificate challenge) that were found at the last DNS fetch.
	CertChallengeDiscoveredTxt []string `pulumi:"certChallengeDiscoveredTxt"`
	// The DNS challenge for generating a certificate.
	CertChallengeDns CertDnsChallengeResponse `pulumi:"certChallengeDns"`
	// The HTTP challenge for generating a certificate.
	CertChallengeHttp CertHttpChallengeResponse `pulumi:"certChallengeHttp"`
	// The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.
	CertStatus string `pulumi:"certStatus"`
	// The IPs found at the last DNS fetch.
	DiscoveredIps []string `pulumi:"discoveredIps"`
	// The time at which the last DNS fetch occurred.
	DnsFetchTime string `pulumi:"dnsFetchTime"`
	// The DNS record match status as of the last DNS fetch.
	DnsStatus string `pulumi:"dnsStatus"`
	// The list of IPs to which the domain is expected to resolve.
	ExpectedIps []string `pulumi:"expectedIps"`
}

The current certificate provisioning status information for a domain.

type DomainProvisioningResponseOutput

type DomainProvisioningResponseOutput struct{ *pulumi.OutputState }

The current certificate provisioning status information for a domain.

func (DomainProvisioningResponseOutput) CertChallengeDiscoveredTxt

func (o DomainProvisioningResponseOutput) CertChallengeDiscoveredTxt() pulumi.StringArrayOutput

The TXT records (for the certificate challenge) that were found at the last DNS fetch.

func (DomainProvisioningResponseOutput) CertChallengeDns

The DNS challenge for generating a certificate.

func (DomainProvisioningResponseOutput) CertChallengeHttp

The HTTP challenge for generating a certificate.

func (DomainProvisioningResponseOutput) CertStatus

The certificate provisioning status; updated when Firebase Hosting provisions an SSL certificate for the domain.

func (DomainProvisioningResponseOutput) DiscoveredIps

The IPs found at the last DNS fetch.

func (DomainProvisioningResponseOutput) DnsFetchTime

The time at which the last DNS fetch occurred.

func (DomainProvisioningResponseOutput) DnsStatus

The DNS record match status as of the last DNS fetch.

func (DomainProvisioningResponseOutput) ElementType

func (DomainProvisioningResponseOutput) ExpectedIps

The list of IPs to which the domain is expected to resolve.

func (DomainProvisioningResponseOutput) ToDomainProvisioningResponseOutput

func (o DomainProvisioningResponseOutput) ToDomainProvisioningResponseOutput() DomainProvisioningResponseOutput

func (DomainProvisioningResponseOutput) ToDomainProvisioningResponseOutputWithContext

func (o DomainProvisioningResponseOutput) ToDomainProvisioningResponseOutputWithContext(ctx context.Context) DomainProvisioningResponseOutput

type DomainRedirect

type DomainRedirect struct {
	// The domain name to redirect to.
	DomainName string `pulumi:"domainName"`
	// The redirect status code.
	Type DomainRedirectType `pulumi:"type"`
}

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.

type DomainRedirectArgs

type DomainRedirectArgs struct {
	// The domain name to redirect to.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// The redirect status code.
	Type DomainRedirectTypeInput `pulumi:"type"`
}

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.

func (DomainRedirectArgs) ElementType

func (DomainRedirectArgs) ElementType() reflect.Type

func (DomainRedirectArgs) ToDomainRedirectOutput

func (i DomainRedirectArgs) ToDomainRedirectOutput() DomainRedirectOutput

func (DomainRedirectArgs) ToDomainRedirectOutputWithContext

func (i DomainRedirectArgs) ToDomainRedirectOutputWithContext(ctx context.Context) DomainRedirectOutput

func (DomainRedirectArgs) ToDomainRedirectPtrOutput

func (i DomainRedirectArgs) ToDomainRedirectPtrOutput() DomainRedirectPtrOutput

func (DomainRedirectArgs) ToDomainRedirectPtrOutputWithContext

func (i DomainRedirectArgs) ToDomainRedirectPtrOutputWithContext(ctx context.Context) DomainRedirectPtrOutput

type DomainRedirectInput

type DomainRedirectInput interface {
	pulumi.Input

	ToDomainRedirectOutput() DomainRedirectOutput
	ToDomainRedirectOutputWithContext(context.Context) DomainRedirectOutput
}

DomainRedirectInput is an input type that accepts DomainRedirectArgs and DomainRedirectOutput values. You can construct a concrete instance of `DomainRedirectInput` via:

DomainRedirectArgs{...}

type DomainRedirectOutput

type DomainRedirectOutput struct{ *pulumi.OutputState }

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.

func (DomainRedirectOutput) DomainName

func (o DomainRedirectOutput) DomainName() pulumi.StringOutput

The domain name to redirect to.

func (DomainRedirectOutput) ElementType

func (DomainRedirectOutput) ElementType() reflect.Type

func (DomainRedirectOutput) ToDomainRedirectOutput

func (o DomainRedirectOutput) ToDomainRedirectOutput() DomainRedirectOutput

func (DomainRedirectOutput) ToDomainRedirectOutputWithContext

func (o DomainRedirectOutput) ToDomainRedirectOutputWithContext(ctx context.Context) DomainRedirectOutput

func (DomainRedirectOutput) ToDomainRedirectPtrOutput

func (o DomainRedirectOutput) ToDomainRedirectPtrOutput() DomainRedirectPtrOutput

func (DomainRedirectOutput) ToDomainRedirectPtrOutputWithContext

func (o DomainRedirectOutput) ToDomainRedirectPtrOutputWithContext(ctx context.Context) DomainRedirectPtrOutput

func (DomainRedirectOutput) Type

The redirect status code.

type DomainRedirectPtrInput

type DomainRedirectPtrInput interface {
	pulumi.Input

	ToDomainRedirectPtrOutput() DomainRedirectPtrOutput
	ToDomainRedirectPtrOutputWithContext(context.Context) DomainRedirectPtrOutput
}

DomainRedirectPtrInput is an input type that accepts DomainRedirectArgs, DomainRedirectPtr and DomainRedirectPtrOutput values. You can construct a concrete instance of `DomainRedirectPtrInput` via:

        DomainRedirectArgs{...}

or:

        nil

type DomainRedirectPtrOutput

type DomainRedirectPtrOutput struct{ *pulumi.OutputState }

func (DomainRedirectPtrOutput) DomainName

The domain name to redirect to.

func (DomainRedirectPtrOutput) Elem

func (DomainRedirectPtrOutput) ElementType

func (DomainRedirectPtrOutput) ElementType() reflect.Type

func (DomainRedirectPtrOutput) ToDomainRedirectPtrOutput

func (o DomainRedirectPtrOutput) ToDomainRedirectPtrOutput() DomainRedirectPtrOutput

func (DomainRedirectPtrOutput) ToDomainRedirectPtrOutputWithContext

func (o DomainRedirectPtrOutput) ToDomainRedirectPtrOutputWithContext(ctx context.Context) DomainRedirectPtrOutput

func (DomainRedirectPtrOutput) Type

The redirect status code.

type DomainRedirectResponse

type DomainRedirectResponse struct {
	// The domain name to redirect to.
	DomainName string `pulumi:"domainName"`
	// The redirect status code.
	Type string `pulumi:"type"`
}

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.

type DomainRedirectResponseOutput

type DomainRedirectResponseOutput struct{ *pulumi.OutputState }

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.

func (DomainRedirectResponseOutput) DomainName

The domain name to redirect to.

func (DomainRedirectResponseOutput) ElementType

func (DomainRedirectResponseOutput) ToDomainRedirectResponseOutput

func (o DomainRedirectResponseOutput) ToDomainRedirectResponseOutput() DomainRedirectResponseOutput

func (DomainRedirectResponseOutput) ToDomainRedirectResponseOutputWithContext

func (o DomainRedirectResponseOutput) ToDomainRedirectResponseOutputWithContext(ctx context.Context) DomainRedirectResponseOutput

func (DomainRedirectResponseOutput) Type

The redirect status code.

type DomainRedirectType added in v0.4.0

type DomainRedirectType string

Required. The redirect status code.

func (DomainRedirectType) ElementType added in v0.4.0

func (DomainRedirectType) ElementType() reflect.Type

func (DomainRedirectType) ToDomainRedirectTypeOutput added in v0.6.0

func (e DomainRedirectType) ToDomainRedirectTypeOutput() DomainRedirectTypeOutput

func (DomainRedirectType) ToDomainRedirectTypeOutputWithContext added in v0.6.0

func (e DomainRedirectType) ToDomainRedirectTypeOutputWithContext(ctx context.Context) DomainRedirectTypeOutput

func (DomainRedirectType) ToDomainRedirectTypePtrOutput added in v0.6.0

func (e DomainRedirectType) ToDomainRedirectTypePtrOutput() DomainRedirectTypePtrOutput

func (DomainRedirectType) ToDomainRedirectTypePtrOutputWithContext added in v0.6.0

func (e DomainRedirectType) ToDomainRedirectTypePtrOutputWithContext(ctx context.Context) DomainRedirectTypePtrOutput

func (DomainRedirectType) ToStringOutput added in v0.4.0

func (e DomainRedirectType) ToStringOutput() pulumi.StringOutput

func (DomainRedirectType) ToStringOutputWithContext added in v0.4.0

func (e DomainRedirectType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DomainRedirectType) ToStringPtrOutput added in v0.4.0

func (e DomainRedirectType) ToStringPtrOutput() pulumi.StringPtrOutput

func (DomainRedirectType) ToStringPtrOutputWithContext added in v0.4.0

func (e DomainRedirectType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DomainRedirectTypeInput added in v0.6.0

type DomainRedirectTypeInput interface {
	pulumi.Input

	ToDomainRedirectTypeOutput() DomainRedirectTypeOutput
	ToDomainRedirectTypeOutputWithContext(context.Context) DomainRedirectTypeOutput
}

DomainRedirectTypeInput is an input type that accepts DomainRedirectTypeArgs and DomainRedirectTypeOutput values. You can construct a concrete instance of `DomainRedirectTypeInput` via:

DomainRedirectTypeArgs{...}

type DomainRedirectTypeOutput added in v0.6.0

type DomainRedirectTypeOutput struct{ *pulumi.OutputState }

func (DomainRedirectTypeOutput) ElementType added in v0.6.0

func (DomainRedirectTypeOutput) ElementType() reflect.Type

func (DomainRedirectTypeOutput) ToDomainRedirectTypeOutput added in v0.6.0

func (o DomainRedirectTypeOutput) ToDomainRedirectTypeOutput() DomainRedirectTypeOutput

func (DomainRedirectTypeOutput) ToDomainRedirectTypeOutputWithContext added in v0.6.0

func (o DomainRedirectTypeOutput) ToDomainRedirectTypeOutputWithContext(ctx context.Context) DomainRedirectTypeOutput

func (DomainRedirectTypeOutput) ToDomainRedirectTypePtrOutput added in v0.6.0

func (o DomainRedirectTypeOutput) ToDomainRedirectTypePtrOutput() DomainRedirectTypePtrOutput

func (DomainRedirectTypeOutput) ToDomainRedirectTypePtrOutputWithContext added in v0.6.0

func (o DomainRedirectTypeOutput) ToDomainRedirectTypePtrOutputWithContext(ctx context.Context) DomainRedirectTypePtrOutput

func (DomainRedirectTypeOutput) ToStringOutput added in v0.6.0

func (o DomainRedirectTypeOutput) ToStringOutput() pulumi.StringOutput

func (DomainRedirectTypeOutput) ToStringOutputWithContext added in v0.6.0

func (o DomainRedirectTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DomainRedirectTypeOutput) ToStringPtrOutput added in v0.6.0

func (o DomainRedirectTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (DomainRedirectTypeOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o DomainRedirectTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DomainRedirectTypePtrInput added in v0.6.0

type DomainRedirectTypePtrInput interface {
	pulumi.Input

	ToDomainRedirectTypePtrOutput() DomainRedirectTypePtrOutput
	ToDomainRedirectTypePtrOutputWithContext(context.Context) DomainRedirectTypePtrOutput
}

func DomainRedirectTypePtr added in v0.6.0

func DomainRedirectTypePtr(v string) DomainRedirectTypePtrInput

type DomainRedirectTypePtrOutput added in v0.6.0

type DomainRedirectTypePtrOutput struct{ *pulumi.OutputState }

func (DomainRedirectTypePtrOutput) Elem added in v0.6.0

func (DomainRedirectTypePtrOutput) ElementType added in v0.6.0

func (DomainRedirectTypePtrOutput) ToDomainRedirectTypePtrOutput added in v0.6.0

func (o DomainRedirectTypePtrOutput) ToDomainRedirectTypePtrOutput() DomainRedirectTypePtrOutput

func (DomainRedirectTypePtrOutput) ToDomainRedirectTypePtrOutputWithContext added in v0.6.0

func (o DomainRedirectTypePtrOutput) ToDomainRedirectTypePtrOutputWithContext(ctx context.Context) DomainRedirectTypePtrOutput

func (DomainRedirectTypePtrOutput) ToStringPtrOutput added in v0.6.0

func (o DomainRedirectTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (DomainRedirectTypePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o DomainRedirectTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DomainState added in v0.3.0

type DomainState struct {
}

func (DomainState) ElementType added in v0.3.0

func (DomainState) ElementType() reflect.Type
type Header struct {
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob *string `pulumi:"glob"`
	// The additional headers to add to the response.
	Headers map[string]string `pulumi:"headers"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex *string `pulumi:"regex"`
}

A [`Header`](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

type HeaderArgs added in v0.29.0

type HeaderArgs struct {
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob pulumi.StringPtrInput `pulumi:"glob"`
	// The additional headers to add to the response.
	Headers pulumi.StringMapInput `pulumi:"headers"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

A [`Header`](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

func (HeaderArgs) ElementType added in v0.29.0

func (HeaderArgs) ElementType() reflect.Type

func (HeaderArgs) ToHeaderOutput added in v0.29.0

func (i HeaderArgs) ToHeaderOutput() HeaderOutput

func (HeaderArgs) ToHeaderOutputWithContext added in v0.29.0

func (i HeaderArgs) ToHeaderOutputWithContext(ctx context.Context) HeaderOutput

type HeaderArray added in v0.29.0

type HeaderArray []HeaderInput

func (HeaderArray) ElementType added in v0.29.0

func (HeaderArray) ElementType() reflect.Type

func (HeaderArray) ToHeaderArrayOutput added in v0.29.0

func (i HeaderArray) ToHeaderArrayOutput() HeaderArrayOutput

func (HeaderArray) ToHeaderArrayOutputWithContext added in v0.29.0

func (i HeaderArray) ToHeaderArrayOutputWithContext(ctx context.Context) HeaderArrayOutput

type HeaderArrayInput added in v0.29.0

type HeaderArrayInput interface {
	pulumi.Input

	ToHeaderArrayOutput() HeaderArrayOutput
	ToHeaderArrayOutputWithContext(context.Context) HeaderArrayOutput
}

HeaderArrayInput is an input type that accepts HeaderArray and HeaderArrayOutput values. You can construct a concrete instance of `HeaderArrayInput` via:

HeaderArray{ HeaderArgs{...} }

type HeaderArrayOutput added in v0.29.0

type HeaderArrayOutput struct{ *pulumi.OutputState }

func (HeaderArrayOutput) ElementType added in v0.29.0

func (HeaderArrayOutput) ElementType() reflect.Type

func (HeaderArrayOutput) Index added in v0.29.0

func (HeaderArrayOutput) ToHeaderArrayOutput added in v0.29.0

func (o HeaderArrayOutput) ToHeaderArrayOutput() HeaderArrayOutput

func (HeaderArrayOutput) ToHeaderArrayOutputWithContext added in v0.29.0

func (o HeaderArrayOutput) ToHeaderArrayOutputWithContext(ctx context.Context) HeaderArrayOutput

type HeaderInput added in v0.29.0

type HeaderInput interface {
	pulumi.Input

	ToHeaderOutput() HeaderOutput
	ToHeaderOutputWithContext(context.Context) HeaderOutput
}

HeaderInput is an input type that accepts HeaderArgs and HeaderOutput values. You can construct a concrete instance of `HeaderInput` via:

HeaderArgs{...}

type HeaderOutput added in v0.29.0

type HeaderOutput struct{ *pulumi.OutputState }

A [`Header`](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

func (HeaderOutput) ElementType added in v0.29.0

func (HeaderOutput) ElementType() reflect.Type

func (HeaderOutput) Glob added in v0.29.0

The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.

func (HeaderOutput) Headers added in v0.29.0

func (o HeaderOutput) Headers() pulumi.StringMapOutput

The additional headers to add to the response.

func (HeaderOutput) Regex added in v0.29.0

The user-supplied RE2 regular expression to match against the request URL path.

func (HeaderOutput) ToHeaderOutput added in v0.29.0

func (o HeaderOutput) ToHeaderOutput() HeaderOutput

func (HeaderOutput) ToHeaderOutputWithContext added in v0.29.0

func (o HeaderOutput) ToHeaderOutputWithContext(ctx context.Context) HeaderOutput

type HeaderResponse

type HeaderResponse struct {
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob string `pulumi:"glob"`
	// The additional headers to add to the response.
	Headers map[string]string `pulumi:"headers"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex string `pulumi:"regex"`
}

A [`Header`](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

type HeaderResponseArrayOutput

type HeaderResponseArrayOutput struct{ *pulumi.OutputState }

func (HeaderResponseArrayOutput) ElementType

func (HeaderResponseArrayOutput) ElementType() reflect.Type

func (HeaderResponseArrayOutput) Index

func (HeaderResponseArrayOutput) ToHeaderResponseArrayOutput

func (o HeaderResponseArrayOutput) ToHeaderResponseArrayOutput() HeaderResponseArrayOutput

func (HeaderResponseArrayOutput) ToHeaderResponseArrayOutputWithContext

func (o HeaderResponseArrayOutput) ToHeaderResponseArrayOutputWithContext(ctx context.Context) HeaderResponseArrayOutput

type HeaderResponseOutput

type HeaderResponseOutput struct{ *pulumi.OutputState }

A [`Header`](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

func (HeaderResponseOutput) ElementType

func (HeaderResponseOutput) ElementType() reflect.Type

func (HeaderResponseOutput) Glob

The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.

func (HeaderResponseOutput) Headers

The additional headers to add to the response.

func (HeaderResponseOutput) Regex

The user-supplied RE2 regular expression to match against the request URL path.

func (HeaderResponseOutput) ToHeaderResponseOutput

func (o HeaderResponseOutput) ToHeaderResponseOutput() HeaderResponseOutput

func (HeaderResponseOutput) ToHeaderResponseOutputWithContext

func (o HeaderResponseOutput) ToHeaderResponseOutputWithContext(ctx context.Context) HeaderResponseOutput

type HttpUpdateResponse added in v0.32.0

type HttpUpdateResponse struct {
	// An error encountered during the last contents check. If null, the check completed successfully.
	CheckError StatusResponse `pulumi:"checkError"`
	// A text string to serve at the path.
	Desired string `pulumi:"desired"`
	// Whether Hosting was able to find the required file contents on the specified path during its last check.
	Discovered string `pulumi:"discovered"`
	// The last time Hosting systems checked for the file contents.
	LastCheckTime string `pulumi:"lastCheckTime"`
	// The path to the file.
	Path string `pulumi:"path"`
}

A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting's Certificate Authorities to create an SSL certificate for your domain.

type HttpUpdateResponseOutput added in v0.32.0

type HttpUpdateResponseOutput struct{ *pulumi.OutputState }

A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting's Certificate Authorities to create an SSL certificate for your domain.

func (HttpUpdateResponseOutput) CheckError added in v0.32.0

An error encountered during the last contents check. If null, the check completed successfully.

func (HttpUpdateResponseOutput) Desired added in v0.32.0

A text string to serve at the path.

func (HttpUpdateResponseOutput) Discovered added in v0.32.0

Whether Hosting was able to find the required file contents on the specified path during its last check.

func (HttpUpdateResponseOutput) ElementType added in v0.32.0

func (HttpUpdateResponseOutput) ElementType() reflect.Type

func (HttpUpdateResponseOutput) LastCheckTime added in v0.32.0

func (o HttpUpdateResponseOutput) LastCheckTime() pulumi.StringOutput

The last time Hosting systems checked for the file contents.

func (HttpUpdateResponseOutput) Path added in v0.32.0

The path to the file.

func (HttpUpdateResponseOutput) ToHttpUpdateResponseOutput added in v0.32.0

func (o HttpUpdateResponseOutput) ToHttpUpdateResponseOutput() HttpUpdateResponseOutput

func (HttpUpdateResponseOutput) ToHttpUpdateResponseOutputWithContext added in v0.32.0

func (o HttpUpdateResponseOutput) ToHttpUpdateResponseOutputWithContext(ctx context.Context) HttpUpdateResponseOutput

type I18nConfig added in v0.29.0

type I18nConfig struct {
	// The user-supplied path where country and language specific content will be looked for within the public directory.
	Root string `pulumi:"root"`
}

If provided, i18n rewrites are enabled.

type I18nConfigArgs added in v0.29.0

type I18nConfigArgs struct {
	// The user-supplied path where country and language specific content will be looked for within the public directory.
	Root pulumi.StringInput `pulumi:"root"`
}

If provided, i18n rewrites are enabled.

func (I18nConfigArgs) ElementType added in v0.29.0

func (I18nConfigArgs) ElementType() reflect.Type

func (I18nConfigArgs) ToI18nConfigOutput added in v0.29.0

func (i I18nConfigArgs) ToI18nConfigOutput() I18nConfigOutput

func (I18nConfigArgs) ToI18nConfigOutputWithContext added in v0.29.0

func (i I18nConfigArgs) ToI18nConfigOutputWithContext(ctx context.Context) I18nConfigOutput

func (I18nConfigArgs) ToI18nConfigPtrOutput added in v0.29.0

func (i I18nConfigArgs) ToI18nConfigPtrOutput() I18nConfigPtrOutput

func (I18nConfigArgs) ToI18nConfigPtrOutputWithContext added in v0.29.0

func (i I18nConfigArgs) ToI18nConfigPtrOutputWithContext(ctx context.Context) I18nConfigPtrOutput

type I18nConfigInput added in v0.29.0

type I18nConfigInput interface {
	pulumi.Input

	ToI18nConfigOutput() I18nConfigOutput
	ToI18nConfigOutputWithContext(context.Context) I18nConfigOutput
}

I18nConfigInput is an input type that accepts I18nConfigArgs and I18nConfigOutput values. You can construct a concrete instance of `I18nConfigInput` via:

I18nConfigArgs{...}

type I18nConfigOutput added in v0.29.0

type I18nConfigOutput struct{ *pulumi.OutputState }

If provided, i18n rewrites are enabled.

func (I18nConfigOutput) ElementType added in v0.29.0

func (I18nConfigOutput) ElementType() reflect.Type

func (I18nConfigOutput) Root added in v0.29.0

The user-supplied path where country and language specific content will be looked for within the public directory.

func (I18nConfigOutput) ToI18nConfigOutput added in v0.29.0

func (o I18nConfigOutput) ToI18nConfigOutput() I18nConfigOutput

func (I18nConfigOutput) ToI18nConfigOutputWithContext added in v0.29.0

func (o I18nConfigOutput) ToI18nConfigOutputWithContext(ctx context.Context) I18nConfigOutput

func (I18nConfigOutput) ToI18nConfigPtrOutput added in v0.29.0

func (o I18nConfigOutput) ToI18nConfigPtrOutput() I18nConfigPtrOutput

func (I18nConfigOutput) ToI18nConfigPtrOutputWithContext added in v0.29.0

func (o I18nConfigOutput) ToI18nConfigPtrOutputWithContext(ctx context.Context) I18nConfigPtrOutput

type I18nConfigPtrInput added in v0.29.0

type I18nConfigPtrInput interface {
	pulumi.Input

	ToI18nConfigPtrOutput() I18nConfigPtrOutput
	ToI18nConfigPtrOutputWithContext(context.Context) I18nConfigPtrOutput
}

I18nConfigPtrInput is an input type that accepts I18nConfigArgs, I18nConfigPtr and I18nConfigPtrOutput values. You can construct a concrete instance of `I18nConfigPtrInput` via:

        I18nConfigArgs{...}

or:

        nil

func I18nConfigPtr added in v0.29.0

func I18nConfigPtr(v *I18nConfigArgs) I18nConfigPtrInput

type I18nConfigPtrOutput added in v0.29.0

type I18nConfigPtrOutput struct{ *pulumi.OutputState }

func (I18nConfigPtrOutput) Elem added in v0.29.0

func (I18nConfigPtrOutput) ElementType added in v0.29.0

func (I18nConfigPtrOutput) ElementType() reflect.Type

func (I18nConfigPtrOutput) Root added in v0.29.0

The user-supplied path where country and language specific content will be looked for within the public directory.

func (I18nConfigPtrOutput) ToI18nConfigPtrOutput added in v0.29.0

func (o I18nConfigPtrOutput) ToI18nConfigPtrOutput() I18nConfigPtrOutput

func (I18nConfigPtrOutput) ToI18nConfigPtrOutputWithContext added in v0.29.0

func (o I18nConfigPtrOutput) ToI18nConfigPtrOutputWithContext(ctx context.Context) I18nConfigPtrOutput

type I18nConfigResponse

type I18nConfigResponse struct {
	// The user-supplied path where country and language specific content will be looked for within the public directory.
	Root string `pulumi:"root"`
}

If provided, i18n rewrites are enabled.

type I18nConfigResponseOutput

type I18nConfigResponseOutput struct{ *pulumi.OutputState }

If provided, i18n rewrites are enabled.

func (I18nConfigResponseOutput) ElementType

func (I18nConfigResponseOutput) ElementType() reflect.Type

func (I18nConfigResponseOutput) Root

The user-supplied path where country and language specific content will be looked for within the public directory.

func (I18nConfigResponseOutput) ToI18nConfigResponseOutput

func (o I18nConfigResponseOutput) ToI18nConfigResponseOutput() I18nConfigResponseOutput

func (I18nConfigResponseOutput) ToI18nConfigResponseOutputWithContext

func (o I18nConfigResponseOutput) ToI18nConfigResponseOutputWithContext(ctx context.Context) I18nConfigResponseOutput

type LookupChannelArgs added in v0.4.0

type LookupChannelArgs struct {
	ChannelId string  `pulumi:"channelId"`
	Project   *string `pulumi:"project"`
	SiteId    string  `pulumi:"siteId"`
}

type LookupChannelOutputArgs added in v0.8.0

type LookupChannelOutputArgs struct {
	ChannelId pulumi.StringInput    `pulumi:"channelId"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
	SiteId    pulumi.StringInput    `pulumi:"siteId"`
}

func (LookupChannelOutputArgs) ElementType added in v0.8.0

func (LookupChannelOutputArgs) ElementType() reflect.Type

type LookupChannelResult added in v0.4.0

type LookupChannelResult struct {
	// The time at which the channel was created.
	CreateTime string `pulumi:"createTime"`
	// The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field.
	ExpireTime string `pulumi:"expireTime"`
	// Text labels used for extra metadata and/or filtering.
	Labels map[string]string `pulumi:"labels"`
	// The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID
	Name string `pulumi:"name"`
	// The current release for the channel, if any.
	Release ReleaseResponse `pulumi:"release"`
	// The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
	RetainedReleaseCount int `pulumi:"retainedReleaseCount"`
	// Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
	Ttl string `pulumi:"ttl"`
	// The time at which the channel was last updated.
	UpdateTime string `pulumi:"updateTime"`
	// The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of `web.app`. The content of this channel's current release can also be viewed at the Firebase-provided subdomain of `firebaseapp.com`. If this channel is the `live` channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.
	Url string `pulumi:"url"`
}

func LookupChannel added in v0.4.0

func LookupChannel(ctx *pulumi.Context, args *LookupChannelArgs, opts ...pulumi.InvokeOption) (*LookupChannelResult, error)

Retrieves information for the specified channel of the specified site.

type LookupChannelResultOutput added in v0.8.0

type LookupChannelResultOutput struct{ *pulumi.OutputState }

func LookupChannelOutput added in v0.8.0

func LookupChannelOutput(ctx *pulumi.Context, args LookupChannelOutputArgs, opts ...pulumi.InvokeOption) LookupChannelResultOutput

func (LookupChannelResultOutput) CreateTime added in v0.8.0

The time at which the channel was created.

func (LookupChannelResultOutput) ElementType added in v0.8.0

func (LookupChannelResultOutput) ElementType() reflect.Type

func (LookupChannelResultOutput) ExpireTime added in v0.8.0

The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in the output whether it's set directly or via the `ttl` field.

func (LookupChannelResultOutput) Labels added in v0.8.0

Text labels used for extra metadata and/or filtering.

func (LookupChannelResultOutput) Name added in v0.8.0

The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID

func (LookupChannelResultOutput) Release added in v0.8.0

The current release for the channel, if any.

func (LookupChannelResultOutput) RetainedReleaseCount added in v0.8.0

func (o LookupChannelResultOutput) RetainedReleaseCount() pulumi.IntOutput

The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.

func (LookupChannelResultOutput) ToLookupChannelResultOutput added in v0.8.0

func (o LookupChannelResultOutput) ToLookupChannelResultOutput() LookupChannelResultOutput

func (LookupChannelResultOutput) ToLookupChannelResultOutputWithContext added in v0.8.0

func (o LookupChannelResultOutput) ToLookupChannelResultOutputWithContext(ctx context.Context) LookupChannelResultOutput

func (LookupChannelResultOutput) Ttl added in v0.8.0

Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.

func (LookupChannelResultOutput) UpdateTime added in v0.8.0

The time at which the channel was last updated.

func (LookupChannelResultOutput) Url added in v0.8.0

The URL at which the content of this channel's current release can be viewed. This URL is a Firebase-provided subdomain of `web.app`. The content of this channel's current release can also be viewed at the Firebase-provided subdomain of `firebaseapp.com`. If this channel is the `live` channel for the Hosting site, then the content of this channel's current release can also be viewed at any connected custom domains.

type LookupCustomDomainArgs added in v0.32.0

type LookupCustomDomainArgs struct {
	CustomDomainId string  `pulumi:"customDomainId"`
	Project        *string `pulumi:"project"`
	SiteId         string  `pulumi:"siteId"`
}

type LookupCustomDomainOutputArgs added in v0.32.0

type LookupCustomDomainOutputArgs struct {
	CustomDomainId pulumi.StringInput    `pulumi:"customDomainId"`
	Project        pulumi.StringPtrInput `pulumi:"project"`
	SiteId         pulumi.StringInput    `pulumi:"siteId"`
}

func (LookupCustomDomainOutputArgs) ElementType added in v0.32.0

type LookupCustomDomainResult added in v0.32.0

type LookupCustomDomainResult struct {
	// Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.
	Annotations map[string]string `pulumi:"annotations"`
	// 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.
	Cert CertificateResponse `pulumi:"cert"`
	// 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.
	CertPreference string `pulumi:"certPreference"`
	// The custom domain's create time.
	CreateTime string `pulumi:"createTime"`
	// 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 an `UndeleteCustomDomain` request.
	DeleteTime string `pulumi:"deleteTime"`
	// 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 making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.
	Etag string `pulumi:"etag"`
	// The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven't been deleted.
	ExpireTime string `pulumi:"expireTime"`
	// The `HostState` of the domain name this `CustomDomain` refers to.
	HostState string `pulumi:"hostState"`
	// 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.
	Issues []StatusResponse `pulumi:"issues"`
	// Labels used for extra metadata and/or filtering.
	Labels map[string]string `pulumi:"labels"`
	// The fully-qualified name of the `CustomDomain`.
	Name string `pulumi:"name"`
	// The `OwnershipState` of the domain name this `CustomDomain` refers to.
	OwnershipState string `pulumi:"ownershipState"`
	// 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 a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.
	Reconciling bool `pulumi:"reconciling"`
	// 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 specified `redirect_target` instead.
	RedirectTarget string `pulumi:"redirectTarget"`
	// A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
	RequiredDnsUpdates DnsUpdatesResponse `pulumi:"requiredDnsUpdates"`
	// The last time the `CustomDomain` was updated.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupCustomDomain added in v0.32.0

func LookupCustomDomain(ctx *pulumi.Context, args *LookupCustomDomainArgs, opts ...pulumi.InvokeOption) (*LookupCustomDomainResult, error)

Gets the specified `CustomDomain`.

type LookupCustomDomainResultOutput added in v0.32.0

type LookupCustomDomainResultOutput struct{ *pulumi.OutputState }

func LookupCustomDomainOutput added in v0.32.0

func (LookupCustomDomainResultOutput) Annotations added in v0.32.0

Annotations you can add to leave both human- and machine-readable metadata about your `CustomDomain`.

func (LookupCustomDomainResultOutput) Cert added in v0.32.0

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.

func (LookupCustomDomainResultOutput) CertPreference added in v0.32.0

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.

func (LookupCustomDomainResultOutput) CreateTime added in v0.32.0

The custom domain's create time.

func (LookupCustomDomainResultOutput) DeleteTime added in v0.32.0

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 an `UndeleteCustomDomain` request.

func (LookupCustomDomainResultOutput) ElementType added in v0.32.0

func (LookupCustomDomainResultOutput) Etag added in v0.32.0

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 making `UpdateCustomDomain`, `DeleteCustomDomain`, and `UndeleteCustomDomain` requests.

func (LookupCustomDomainResultOutput) ExpireTime added in v0.32.0

The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven't been deleted.

func (LookupCustomDomainResultOutput) HostState added in v0.32.0

The `HostState` of the domain name this `CustomDomain` refers to.

func (LookupCustomDomainResultOutput) Issues added in v0.32.0

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.

func (LookupCustomDomainResultOutput) Labels added in v0.32.0

Labels used for extra metadata and/or filtering.

func (LookupCustomDomainResultOutput) Name added in v0.32.0

The fully-qualified name of the `CustomDomain`.

func (LookupCustomDomainResultOutput) OwnershipState added in v0.32.0

The `OwnershipState` of the domain name this `CustomDomain` refers to.

func (LookupCustomDomainResultOutput) Reconciling added in v0.32.0

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 a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.

func (LookupCustomDomainResultOutput) RedirectTarget added in v0.32.0

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 specified `redirect_target` instead.

func (LookupCustomDomainResultOutput) RequiredDnsUpdates added in v0.32.0

A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.

func (LookupCustomDomainResultOutput) ToLookupCustomDomainResultOutput added in v0.32.0

func (o LookupCustomDomainResultOutput) ToLookupCustomDomainResultOutput() LookupCustomDomainResultOutput

func (LookupCustomDomainResultOutput) ToLookupCustomDomainResultOutputWithContext added in v0.32.0

func (o LookupCustomDomainResultOutput) ToLookupCustomDomainResultOutputWithContext(ctx context.Context) LookupCustomDomainResultOutput

func (LookupCustomDomainResultOutput) UpdateTime added in v0.32.0

The last time the `CustomDomain` was updated.

type LookupDomainArgs added in v0.4.0

type LookupDomainArgs struct {
	DomainId string  `pulumi:"domainId"`
	Project  *string `pulumi:"project"`
	SiteId   string  `pulumi:"siteId"`
}

type LookupDomainOutputArgs added in v0.8.0

type LookupDomainOutputArgs struct {
	DomainId pulumi.StringInput    `pulumi:"domainId"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
	SiteId   pulumi.StringInput    `pulumi:"siteId"`
}

func (LookupDomainOutputArgs) ElementType added in v0.8.0

func (LookupDomainOutputArgs) ElementType() reflect.Type

type LookupDomainResult added in v0.4.0

type LookupDomainResult struct {
	// The domain name of the association.
	DomainName string `pulumi:"domainName"`
	// If set, the domain should redirect with the provided parameters.
	DomainRedirect DomainRedirectResponse `pulumi:"domainRedirect"`
	// Information about the provisioning of certificates and the health of the DNS resolution for the domain.
	Provisioning DomainProvisioningResponse `pulumi:"provisioning"`
	// The site name of the association.
	Site string `pulumi:"site"`
	// Additional status of the domain association.
	Status string `pulumi:"status"`
	// The time at which the domain was last updated.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupDomain added in v0.4.0

func LookupDomain(ctx *pulumi.Context, args *LookupDomainArgs, opts ...pulumi.InvokeOption) (*LookupDomainResult, error)

Gets a domain mapping on the specified site.

type LookupDomainResultOutput added in v0.8.0

type LookupDomainResultOutput struct{ *pulumi.OutputState }

func LookupDomainOutput added in v0.8.0

func LookupDomainOutput(ctx *pulumi.Context, args LookupDomainOutputArgs, opts ...pulumi.InvokeOption) LookupDomainResultOutput

func (LookupDomainResultOutput) DomainName added in v0.8.0

The domain name of the association.

func (LookupDomainResultOutput) DomainRedirect added in v0.8.0

If set, the domain should redirect with the provided parameters.

func (LookupDomainResultOutput) ElementType added in v0.8.0

func (LookupDomainResultOutput) ElementType() reflect.Type

func (LookupDomainResultOutput) Provisioning added in v0.8.0

Information about the provisioning of certificates and the health of the DNS resolution for the domain.

func (LookupDomainResultOutput) Site added in v0.8.0

The site name of the association.

func (LookupDomainResultOutput) Status added in v0.8.0

Additional status of the domain association.

func (LookupDomainResultOutput) ToLookupDomainResultOutput added in v0.8.0

func (o LookupDomainResultOutput) ToLookupDomainResultOutput() LookupDomainResultOutput

func (LookupDomainResultOutput) ToLookupDomainResultOutputWithContext added in v0.8.0

func (o LookupDomainResultOutput) ToLookupDomainResultOutputWithContext(ctx context.Context) LookupDomainResultOutput

func (LookupDomainResultOutput) UpdateTime added in v0.8.0

The time at which the domain was last updated.

type LookupReleaseArgs added in v0.29.0

type LookupReleaseArgs struct {
	ChannelId string  `pulumi:"channelId"`
	Project   *string `pulumi:"project"`
	ReleaseId string  `pulumi:"releaseId"`
	SiteId    string  `pulumi:"siteId"`
}

type LookupReleaseOutputArgs added in v0.29.0

type LookupReleaseOutputArgs struct {
	ChannelId pulumi.StringInput    `pulumi:"channelId"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
	ReleaseId pulumi.StringInput    `pulumi:"releaseId"`
	SiteId    pulumi.StringInput    `pulumi:"siteId"`
}

func (LookupReleaseOutputArgs) ElementType added in v0.29.0

func (LookupReleaseOutputArgs) ElementType() reflect.Type

type LookupReleaseResult added in v0.29.0

type LookupReleaseResult struct {
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message string `pulumi:"message"`
	// The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases.create`](sites.channels.releases/create).
	Name string `pulumi:"name"`
	// The time at which the version is set to be public.
	ReleaseTime string `pulumi:"releaseTime"`
	// Identifies the user who created the release.
	ReleaseUser ActingUserResponse `pulumi:"releaseUser"`
	// Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
	Type string `pulumi:"type"`
	// The configuration and content that was released.
	Version VersionResponse `pulumi:"version"`
}

func LookupRelease added in v0.29.0

func LookupRelease(ctx *pulumi.Context, args *LookupReleaseArgs, opts ...pulumi.InvokeOption) (*LookupReleaseResult, error)

Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default `live` channel and any active preview channels for the specified site.

type LookupReleaseResultOutput added in v0.29.0

type LookupReleaseResultOutput struct{ *pulumi.OutputState }

func LookupReleaseOutput added in v0.29.0

func LookupReleaseOutput(ctx *pulumi.Context, args LookupReleaseOutputArgs, opts ...pulumi.InvokeOption) LookupReleaseResultOutput

func (LookupReleaseResultOutput) ElementType added in v0.29.0

func (LookupReleaseResultOutput) ElementType() reflect.Type

func (LookupReleaseResultOutput) Message added in v0.29.0

The deploy description when the release was created. The value can be up to 512 characters.

func (LookupReleaseResultOutput) Name added in v0.29.0

The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases.create`](sites.channels.releases/create).

func (LookupReleaseResultOutput) ReleaseTime added in v0.29.0

The time at which the version is set to be public.

func (LookupReleaseResultOutput) ReleaseUser added in v0.29.0

Identifies the user who created the release.

func (LookupReleaseResultOutput) ToLookupReleaseResultOutput added in v0.29.0

func (o LookupReleaseResultOutput) ToLookupReleaseResultOutput() LookupReleaseResultOutput

func (LookupReleaseResultOutput) ToLookupReleaseResultOutputWithContext added in v0.29.0

func (o LookupReleaseResultOutput) ToLookupReleaseResultOutputWithContext(ctx context.Context) LookupReleaseResultOutput

func (LookupReleaseResultOutput) Type added in v0.29.0

Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.

func (LookupReleaseResultOutput) Version added in v0.29.0

The configuration and content that was released.

type LookupSiteArgs added in v0.4.0

type LookupSiteArgs struct {
	Project *string `pulumi:"project"`
	SiteId  string  `pulumi:"siteId"`
}

type LookupSiteOutputArgs added in v0.8.0

type LookupSiteOutputArgs struct {
	Project pulumi.StringPtrInput `pulumi:"project"`
	SiteId  pulumi.StringInput    `pulumi:"siteId"`
}

func (LookupSiteOutputArgs) ElementType added in v0.8.0

func (LookupSiteOutputArgs) ElementType() reflect.Type

type LookupSiteResult added in v0.4.0

type LookupSiteResult struct {
	// Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site.
	AppId string `pulumi:"appId"`
	// The default URL for the Hosting site.
	DefaultUrl string `pulumi:"defaultUrl"`
	// Optional. User-specified labels for the Hosting site.
	Labels map[string]string `pulumi:"labels"`
	// The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
	Name string `pulumi:"name"`
	// The type of Hosting site. Every Firebase project has a `DEFAULT_SITE`, which is created when Hosting is provisioned for the project. All additional sites are `USER_SITE`.
	Type string `pulumi:"type"`
}

func LookupSite added in v0.4.0

func LookupSite(ctx *pulumi.Context, args *LookupSiteArgs, opts ...pulumi.InvokeOption) (*LookupSiteResult, error)

Gets the specified Hosting Site.

type LookupSiteResultOutput added in v0.8.0

type LookupSiteResultOutput struct{ *pulumi.OutputState }

func LookupSiteOutput added in v0.8.0

func LookupSiteOutput(ctx *pulumi.Context, args LookupSiteOutputArgs, opts ...pulumi.InvokeOption) LookupSiteResultOutput

func (LookupSiteResultOutput) AppId added in v0.8.0

Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site.

func (LookupSiteResultOutput) DefaultUrl added in v0.8.0

The default URL for the Hosting site.

func (LookupSiteResultOutput) ElementType added in v0.8.0

func (LookupSiteResultOutput) ElementType() reflect.Type

func (LookupSiteResultOutput) Labels added in v0.8.0

Optional. User-specified labels for the Hosting site.

func (LookupSiteResultOutput) Name added in v0.8.0

The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).

func (LookupSiteResultOutput) ToLookupSiteResultOutput added in v0.8.0

func (o LookupSiteResultOutput) ToLookupSiteResultOutput() LookupSiteResultOutput

func (LookupSiteResultOutput) ToLookupSiteResultOutputWithContext added in v0.8.0

func (o LookupSiteResultOutput) ToLookupSiteResultOutputWithContext(ctx context.Context) LookupSiteResultOutput

func (LookupSiteResultOutput) Type added in v0.8.0

The type of Hosting site. Every Firebase project has a `DEFAULT_SITE`, which is created when Hosting is provisioned for the project. All additional sites are `USER_SITE`.

type LookupVersionArgs added in v0.29.0

type LookupVersionArgs struct {
	Project   *string `pulumi:"project"`
	SiteId    string  `pulumi:"siteId"`
	VersionId string  `pulumi:"versionId"`
}

type LookupVersionOutputArgs added in v0.29.0

type LookupVersionOutputArgs struct {
	Project   pulumi.StringPtrInput `pulumi:"project"`
	SiteId    pulumi.StringInput    `pulumi:"siteId"`
	VersionId pulumi.StringInput    `pulumi:"versionId"`
}

func (LookupVersionOutputArgs) ElementType added in v0.29.0

func (LookupVersionOutputArgs) ElementType() reflect.Type

type LookupVersionResult added in v0.29.0

type LookupVersionResult struct {
	// The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file.
	Config ServingConfigResponse `pulumi:"config"`
	// The time at which the version was created.
	CreateTime string `pulumi:"createTime"`
	// Identifies the user who created the version.
	CreateUser ActingUserResponse `pulumi:"createUser"`
	// The time at which the version was `DELETED`.
	DeleteTime string `pulumi:"deleteTime"`
	// Identifies the user who `DELETED` the version.
	DeleteUser ActingUserResponse `pulumi:"deleteUser"`
	// The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.
	FileCount string `pulumi:"fileCount"`
	// The time at which the version was `FINALIZED`.
	FinalizeTime string `pulumi:"finalizeTime"`
	// Identifies the user who `FINALIZED` the version.
	FinalizeUser ActingUserResponse `pulumi:"finalizeUser"`
	// The labels used for extra metadata and/or filtering.
	Labels map[string]string `pulumi:"labels"`
	// The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).
	Name string `pulumi:"name"`
	// The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).
	Status string `pulumi:"status"`
	// The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
	VersionBytes string `pulumi:"versionBytes"`
}

func LookupVersion added in v0.29.0

func LookupVersion(ctx *pulumi.Context, args *LookupVersionArgs, opts ...pulumi.InvokeOption) (*LookupVersionResult, error)

Get the specified version that has been created for the specified site. This can include versions that were created for the default `live` channel or for any active preview channels for the specified site.

type LookupVersionResultOutput added in v0.29.0

type LookupVersionResultOutput struct{ *pulumi.OutputState }

func LookupVersionOutput added in v0.29.0

func LookupVersionOutput(ctx *pulumi.Context, args LookupVersionOutputArgs, opts ...pulumi.InvokeOption) LookupVersionResultOutput

func (LookupVersionResultOutput) Config added in v0.29.0

The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file.

func (LookupVersionResultOutput) CreateTime added in v0.29.0

The time at which the version was created.

func (LookupVersionResultOutput) CreateUser added in v0.29.0

Identifies the user who created the version.

func (LookupVersionResultOutput) DeleteTime added in v0.29.0

The time at which the version was `DELETED`.

func (LookupVersionResultOutput) DeleteUser added in v0.29.0

Identifies the user who `DELETED` the version.

func (LookupVersionResultOutput) ElementType added in v0.29.0

func (LookupVersionResultOutput) ElementType() reflect.Type

func (LookupVersionResultOutput) FileCount added in v0.29.0

The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.

func (LookupVersionResultOutput) FinalizeTime added in v0.29.0

The time at which the version was `FINALIZED`.

func (LookupVersionResultOutput) FinalizeUser added in v0.29.0

Identifies the user who `FINALIZED` the version.

func (LookupVersionResultOutput) Labels added in v0.29.0

The labels used for extra metadata and/or filtering.

func (LookupVersionResultOutput) Name added in v0.29.0

The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).

func (LookupVersionResultOutput) Status added in v0.29.0

The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).

func (LookupVersionResultOutput) ToLookupVersionResultOutput added in v0.29.0

func (o LookupVersionResultOutput) ToLookupVersionResultOutput() LookupVersionResultOutput

func (LookupVersionResultOutput) ToLookupVersionResultOutputWithContext added in v0.29.0

func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx context.Context) LookupVersionResultOutput

func (LookupVersionResultOutput) VersionBytes added in v0.29.0

The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.

type Redirect added in v0.29.0

type Redirect struct {
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob *string `pulumi:"glob"`
	// The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture"
	Location string `pulumi:"location"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex *string `pulumi:"regex"`
	// The status HTTP code to return in the response. It must be a valid 3xx status code.
	StatusCode int `pulumi:"statusCode"`
}

A [`Redirect`](https://firebase.google.com/docs/hosting/full-config#redirects) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

type RedirectArgs added in v0.29.0

type RedirectArgs struct {
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob pulumi.StringPtrInput `pulumi:"glob"`
	// The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture"
	Location pulumi.StringInput `pulumi:"location"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The status HTTP code to return in the response. It must be a valid 3xx status code.
	StatusCode pulumi.IntInput `pulumi:"statusCode"`
}

A [`Redirect`](https://firebase.google.com/docs/hosting/full-config#redirects) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

func (RedirectArgs) ElementType added in v0.29.0

func (RedirectArgs) ElementType() reflect.Type

func (RedirectArgs) ToRedirectOutput added in v0.29.0

func (i RedirectArgs) ToRedirectOutput() RedirectOutput

func (RedirectArgs) ToRedirectOutputWithContext added in v0.29.0

func (i RedirectArgs) ToRedirectOutputWithContext(ctx context.Context) RedirectOutput

type RedirectArray added in v0.29.0

type RedirectArray []RedirectInput

func (RedirectArray) ElementType added in v0.29.0

func (RedirectArray) ElementType() reflect.Type

func (RedirectArray) ToRedirectArrayOutput added in v0.29.0

func (i RedirectArray) ToRedirectArrayOutput() RedirectArrayOutput

func (RedirectArray) ToRedirectArrayOutputWithContext added in v0.29.0

func (i RedirectArray) ToRedirectArrayOutputWithContext(ctx context.Context) RedirectArrayOutput

type RedirectArrayInput added in v0.29.0

type RedirectArrayInput interface {
	pulumi.Input

	ToRedirectArrayOutput() RedirectArrayOutput
	ToRedirectArrayOutputWithContext(context.Context) RedirectArrayOutput
}

RedirectArrayInput is an input type that accepts RedirectArray and RedirectArrayOutput values. You can construct a concrete instance of `RedirectArrayInput` via:

RedirectArray{ RedirectArgs{...} }

type RedirectArrayOutput added in v0.29.0

type RedirectArrayOutput struct{ *pulumi.OutputState }

func (RedirectArrayOutput) ElementType added in v0.29.0

func (RedirectArrayOutput) ElementType() reflect.Type

func (RedirectArrayOutput) Index added in v0.29.0

func (RedirectArrayOutput) ToRedirectArrayOutput added in v0.29.0

func (o RedirectArrayOutput) ToRedirectArrayOutput() RedirectArrayOutput

func (RedirectArrayOutput) ToRedirectArrayOutputWithContext added in v0.29.0

func (o RedirectArrayOutput) ToRedirectArrayOutputWithContext(ctx context.Context) RedirectArrayOutput

type RedirectInput added in v0.29.0

type RedirectInput interface {
	pulumi.Input

	ToRedirectOutput() RedirectOutput
	ToRedirectOutputWithContext(context.Context) RedirectOutput
}

RedirectInput is an input type that accepts RedirectArgs and RedirectOutput values. You can construct a concrete instance of `RedirectInput` via:

RedirectArgs{...}

type RedirectOutput added in v0.29.0

type RedirectOutput struct{ *pulumi.OutputState }

A [`Redirect`](https://firebase.google.com/docs/hosting/full-config#redirects) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

func (RedirectOutput) ElementType added in v0.29.0

func (RedirectOutput) ElementType() reflect.Type

func (RedirectOutput) Glob added in v0.29.0

The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.

func (RedirectOutput) Location added in v0.29.0

func (o RedirectOutput) Location() pulumi.StringOutput

The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture"

func (RedirectOutput) Regex added in v0.29.0

The user-supplied RE2 regular expression to match against the request URL path.

func (RedirectOutput) StatusCode added in v0.29.0

func (o RedirectOutput) StatusCode() pulumi.IntOutput

The status HTTP code to return in the response. It must be a valid 3xx status code.

func (RedirectOutput) ToRedirectOutput added in v0.29.0

func (o RedirectOutput) ToRedirectOutput() RedirectOutput

func (RedirectOutput) ToRedirectOutputWithContext added in v0.29.0

func (o RedirectOutput) ToRedirectOutputWithContext(ctx context.Context) RedirectOutput

type RedirectResponse

type RedirectResponse struct {
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob string `pulumi:"glob"`
	// The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture"
	Location string `pulumi:"location"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex string `pulumi:"regex"`
	// The status HTTP code to return in the response. It must be a valid 3xx status code.
	StatusCode int `pulumi:"statusCode"`
}

A [`Redirect`](https://firebase.google.com/docs/hosting/full-config#redirects) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

type RedirectResponseArrayOutput

type RedirectResponseArrayOutput struct{ *pulumi.OutputState }

func (RedirectResponseArrayOutput) ElementType

func (RedirectResponseArrayOutput) Index

func (RedirectResponseArrayOutput) ToRedirectResponseArrayOutput

func (o RedirectResponseArrayOutput) ToRedirectResponseArrayOutput() RedirectResponseArrayOutput

func (RedirectResponseArrayOutput) ToRedirectResponseArrayOutputWithContext

func (o RedirectResponseArrayOutput) ToRedirectResponseArrayOutputWithContext(ctx context.Context) RedirectResponseArrayOutput

type RedirectResponseOutput

type RedirectResponseOutput struct{ *pulumi.OutputState }

A [`Redirect`](https://firebase.google.com/docs/hosting/full-config#redirects) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

func (RedirectResponseOutput) ElementType

func (RedirectResponseOutput) ElementType() reflect.Type

func (RedirectResponseOutput) Glob

The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.

func (RedirectResponseOutput) Location

The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture"

func (RedirectResponseOutput) Regex

The user-supplied RE2 regular expression to match against the request URL path.

func (RedirectResponseOutput) StatusCode

func (o RedirectResponseOutput) StatusCode() pulumi.IntOutput

The status HTTP code to return in the response. It must be a valid 3xx status code.

func (RedirectResponseOutput) ToRedirectResponseOutput

func (o RedirectResponseOutput) ToRedirectResponseOutput() RedirectResponseOutput

func (RedirectResponseOutput) ToRedirectResponseOutputWithContext

func (o RedirectResponseOutput) ToRedirectResponseOutputWithContext(ctx context.Context) RedirectResponseOutput

type Release added in v0.29.0

type Release struct {
	pulumi.CustomResourceState

	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message pulumi.StringOutput `pulumi:"message"`
	// The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases.create`](sites.channels.releases/create).
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The time at which the version is set to be public.
	ReleaseTime pulumi.StringOutput `pulumi:"releaseTime"`
	// Identifies the user who created the release.
	ReleaseUser ActingUserResponseOutput `pulumi:"releaseUser"`
	SiteId      pulumi.StringOutput      `pulumi:"siteId"`
	// Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
	Type pulumi.StringOutput `pulumi:"type"`
	// The configuration and content that was released.
	Version VersionResponseOutput `pulumi:"version"`
	//  The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`.
	VersionName pulumi.StringPtrOutput `pulumi:"versionName"`
}

Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s). Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

func GetRelease added in v0.29.0

func GetRelease(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReleaseState, opts ...pulumi.ResourceOption) (*Release, error)

GetRelease gets an existing Release resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRelease added in v0.29.0

func NewRelease(ctx *pulumi.Context,
	name string, args *ReleaseArgs, opts ...pulumi.ResourceOption) (*Release, error)

NewRelease registers a new resource with the given unique name, arguments, and options.

func (*Release) ElementType added in v0.29.0

func (*Release) ElementType() reflect.Type

func (*Release) ToReleaseOutput added in v0.29.0

func (i *Release) ToReleaseOutput() ReleaseOutput

func (*Release) ToReleaseOutputWithContext added in v0.29.0

func (i *Release) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput

type ReleaseArgs added in v0.29.0

type ReleaseArgs struct {
	ChannelId pulumi.StringInput
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	SiteId  pulumi.StringInput
	// Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
	Type ReleaseTypePtrInput
	//  The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`.
	VersionName pulumi.StringPtrInput
}

The set of arguments for constructing a Release resource.

func (ReleaseArgs) ElementType added in v0.29.0

func (ReleaseArgs) ElementType() reflect.Type

type ReleaseInput added in v0.29.0

type ReleaseInput interface {
	pulumi.Input

	ToReleaseOutput() ReleaseOutput
	ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput
}

type ReleaseOutput added in v0.29.0

type ReleaseOutput struct{ *pulumi.OutputState }

func (ReleaseOutput) ChannelId added in v0.29.0

func (o ReleaseOutput) ChannelId() pulumi.StringOutput

func (ReleaseOutput) ElementType added in v0.29.0

func (ReleaseOutput) ElementType() reflect.Type

func (ReleaseOutput) Message added in v0.29.0

func (o ReleaseOutput) Message() pulumi.StringOutput

The deploy description when the release was created. The value can be up to 512 characters.

func (ReleaseOutput) Name added in v0.29.0

The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases.create`](sites.channels.releases/create).

func (ReleaseOutput) Project added in v0.29.0

func (o ReleaseOutput) Project() pulumi.StringOutput

func (ReleaseOutput) ReleaseTime added in v0.29.0

func (o ReleaseOutput) ReleaseTime() pulumi.StringOutput

The time at which the version is set to be public.

func (ReleaseOutput) ReleaseUser added in v0.29.0

func (o ReleaseOutput) ReleaseUser() ActingUserResponseOutput

Identifies the user who created the release.

func (ReleaseOutput) SiteId added in v0.29.0

func (o ReleaseOutput) SiteId() pulumi.StringOutput

func (ReleaseOutput) ToReleaseOutput added in v0.29.0

func (o ReleaseOutput) ToReleaseOutput() ReleaseOutput

func (ReleaseOutput) ToReleaseOutputWithContext added in v0.29.0

func (o ReleaseOutput) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput

func (ReleaseOutput) Type added in v0.29.0

Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.

func (ReleaseOutput) Version added in v0.29.0

The configuration and content that was released.

func (ReleaseOutput) VersionName added in v0.29.0

func (o ReleaseOutput) VersionName() pulumi.StringPtrOutput

The unique identifier for a version, in the format: sites/SITE_ID/versions/ VERSION_ID The SITE_ID in this version identifier must match the SITE_ID in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`.

type ReleaseResponse

type ReleaseResponse struct {
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message string `pulumi:"message"`
	// The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases.create`](sites.channels.releases/create).
	Name string `pulumi:"name"`
	// The time at which the version is set to be public.
	ReleaseTime string `pulumi:"releaseTime"`
	// Identifies the user who created the release.
	ReleaseUser ActingUserResponse `pulumi:"releaseUser"`
	// Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
	Type string `pulumi:"type"`
	// The configuration and content that was released.
	Version VersionResponse `pulumi:"version"`
}

A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time.

type ReleaseResponseOutput

type ReleaseResponseOutput struct{ *pulumi.OutputState }

A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time.

func (ReleaseResponseOutput) ElementType

func (ReleaseResponseOutput) ElementType() reflect.Type

func (ReleaseResponseOutput) Message

The deploy description when the release was created. The value can be up to 512 characters.

func (ReleaseResponseOutput) Name

The unique identifier for the release, in either of the following formats: - sites/SITE_ID/releases/RELEASE_ID - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID This name is provided in the response body when you call [`releases.create`](sites.releases/create) or [`channels.releases.create`](sites.channels.releases/create).

func (ReleaseResponseOutput) ReleaseTime

func (o ReleaseResponseOutput) ReleaseTime() pulumi.StringOutput

The time at which the version is set to be public.

func (ReleaseResponseOutput) ReleaseUser

Identifies the user who created the release.

func (ReleaseResponseOutput) ToReleaseResponseOutput

func (o ReleaseResponseOutput) ToReleaseResponseOutput() ReleaseResponseOutput

func (ReleaseResponseOutput) ToReleaseResponseOutputWithContext

func (o ReleaseResponseOutput) ToReleaseResponseOutputWithContext(ctx context.Context) ReleaseResponseOutput

func (ReleaseResponseOutput) Type

Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.

func (ReleaseResponseOutput) Version

The configuration and content that was released.

type ReleaseState added in v0.29.0

type ReleaseState struct {
}

func (ReleaseState) ElementType added in v0.29.0

func (ReleaseState) ElementType() reflect.Type

type ReleaseType added in v0.29.0

type ReleaseType string

Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.

func (ReleaseType) ElementType added in v0.29.0

func (ReleaseType) ElementType() reflect.Type

func (ReleaseType) ToReleaseTypeOutput added in v0.29.0

func (e ReleaseType) ToReleaseTypeOutput() ReleaseTypeOutput

func (ReleaseType) ToReleaseTypeOutputWithContext added in v0.29.0

func (e ReleaseType) ToReleaseTypeOutputWithContext(ctx context.Context) ReleaseTypeOutput

func (ReleaseType) ToReleaseTypePtrOutput added in v0.29.0

func (e ReleaseType) ToReleaseTypePtrOutput() ReleaseTypePtrOutput

func (ReleaseType) ToReleaseTypePtrOutputWithContext added in v0.29.0

func (e ReleaseType) ToReleaseTypePtrOutputWithContext(ctx context.Context) ReleaseTypePtrOutput

func (ReleaseType) ToStringOutput added in v0.29.0

func (e ReleaseType) ToStringOutput() pulumi.StringOutput

func (ReleaseType) ToStringOutputWithContext added in v0.29.0

func (e ReleaseType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ReleaseType) ToStringPtrOutput added in v0.29.0

func (e ReleaseType) ToStringPtrOutput() pulumi.StringPtrOutput

func (ReleaseType) ToStringPtrOutputWithContext added in v0.29.0

func (e ReleaseType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ReleaseTypeInput added in v0.29.0

type ReleaseTypeInput interface {
	pulumi.Input

	ToReleaseTypeOutput() ReleaseTypeOutput
	ToReleaseTypeOutputWithContext(context.Context) ReleaseTypeOutput
}

ReleaseTypeInput is an input type that accepts ReleaseTypeArgs and ReleaseTypeOutput values. You can construct a concrete instance of `ReleaseTypeInput` via:

ReleaseTypeArgs{...}

type ReleaseTypeOutput added in v0.29.0

type ReleaseTypeOutput struct{ *pulumi.OutputState }

func (ReleaseTypeOutput) ElementType added in v0.29.0

func (ReleaseTypeOutput) ElementType() reflect.Type

func (ReleaseTypeOutput) ToReleaseTypeOutput added in v0.29.0

func (o ReleaseTypeOutput) ToReleaseTypeOutput() ReleaseTypeOutput

func (ReleaseTypeOutput) ToReleaseTypeOutputWithContext added in v0.29.0

func (o ReleaseTypeOutput) ToReleaseTypeOutputWithContext(ctx context.Context) ReleaseTypeOutput

func (ReleaseTypeOutput) ToReleaseTypePtrOutput added in v0.29.0

func (o ReleaseTypeOutput) ToReleaseTypePtrOutput() ReleaseTypePtrOutput

func (ReleaseTypeOutput) ToReleaseTypePtrOutputWithContext added in v0.29.0

func (o ReleaseTypeOutput) ToReleaseTypePtrOutputWithContext(ctx context.Context) ReleaseTypePtrOutput

func (ReleaseTypeOutput) ToStringOutput added in v0.29.0

func (o ReleaseTypeOutput) ToStringOutput() pulumi.StringOutput

func (ReleaseTypeOutput) ToStringOutputWithContext added in v0.29.0

func (o ReleaseTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ReleaseTypeOutput) ToStringPtrOutput added in v0.29.0

func (o ReleaseTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ReleaseTypeOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ReleaseTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ReleaseTypePtrInput added in v0.29.0

type ReleaseTypePtrInput interface {
	pulumi.Input

	ToReleaseTypePtrOutput() ReleaseTypePtrOutput
	ToReleaseTypePtrOutputWithContext(context.Context) ReleaseTypePtrOutput
}

func ReleaseTypePtr added in v0.29.0

func ReleaseTypePtr(v string) ReleaseTypePtrInput

type ReleaseTypePtrOutput added in v0.29.0

type ReleaseTypePtrOutput struct{ *pulumi.OutputState }

func (ReleaseTypePtrOutput) Elem added in v0.29.0

func (ReleaseTypePtrOutput) ElementType added in v0.29.0

func (ReleaseTypePtrOutput) ElementType() reflect.Type

func (ReleaseTypePtrOutput) ToReleaseTypePtrOutput added in v0.29.0

func (o ReleaseTypePtrOutput) ToReleaseTypePtrOutput() ReleaseTypePtrOutput

func (ReleaseTypePtrOutput) ToReleaseTypePtrOutputWithContext added in v0.29.0

func (o ReleaseTypePtrOutput) ToReleaseTypePtrOutputWithContext(ctx context.Context) ReleaseTypePtrOutput

func (ReleaseTypePtrOutput) ToStringPtrOutput added in v0.29.0

func (o ReleaseTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ReleaseTypePtrOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ReleaseTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Rewrite added in v0.29.0

type Rewrite struct {
	// The request will be forwarded to Firebase Dynamic Links.
	DynamicLinks *bool `pulumi:"dynamicLinks"`
	// The function to proxy requests to. Must match the exported function name exactly.
	Function *string `pulumi:"function"`
	// Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
	FunctionRegion *string `pulumi:"functionRegion"`
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob *string `pulumi:"glob"`
	// The URL path to rewrite the request to.
	Path *string `pulumi:"path"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex *string `pulumi:"regex"`
	// The request will be forwarded to Cloud Run.
	Run *CloudRunRewrite `pulumi:"run"`
}

A [`Rewrite`](https://firebase.google.com/docs/hosting/full-config#rewrites) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

type RewriteArgs added in v0.29.0

type RewriteArgs struct {
	// The request will be forwarded to Firebase Dynamic Links.
	DynamicLinks pulumi.BoolPtrInput `pulumi:"dynamicLinks"`
	// The function to proxy requests to. Must match the exported function name exactly.
	Function pulumi.StringPtrInput `pulumi:"function"`
	// Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
	FunctionRegion pulumi.StringPtrInput `pulumi:"functionRegion"`
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob pulumi.StringPtrInput `pulumi:"glob"`
	// The URL path to rewrite the request to.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// The request will be forwarded to Cloud Run.
	Run CloudRunRewritePtrInput `pulumi:"run"`
}

A [`Rewrite`](https://firebase.google.com/docs/hosting/full-config#rewrites) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

func (RewriteArgs) ElementType added in v0.29.0

func (RewriteArgs) ElementType() reflect.Type

func (RewriteArgs) ToRewriteOutput added in v0.29.0

func (i RewriteArgs) ToRewriteOutput() RewriteOutput

func (RewriteArgs) ToRewriteOutputWithContext added in v0.29.0

func (i RewriteArgs) ToRewriteOutputWithContext(ctx context.Context) RewriteOutput

type RewriteArray added in v0.29.0

type RewriteArray []RewriteInput

func (RewriteArray) ElementType added in v0.29.0

func (RewriteArray) ElementType() reflect.Type

func (RewriteArray) ToRewriteArrayOutput added in v0.29.0

func (i RewriteArray) ToRewriteArrayOutput() RewriteArrayOutput

func (RewriteArray) ToRewriteArrayOutputWithContext added in v0.29.0

func (i RewriteArray) ToRewriteArrayOutputWithContext(ctx context.Context) RewriteArrayOutput

type RewriteArrayInput added in v0.29.0

type RewriteArrayInput interface {
	pulumi.Input

	ToRewriteArrayOutput() RewriteArrayOutput
	ToRewriteArrayOutputWithContext(context.Context) RewriteArrayOutput
}

RewriteArrayInput is an input type that accepts RewriteArray and RewriteArrayOutput values. You can construct a concrete instance of `RewriteArrayInput` via:

RewriteArray{ RewriteArgs{...} }

type RewriteArrayOutput added in v0.29.0

type RewriteArrayOutput struct{ *pulumi.OutputState }

func (RewriteArrayOutput) ElementType added in v0.29.0

func (RewriteArrayOutput) ElementType() reflect.Type

func (RewriteArrayOutput) Index added in v0.29.0

func (RewriteArrayOutput) ToRewriteArrayOutput added in v0.29.0

func (o RewriteArrayOutput) ToRewriteArrayOutput() RewriteArrayOutput

func (RewriteArrayOutput) ToRewriteArrayOutputWithContext added in v0.29.0

func (o RewriteArrayOutput) ToRewriteArrayOutputWithContext(ctx context.Context) RewriteArrayOutput

type RewriteInput added in v0.29.0

type RewriteInput interface {
	pulumi.Input

	ToRewriteOutput() RewriteOutput
	ToRewriteOutputWithContext(context.Context) RewriteOutput
}

RewriteInput is an input type that accepts RewriteArgs and RewriteOutput values. You can construct a concrete instance of `RewriteInput` via:

RewriteArgs{...}

type RewriteOutput added in v0.29.0

type RewriteOutput struct{ *pulumi.OutputState }

A [`Rewrite`](https://firebase.google.com/docs/hosting/full-config#rewrites) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

func (o RewriteOutput) DynamicLinks() pulumi.BoolPtrOutput

The request will be forwarded to Firebase Dynamic Links.

func (RewriteOutput) ElementType added in v0.29.0

func (RewriteOutput) ElementType() reflect.Type

func (RewriteOutput) Function added in v0.29.0

func (o RewriteOutput) Function() pulumi.StringPtrOutput

The function to proxy requests to. Must match the exported function name exactly.

func (RewriteOutput) FunctionRegion added in v0.29.0

func (o RewriteOutput) FunctionRegion() pulumi.StringPtrOutput

Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.

func (RewriteOutput) Glob added in v0.29.0

The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.

func (RewriteOutput) Path added in v0.29.0

The URL path to rewrite the request to.

func (RewriteOutput) Regex added in v0.29.0

The user-supplied RE2 regular expression to match against the request URL path.

func (RewriteOutput) Run added in v0.29.0

The request will be forwarded to Cloud Run.

func (RewriteOutput) ToRewriteOutput added in v0.29.0

func (o RewriteOutput) ToRewriteOutput() RewriteOutput

func (RewriteOutput) ToRewriteOutputWithContext added in v0.29.0

func (o RewriteOutput) ToRewriteOutputWithContext(ctx context.Context) RewriteOutput

type RewriteResponse

type RewriteResponse struct {
	// The request will be forwarded to Firebase Dynamic Links.
	DynamicLinks bool `pulumi:"dynamicLinks"`
	// The function to proxy requests to. Must match the exported function name exactly.
	Function string `pulumi:"function"`
	// Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.
	FunctionRegion string `pulumi:"functionRegion"`
	// The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
	Glob string `pulumi:"glob"`
	// The URL path to rewrite the request to.
	Path string `pulumi:"path"`
	// The user-supplied RE2 regular expression to match against the request URL path.
	Regex string `pulumi:"regex"`
	// The request will be forwarded to Cloud Run.
	Run CloudRunRewriteResponse `pulumi:"run"`
}

A [`Rewrite`](https://firebase.google.com/docs/hosting/full-config#rewrites) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

type RewriteResponseArrayOutput

type RewriteResponseArrayOutput struct{ *pulumi.OutputState }

func (RewriteResponseArrayOutput) ElementType

func (RewriteResponseArrayOutput) ElementType() reflect.Type

func (RewriteResponseArrayOutput) Index

func (RewriteResponseArrayOutput) ToRewriteResponseArrayOutput

func (o RewriteResponseArrayOutput) ToRewriteResponseArrayOutput() RewriteResponseArrayOutput

func (RewriteResponseArrayOutput) ToRewriteResponseArrayOutputWithContext

func (o RewriteResponseArrayOutput) ToRewriteResponseArrayOutputWithContext(ctx context.Context) RewriteResponseArrayOutput

type RewriteResponseOutput

type RewriteResponseOutput struct{ *pulumi.OutputState }

A [`Rewrite`](https://firebase.google.com/docs/hosting/full-config#rewrites) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

func (o RewriteResponseOutput) DynamicLinks() pulumi.BoolOutput

The request will be forwarded to Firebase Dynamic Links.

func (RewriteResponseOutput) ElementType

func (RewriteResponseOutput) ElementType() reflect.Type

func (RewriteResponseOutput) Function

The function to proxy requests to. Must match the exported function name exactly.

func (RewriteResponseOutput) FunctionRegion added in v0.21.0

func (o RewriteResponseOutput) FunctionRegion() pulumi.StringOutput

Optional. Specify a Cloud region for rewritten Functions invocations. If not provided, defaults to us-central1.

func (RewriteResponseOutput) Glob

The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.

func (RewriteResponseOutput) Path

The URL path to rewrite the request to.

func (RewriteResponseOutput) Regex

The user-supplied RE2 regular expression to match against the request URL path.

func (RewriteResponseOutput) Run

The request will be forwarded to Cloud Run.

func (RewriteResponseOutput) ToRewriteResponseOutput

func (o RewriteResponseOutput) ToRewriteResponseOutput() RewriteResponseOutput

func (RewriteResponseOutput) ToRewriteResponseOutputWithContext

func (o RewriteResponseOutput) ToRewriteResponseOutputWithContext(ctx context.Context) RewriteResponseOutput

type ServingConfig added in v0.29.0

type ServingConfig struct {
	// How to handle well known App Association files.
	AppAssociation *ServingConfigAppAssociation `pulumi:"appAssociation"`
	// Defines whether to drop the file extension from uploaded files.
	CleanUrls *bool `pulumi:"cleanUrls"`
	// An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
	Headers []Header `pulumi:"headers"`
	// Optional. Defines i18n rewrite behavior.
	I18n *I18nConfig `pulumi:"i18n"`
	// An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
	Redirects []Redirect `pulumi:"redirects"`
	// An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
	Rewrites []Rewrite `pulumi:"rewrites"`
	// Defines how to handle a trailing slash in the URL path.
	TrailingSlashBehavior *ServingConfigTrailingSlashBehavior `pulumi:"trailingSlashBehavior"`
}

The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](https://firebase.google.com/docs/hosting/full-config#hosting_priority_order).

type ServingConfigAppAssociation added in v0.29.0

type ServingConfigAppAssociation string

How to handle well known App Association files.

func (ServingConfigAppAssociation) ElementType added in v0.29.0

func (ServingConfigAppAssociation) ToServingConfigAppAssociationOutput added in v0.29.0

func (e ServingConfigAppAssociation) ToServingConfigAppAssociationOutput() ServingConfigAppAssociationOutput

func (ServingConfigAppAssociation) ToServingConfigAppAssociationOutputWithContext added in v0.29.0

func (e ServingConfigAppAssociation) ToServingConfigAppAssociationOutputWithContext(ctx context.Context) ServingConfigAppAssociationOutput

func (ServingConfigAppAssociation) ToServingConfigAppAssociationPtrOutput added in v0.29.0

func (e ServingConfigAppAssociation) ToServingConfigAppAssociationPtrOutput() ServingConfigAppAssociationPtrOutput

func (ServingConfigAppAssociation) ToServingConfigAppAssociationPtrOutputWithContext added in v0.29.0

func (e ServingConfigAppAssociation) ToServingConfigAppAssociationPtrOutputWithContext(ctx context.Context) ServingConfigAppAssociationPtrOutput

func (ServingConfigAppAssociation) ToStringOutput added in v0.29.0

func (e ServingConfigAppAssociation) ToStringOutput() pulumi.StringOutput

func (ServingConfigAppAssociation) ToStringOutputWithContext added in v0.29.0

func (e ServingConfigAppAssociation) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServingConfigAppAssociation) ToStringPtrOutput added in v0.29.0

func (e ServingConfigAppAssociation) ToStringPtrOutput() pulumi.StringPtrOutput

func (ServingConfigAppAssociation) ToStringPtrOutputWithContext added in v0.29.0

func (e ServingConfigAppAssociation) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigAppAssociationInput added in v0.29.0

type ServingConfigAppAssociationInput interface {
	pulumi.Input

	ToServingConfigAppAssociationOutput() ServingConfigAppAssociationOutput
	ToServingConfigAppAssociationOutputWithContext(context.Context) ServingConfigAppAssociationOutput
}

ServingConfigAppAssociationInput is an input type that accepts ServingConfigAppAssociationArgs and ServingConfigAppAssociationOutput values. You can construct a concrete instance of `ServingConfigAppAssociationInput` via:

ServingConfigAppAssociationArgs{...}

type ServingConfigAppAssociationOutput added in v0.29.0

type ServingConfigAppAssociationOutput struct{ *pulumi.OutputState }

func (ServingConfigAppAssociationOutput) ElementType added in v0.29.0

func (ServingConfigAppAssociationOutput) ToServingConfigAppAssociationOutput added in v0.29.0

func (o ServingConfigAppAssociationOutput) ToServingConfigAppAssociationOutput() ServingConfigAppAssociationOutput

func (ServingConfigAppAssociationOutput) ToServingConfigAppAssociationOutputWithContext added in v0.29.0

func (o ServingConfigAppAssociationOutput) ToServingConfigAppAssociationOutputWithContext(ctx context.Context) ServingConfigAppAssociationOutput

func (ServingConfigAppAssociationOutput) ToServingConfigAppAssociationPtrOutput added in v0.29.0

func (o ServingConfigAppAssociationOutput) ToServingConfigAppAssociationPtrOutput() ServingConfigAppAssociationPtrOutput

func (ServingConfigAppAssociationOutput) ToServingConfigAppAssociationPtrOutputWithContext added in v0.29.0

func (o ServingConfigAppAssociationOutput) ToServingConfigAppAssociationPtrOutputWithContext(ctx context.Context) ServingConfigAppAssociationPtrOutput

func (ServingConfigAppAssociationOutput) ToStringOutput added in v0.29.0

func (ServingConfigAppAssociationOutput) ToStringOutputWithContext added in v0.29.0

func (o ServingConfigAppAssociationOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServingConfigAppAssociationOutput) ToStringPtrOutput added in v0.29.0

func (ServingConfigAppAssociationOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ServingConfigAppAssociationOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigAppAssociationPtrInput added in v0.29.0

type ServingConfigAppAssociationPtrInput interface {
	pulumi.Input

	ToServingConfigAppAssociationPtrOutput() ServingConfigAppAssociationPtrOutput
	ToServingConfigAppAssociationPtrOutputWithContext(context.Context) ServingConfigAppAssociationPtrOutput
}

func ServingConfigAppAssociationPtr added in v0.29.0

func ServingConfigAppAssociationPtr(v string) ServingConfigAppAssociationPtrInput

type ServingConfigAppAssociationPtrOutput added in v0.29.0

type ServingConfigAppAssociationPtrOutput struct{ *pulumi.OutputState }

func (ServingConfigAppAssociationPtrOutput) Elem added in v0.29.0

func (ServingConfigAppAssociationPtrOutput) ElementType added in v0.29.0

func (ServingConfigAppAssociationPtrOutput) ToServingConfigAppAssociationPtrOutput added in v0.29.0

func (o ServingConfigAppAssociationPtrOutput) ToServingConfigAppAssociationPtrOutput() ServingConfigAppAssociationPtrOutput

func (ServingConfigAppAssociationPtrOutput) ToServingConfigAppAssociationPtrOutputWithContext added in v0.29.0

func (o ServingConfigAppAssociationPtrOutput) ToServingConfigAppAssociationPtrOutputWithContext(ctx context.Context) ServingConfigAppAssociationPtrOutput

func (ServingConfigAppAssociationPtrOutput) ToStringPtrOutput added in v0.29.0

func (ServingConfigAppAssociationPtrOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ServingConfigAppAssociationPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigArgs added in v0.29.0

type ServingConfigArgs struct {
	// How to handle well known App Association files.
	AppAssociation ServingConfigAppAssociationPtrInput `pulumi:"appAssociation"`
	// Defines whether to drop the file extension from uploaded files.
	CleanUrls pulumi.BoolPtrInput `pulumi:"cleanUrls"`
	// An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
	Headers HeaderArrayInput `pulumi:"headers"`
	// Optional. Defines i18n rewrite behavior.
	I18n I18nConfigPtrInput `pulumi:"i18n"`
	// An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
	Redirects RedirectArrayInput `pulumi:"redirects"`
	// An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
	Rewrites RewriteArrayInput `pulumi:"rewrites"`
	// Defines how to handle a trailing slash in the URL path.
	TrailingSlashBehavior ServingConfigTrailingSlashBehaviorPtrInput `pulumi:"trailingSlashBehavior"`
}

The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](https://firebase.google.com/docs/hosting/full-config#hosting_priority_order).

func (ServingConfigArgs) ElementType added in v0.29.0

func (ServingConfigArgs) ElementType() reflect.Type

func (ServingConfigArgs) ToServingConfigOutput added in v0.29.0

func (i ServingConfigArgs) ToServingConfigOutput() ServingConfigOutput

func (ServingConfigArgs) ToServingConfigOutputWithContext added in v0.29.0

func (i ServingConfigArgs) ToServingConfigOutputWithContext(ctx context.Context) ServingConfigOutput

func (ServingConfigArgs) ToServingConfigPtrOutput added in v0.29.0

func (i ServingConfigArgs) ToServingConfigPtrOutput() ServingConfigPtrOutput

func (ServingConfigArgs) ToServingConfigPtrOutputWithContext added in v0.29.0

func (i ServingConfigArgs) ToServingConfigPtrOutputWithContext(ctx context.Context) ServingConfigPtrOutput

type ServingConfigInput added in v0.29.0

type ServingConfigInput interface {
	pulumi.Input

	ToServingConfigOutput() ServingConfigOutput
	ToServingConfigOutputWithContext(context.Context) ServingConfigOutput
}

ServingConfigInput is an input type that accepts ServingConfigArgs and ServingConfigOutput values. You can construct a concrete instance of `ServingConfigInput` via:

ServingConfigArgs{...}

type ServingConfigOutput added in v0.29.0

type ServingConfigOutput struct{ *pulumi.OutputState }

The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](https://firebase.google.com/docs/hosting/full-config#hosting_priority_order).

func (ServingConfigOutput) AppAssociation added in v0.29.0

How to handle well known App Association files.

func (ServingConfigOutput) CleanUrls added in v0.29.0

Defines whether to drop the file extension from uploaded files.

func (ServingConfigOutput) ElementType added in v0.29.0

func (ServingConfigOutput) ElementType() reflect.Type

func (ServingConfigOutput) Headers added in v0.29.0

An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

func (ServingConfigOutput) I18n added in v0.29.0

Optional. Defines i18n rewrite behavior.

func (ServingConfigOutput) Redirects added in v0.29.0

An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

func (ServingConfigOutput) Rewrites added in v0.29.0

An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

func (ServingConfigOutput) ToServingConfigOutput added in v0.29.0

func (o ServingConfigOutput) ToServingConfigOutput() ServingConfigOutput

func (ServingConfigOutput) ToServingConfigOutputWithContext added in v0.29.0

func (o ServingConfigOutput) ToServingConfigOutputWithContext(ctx context.Context) ServingConfigOutput

func (ServingConfigOutput) ToServingConfigPtrOutput added in v0.29.0

func (o ServingConfigOutput) ToServingConfigPtrOutput() ServingConfigPtrOutput

func (ServingConfigOutput) ToServingConfigPtrOutputWithContext added in v0.29.0

func (o ServingConfigOutput) ToServingConfigPtrOutputWithContext(ctx context.Context) ServingConfigPtrOutput

func (ServingConfigOutput) TrailingSlashBehavior added in v0.29.0

Defines how to handle a trailing slash in the URL path.

type ServingConfigPtrInput added in v0.29.0

type ServingConfigPtrInput interface {
	pulumi.Input

	ToServingConfigPtrOutput() ServingConfigPtrOutput
	ToServingConfigPtrOutputWithContext(context.Context) ServingConfigPtrOutput
}

ServingConfigPtrInput is an input type that accepts ServingConfigArgs, ServingConfigPtr and ServingConfigPtrOutput values. You can construct a concrete instance of `ServingConfigPtrInput` via:

        ServingConfigArgs{...}

or:

        nil

func ServingConfigPtr added in v0.29.0

func ServingConfigPtr(v *ServingConfigArgs) ServingConfigPtrInput

type ServingConfigPtrOutput added in v0.29.0

type ServingConfigPtrOutput struct{ *pulumi.OutputState }

func (ServingConfigPtrOutput) AppAssociation added in v0.29.0

How to handle well known App Association files.

func (ServingConfigPtrOutput) CleanUrls added in v0.29.0

Defines whether to drop the file extension from uploaded files.

func (ServingConfigPtrOutput) Elem added in v0.29.0

func (ServingConfigPtrOutput) ElementType added in v0.29.0

func (ServingConfigPtrOutput) ElementType() reflect.Type

func (ServingConfigPtrOutput) Headers added in v0.29.0

An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

func (ServingConfigPtrOutput) I18n added in v0.29.0

Optional. Defines i18n rewrite behavior.

func (ServingConfigPtrOutput) Redirects added in v0.29.0

An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

func (ServingConfigPtrOutput) Rewrites added in v0.29.0

An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

func (ServingConfigPtrOutput) ToServingConfigPtrOutput added in v0.29.0

func (o ServingConfigPtrOutput) ToServingConfigPtrOutput() ServingConfigPtrOutput

func (ServingConfigPtrOutput) ToServingConfigPtrOutputWithContext added in v0.29.0

func (o ServingConfigPtrOutput) ToServingConfigPtrOutputWithContext(ctx context.Context) ServingConfigPtrOutput

func (ServingConfigPtrOutput) TrailingSlashBehavior added in v0.29.0

Defines how to handle a trailing slash in the URL path.

type ServingConfigResponse

type ServingConfigResponse struct {
	// How to handle well known App Association files.
	AppAssociation string `pulumi:"appAssociation"`
	// Defines whether to drop the file extension from uploaded files.
	CleanUrls bool `pulumi:"cleanUrls"`
	// An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
	Headers []HeaderResponse `pulumi:"headers"`
	// Optional. Defines i18n rewrite behavior.
	I18n I18nConfigResponse `pulumi:"i18n"`
	// An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
	Redirects []RedirectResponse `pulumi:"redirects"`
	// An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
	Rewrites []RewriteResponse `pulumi:"rewrites"`
	// Defines how to handle a trailing slash in the URL path.
	TrailingSlashBehavior string `pulumi:"trailingSlashBehavior"`
}

The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](https://firebase.google.com/docs/hosting/full-config#hosting_priority_order).

type ServingConfigResponseOutput

type ServingConfigResponseOutput struct{ *pulumi.OutputState }

The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](https://firebase.google.com/docs/hosting/full-config#hosting_priority_order).

func (ServingConfigResponseOutput) AppAssociation

func (o ServingConfigResponseOutput) AppAssociation() pulumi.StringOutput

How to handle well known App Association files.

func (ServingConfigResponseOutput) CleanUrls

Defines whether to drop the file extension from uploaded files.

func (ServingConfigResponseOutput) ElementType

func (ServingConfigResponseOutput) Headers

An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

func (ServingConfigResponseOutput) I18n

Optional. Defines i18n rewrite behavior.

func (ServingConfigResponseOutput) Redirects

An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.

func (ServingConfigResponseOutput) Rewrites

An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.

func (ServingConfigResponseOutput) ToServingConfigResponseOutput

func (o ServingConfigResponseOutput) ToServingConfigResponseOutput() ServingConfigResponseOutput

func (ServingConfigResponseOutput) ToServingConfigResponseOutputWithContext

func (o ServingConfigResponseOutput) ToServingConfigResponseOutputWithContext(ctx context.Context) ServingConfigResponseOutput

func (ServingConfigResponseOutput) TrailingSlashBehavior

func (o ServingConfigResponseOutput) TrailingSlashBehavior() pulumi.StringOutput

Defines how to handle a trailing slash in the URL path.

type ServingConfigTrailingSlashBehavior added in v0.29.0

type ServingConfigTrailingSlashBehavior string

Defines how to handle a trailing slash in the URL path.

func (ServingConfigTrailingSlashBehavior) ElementType added in v0.29.0

func (ServingConfigTrailingSlashBehavior) ToServingConfigTrailingSlashBehaviorOutput added in v0.29.0

func (e ServingConfigTrailingSlashBehavior) ToServingConfigTrailingSlashBehaviorOutput() ServingConfigTrailingSlashBehaviorOutput

func (ServingConfigTrailingSlashBehavior) ToServingConfigTrailingSlashBehaviorOutputWithContext added in v0.29.0

func (e ServingConfigTrailingSlashBehavior) ToServingConfigTrailingSlashBehaviorOutputWithContext(ctx context.Context) ServingConfigTrailingSlashBehaviorOutput

func (ServingConfigTrailingSlashBehavior) ToServingConfigTrailingSlashBehaviorPtrOutput added in v0.29.0

func (e ServingConfigTrailingSlashBehavior) ToServingConfigTrailingSlashBehaviorPtrOutput() ServingConfigTrailingSlashBehaviorPtrOutput

func (ServingConfigTrailingSlashBehavior) ToServingConfigTrailingSlashBehaviorPtrOutputWithContext added in v0.29.0

func (e ServingConfigTrailingSlashBehavior) ToServingConfigTrailingSlashBehaviorPtrOutputWithContext(ctx context.Context) ServingConfigTrailingSlashBehaviorPtrOutput

func (ServingConfigTrailingSlashBehavior) ToStringOutput added in v0.29.0

func (ServingConfigTrailingSlashBehavior) ToStringOutputWithContext added in v0.29.0

func (e ServingConfigTrailingSlashBehavior) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServingConfigTrailingSlashBehavior) ToStringPtrOutput added in v0.29.0

func (ServingConfigTrailingSlashBehavior) ToStringPtrOutputWithContext added in v0.29.0

func (e ServingConfigTrailingSlashBehavior) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigTrailingSlashBehaviorInput added in v0.29.0

type ServingConfigTrailingSlashBehaviorInput interface {
	pulumi.Input

	ToServingConfigTrailingSlashBehaviorOutput() ServingConfigTrailingSlashBehaviorOutput
	ToServingConfigTrailingSlashBehaviorOutputWithContext(context.Context) ServingConfigTrailingSlashBehaviorOutput
}

ServingConfigTrailingSlashBehaviorInput is an input type that accepts ServingConfigTrailingSlashBehaviorArgs and ServingConfigTrailingSlashBehaviorOutput values. You can construct a concrete instance of `ServingConfigTrailingSlashBehaviorInput` via:

ServingConfigTrailingSlashBehaviorArgs{...}

type ServingConfigTrailingSlashBehaviorOutput added in v0.29.0

type ServingConfigTrailingSlashBehaviorOutput struct{ *pulumi.OutputState }

func (ServingConfigTrailingSlashBehaviorOutput) ElementType added in v0.29.0

func (ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBehaviorOutput added in v0.29.0

func (o ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBehaviorOutput() ServingConfigTrailingSlashBehaviorOutput

func (ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBehaviorOutputWithContext added in v0.29.0

func (o ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBehaviorOutputWithContext(ctx context.Context) ServingConfigTrailingSlashBehaviorOutput

func (ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBehaviorPtrOutput added in v0.29.0

func (o ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBehaviorPtrOutput() ServingConfigTrailingSlashBehaviorPtrOutput

func (ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBehaviorPtrOutputWithContext added in v0.29.0

func (o ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBehaviorPtrOutputWithContext(ctx context.Context) ServingConfigTrailingSlashBehaviorPtrOutput

func (ServingConfigTrailingSlashBehaviorOutput) ToStringOutput added in v0.29.0

func (ServingConfigTrailingSlashBehaviorOutput) ToStringOutputWithContext added in v0.29.0

func (ServingConfigTrailingSlashBehaviorOutput) ToStringPtrOutput added in v0.29.0

func (ServingConfigTrailingSlashBehaviorOutput) ToStringPtrOutputWithContext added in v0.29.0

type ServingConfigTrailingSlashBehaviorPtrInput added in v0.29.0

type ServingConfigTrailingSlashBehaviorPtrInput interface {
	pulumi.Input

	ToServingConfigTrailingSlashBehaviorPtrOutput() ServingConfigTrailingSlashBehaviorPtrOutput
	ToServingConfigTrailingSlashBehaviorPtrOutputWithContext(context.Context) ServingConfigTrailingSlashBehaviorPtrOutput
}

func ServingConfigTrailingSlashBehaviorPtr added in v0.29.0

func ServingConfigTrailingSlashBehaviorPtr(v string) ServingConfigTrailingSlashBehaviorPtrInput

type ServingConfigTrailingSlashBehaviorPtrOutput added in v0.29.0

type ServingConfigTrailingSlashBehaviorPtrOutput struct{ *pulumi.OutputState }

func (ServingConfigTrailingSlashBehaviorPtrOutput) Elem added in v0.29.0

func (ServingConfigTrailingSlashBehaviorPtrOutput) ElementType added in v0.29.0

func (ServingConfigTrailingSlashBehaviorPtrOutput) ToServingConfigTrailingSlashBehaviorPtrOutput added in v0.29.0

func (o ServingConfigTrailingSlashBehaviorPtrOutput) ToServingConfigTrailingSlashBehaviorPtrOutput() ServingConfigTrailingSlashBehaviorPtrOutput

func (ServingConfigTrailingSlashBehaviorPtrOutput) ToServingConfigTrailingSlashBehaviorPtrOutputWithContext added in v0.29.0

func (o ServingConfigTrailingSlashBehaviorPtrOutput) ToServingConfigTrailingSlashBehaviorPtrOutputWithContext(ctx context.Context) ServingConfigTrailingSlashBehaviorPtrOutput

func (ServingConfigTrailingSlashBehaviorPtrOutput) ToStringPtrOutput added in v0.29.0

func (ServingConfigTrailingSlashBehaviorPtrOutput) ToStringPtrOutputWithContext added in v0.29.0

type Site

type Site struct {
	pulumi.CustomResourceState

	// Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The default URL for the Hosting site.
	DefaultUrl pulumi.StringOutput `pulumi:"defaultUrl"`
	// Optional. User-specified labels for the Hosting site.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// The type of Hosting site. Every Firebase project has a `DEFAULT_SITE`, which is created when Hosting is provisioned for the project. All additional sites are `USER_SITE`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Creates a new Hosting Site in the specified parent Firebase project. Note that Hosting sites can take several minutes to propagate through Firebase systems. Auto-naming is currently not supported for this resource.

func GetSite

func GetSite(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SiteState, opts ...pulumi.ResourceOption) (*Site, error)

GetSite gets an existing Site resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSite

func NewSite(ctx *pulumi.Context,
	name string, args *SiteArgs, opts ...pulumi.ResourceOption) (*Site, error)

NewSite registers a new resource with the given unique name, arguments, and options.

func (*Site) ElementType

func (*Site) ElementType() reflect.Type

func (*Site) ToSiteOutput

func (i *Site) ToSiteOutput() SiteOutput

func (*Site) ToSiteOutputWithContext

func (i *Site) ToSiteOutputWithContext(ctx context.Context) SiteOutput

type SiteArgs

type SiteArgs struct {
	// Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site.
	AppId pulumi.StringPtrInput
	// Optional. User-specified labels for the Hosting site.
	Labels  pulumi.StringMapInput
	Project pulumi.StringPtrInput
	// Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.
	SiteId pulumi.StringInput
}

The set of arguments for constructing a Site resource.

func (SiteArgs) ElementType

func (SiteArgs) ElementType() reflect.Type

type SiteInput

type SiteInput interface {
	pulumi.Input

	ToSiteOutput() SiteOutput
	ToSiteOutputWithContext(ctx context.Context) SiteOutput
}

type SiteOutput

type SiteOutput struct{ *pulumi.OutputState }

func (SiteOutput) AppId added in v0.19.0

func (o SiteOutput) AppId() pulumi.StringOutput

Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site.

func (SiteOutput) DefaultUrl added in v0.19.0

func (o SiteOutput) DefaultUrl() pulumi.StringOutput

The default URL for the Hosting site.

func (SiteOutput) ElementType

func (SiteOutput) ElementType() reflect.Type

func (SiteOutput) Labels added in v0.19.0

func (o SiteOutput) Labels() pulumi.StringMapOutput

Optional. User-specified labels for the Hosting site.

func (SiteOutput) Name added in v0.19.0

func (o SiteOutput) Name() pulumi.StringOutput

The fully-qualified resource name of the Hosting site, in the format: projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).

func (SiteOutput) Project added in v0.21.0

func (o SiteOutput) Project() pulumi.StringOutput

func (SiteOutput) SiteId added in v0.21.0

func (o SiteOutput) SiteId() pulumi.StringOutput

Required. Immutable. A globally unique identifier for the Hosting site. This identifier is used to construct the Firebase-provisioned subdomains for the site, so it must also be a valid domain name label.

func (SiteOutput) ToSiteOutput

func (o SiteOutput) ToSiteOutput() SiteOutput

func (SiteOutput) ToSiteOutputWithContext

func (o SiteOutput) ToSiteOutputWithContext(ctx context.Context) SiteOutput

func (SiteOutput) Type added in v0.19.0

func (o SiteOutput) Type() pulumi.StringOutput

The type of Hosting site. Every Firebase project has a `DEFAULT_SITE`, which is created when Hosting is provisioned for the project. All additional sites are `USER_SITE`.

type SiteState

type SiteState struct {
}

func (SiteState) ElementType

func (SiteState) ElementType() reflect.Type

type StatusResponse added in v0.32.0

type StatusResponse struct {
	// The status code, which should be an enum value of google.rpc.Code.
	Code int `pulumi:"code"`
	// A list of messages that carry the error details. There is a common set of message types for APIs to use.
	Details []map[string]string `pulumi:"details"`
	// 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.
	Message string `pulumi:"message"`
}

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

type StatusResponseArrayOutput added in v0.32.0

type StatusResponseArrayOutput struct{ *pulumi.OutputState }

func (StatusResponseArrayOutput) ElementType added in v0.32.0

func (StatusResponseArrayOutput) ElementType() reflect.Type

func (StatusResponseArrayOutput) Index added in v0.32.0

func (StatusResponseArrayOutput) ToStatusResponseArrayOutput added in v0.32.0

func (o StatusResponseArrayOutput) ToStatusResponseArrayOutput() StatusResponseArrayOutput

func (StatusResponseArrayOutput) ToStatusResponseArrayOutputWithContext added in v0.32.0

func (o StatusResponseArrayOutput) ToStatusResponseArrayOutputWithContext(ctx context.Context) StatusResponseArrayOutput

type StatusResponseOutput added in v0.32.0

type StatusResponseOutput struct{ *pulumi.OutputState }

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

func (StatusResponseOutput) Code added in v0.32.0

The status code, which should be an enum value of google.rpc.Code.

func (StatusResponseOutput) Details added in v0.32.0

A list of messages that carry the error details. There is a common set of message types for APIs to use.

func (StatusResponseOutput) ElementType added in v0.32.0

func (StatusResponseOutput) ElementType() reflect.Type

func (StatusResponseOutput) Message added in v0.32.0

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.

func (StatusResponseOutput) ToStatusResponseOutput added in v0.32.0

func (o StatusResponseOutput) ToStatusResponseOutput() StatusResponseOutput

func (StatusResponseOutput) ToStatusResponseOutputWithContext added in v0.32.0

func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Context) StatusResponseOutput

type Version added in v0.29.0

type Version struct {
	pulumi.CustomResourceState

	// The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file.
	Config ServingConfigResponseOutput `pulumi:"config"`
	// The time at which the version was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Identifies the user who created the version.
	CreateUser ActingUserResponseOutput `pulumi:"createUser"`
	// The time at which the version was `DELETED`.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// Identifies the user who `DELETED` the version.
	DeleteUser ActingUserResponseOutput `pulumi:"deleteUser"`
	// The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.
	FileCount pulumi.StringOutput `pulumi:"fileCount"`
	// The time at which the version was `FINALIZED`.
	FinalizeTime pulumi.StringOutput `pulumi:"finalizeTime"`
	// Identifies the user who `FINALIZED` the version.
	FinalizeUser ActingUserResponseOutput `pulumi:"finalizeUser"`
	// The labels used for extra metadata and/or filtering.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	SiteId  pulumi.StringOutput `pulumi:"siteId"`
	// The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
	SizeBytes pulumi.StringPtrOutput `pulumi:"sizeBytes"`
	// The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).
	Status pulumi.StringOutput `pulumi:"status"`
	// The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
	VersionBytes pulumi.StringOutput `pulumi:"versionBytes"`
	// A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
	VersionId pulumi.StringPtrOutput `pulumi:"versionId"`
}

Creates a new version for the specified site.

func GetVersion added in v0.29.0

func GetVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VersionState, opts ...pulumi.ResourceOption) (*Version, error)

GetVersion gets an existing Version resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVersion added in v0.29.0

func NewVersion(ctx *pulumi.Context,
	name string, args *VersionArgs, opts ...pulumi.ResourceOption) (*Version, error)

NewVersion registers a new resource with the given unique name, arguments, and options.

func (*Version) ElementType added in v0.29.0

func (*Version) ElementType() reflect.Type

func (*Version) ToVersionOutput added in v0.29.0

func (i *Version) ToVersionOutput() VersionOutput

func (*Version) ToVersionOutputWithContext added in v0.29.0

func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput

type VersionArgs added in v0.29.0

type VersionArgs struct {
	// The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file.
	Config ServingConfigPtrInput
	// The labels used for extra metadata and/or filtering.
	Labels pulumi.StringMapInput
	// The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	SiteId  pulumi.StringInput
	// The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.
	SizeBytes pulumi.StringPtrInput
	// A unique id for the new version. This is was only specified for legacy version creations, and should be blank.
	VersionId pulumi.StringPtrInput
}

The set of arguments for constructing a Version resource.

func (VersionArgs) ElementType added in v0.29.0

func (VersionArgs) ElementType() reflect.Type

type VersionInput added in v0.29.0

type VersionInput interface {
	pulumi.Input

	ToVersionOutput() VersionOutput
	ToVersionOutputWithContext(ctx context.Context) VersionOutput
}

type VersionOutput added in v0.29.0

type VersionOutput struct{ *pulumi.OutputState }

func (VersionOutput) Config added in v0.29.0

The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file.

func (VersionOutput) CreateTime added in v0.29.0

func (o VersionOutput) CreateTime() pulumi.StringOutput

The time at which the version was created.

func (VersionOutput) CreateUser added in v0.29.0

func (o VersionOutput) CreateUser() ActingUserResponseOutput

Identifies the user who created the version.

func (VersionOutput) DeleteTime added in v0.29.0

func (o VersionOutput) DeleteTime() pulumi.StringOutput

The time at which the version was `DELETED`.

func (VersionOutput) DeleteUser added in v0.29.0

func (o VersionOutput) DeleteUser() ActingUserResponseOutput

Identifies the user who `DELETED` the version.

func (VersionOutput) ElementType added in v0.29.0

func (VersionOutput) ElementType() reflect.Type

func (VersionOutput) FileCount added in v0.29.0

func (o VersionOutput) FileCount() pulumi.StringOutput

The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.

func (VersionOutput) FinalizeTime added in v0.29.0

func (o VersionOutput) FinalizeTime() pulumi.StringOutput

The time at which the version was `FINALIZED`.

func (VersionOutput) FinalizeUser added in v0.29.0

func (o VersionOutput) FinalizeUser() ActingUserResponseOutput

Identifies the user who `FINALIZED` the version.

func (VersionOutput) Labels added in v0.29.0

The labels used for extra metadata and/or filtering.

func (VersionOutput) Name added in v0.29.0

The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).

func (VersionOutput) Project added in v0.29.0

func (o VersionOutput) Project() pulumi.StringOutput

func (VersionOutput) SiteId added in v0.29.0

func (o VersionOutput) SiteId() pulumi.StringOutput

func (VersionOutput) SizeBytes added in v0.29.0

func (o VersionOutput) SizeBytes() pulumi.StringPtrOutput

The self-reported size of the version. This value is used for a pre-emptive quota check for legacy version uploads.

func (VersionOutput) Status added in v0.29.0

func (o VersionOutput) Status() pulumi.StringOutput

The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).

func (VersionOutput) ToVersionOutput added in v0.29.0

func (o VersionOutput) ToVersionOutput() VersionOutput

func (VersionOutput) ToVersionOutputWithContext added in v0.29.0

func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOutput

func (VersionOutput) VersionBytes added in v0.29.0

func (o VersionOutput) VersionBytes() pulumi.StringOutput

The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.

func (VersionOutput) VersionId added in v0.29.0

func (o VersionOutput) VersionId() pulumi.StringPtrOutput

A unique id for the new version. This is was only specified for legacy version creations, and should be blank.

type VersionResponse

type VersionResponse struct {
	// The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file.
	Config ServingConfigResponse `pulumi:"config"`
	// The time at which the version was created.
	CreateTime string `pulumi:"createTime"`
	// Identifies the user who created the version.
	CreateUser ActingUserResponse `pulumi:"createUser"`
	// The time at which the version was `DELETED`.
	DeleteTime string `pulumi:"deleteTime"`
	// Identifies the user who `DELETED` the version.
	DeleteUser ActingUserResponse `pulumi:"deleteUser"`
	// The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.
	FileCount string `pulumi:"fileCount"`
	// The time at which the version was `FINALIZED`.
	FinalizeTime string `pulumi:"finalizeTime"`
	// Identifies the user who `FINALIZED` the version.
	FinalizeUser ActingUserResponse `pulumi:"finalizeUser"`
	// The labels used for extra metadata and/or filtering.
	Labels map[string]string `pulumi:"labels"`
	// The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).
	Name string `pulumi:"name"`
	// The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).
	Status string `pulumi:"status"`
	// The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
	VersionBytes string `pulumi:"versionBytes"`
}

A `Version` is a configuration and a collection of static files which determine how a site is displayed.

type VersionResponseOutput

type VersionResponseOutput struct{ *pulumi.OutputState }

A `Version` is a configuration and a collection of static files which determine how a site is displayed.

func (VersionResponseOutput) Config

The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file.

func (VersionResponseOutput) CreateTime

func (o VersionResponseOutput) CreateTime() pulumi.StringOutput

The time at which the version was created.

func (VersionResponseOutput) CreateUser

Identifies the user who created the version.

func (VersionResponseOutput) DeleteTime

func (o VersionResponseOutput) DeleteTime() pulumi.StringOutput

The time at which the version was `DELETED`.

func (VersionResponseOutput) DeleteUser

Identifies the user who `DELETED` the version.

func (VersionResponseOutput) ElementType

func (VersionResponseOutput) ElementType() reflect.Type

func (VersionResponseOutput) FileCount

The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.

func (VersionResponseOutput) FinalizeTime

func (o VersionResponseOutput) FinalizeTime() pulumi.StringOutput

The time at which the version was `FINALIZED`.

func (VersionResponseOutput) FinalizeUser

Identifies the user who `FINALIZED` the version.

func (VersionResponseOutput) Labels

The labels used for extra metadata and/or filtering.

func (VersionResponseOutput) Name

The fully-qualified resource name for the version, in the format: sites/ SITE_ID/versions/VERSION_ID This name is provided in the response body when you call [`CreateVersion`](sites.versions/create).

func (VersionResponseOutput) Status

The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).

func (VersionResponseOutput) ToVersionResponseOutput

func (o VersionResponseOutput) ToVersionResponseOutput() VersionResponseOutput

func (VersionResponseOutput) ToVersionResponseOutputWithContext

func (o VersionResponseOutput) ToVersionResponseOutputWithContext(ctx context.Context) VersionResponseOutput

func (VersionResponseOutput) VersionBytes

func (o VersionResponseOutput) VersionBytes() pulumi.StringOutput

The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.

type VersionState added in v0.29.0

type VersionState struct {
}

func (VersionState) ElementType added in v0.29.0

func (VersionState) ElementType() reflect.Type

type VersionStatus added in v0.29.0

type VersionStatus string

The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL