v1beta1

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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")
)

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 Channel added in v0.3.0

type Channel struct {
	pulumi.CustomResourceState

	// 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"`
	// 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"`
	// 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) ElementType added in v0.3.0

func (ChannelOutput) ElementType() reflect.Type

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

type ChannelState added in v0.3.0

type ChannelState struct {
}

func (ChannelState) ElementType added in v0.3.0

func (ChannelState) ElementType() reflect.Type

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

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) ToCloudRunRewriteResponseOutput

func (o CloudRunRewriteResponseOutput) ToCloudRunRewriteResponseOutput() CloudRunRewriteResponseOutput

func (CloudRunRewriteResponseOutput) ToCloudRunRewriteResponseOutputWithContext

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

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"`
	// 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"`
	// 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) ElementType added in v0.3.0

func (DomainOutput) ElementType() reflect.Type

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

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 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 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 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 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/projects/api/reference/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/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/projects/api/reference/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/projects/api/reference/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/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/projects/api/reference/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 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 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 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"`
	// 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) 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 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 Site

type Site struct {
	pulumi.CustomResourceState

	// Optional. The [ID of a Web App](https://firebase.google.com/docs/projects/api/reference/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/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](https://firebase.google.com/docs/projects/api/reference/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"`
	// 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/projects/api/reference/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) ElementType

func (SiteOutput) ElementType() reflect.Type

func (SiteOutput) ToSiteOutput

func (o SiteOutput) ToSiteOutput() SiteOutput

func (SiteOutput) ToSiteOutputWithContext

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

type SiteState

type SiteState struct {
}

func (SiteState) ElementType

func (SiteState) ElementType() reflect.Type

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

Jump to

Keyboard shortcuts

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