firebase

package
v7.0.0-alpha.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidApp

type AndroidApp struct {
	pulumi.CustomResourceState

	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AndroidApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AndroidApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringOutput `pulumi:"apiKeyId"`
	// The globally unique, Firebase-assigned identifier of the AndroidApp.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// (Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the
	// AndroidApp. Defaults to 'DELETE'.
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// The user-assigned display name of the AndroidApp.
	//
	// ***
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// This checksum is computed by the server based on the value of other fields, and it may be sent
	// with update requests to ensure the client has an up-to-date value before proceeding.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The fully qualified resource name of the AndroidApp, for example:
	// projects/projectId/androidApps/appId
	Name pulumi.StringOutput `pulumi:"name"`
	// Immutable. The canonical package name of the Android app as would appear in the Google Play
	// Developer Console.
	PackageName pulumi.StringPtrOutput `pulumi:"packageName"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The SHA1 certificate hashes for the AndroidApp.
	Sha1Hashes pulumi.StringArrayOutput `pulumi:"sha1Hashes"`
	// The SHA256 certificate hashes for the AndroidApp.
	Sha256Hashes pulumi.StringArrayOutput `pulumi:"sha256Hashes"`
}

## Example Usage ### Firebase Android App Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAndroidApp(ctx, "basic", &firebase.AndroidAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Basic"),
			PackageName: pulumi.String("android.package.app"),
			Sha1Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
			},
			Sha256Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Android App Custom Api Key

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		android, err := projects.NewApiKey(ctx, "android", &projects.ApiKeyArgs{
			DisplayName: pulumi.String("Display Name"),
			Project:     pulumi.String("my-project-name"),
			Restrictions: &projects.ApiKeyRestrictionsArgs{
				AndroidKeyRestrictions: &projects.ApiKeyRestrictionsAndroidKeyRestrictionsArgs{
					AllowedApplications: projects.ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArray{
						&projects.ApiKeyRestrictionsAndroidKeyRestrictionsAllowedApplicationArgs{
							PackageName:     pulumi.String("android.package.app"),
							Sha1Fingerprint: pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
						},
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewAndroidApp(ctx, "default", &firebase.AndroidAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name"),
			PackageName: pulumi.String("android.package.app"),
			Sha1Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
			},
			Sha256Hashes: pulumi.StringArray{
				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
			},
			ApiKeyId: android.Uid,
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AndroidApp can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default {{project}} projects/{{project}}/androidApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default projects/{{project}}/androidApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default {{project}}/{{project}}/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default androidApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/androidApp:AndroidApp default {{app_id}}

```

func GetAndroidApp

func GetAndroidApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AndroidAppState, opts ...pulumi.ResourceOption) (*AndroidApp, error)

GetAndroidApp gets an existing AndroidApp 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 NewAndroidApp

func NewAndroidApp(ctx *pulumi.Context,
	name string, args *AndroidAppArgs, opts ...pulumi.ResourceOption) (*AndroidApp, error)

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

func (*AndroidApp) ElementType

func (*AndroidApp) ElementType() reflect.Type

func (*AndroidApp) ToAndroidAppOutput

func (i *AndroidApp) ToAndroidAppOutput() AndroidAppOutput

func (*AndroidApp) ToAndroidAppOutputWithContext

func (i *AndroidApp) ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput

func (*AndroidApp) ToOutput

func (i *AndroidApp) ToOutput(ctx context.Context) pulumix.Output[*AndroidApp]

type AndroidAppArgs

type AndroidAppArgs struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AndroidApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AndroidApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// (Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the
	// AndroidApp. Defaults to 'DELETE'.
	DeletionPolicy pulumi.StringPtrInput
	// The user-assigned display name of the AndroidApp.
	//
	// ***
	DisplayName pulumi.StringInput
	// Immutable. The canonical package name of the Android app as would appear in the Google Play
	// Developer Console.
	PackageName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The SHA1 certificate hashes for the AndroidApp.
	Sha1Hashes pulumi.StringArrayInput
	// The SHA256 certificate hashes for the AndroidApp.
	Sha256Hashes pulumi.StringArrayInput
}

The set of arguments for constructing a AndroidApp resource.

func (AndroidAppArgs) ElementType

func (AndroidAppArgs) ElementType() reflect.Type

type AndroidAppArray

type AndroidAppArray []AndroidAppInput

func (AndroidAppArray) ElementType

func (AndroidAppArray) ElementType() reflect.Type

func (AndroidAppArray) ToAndroidAppArrayOutput

func (i AndroidAppArray) ToAndroidAppArrayOutput() AndroidAppArrayOutput

func (AndroidAppArray) ToAndroidAppArrayOutputWithContext

func (i AndroidAppArray) ToAndroidAppArrayOutputWithContext(ctx context.Context) AndroidAppArrayOutput

func (AndroidAppArray) ToOutput

type AndroidAppArrayInput

type AndroidAppArrayInput interface {
	pulumi.Input

	ToAndroidAppArrayOutput() AndroidAppArrayOutput
	ToAndroidAppArrayOutputWithContext(context.Context) AndroidAppArrayOutput
}

AndroidAppArrayInput is an input type that accepts AndroidAppArray and AndroidAppArrayOutput values. You can construct a concrete instance of `AndroidAppArrayInput` via:

AndroidAppArray{ AndroidAppArgs{...} }

type AndroidAppArrayOutput

type AndroidAppArrayOutput struct{ *pulumi.OutputState }

func (AndroidAppArrayOutput) ElementType

func (AndroidAppArrayOutput) ElementType() reflect.Type

func (AndroidAppArrayOutput) Index

func (AndroidAppArrayOutput) ToAndroidAppArrayOutput

func (o AndroidAppArrayOutput) ToAndroidAppArrayOutput() AndroidAppArrayOutput

func (AndroidAppArrayOutput) ToAndroidAppArrayOutputWithContext

func (o AndroidAppArrayOutput) ToAndroidAppArrayOutputWithContext(ctx context.Context) AndroidAppArrayOutput

func (AndroidAppArrayOutput) ToOutput

type AndroidAppInput

type AndroidAppInput interface {
	pulumi.Input

	ToAndroidAppOutput() AndroidAppOutput
	ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput
}

type AndroidAppMap

type AndroidAppMap map[string]AndroidAppInput

func (AndroidAppMap) ElementType

func (AndroidAppMap) ElementType() reflect.Type

func (AndroidAppMap) ToAndroidAppMapOutput

func (i AndroidAppMap) ToAndroidAppMapOutput() AndroidAppMapOutput

func (AndroidAppMap) ToAndroidAppMapOutputWithContext

func (i AndroidAppMap) ToAndroidAppMapOutputWithContext(ctx context.Context) AndroidAppMapOutput

func (AndroidAppMap) ToOutput

type AndroidAppMapInput

type AndroidAppMapInput interface {
	pulumi.Input

	ToAndroidAppMapOutput() AndroidAppMapOutput
	ToAndroidAppMapOutputWithContext(context.Context) AndroidAppMapOutput
}

AndroidAppMapInput is an input type that accepts AndroidAppMap and AndroidAppMapOutput values. You can construct a concrete instance of `AndroidAppMapInput` via:

AndroidAppMap{ "key": AndroidAppArgs{...} }

type AndroidAppMapOutput

type AndroidAppMapOutput struct{ *pulumi.OutputState }

func (AndroidAppMapOutput) ElementType

func (AndroidAppMapOutput) ElementType() reflect.Type

func (AndroidAppMapOutput) MapIndex

func (AndroidAppMapOutput) ToAndroidAppMapOutput

func (o AndroidAppMapOutput) ToAndroidAppMapOutput() AndroidAppMapOutput

func (AndroidAppMapOutput) ToAndroidAppMapOutputWithContext

func (o AndroidAppMapOutput) ToAndroidAppMapOutputWithContext(ctx context.Context) AndroidAppMapOutput

func (AndroidAppMapOutput) ToOutput

type AndroidAppOutput

type AndroidAppOutput struct{ *pulumi.OutputState }

func (AndroidAppOutput) ApiKeyId

func (o AndroidAppOutput) ApiKeyId() pulumi.StringOutput

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AndroidApp. If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AndroidApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.

func (AndroidAppOutput) AppId

The globally unique, Firebase-assigned identifier of the AndroidApp. This identifier should be treated as an opaque token, as the data format is not specified.

func (AndroidAppOutput) DeletionPolicy

func (o AndroidAppOutput) DeletionPolicy() pulumi.StringPtrOutput

(Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the AndroidApp. Defaults to 'DELETE'.

func (AndroidAppOutput) DisplayName

func (o AndroidAppOutput) DisplayName() pulumi.StringOutput

The user-assigned display name of the AndroidApp.

***

func (AndroidAppOutput) ElementType

func (AndroidAppOutput) ElementType() reflect.Type

func (AndroidAppOutput) Etag

This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding.

func (AndroidAppOutput) Name

The fully qualified resource name of the AndroidApp, for example: projects/projectId/androidApps/appId

func (AndroidAppOutput) PackageName

func (o AndroidAppOutput) PackageName() pulumi.StringPtrOutput

Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.

func (AndroidAppOutput) Project

func (o AndroidAppOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (AndroidAppOutput) Sha1Hashes

func (o AndroidAppOutput) Sha1Hashes() pulumi.StringArrayOutput

The SHA1 certificate hashes for the AndroidApp.

func (AndroidAppOutput) Sha256Hashes

func (o AndroidAppOutput) Sha256Hashes() pulumi.StringArrayOutput

The SHA256 certificate hashes for the AndroidApp.

func (AndroidAppOutput) ToAndroidAppOutput

func (o AndroidAppOutput) ToAndroidAppOutput() AndroidAppOutput

func (AndroidAppOutput) ToAndroidAppOutputWithContext

func (o AndroidAppOutput) ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput

func (AndroidAppOutput) ToOutput

type AndroidAppState

type AndroidAppState struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AndroidApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AndroidApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// The globally unique, Firebase-assigned identifier of the AndroidApp.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId pulumi.StringPtrInput
	// (Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon
	// 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the
	// AndroidApp. Defaults to 'DELETE'.
	DeletionPolicy pulumi.StringPtrInput
	// The user-assigned display name of the AndroidApp.
	//
	// ***
	DisplayName pulumi.StringPtrInput
	// This checksum is computed by the server based on the value of other fields, and it may be sent
	// with update requests to ensure the client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// The fully qualified resource name of the AndroidApp, for example:
	// projects/projectId/androidApps/appId
	Name pulumi.StringPtrInput
	// Immutable. The canonical package name of the Android app as would appear in the Google Play
	// Developer Console.
	PackageName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The SHA1 certificate hashes for the AndroidApp.
	Sha1Hashes pulumi.StringArrayInput
	// The SHA256 certificate hashes for the AndroidApp.
	Sha256Hashes pulumi.StringArrayInput
}

func (AndroidAppState) ElementType

func (AndroidAppState) ElementType() reflect.Type

type AppleApp

type AppleApp struct {
	pulumi.CustomResourceState

	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringOutput `pulumi:"apiKeyId"`
	// The globally unique, Firebase-assigned identifier of the App.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
	AppStoreId pulumi.StringPtrOutput `pulumi:"appStoreId"`
	// The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
	//
	// ***
	BundleId pulumi.StringOutput `pulumi:"bundleId"`
	// (Optional) Set to 'ABANDON' to allow the Apple to be untracked from terraform state rather than deleted upon 'terraform
	// destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults to
	// 'DELETE'.
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// The user-assigned display name of the App.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The fully qualified resource name of the App, for example:
	// projects/projectId/iosApps/appId
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The Apple Developer Team ID associated with the App in the App Store.
	TeamId pulumi.StringPtrOutput `pulumi:"teamId"`
}

## Example Usage ### Firebase Apple App Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAppleApp(ctx, "default", &firebase.AppleAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Basic"),
			BundleId:    pulumi.String("apple.app.12345"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Apple App Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		apple, err := projects.NewApiKey(ctx, "apple", &projects.ApiKeyArgs{
			DisplayName: pulumi.String("Display Name Full"),
			Project:     pulumi.String("my-project-name"),
			Restrictions: &projects.ApiKeyRestrictionsArgs{
				IosKeyRestrictions: &projects.ApiKeyRestrictionsIosKeyRestrictionsArgs{
					AllowedBundleIds: pulumi.StringArray{
						pulumi.String("apple.app.12345"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewAppleApp(ctx, "full", &firebase.AppleAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Full"),
			BundleId:    pulumi.String("apple.app.12345"),
			AppStoreId:  pulumi.String("12345"),
			TeamId:      pulumi.String("9987654321"),
			ApiKeyId:    apple.Uid,
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppleApp can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default {{project}} projects/{{project}}/iosApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default projects/{{project}}/iosApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default {{project}}/{{project}}/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default iosApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/appleApp:AppleApp default {{app_id}}

```

func GetAppleApp

func GetAppleApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppleAppState, opts ...pulumi.ResourceOption) (*AppleApp, error)

GetAppleApp gets an existing AppleApp 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 NewAppleApp

func NewAppleApp(ctx *pulumi.Context,
	name string, args *AppleAppArgs, opts ...pulumi.ResourceOption) (*AppleApp, error)

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

func (*AppleApp) ElementType

func (*AppleApp) ElementType() reflect.Type

func (*AppleApp) ToAppleAppOutput

func (i *AppleApp) ToAppleAppOutput() AppleAppOutput

func (*AppleApp) ToAppleAppOutputWithContext

func (i *AppleApp) ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput

func (*AppleApp) ToOutput

func (i *AppleApp) ToOutput(ctx context.Context) pulumix.Output[*AppleApp]

type AppleAppArgs

type AppleAppArgs struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
	AppStoreId pulumi.StringPtrInput
	// The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
	//
	// ***
	BundleId pulumi.StringInput
	// (Optional) Set to 'ABANDON' to allow the Apple to be untracked from terraform state rather than deleted upon 'terraform
	// destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults to
	// 'DELETE'.
	DeletionPolicy pulumi.StringPtrInput
	// The user-assigned display name of the App.
	DisplayName pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The Apple Developer Team ID associated with the App in the App Store.
	TeamId pulumi.StringPtrInput
}

The set of arguments for constructing a AppleApp resource.

func (AppleAppArgs) ElementType

func (AppleAppArgs) ElementType() reflect.Type

type AppleAppArray

type AppleAppArray []AppleAppInput

func (AppleAppArray) ElementType

func (AppleAppArray) ElementType() reflect.Type

func (AppleAppArray) ToAppleAppArrayOutput

func (i AppleAppArray) ToAppleAppArrayOutput() AppleAppArrayOutput

func (AppleAppArray) ToAppleAppArrayOutputWithContext

func (i AppleAppArray) ToAppleAppArrayOutputWithContext(ctx context.Context) AppleAppArrayOutput

func (AppleAppArray) ToOutput

func (i AppleAppArray) ToOutput(ctx context.Context) pulumix.Output[[]*AppleApp]

type AppleAppArrayInput

type AppleAppArrayInput interface {
	pulumi.Input

	ToAppleAppArrayOutput() AppleAppArrayOutput
	ToAppleAppArrayOutputWithContext(context.Context) AppleAppArrayOutput
}

AppleAppArrayInput is an input type that accepts AppleAppArray and AppleAppArrayOutput values. You can construct a concrete instance of `AppleAppArrayInput` via:

AppleAppArray{ AppleAppArgs{...} }

type AppleAppArrayOutput

type AppleAppArrayOutput struct{ *pulumi.OutputState }

func (AppleAppArrayOutput) ElementType

func (AppleAppArrayOutput) ElementType() reflect.Type

func (AppleAppArrayOutput) Index

func (AppleAppArrayOutput) ToAppleAppArrayOutput

func (o AppleAppArrayOutput) ToAppleAppArrayOutput() AppleAppArrayOutput

func (AppleAppArrayOutput) ToAppleAppArrayOutputWithContext

func (o AppleAppArrayOutput) ToAppleAppArrayOutputWithContext(ctx context.Context) AppleAppArrayOutput

func (AppleAppArrayOutput) ToOutput

type AppleAppInput

type AppleAppInput interface {
	pulumi.Input

	ToAppleAppOutput() AppleAppOutput
	ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput
}

type AppleAppMap

type AppleAppMap map[string]AppleAppInput

func (AppleAppMap) ElementType

func (AppleAppMap) ElementType() reflect.Type

func (AppleAppMap) ToAppleAppMapOutput

func (i AppleAppMap) ToAppleAppMapOutput() AppleAppMapOutput

func (AppleAppMap) ToAppleAppMapOutputWithContext

func (i AppleAppMap) ToAppleAppMapOutputWithContext(ctx context.Context) AppleAppMapOutput

func (AppleAppMap) ToOutput

func (i AppleAppMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AppleApp]

type AppleAppMapInput

type AppleAppMapInput interface {
	pulumi.Input

	ToAppleAppMapOutput() AppleAppMapOutput
	ToAppleAppMapOutputWithContext(context.Context) AppleAppMapOutput
}

AppleAppMapInput is an input type that accepts AppleAppMap and AppleAppMapOutput values. You can construct a concrete instance of `AppleAppMapInput` via:

AppleAppMap{ "key": AppleAppArgs{...} }

type AppleAppMapOutput

type AppleAppMapOutput struct{ *pulumi.OutputState }

func (AppleAppMapOutput) ElementType

func (AppleAppMapOutput) ElementType() reflect.Type

func (AppleAppMapOutput) MapIndex

func (AppleAppMapOutput) ToAppleAppMapOutput

func (o AppleAppMapOutput) ToAppleAppMapOutput() AppleAppMapOutput

func (AppleAppMapOutput) ToAppleAppMapOutputWithContext

func (o AppleAppMapOutput) ToAppleAppMapOutputWithContext(ctx context.Context) AppleAppMapOutput

func (AppleAppMapOutput) ToOutput

type AppleAppOutput

type AppleAppOutput struct{ *pulumi.OutputState }

func (AppleAppOutput) ApiKeyId

func (o AppleAppOutput) ApiKeyId() pulumi.StringOutput

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp. If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.

func (AppleAppOutput) AppId

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

func (AppleAppOutput) AppStoreId

func (o AppleAppOutput) AppStoreId() pulumi.StringPtrOutput

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

func (AppleAppOutput) BundleId

func (o AppleAppOutput) BundleId() pulumi.StringOutput

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

***

func (AppleAppOutput) DeletionPolicy

func (o AppleAppOutput) DeletionPolicy() pulumi.StringPtrOutput

(Optional) Set to 'ABANDON' to allow the Apple to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults to 'DELETE'.

func (AppleAppOutput) DisplayName

func (o AppleAppOutput) DisplayName() pulumi.StringOutput

The user-assigned display name of the App.

func (AppleAppOutput) ElementType

func (AppleAppOutput) ElementType() reflect.Type

func (AppleAppOutput) Name

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

func (AppleAppOutput) Project

func (o AppleAppOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (AppleAppOutput) TeamId

The Apple Developer Team ID associated with the App in the App Store.

func (AppleAppOutput) ToAppleAppOutput

func (o AppleAppOutput) ToAppleAppOutput() AppleAppOutput

func (AppleAppOutput) ToAppleAppOutputWithContext

func (o AppleAppOutput) ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput

func (AppleAppOutput) ToOutput

type AppleAppState

type AppleAppState struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the AppleApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the AppleApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// The globally unique, Firebase-assigned identifier of the App.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId pulumi.StringPtrInput
	// The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
	AppStoreId pulumi.StringPtrInput
	// The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
	//
	// ***
	BundleId pulumi.StringPtrInput
	// (Optional) Set to 'ABANDON' to allow the Apple to be untracked from terraform state rather than deleted upon 'terraform
	// destroy'. This is useful because the Apple may be serving traffic. Set to 'DELETE' to delete the Apple. Defaults to
	// 'DELETE'.
	DeletionPolicy pulumi.StringPtrInput
	// The user-assigned display name of the App.
	DisplayName pulumi.StringPtrInput
	// The fully qualified resource name of the App, for example:
	// projects/projectId/iosApps/appId
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The Apple Developer Team ID associated with the App in the App Store.
	TeamId pulumi.StringPtrInput
}

func (AppleAppState) ElementType

func (AppleAppState) ElementType() reflect.Type

type DatabaseInstance

type DatabaseInstance struct {
	pulumi.CustomResourceState

	// The database URL in the form of https://{instance-id}.firebaseio.com for us-central1 instances
	// or https://{instance-id}.{region}.firebasedatabase.app in other regions.
	DatabaseUrl pulumi.StringOutput `pulumi:"databaseUrl"`
	// The intended database state.
	DesiredState pulumi.StringPtrOutput `pulumi:"desiredState"`
	// The globally unique identifier of the Firebase Realtime Database instance.
	// Instance IDs cannot be reused after deletion.
	//
	// ***
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The fully-qualified resource name of the Firebase Realtime Database, in the
	// format: projects/PROJECT_NUMBER/locations/REGION_IDENTIFIER/instances/INSTANCE_ID
	// PROJECT_NUMBER: The Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number)
	// Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// A reference to the region where the Firebase Realtime database resides.
	// Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations)
	Region pulumi.StringOutput `pulumi:"region"`
	// The current database state. Set desiredState to :DISABLED to disable the database and :ACTIVE to reenable the database
	State pulumi.StringOutput `pulumi:"state"`
	// The database type.
	// Each project can create one default Firebase Realtime Database, which cannot be deleted once created.
	// Creating user Databases is only available for projects on the Blaze plan.
	// Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo.
	// Default value is `USER_DATABASE`.
	// Possible values are: `DEFAULT_DATABASE`, `USER_DATABASE`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

## Example Usage ### Firebase Database Instance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewDatabaseInstance(ctx, "basic", &firebase.DatabaseInstanceArgs{
			Project:    pulumi.String("my-project-name"),
			Region:     pulumi.String("us-central1"),
			InstanceId: pulumi.String("active-db"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Database Instance Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewDatabaseInstance(ctx, "full", &firebase.DatabaseInstanceArgs{
			Project:      pulumi.String("my-project-name"),
			Region:       pulumi.String("europe-west1"),
			InstanceId:   pulumi.String("disabled-db"),
			Type:         pulumi.String("USER_DATABASE"),
			DesiredState: pulumi.String("DISABLED"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Database Instance Default Database

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultProject, err := organizations.NewProject(ctx, "defaultProject", &organizations.ProjectArgs{
			ProjectId: pulumi.String("rtdb-project"),
			OrgId:     pulumi.String("123456789"),
			Labels: pulumi.StringMap{
				"firebase": pulumi.String("enabled"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewProject(ctx, "defaultFirebase/projectProject", &firebase.ProjectArgs{
			Project: defaultProject.ProjectId,
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		firebaseDatabase, err := projects.NewService(ctx, "firebaseDatabase", &projects.ServiceArgs{
			Project: defaultFirebase / projectProject.Project,
			Service: pulumi.String("firebasedatabase.googleapis.com"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewDatabaseInstance(ctx, "defaultDatabaseInstance", &firebase.DatabaseInstanceArgs{
			Project:    defaultFirebase / projectProject.Project,
			Region:     pulumi.String("us-central1"),
			InstanceId: pulumi.String("rtdb-project-default-rtdb"),
			Type:       pulumi.String("DEFAULT_DATABASE"),
		}, pulumi.Provider(google_beta), pulumi.DependsOn([]pulumi.Resource{
			firebaseDatabase,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/databaseInstance:DatabaseInstance default projects/{{project}}/locations/{{region}}/instances/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/databaseInstance:DatabaseInstance default {{project}}/{{region}}/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/databaseInstance:DatabaseInstance default {{region}}/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/databaseInstance:DatabaseInstance default {{instance_id}}

```

func GetDatabaseInstance

func GetDatabaseInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseInstanceState, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)

GetDatabaseInstance gets an existing DatabaseInstance 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 NewDatabaseInstance

func NewDatabaseInstance(ctx *pulumi.Context,
	name string, args *DatabaseInstanceArgs, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)

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

func (*DatabaseInstance) ElementType

func (*DatabaseInstance) ElementType() reflect.Type

func (*DatabaseInstance) ToDatabaseInstanceOutput

func (i *DatabaseInstance) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (*DatabaseInstance) ToDatabaseInstanceOutputWithContext

func (i *DatabaseInstance) ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput

func (*DatabaseInstance) ToOutput

type DatabaseInstanceArgs

type DatabaseInstanceArgs struct {
	// The intended database state.
	DesiredState pulumi.StringPtrInput
	// The globally unique identifier of the Firebase Realtime Database instance.
	// Instance IDs cannot be reused after deletion.
	//
	// ***
	InstanceId pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// A reference to the region where the Firebase Realtime database resides.
	// Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations)
	Region pulumi.StringInput
	// The database type.
	// Each project can create one default Firebase Realtime Database, which cannot be deleted once created.
	// Creating user Databases is only available for projects on the Blaze plan.
	// Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo.
	// Default value is `USER_DATABASE`.
	// Possible values are: `DEFAULT_DATABASE`, `USER_DATABASE`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a DatabaseInstance resource.

func (DatabaseInstanceArgs) ElementType

func (DatabaseInstanceArgs) ElementType() reflect.Type

type DatabaseInstanceArray

type DatabaseInstanceArray []DatabaseInstanceInput

func (DatabaseInstanceArray) ElementType

func (DatabaseInstanceArray) ElementType() reflect.Type

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutput

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext(ctx context.Context) DatabaseInstanceArrayOutput

func (DatabaseInstanceArray) ToOutput

type DatabaseInstanceArrayInput

type DatabaseInstanceArrayInput interface {
	pulumi.Input

	ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput
	ToDatabaseInstanceArrayOutputWithContext(context.Context) DatabaseInstanceArrayOutput
}

DatabaseInstanceArrayInput is an input type that accepts DatabaseInstanceArray and DatabaseInstanceArrayOutput values. You can construct a concrete instance of `DatabaseInstanceArrayInput` via:

DatabaseInstanceArray{ DatabaseInstanceArgs{...} }

type DatabaseInstanceArrayOutput

type DatabaseInstanceArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceArrayOutput) ElementType

func (DatabaseInstanceArrayOutput) Index

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext(ctx context.Context) DatabaseInstanceArrayOutput

func (DatabaseInstanceArrayOutput) ToOutput

type DatabaseInstanceInput

type DatabaseInstanceInput interface {
	pulumi.Input

	ToDatabaseInstanceOutput() DatabaseInstanceOutput
	ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput
}

type DatabaseInstanceMap

type DatabaseInstanceMap map[string]DatabaseInstanceInput

func (DatabaseInstanceMap) ElementType

func (DatabaseInstanceMap) ElementType() reflect.Type

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutput

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext(ctx context.Context) DatabaseInstanceMapOutput

func (DatabaseInstanceMap) ToOutput

type DatabaseInstanceMapInput

type DatabaseInstanceMapInput interface {
	pulumi.Input

	ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput
	ToDatabaseInstanceMapOutputWithContext(context.Context) DatabaseInstanceMapOutput
}

DatabaseInstanceMapInput is an input type that accepts DatabaseInstanceMap and DatabaseInstanceMapOutput values. You can construct a concrete instance of `DatabaseInstanceMapInput` via:

DatabaseInstanceMap{ "key": DatabaseInstanceArgs{...} }

type DatabaseInstanceMapOutput

type DatabaseInstanceMapOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceMapOutput) ElementType

func (DatabaseInstanceMapOutput) ElementType() reflect.Type

func (DatabaseInstanceMapOutput) MapIndex

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext(ctx context.Context) DatabaseInstanceMapOutput

func (DatabaseInstanceMapOutput) ToOutput

type DatabaseInstanceOutput

type DatabaseInstanceOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceOutput) DatabaseUrl

func (o DatabaseInstanceOutput) DatabaseUrl() pulumi.StringOutput

The database URL in the form of https://{instance-id}.firebaseio.com for us-central1 instances or https://{instance-id}.{region}.firebasedatabase.app in other regions.

func (DatabaseInstanceOutput) DesiredState

The intended database state.

func (DatabaseInstanceOutput) ElementType

func (DatabaseInstanceOutput) ElementType() reflect.Type

func (DatabaseInstanceOutput) InstanceId

The globally unique identifier of the Firebase Realtime Database instance. Instance IDs cannot be reused after deletion.

***

func (DatabaseInstanceOutput) Name

The fully-qualified resource name of the Firebase Realtime Database, in the format: projects/PROJECT_NUMBER/locations/REGION_IDENTIFIER/instances/INSTANCE_ID PROJECT_NUMBER: The Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).

func (DatabaseInstanceOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (DatabaseInstanceOutput) Region

A reference to the region where the Firebase Realtime database resides. Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations)

func (DatabaseInstanceOutput) State

The current database state. Set desiredState to :DISABLED to disable the database and :ACTIVE to reenable the database

func (DatabaseInstanceOutput) ToDatabaseInstanceOutput

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput

func (DatabaseInstanceOutput) ToOutput

func (DatabaseInstanceOutput) Type

The database type. Each project can create one default Firebase Realtime Database, which cannot be deleted once created. Creating user Databases is only available for projects on the Blaze plan. Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo. Default value is `USER_DATABASE`. Possible values are: `DEFAULT_DATABASE`, `USER_DATABASE`.

type DatabaseInstanceState

type DatabaseInstanceState struct {
	// The database URL in the form of https://{instance-id}.firebaseio.com for us-central1 instances
	// or https://{instance-id}.{region}.firebasedatabase.app in other regions.
	DatabaseUrl pulumi.StringPtrInput
	// The intended database state.
	DesiredState pulumi.StringPtrInput
	// The globally unique identifier of the Firebase Realtime Database instance.
	// Instance IDs cannot be reused after deletion.
	//
	// ***
	InstanceId pulumi.StringPtrInput
	// The fully-qualified resource name of the Firebase Realtime Database, in the
	// format: projects/PROJECT_NUMBER/locations/REGION_IDENTIFIER/instances/INSTANCE_ID
	// PROJECT_NUMBER: The Firebase project's [`ProjectNumber`](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number)
	// Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// A reference to the region where the Firebase Realtime database resides.
	// Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations)
	Region pulumi.StringPtrInput
	// The current database state. Set desiredState to :DISABLED to disable the database and :ACTIVE to reenable the database
	State pulumi.StringPtrInput
	// The database type.
	// Each project can create one default Firebase Realtime Database, which cannot be deleted once created.
	// Creating user Databases is only available for projects on the Blaze plan.
	// Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo.
	// Default value is `USER_DATABASE`.
	// Possible values are: `DEFAULT_DATABASE`, `USER_DATABASE`.
	Type pulumi.StringPtrInput
}

func (DatabaseInstanceState) ElementType

func (DatabaseInstanceState) ElementType() reflect.Type

type ExtensionsInstance

type ExtensionsInstance struct {
	pulumi.CustomResourceState

	// The current Config of the Extension Instance.
	// Structure is documented below.
	Config ExtensionsInstanceConfigOutput `pulumi:"config"`
	// (Output)
	// The time at which the Extension Instance Config was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// If this Instance has `state: ERRORED`, the error messages
	// will be found here.
	// Structure is documented below.
	ErrorStatuses ExtensionsInstanceErrorStatusArrayOutput `pulumi:"errorStatuses"`
	// A weak etag that is computed by the server based on other configuration
	// values and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The ID to use for the Extension Instance, which will become the final
	// component of the instance's name.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The name of the last operation that acted on this Extension
	// Instance
	LastOperationName pulumi.StringOutput `pulumi:"lastOperationName"`
	// The type of the last operation that acted on the Extension Instance.
	LastOperationType pulumi.StringOutput `pulumi:"lastOperationType"`
	// (Output)
	// The unique identifier for this configuration.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Data set by the extension instance at runtime.
	// Structure is documented below.
	RuntimeDatas ExtensionsInstanceRuntimeDataArrayOutput `pulumi:"runtimeDatas"`
	// The email of the service account to be used at runtime by compute resources
	// created for the operation of the Extension instance.
	ServiceAccountEmail pulumi.StringOutput `pulumi:"serviceAccountEmail"`
	// The processing state of the extension instance.
	State pulumi.StringOutput `pulumi:"state"`
	// The time at which the Extension Instance was updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

## Example Usage ### Firebase Extentions Instance Resize Image

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		images, err := storage.NewBucket(ctx, "images", &storage.BucketArgs{
			Project:                  pulumi.String("my-project-name"),
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
			ForceDestroy:             pulumi.Bool(true),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewExtensionsInstance(ctx, "resizeImage", &firebase.ExtensionsInstanceArgs{
			Project:    pulumi.String("my-project-name"),
			InstanceId: pulumi.String("storage-resize-images"),
			Config: &firebase.ExtensionsInstanceConfigArgs{
				ExtensionRef:     pulumi.String("firebase/storage-resize-images"),
				ExtensionVersion: pulumi.String("0.1.37"),
				Params: pulumi.StringMap{
					"DELETE_ORIGINAL_FILE": pulumi.String("false"),
					"MAKE_PUBLIC":          pulumi.String("false"),
					"IMAGE_TYPE":           pulumi.String("false"),
					"IS_ANIMATED":          pulumi.String("true"),
					"FUNCTION_MEMORY":      pulumi.String("1024"),
					"DO_BACKFILL":          pulumi.String("false"),
					"IMG_SIZES":            pulumi.String("200x200"),
					"IMG_BUCKET":           images.Name,
					"LOCATION":             pulumi.String(""),
				},
				SystemParams: pulumi.StringMap{
					"firebaseextensions.v1beta.function/maxInstances":               pulumi.String("3000"),
					"firebaseextensions.v1beta.function/memory":                     pulumi.String("256"),
					"firebaseextensions.v1beta.function/minInstances":               pulumi.String("0"),
					"firebaseextensions.v1beta.function/vpcConnectorEgressSettings": pulumi.String("VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED"),
				},
				AllowedEventTypes: pulumi.StringArray{
					pulumi.String("firebase.extensions.storage-resize-images.v1.complete"),
				},
				EventarcChannel: pulumi.String("projects/my-project-name/locations//channels/firebase"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default projects/{{project}}/instances/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default {{project}}/{{instance_id}}

```

```sh

$ pulumi import gcp:firebase/extensionsInstance:ExtensionsInstance default {{instance_id}}

```

func GetExtensionsInstance

func GetExtensionsInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExtensionsInstanceState, opts ...pulumi.ResourceOption) (*ExtensionsInstance, error)

GetExtensionsInstance gets an existing ExtensionsInstance 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 NewExtensionsInstance

func NewExtensionsInstance(ctx *pulumi.Context,
	name string, args *ExtensionsInstanceArgs, opts ...pulumi.ResourceOption) (*ExtensionsInstance, error)

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

func (*ExtensionsInstance) ElementType

func (*ExtensionsInstance) ElementType() reflect.Type

func (*ExtensionsInstance) ToExtensionsInstanceOutput

func (i *ExtensionsInstance) ToExtensionsInstanceOutput() ExtensionsInstanceOutput

func (*ExtensionsInstance) ToExtensionsInstanceOutputWithContext

func (i *ExtensionsInstance) ToExtensionsInstanceOutputWithContext(ctx context.Context) ExtensionsInstanceOutput

func (*ExtensionsInstance) ToOutput

type ExtensionsInstanceArgs

type ExtensionsInstanceArgs struct {
	// The current Config of the Extension Instance.
	// Structure is documented below.
	Config ExtensionsInstanceConfigInput
	// The ID to use for the Extension Instance, which will become the final
	// component of the instance's name.
	InstanceId pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a ExtensionsInstance resource.

func (ExtensionsInstanceArgs) ElementType

func (ExtensionsInstanceArgs) ElementType() reflect.Type

type ExtensionsInstanceArray

type ExtensionsInstanceArray []ExtensionsInstanceInput

func (ExtensionsInstanceArray) ElementType

func (ExtensionsInstanceArray) ElementType() reflect.Type

func (ExtensionsInstanceArray) ToExtensionsInstanceArrayOutput

func (i ExtensionsInstanceArray) ToExtensionsInstanceArrayOutput() ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArray) ToExtensionsInstanceArrayOutputWithContext

func (i ExtensionsInstanceArray) ToExtensionsInstanceArrayOutputWithContext(ctx context.Context) ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArray) ToOutput

type ExtensionsInstanceArrayInput

type ExtensionsInstanceArrayInput interface {
	pulumi.Input

	ToExtensionsInstanceArrayOutput() ExtensionsInstanceArrayOutput
	ToExtensionsInstanceArrayOutputWithContext(context.Context) ExtensionsInstanceArrayOutput
}

ExtensionsInstanceArrayInput is an input type that accepts ExtensionsInstanceArray and ExtensionsInstanceArrayOutput values. You can construct a concrete instance of `ExtensionsInstanceArrayInput` via:

ExtensionsInstanceArray{ ExtensionsInstanceArgs{...} }

type ExtensionsInstanceArrayOutput

type ExtensionsInstanceArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceArrayOutput) ElementType

func (ExtensionsInstanceArrayOutput) Index

func (ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutput

func (o ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutput() ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutputWithContext

func (o ExtensionsInstanceArrayOutput) ToExtensionsInstanceArrayOutputWithContext(ctx context.Context) ExtensionsInstanceArrayOutput

func (ExtensionsInstanceArrayOutput) ToOutput

type ExtensionsInstanceConfig

type ExtensionsInstanceConfig struct {
	// List of extension events selected by consumer that extension is allowed to
	// emit, identified by their types.
	AllowedEventTypes []string `pulumi:"allowedEventTypes"`
	// (Output)
	// The time at which the Extension Instance Config was created.
	CreateTime *string `pulumi:"createTime"`
	// Fully qualified Eventarc resource name that consumers should use for event triggers.
	EventarcChannel *string `pulumi:"eventarcChannel"`
	// The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
	ExtensionRef string `pulumi:"extensionRef"`
	// The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
	ExtensionVersion *string `pulumi:"extensionVersion"`
	// (Output)
	// The unique identifier for this configuration.
	Name *string `pulumi:"name"`
	// Environment variables that may be configured for the Extension
	Params map[string]string `pulumi:"params"`
	// (Output)
	// Postinstall instructions to be shown for this Extension, with
	// template strings representing function and parameter values substituted
	// with actual values. These strings include: ${param:FOO},
	// ${function:myFunc.url},
	// ${function:myFunc.name}, and ${function:myFunc.location}
	//
	// ***
	PopulatedPostinstallContent *string `pulumi:"populatedPostinstallContent"`
	// Params whose values are only available at deployment time.
	// Unlike other params, these will not be set as environment variables on
	// functions.
	SystemParams map[string]string `pulumi:"systemParams"`
}

type ExtensionsInstanceConfigArgs

type ExtensionsInstanceConfigArgs struct {
	// List of extension events selected by consumer that extension is allowed to
	// emit, identified by their types.
	AllowedEventTypes pulumi.StringArrayInput `pulumi:"allowedEventTypes"`
	// (Output)
	// The time at which the Extension Instance Config was created.
	CreateTime pulumi.StringPtrInput `pulumi:"createTime"`
	// Fully qualified Eventarc resource name that consumers should use for event triggers.
	EventarcChannel pulumi.StringPtrInput `pulumi:"eventarcChannel"`
	// The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)
	ExtensionRef pulumi.StringInput `pulumi:"extensionRef"`
	// The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.
	ExtensionVersion pulumi.StringPtrInput `pulumi:"extensionVersion"`
	// (Output)
	// The unique identifier for this configuration.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Environment variables that may be configured for the Extension
	Params pulumi.StringMapInput `pulumi:"params"`
	// (Output)
	// Postinstall instructions to be shown for this Extension, with
	// template strings representing function and parameter values substituted
	// with actual values. These strings include: ${param:FOO},
	// ${function:myFunc.url},
	// ${function:myFunc.name}, and ${function:myFunc.location}
	//
	// ***
	PopulatedPostinstallContent pulumi.StringPtrInput `pulumi:"populatedPostinstallContent"`
	// Params whose values are only available at deployment time.
	// Unlike other params, these will not be set as environment variables on
	// functions.
	SystemParams pulumi.StringMapInput `pulumi:"systemParams"`
}

func (ExtensionsInstanceConfigArgs) ElementType

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutput

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutput() ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutputWithContext

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigOutputWithContext(ctx context.Context) ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutput

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutputWithContext

func (i ExtensionsInstanceConfigArgs) ToExtensionsInstanceConfigPtrOutputWithContext(ctx context.Context) ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigArgs) ToOutput

type ExtensionsInstanceConfigInput

type ExtensionsInstanceConfigInput interface {
	pulumi.Input

	ToExtensionsInstanceConfigOutput() ExtensionsInstanceConfigOutput
	ToExtensionsInstanceConfigOutputWithContext(context.Context) ExtensionsInstanceConfigOutput
}

ExtensionsInstanceConfigInput is an input type that accepts ExtensionsInstanceConfigArgs and ExtensionsInstanceConfigOutput values. You can construct a concrete instance of `ExtensionsInstanceConfigInput` via:

ExtensionsInstanceConfigArgs{...}

type ExtensionsInstanceConfigOutput

type ExtensionsInstanceConfigOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceConfigOutput) AllowedEventTypes

List of extension events selected by consumer that extension is allowed to emit, identified by their types.

func (ExtensionsInstanceConfigOutput) CreateTime

(Output) The time at which the Extension Instance Config was created.

func (ExtensionsInstanceConfigOutput) ElementType

func (ExtensionsInstanceConfigOutput) EventarcChannel

Fully qualified Eventarc resource name that consumers should use for event triggers.

func (ExtensionsInstanceConfigOutput) ExtensionRef

The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)

func (ExtensionsInstanceConfigOutput) ExtensionVersion

The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.

func (ExtensionsInstanceConfigOutput) Name

(Output) The unique identifier for this configuration.

func (ExtensionsInstanceConfigOutput) Params

Environment variables that may be configured for the Extension

func (ExtensionsInstanceConfigOutput) PopulatedPostinstallContent

func (o ExtensionsInstanceConfigOutput) PopulatedPostinstallContent() pulumi.StringPtrOutput

(Output) Postinstall instructions to be shown for this Extension, with template strings representing function and parameter values substituted with actual values. These strings include: ${param:FOO}, ${function:myFunc.url}, ${function:myFunc.name}, and ${function:myFunc.location}

***

func (ExtensionsInstanceConfigOutput) SystemParams

Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions.

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutput

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutput() ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutputWithContext

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigOutputWithContext(ctx context.Context) ExtensionsInstanceConfigOutput

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutput

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutputWithContext

func (o ExtensionsInstanceConfigOutput) ToExtensionsInstanceConfigPtrOutputWithContext(ctx context.Context) ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigOutput) ToOutput

type ExtensionsInstanceConfigPtrInput

type ExtensionsInstanceConfigPtrInput interface {
	pulumi.Input

	ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput
	ToExtensionsInstanceConfigPtrOutputWithContext(context.Context) ExtensionsInstanceConfigPtrOutput
}

ExtensionsInstanceConfigPtrInput is an input type that accepts ExtensionsInstanceConfigArgs, ExtensionsInstanceConfigPtr and ExtensionsInstanceConfigPtrOutput values. You can construct a concrete instance of `ExtensionsInstanceConfigPtrInput` via:

        ExtensionsInstanceConfigArgs{...}

or:

        nil

type ExtensionsInstanceConfigPtrOutput

type ExtensionsInstanceConfigPtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceConfigPtrOutput) AllowedEventTypes

List of extension events selected by consumer that extension is allowed to emit, identified by their types.

func (ExtensionsInstanceConfigPtrOutput) CreateTime

(Output) The time at which the Extension Instance Config was created.

func (ExtensionsInstanceConfigPtrOutput) Elem

func (ExtensionsInstanceConfigPtrOutput) ElementType

func (ExtensionsInstanceConfigPtrOutput) EventarcChannel

Fully qualified Eventarc resource name that consumers should use for event triggers.

func (ExtensionsInstanceConfigPtrOutput) ExtensionRef

The ref of the Extension from the Registry (e.g. publisher-id/awesome-extension)

func (ExtensionsInstanceConfigPtrOutput) ExtensionVersion

The version of the Extension from the Registry (e.g. 1.0.3). If left blank, latest is assumed.

func (ExtensionsInstanceConfigPtrOutput) Name

(Output) The unique identifier for this configuration.

func (ExtensionsInstanceConfigPtrOutput) Params

Environment variables that may be configured for the Extension

func (ExtensionsInstanceConfigPtrOutput) PopulatedPostinstallContent

func (o ExtensionsInstanceConfigPtrOutput) PopulatedPostinstallContent() pulumi.StringPtrOutput

(Output) Postinstall instructions to be shown for this Extension, with template strings representing function and parameter values substituted with actual values. These strings include: ${param:FOO}, ${function:myFunc.url}, ${function:myFunc.name}, and ${function:myFunc.location}

***

func (ExtensionsInstanceConfigPtrOutput) SystemParams

Params whose values are only available at deployment time. Unlike other params, these will not be set as environment variables on functions.

func (ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutput

func (o ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutput() ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutputWithContext

func (o ExtensionsInstanceConfigPtrOutput) ToExtensionsInstanceConfigPtrOutputWithContext(ctx context.Context) ExtensionsInstanceConfigPtrOutput

func (ExtensionsInstanceConfigPtrOutput) ToOutput

type ExtensionsInstanceErrorStatus

type ExtensionsInstanceErrorStatus 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.
	Details []map[string]interface{} `pulumi:"details"`
	// A developer-facing error message, which should be in English.
	Message *string `pulumi:"message"`
}

type ExtensionsInstanceErrorStatusArgs

type ExtensionsInstanceErrorStatusArgs struct {
	// The status code, which should be an enum value of google.rpc.Code.
	Code pulumi.IntPtrInput `pulumi:"code"`
	// A list of messages that carry the error details.
	Details pulumi.MapArrayInput `pulumi:"details"`
	// A developer-facing error message, which should be in English.
	Message pulumi.StringPtrInput `pulumi:"message"`
}

func (ExtensionsInstanceErrorStatusArgs) ElementType

func (ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutput

func (i ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutput() ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutputWithContext

func (i ExtensionsInstanceErrorStatusArgs) ToExtensionsInstanceErrorStatusOutputWithContext(ctx context.Context) ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusArgs) ToOutput

type ExtensionsInstanceErrorStatusArray

type ExtensionsInstanceErrorStatusArray []ExtensionsInstanceErrorStatusInput

func (ExtensionsInstanceErrorStatusArray) ElementType

func (ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutput

func (i ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutput() ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutputWithContext

func (i ExtensionsInstanceErrorStatusArray) ToExtensionsInstanceErrorStatusArrayOutputWithContext(ctx context.Context) ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArray) ToOutput

type ExtensionsInstanceErrorStatusArrayInput

type ExtensionsInstanceErrorStatusArrayInput interface {
	pulumi.Input

	ToExtensionsInstanceErrorStatusArrayOutput() ExtensionsInstanceErrorStatusArrayOutput
	ToExtensionsInstanceErrorStatusArrayOutputWithContext(context.Context) ExtensionsInstanceErrorStatusArrayOutput
}

ExtensionsInstanceErrorStatusArrayInput is an input type that accepts ExtensionsInstanceErrorStatusArray and ExtensionsInstanceErrorStatusArrayOutput values. You can construct a concrete instance of `ExtensionsInstanceErrorStatusArrayInput` via:

ExtensionsInstanceErrorStatusArray{ ExtensionsInstanceErrorStatusArgs{...} }

type ExtensionsInstanceErrorStatusArrayOutput

type ExtensionsInstanceErrorStatusArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceErrorStatusArrayOutput) ElementType

func (ExtensionsInstanceErrorStatusArrayOutput) Index

func (ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutput

func (o ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutput() ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutputWithContext

func (o ExtensionsInstanceErrorStatusArrayOutput) ToExtensionsInstanceErrorStatusArrayOutputWithContext(ctx context.Context) ExtensionsInstanceErrorStatusArrayOutput

func (ExtensionsInstanceErrorStatusArrayOutput) ToOutput

type ExtensionsInstanceErrorStatusInput

type ExtensionsInstanceErrorStatusInput interface {
	pulumi.Input

	ToExtensionsInstanceErrorStatusOutput() ExtensionsInstanceErrorStatusOutput
	ToExtensionsInstanceErrorStatusOutputWithContext(context.Context) ExtensionsInstanceErrorStatusOutput
}

ExtensionsInstanceErrorStatusInput is an input type that accepts ExtensionsInstanceErrorStatusArgs and ExtensionsInstanceErrorStatusOutput values. You can construct a concrete instance of `ExtensionsInstanceErrorStatusInput` via:

ExtensionsInstanceErrorStatusArgs{...}

type ExtensionsInstanceErrorStatusOutput

type ExtensionsInstanceErrorStatusOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceErrorStatusOutput) Code

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

func (ExtensionsInstanceErrorStatusOutput) Details

A list of messages that carry the error details.

func (ExtensionsInstanceErrorStatusOutput) ElementType

func (ExtensionsInstanceErrorStatusOutput) Message

A developer-facing error message, which should be in English.

func (ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutput

func (o ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutput() ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutputWithContext

func (o ExtensionsInstanceErrorStatusOutput) ToExtensionsInstanceErrorStatusOutputWithContext(ctx context.Context) ExtensionsInstanceErrorStatusOutput

func (ExtensionsInstanceErrorStatusOutput) ToOutput

type ExtensionsInstanceInput

type ExtensionsInstanceInput interface {
	pulumi.Input

	ToExtensionsInstanceOutput() ExtensionsInstanceOutput
	ToExtensionsInstanceOutputWithContext(ctx context.Context) ExtensionsInstanceOutput
}

type ExtensionsInstanceMap

type ExtensionsInstanceMap map[string]ExtensionsInstanceInput

func (ExtensionsInstanceMap) ElementType

func (ExtensionsInstanceMap) ElementType() reflect.Type

func (ExtensionsInstanceMap) ToExtensionsInstanceMapOutput

func (i ExtensionsInstanceMap) ToExtensionsInstanceMapOutput() ExtensionsInstanceMapOutput

func (ExtensionsInstanceMap) ToExtensionsInstanceMapOutputWithContext

func (i ExtensionsInstanceMap) ToExtensionsInstanceMapOutputWithContext(ctx context.Context) ExtensionsInstanceMapOutput

func (ExtensionsInstanceMap) ToOutput

type ExtensionsInstanceMapInput

type ExtensionsInstanceMapInput interface {
	pulumi.Input

	ToExtensionsInstanceMapOutput() ExtensionsInstanceMapOutput
	ToExtensionsInstanceMapOutputWithContext(context.Context) ExtensionsInstanceMapOutput
}

ExtensionsInstanceMapInput is an input type that accepts ExtensionsInstanceMap and ExtensionsInstanceMapOutput values. You can construct a concrete instance of `ExtensionsInstanceMapInput` via:

ExtensionsInstanceMap{ "key": ExtensionsInstanceArgs{...} }

type ExtensionsInstanceMapOutput

type ExtensionsInstanceMapOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceMapOutput) ElementType

func (ExtensionsInstanceMapOutput) MapIndex

func (ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutput

func (o ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutput() ExtensionsInstanceMapOutput

func (ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutputWithContext

func (o ExtensionsInstanceMapOutput) ToExtensionsInstanceMapOutputWithContext(ctx context.Context) ExtensionsInstanceMapOutput

func (ExtensionsInstanceMapOutput) ToOutput

type ExtensionsInstanceOutput

type ExtensionsInstanceOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceOutput) Config

The current Config of the Extension Instance. Structure is documented below.

func (ExtensionsInstanceOutput) CreateTime

(Output) The time at which the Extension Instance Config was created.

func (ExtensionsInstanceOutput) ElementType

func (ExtensionsInstanceOutput) ElementType() reflect.Type

func (ExtensionsInstanceOutput) ErrorStatuses

If this Instance has `state: ERRORED`, the error messages will be found here. Structure is documented below.

func (ExtensionsInstanceOutput) Etag

A weak etag that is computed by the server based on other configuration values and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

func (ExtensionsInstanceOutput) InstanceId

The ID to use for the Extension Instance, which will become the final component of the instance's name.

func (ExtensionsInstanceOutput) LastOperationName

func (o ExtensionsInstanceOutput) LastOperationName() pulumi.StringOutput

The name of the last operation that acted on this Extension Instance

func (ExtensionsInstanceOutput) LastOperationType

func (o ExtensionsInstanceOutput) LastOperationType() pulumi.StringOutput

The type of the last operation that acted on the Extension Instance.

func (ExtensionsInstanceOutput) Name

(Output) The unique identifier for this configuration.

func (ExtensionsInstanceOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (ExtensionsInstanceOutput) RuntimeDatas

Data set by the extension instance at runtime. Structure is documented below.

func (ExtensionsInstanceOutput) ServiceAccountEmail

func (o ExtensionsInstanceOutput) ServiceAccountEmail() pulumi.StringOutput

The email of the service account to be used at runtime by compute resources created for the operation of the Extension instance.

func (ExtensionsInstanceOutput) State

The processing state of the extension instance.

func (ExtensionsInstanceOutput) ToExtensionsInstanceOutput

func (o ExtensionsInstanceOutput) ToExtensionsInstanceOutput() ExtensionsInstanceOutput

func (ExtensionsInstanceOutput) ToExtensionsInstanceOutputWithContext

func (o ExtensionsInstanceOutput) ToExtensionsInstanceOutputWithContext(ctx context.Context) ExtensionsInstanceOutput

func (ExtensionsInstanceOutput) ToOutput

func (ExtensionsInstanceOutput) UpdateTime

The time at which the Extension Instance was updated.

type ExtensionsInstanceRuntimeData

type ExtensionsInstanceRuntimeData struct {
	// The fatal error state for the extension instance
	// Structure is documented below.
	FatalError *ExtensionsInstanceRuntimeDataFatalError `pulumi:"fatalError"`
	// The processing state for the extension instance
	// Structure is documented below.
	ProcessingState *ExtensionsInstanceRuntimeDataProcessingState `pulumi:"processingState"`
	// The time of the last state update.
	StateUpdateTime *string `pulumi:"stateUpdateTime"`
}

type ExtensionsInstanceRuntimeDataArgs

type ExtensionsInstanceRuntimeDataArgs struct {
	// The fatal error state for the extension instance
	// Structure is documented below.
	FatalError ExtensionsInstanceRuntimeDataFatalErrorPtrInput `pulumi:"fatalError"`
	// The processing state for the extension instance
	// Structure is documented below.
	ProcessingState ExtensionsInstanceRuntimeDataProcessingStatePtrInput `pulumi:"processingState"`
	// The time of the last state update.
	StateUpdateTime pulumi.StringPtrInput `pulumi:"stateUpdateTime"`
}

func (ExtensionsInstanceRuntimeDataArgs) ElementType

func (ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutput

func (i ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutput() ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutputWithContext

func (i ExtensionsInstanceRuntimeDataArgs) ToExtensionsInstanceRuntimeDataOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataArgs) ToOutput

type ExtensionsInstanceRuntimeDataArray

type ExtensionsInstanceRuntimeDataArray []ExtensionsInstanceRuntimeDataInput

func (ExtensionsInstanceRuntimeDataArray) ElementType

func (ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutput

func (i ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutput() ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutputWithContext

func (i ExtensionsInstanceRuntimeDataArray) ToExtensionsInstanceRuntimeDataArrayOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArray) ToOutput

type ExtensionsInstanceRuntimeDataArrayInput

type ExtensionsInstanceRuntimeDataArrayInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataArrayOutput() ExtensionsInstanceRuntimeDataArrayOutput
	ToExtensionsInstanceRuntimeDataArrayOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataArrayOutput
}

ExtensionsInstanceRuntimeDataArrayInput is an input type that accepts ExtensionsInstanceRuntimeDataArray and ExtensionsInstanceRuntimeDataArrayOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataArrayInput` via:

ExtensionsInstanceRuntimeDataArray{ ExtensionsInstanceRuntimeDataArgs{...} }

type ExtensionsInstanceRuntimeDataArrayOutput

type ExtensionsInstanceRuntimeDataArrayOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataArrayOutput) ElementType

func (ExtensionsInstanceRuntimeDataArrayOutput) Index

func (ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutput

func (o ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutput() ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutputWithContext

func (o ExtensionsInstanceRuntimeDataArrayOutput) ToExtensionsInstanceRuntimeDataArrayOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataArrayOutput

func (ExtensionsInstanceRuntimeDataArrayOutput) ToOutput

type ExtensionsInstanceRuntimeDataFatalError

type ExtensionsInstanceRuntimeDataFatalError struct {
	// The error message. This is set by the extension developer to give
	// more detail on why the extension is unusable and must be re-installed
	// or reconfigured.
	ErrorMessage *string `pulumi:"errorMessage"`
}

type ExtensionsInstanceRuntimeDataFatalErrorArgs

type ExtensionsInstanceRuntimeDataFatalErrorArgs struct {
	// The error message. This is set by the extension developer to give
	// more detail on why the extension is unusable and must be re-installed
	// or reconfigured.
	ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"`
}

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ElementType

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutput

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutput() ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext

func (i ExtensionsInstanceRuntimeDataFatalErrorArgs) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorArgs) ToOutput

type ExtensionsInstanceRuntimeDataFatalErrorInput

type ExtensionsInstanceRuntimeDataFatalErrorInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataFatalErrorOutput() ExtensionsInstanceRuntimeDataFatalErrorOutput
	ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataFatalErrorOutput
}

ExtensionsInstanceRuntimeDataFatalErrorInput is an input type that accepts ExtensionsInstanceRuntimeDataFatalErrorArgs and ExtensionsInstanceRuntimeDataFatalErrorOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataFatalErrorInput` via:

ExtensionsInstanceRuntimeDataFatalErrorArgs{...}

type ExtensionsInstanceRuntimeDataFatalErrorOutput

type ExtensionsInstanceRuntimeDataFatalErrorOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ElementType

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ErrorMessage

The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutput

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutput() ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext

func (o ExtensionsInstanceRuntimeDataFatalErrorOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorOutput) ToOutput

type ExtensionsInstanceRuntimeDataFatalErrorPtrInput

type ExtensionsInstanceRuntimeDataFatalErrorPtrInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput
	ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataFatalErrorPtrOutput
}

ExtensionsInstanceRuntimeDataFatalErrorPtrInput is an input type that accepts ExtensionsInstanceRuntimeDataFatalErrorArgs, ExtensionsInstanceRuntimeDataFatalErrorPtr and ExtensionsInstanceRuntimeDataFatalErrorPtrOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataFatalErrorPtrInput` via:

        ExtensionsInstanceRuntimeDataFatalErrorArgs{...}

or:

        nil

type ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

type ExtensionsInstanceRuntimeDataFatalErrorPtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) Elem

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ElementType

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ErrorMessage

The error message. This is set by the extension developer to give more detail on why the extension is unusable and must be re-installed or reconfigured.

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (o ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutput() ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext

func (o ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToExtensionsInstanceRuntimeDataFatalErrorPtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataFatalErrorPtrOutput

func (ExtensionsInstanceRuntimeDataFatalErrorPtrOutput) ToOutput

type ExtensionsInstanceRuntimeDataInput

type ExtensionsInstanceRuntimeDataInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataOutput() ExtensionsInstanceRuntimeDataOutput
	ToExtensionsInstanceRuntimeDataOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataOutput
}

ExtensionsInstanceRuntimeDataInput is an input type that accepts ExtensionsInstanceRuntimeDataArgs and ExtensionsInstanceRuntimeDataOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataInput` via:

ExtensionsInstanceRuntimeDataArgs{...}

type ExtensionsInstanceRuntimeDataOutput

type ExtensionsInstanceRuntimeDataOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataOutput) ElementType

func (ExtensionsInstanceRuntimeDataOutput) FatalError

The fatal error state for the extension instance Structure is documented below.

func (ExtensionsInstanceRuntimeDataOutput) ProcessingState

The processing state for the extension instance Structure is documented below.

func (ExtensionsInstanceRuntimeDataOutput) StateUpdateTime

The time of the last state update.

func (ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutput

func (o ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutput() ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutputWithContext

func (o ExtensionsInstanceRuntimeDataOutput) ToExtensionsInstanceRuntimeDataOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataOutput

func (ExtensionsInstanceRuntimeDataOutput) ToOutput

type ExtensionsInstanceRuntimeDataProcessingState

type ExtensionsInstanceRuntimeDataProcessingState struct {
	// Details about the processing. e.g. This could include the type of
	// processing in progress or it could list errors or failures.
	// This information will be shown in the console on the detail page
	// for the extension instance.
	DetailMessage *string `pulumi:"detailMessage"`
	// The processing state of the extension instance.
	State *string `pulumi:"state"`
}

type ExtensionsInstanceRuntimeDataProcessingStateArgs

type ExtensionsInstanceRuntimeDataProcessingStateArgs struct {
	// Details about the processing. e.g. This could include the type of
	// processing in progress or it could list errors or failures.
	// This information will be shown in the console on the detail page
	// for the extension instance.
	DetailMessage pulumi.StringPtrInput `pulumi:"detailMessage"`
	// The processing state of the extension instance.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ElementType

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutput

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutput() ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput() ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext

func (i ExtensionsInstanceRuntimeDataProcessingStateArgs) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateArgs) ToOutput

type ExtensionsInstanceRuntimeDataProcessingStateInput

type ExtensionsInstanceRuntimeDataProcessingStateInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataProcessingStateOutput() ExtensionsInstanceRuntimeDataProcessingStateOutput
	ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataProcessingStateOutput
}

ExtensionsInstanceRuntimeDataProcessingStateInput is an input type that accepts ExtensionsInstanceRuntimeDataProcessingStateArgs and ExtensionsInstanceRuntimeDataProcessingStateOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataProcessingStateInput` via:

ExtensionsInstanceRuntimeDataProcessingStateArgs{...}

type ExtensionsInstanceRuntimeDataProcessingStateOutput

type ExtensionsInstanceRuntimeDataProcessingStateOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) DetailMessage

Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ElementType

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) State

The processing state of the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutput

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutput() ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStateOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStateOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput() ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext

func (o ExtensionsInstanceRuntimeDataProcessingStateOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStateOutput) ToOutput

type ExtensionsInstanceRuntimeDataProcessingStatePtrInput

type ExtensionsInstanceRuntimeDataProcessingStatePtrInput interface {
	pulumi.Input

	ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput() ExtensionsInstanceRuntimeDataProcessingStatePtrOutput
	ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext(context.Context) ExtensionsInstanceRuntimeDataProcessingStatePtrOutput
}

ExtensionsInstanceRuntimeDataProcessingStatePtrInput is an input type that accepts ExtensionsInstanceRuntimeDataProcessingStateArgs, ExtensionsInstanceRuntimeDataProcessingStatePtr and ExtensionsInstanceRuntimeDataProcessingStatePtrOutput values. You can construct a concrete instance of `ExtensionsInstanceRuntimeDataProcessingStatePtrInput` via:

        ExtensionsInstanceRuntimeDataProcessingStateArgs{...}

or:

        nil

type ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

type ExtensionsInstanceRuntimeDataProcessingStatePtrOutput struct{ *pulumi.OutputState }

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) DetailMessage

Details about the processing. e.g. This could include the type of processing in progress or it could list errors or failures. This information will be shown in the console on the detail page for the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) Elem

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ElementType

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) State

The processing state of the extension instance.

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext

func (o ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToExtensionsInstanceRuntimeDataProcessingStatePtrOutputWithContext(ctx context.Context) ExtensionsInstanceRuntimeDataProcessingStatePtrOutput

func (ExtensionsInstanceRuntimeDataProcessingStatePtrOutput) ToOutput

type ExtensionsInstanceState

type ExtensionsInstanceState struct {
	// The current Config of the Extension Instance.
	// Structure is documented below.
	Config ExtensionsInstanceConfigPtrInput
	// (Output)
	// The time at which the Extension Instance Config was created.
	CreateTime pulumi.StringPtrInput
	// If this Instance has `state: ERRORED`, the error messages
	// will be found here.
	// Structure is documented below.
	ErrorStatuses ExtensionsInstanceErrorStatusArrayInput
	// A weak etag that is computed by the server based on other configuration
	// values and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// The ID to use for the Extension Instance, which will become the final
	// component of the instance's name.
	InstanceId pulumi.StringPtrInput
	// The name of the last operation that acted on this Extension
	// Instance
	LastOperationName pulumi.StringPtrInput
	// The type of the last operation that acted on the Extension Instance.
	LastOperationType pulumi.StringPtrInput
	// (Output)
	// The unique identifier for this configuration.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Data set by the extension instance at runtime.
	// Structure is documented below.
	RuntimeDatas ExtensionsInstanceRuntimeDataArrayInput
	// The email of the service account to be used at runtime by compute resources
	// created for the operation of the Extension instance.
	ServiceAccountEmail pulumi.StringPtrInput
	// The processing state of the extension instance.
	State pulumi.StringPtrInput
	// The time at which the Extension Instance was updated.
	UpdateTime pulumi.StringPtrInput
}

func (ExtensionsInstanceState) ElementType

func (ExtensionsInstanceState) ElementType() reflect.Type

type GetAndroidAppConfigArgs

type GetAndroidAppConfigArgs struct {
	AppId   string  `pulumi:"appId"`
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getAndroidAppConfig.

type GetAndroidAppConfigOutputArgs

type GetAndroidAppConfigOutputArgs struct {
	AppId   pulumi.StringInput    `pulumi:"appId"`
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getAndroidAppConfig.

func (GetAndroidAppConfigOutputArgs) ElementType

type GetAndroidAppConfigResult

type GetAndroidAppConfigResult struct {
	AppId              string  `pulumi:"appId"`
	ConfigFileContents string  `pulumi:"configFileContents"`
	ConfigFilename     string  `pulumi:"configFilename"`
	Id                 string  `pulumi:"id"`
	Project            *string `pulumi:"project"`
}

A collection of values returned by getAndroidAppConfig.

type GetAndroidAppConfigResultOutput

type GetAndroidAppConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAndroidAppConfig.

func (GetAndroidAppConfigResultOutput) AppId

func (GetAndroidAppConfigResultOutput) ConfigFileContents

func (o GetAndroidAppConfigResultOutput) ConfigFileContents() pulumi.StringOutput

func (GetAndroidAppConfigResultOutput) ConfigFilename

func (GetAndroidAppConfigResultOutput) ElementType

func (GetAndroidAppConfigResultOutput) Id

func (GetAndroidAppConfigResultOutput) Project

func (GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutput

func (o GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutput() GetAndroidAppConfigResultOutput

func (GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutputWithContext

func (o GetAndroidAppConfigResultOutput) ToGetAndroidAppConfigResultOutputWithContext(ctx context.Context) GetAndroidAppConfigResultOutput

func (GetAndroidAppConfigResultOutput) ToOutput

type GetAppleAppConfigArgs

type GetAppleAppConfigArgs struct {
	// The id of the Firebase iOS App.
	//
	// ***
	AppId string `pulumi:"appId"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getAppleAppConfig.

type GetAppleAppConfigOutputArgs

type GetAppleAppConfigOutputArgs struct {
	// The id of the Firebase iOS App.
	//
	// ***
	AppId pulumi.StringInput `pulumi:"appId"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getAppleAppConfig.

func (GetAppleAppConfigOutputArgs) ElementType

type GetAppleAppConfigResult

type GetAppleAppConfigResult struct {
	AppId string `pulumi:"appId"`
	// The content of the XML configuration file as a base64-encoded string.
	ConfigFileContents string `pulumi:"configFileContents"`
	// The filename that the configuration artifact for the IosApp is typically saved as.
	ConfigFilename string  `pulumi:"configFilename"`
	Id             string  `pulumi:"id"`
	Project        *string `pulumi:"project"`
}

A collection of values returned by getAppleAppConfig.

type GetAppleAppConfigResultOutput

type GetAppleAppConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppleAppConfig.

func (GetAppleAppConfigResultOutput) AppId

func (GetAppleAppConfigResultOutput) ConfigFileContents

func (o GetAppleAppConfigResultOutput) ConfigFileContents() pulumi.StringOutput

The content of the XML configuration file as a base64-encoded string.

func (GetAppleAppConfigResultOutput) ConfigFilename

The filename that the configuration artifact for the IosApp is typically saved as.

func (GetAppleAppConfigResultOutput) ElementType

func (GetAppleAppConfigResultOutput) Id

func (GetAppleAppConfigResultOutput) Project

func (GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutput

func (o GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutput() GetAppleAppConfigResultOutput

func (GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutputWithContext

func (o GetAppleAppConfigResultOutput) ToGetAppleAppConfigResultOutputWithContext(ctx context.Context) GetAppleAppConfigResultOutput

func (GetAppleAppConfigResultOutput) ToOutput

type GetWebAppConfigArgs

type GetWebAppConfigArgs struct {
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// the id of the firebase web app
	//
	// ***
	WebAppId string `pulumi:"webAppId"`
}

A collection of arguments for invoking getWebAppConfig.

type GetWebAppConfigOutputArgs

type GetWebAppConfigOutputArgs struct {
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// the id of the firebase web app
	//
	// ***
	WebAppId pulumi.StringInput `pulumi:"webAppId"`
}

A collection of arguments for invoking getWebAppConfig.

func (GetWebAppConfigOutputArgs) ElementType

func (GetWebAppConfigOutputArgs) ElementType() reflect.Type

type GetWebAppConfigResult

type GetWebAppConfigResult struct {
	// The API key associated with the web App.
	ApiKey string `pulumi:"apiKey"`
	// The domain Firebase Auth configures for OAuth redirects, in the format:
	// projectId.firebaseapp.com
	AuthDomain string `pulumi:"authDomain"`
	// The default Firebase Realtime Database URL.
	DatabaseUrl string `pulumi:"databaseUrl"`
	Id          string `pulumi:"id"`
	// The ID of the project's default GCP resource location. The location is one of the available GCP resource
	// locations.
	// This field is omitted if the default GCP resource location has not been finalized yet. To set your project's
	// default GCP resource location, call defaultLocation.finalize after you add Firebase services to your project.
	LocationId string `pulumi:"locationId"`
	// The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App.
	// Firebase SDKs use this ID to interact with Google Analytics APIs.
	// This field is only present if the App is linked to a web stream in a Google Analytics App + Web property.
	// Learn more about this ID and Google Analytics web streams in the Analytics documentation.
	// To generate a measurementId and link the Web App with a Google Analytics web stream,
	// call projects.addGoogleAnalytics.
	MeasurementId string `pulumi:"measurementId"`
	// The sender ID for use with Firebase Cloud Messaging.
	MessagingSenderId string  `pulumi:"messagingSenderId"`
	Project           *string `pulumi:"project"`
	// The default Cloud Storage for Firebase storage bucket name.
	StorageBucket string `pulumi:"storageBucket"`
	WebAppId      string `pulumi:"webAppId"`
}

A collection of values returned by getWebAppConfig.

func GetWebAppConfig

func GetWebAppConfig(ctx *pulumi.Context, args *GetWebAppConfigArgs, opts ...pulumi.InvokeOption) (*GetWebAppConfigResult, error)

A Google Cloud Firebase web application configuration

To get more information about WebApp, see:

* [API documentation](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.webApps) * How-to Guides

type GetWebAppConfigResultOutput

type GetWebAppConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWebAppConfig.

func (GetWebAppConfigResultOutput) ApiKey

The API key associated with the web App.

func (GetWebAppConfigResultOutput) AuthDomain

The domain Firebase Auth configures for OAuth redirects, in the format: projectId.firebaseapp.com

func (GetWebAppConfigResultOutput) DatabaseUrl

The default Firebase Realtime Database URL.

func (GetWebAppConfigResultOutput) ElementType

func (GetWebAppConfigResultOutput) Id

func (GetWebAppConfigResultOutput) LocationId

The ID of the project's default GCP resource location. The location is one of the available GCP resource locations. This field is omitted if the default GCP resource location has not been finalized yet. To set your project's default GCP resource location, call defaultLocation.finalize after you add Firebase services to your project.

func (GetWebAppConfigResultOutput) MeasurementId

The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App. Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if the App is linked to a web stream in a Google Analytics App + Web property. Learn more about this ID and Google Analytics web streams in the Analytics documentation. To generate a measurementId and link the Web App with a Google Analytics web stream, call projects.addGoogleAnalytics.

func (GetWebAppConfigResultOutput) MessagingSenderId

func (o GetWebAppConfigResultOutput) MessagingSenderId() pulumi.StringOutput

The sender ID for use with Firebase Cloud Messaging.

func (GetWebAppConfigResultOutput) Project

func (GetWebAppConfigResultOutput) StorageBucket

The default Cloud Storage for Firebase storage bucket name.

func (GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput

func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput() GetWebAppConfigResultOutput

func (GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext

func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext(ctx context.Context) GetWebAppConfigResultOutput

func (GetWebAppConfigResultOutput) ToOutput

func (GetWebAppConfigResultOutput) WebAppId

type HostingChannel

type HostingChannel struct {
	pulumi.CustomResourceState

	// Required. Immutable. A unique ID within the site that identifies the channel.
	//
	// ***
	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
	// clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// 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
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	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 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"`
	// Required. The ID of the site in which to create this channel.
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	TerraformLabels pulumi.StringMapOutput `pulumi:"terraformLabels"`
	// Input only. A time-to-live for this channel. Sets `expireTime` to the provided
	// duration past the time of the request. A duration in seconds with up to nine fractional
	// digits, terminated by 's'. Example: "86400s" (one day).
	Ttl pulumi.StringPtrOutput `pulumi:"ttl"`
}

## Example Usage ### Firebasehosting Channel Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-with-channel"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingChannel(ctx, "defaultHostingChannel", &firebase.HostingChannelArgs{
			SiteId:    defaultHostingSite.SiteId,
			ChannelId: pulumi.String("channel-basic"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Channel Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewHostingSite(ctx, "default", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-with-channel"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingChannel(ctx, "full", &firebase.HostingChannelArgs{
			SiteId:               _default.SiteId,
			ChannelId:            pulumi.String("channel-full"),
			Ttl:                  pulumi.String("86400s"),
			RetainedReleaseCount: pulumi.Int(20),
			Labels: pulumi.StringMap{
				"some-key": pulumi.String("some-value"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Channel can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/hostingChannel:HostingChannel default sites/{{site_id}}/channels/{{channel_id}}

```

```sh

$ pulumi import gcp:firebase/hostingChannel:HostingChannel default {{site_id}}/{{channel_id}}

```

func GetHostingChannel

func GetHostingChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingChannelState, opts ...pulumi.ResourceOption) (*HostingChannel, error)

GetHostingChannel gets an existing HostingChannel 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 NewHostingChannel

func NewHostingChannel(ctx *pulumi.Context,
	name string, args *HostingChannelArgs, opts ...pulumi.ResourceOption) (*HostingChannel, error)

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

func (*HostingChannel) ElementType

func (*HostingChannel) ElementType() reflect.Type

func (*HostingChannel) ToHostingChannelOutput

func (i *HostingChannel) ToHostingChannelOutput() HostingChannelOutput

func (*HostingChannel) ToHostingChannelOutputWithContext

func (i *HostingChannel) ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput

func (*HostingChannel) ToOutput

type HostingChannelArgs

type HostingChannelArgs 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
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// 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
	// Required. The ID of the site in which to create this channel.
	SiteId pulumi.StringInput
	// Input only. A time-to-live for this channel. Sets `expireTime` to the provided
	// duration past the time of the request. A duration in seconds with up to nine fractional
	// digits, terminated by 's'. Example: "86400s" (one day).
	Ttl pulumi.StringPtrInput
}

The set of arguments for constructing a HostingChannel resource.

func (HostingChannelArgs) ElementType

func (HostingChannelArgs) ElementType() reflect.Type

type HostingChannelArray

type HostingChannelArray []HostingChannelInput

func (HostingChannelArray) ElementType

func (HostingChannelArray) ElementType() reflect.Type

func (HostingChannelArray) ToHostingChannelArrayOutput

func (i HostingChannelArray) ToHostingChannelArrayOutput() HostingChannelArrayOutput

func (HostingChannelArray) ToHostingChannelArrayOutputWithContext

func (i HostingChannelArray) ToHostingChannelArrayOutputWithContext(ctx context.Context) HostingChannelArrayOutput

func (HostingChannelArray) ToOutput

type HostingChannelArrayInput

type HostingChannelArrayInput interface {
	pulumi.Input

	ToHostingChannelArrayOutput() HostingChannelArrayOutput
	ToHostingChannelArrayOutputWithContext(context.Context) HostingChannelArrayOutput
}

HostingChannelArrayInput is an input type that accepts HostingChannelArray and HostingChannelArrayOutput values. You can construct a concrete instance of `HostingChannelArrayInput` via:

HostingChannelArray{ HostingChannelArgs{...} }

type HostingChannelArrayOutput

type HostingChannelArrayOutput struct{ *pulumi.OutputState }

func (HostingChannelArrayOutput) ElementType

func (HostingChannelArrayOutput) ElementType() reflect.Type

func (HostingChannelArrayOutput) Index

func (HostingChannelArrayOutput) ToHostingChannelArrayOutput

func (o HostingChannelArrayOutput) ToHostingChannelArrayOutput() HostingChannelArrayOutput

func (HostingChannelArrayOutput) ToHostingChannelArrayOutputWithContext

func (o HostingChannelArrayOutput) ToHostingChannelArrayOutputWithContext(ctx context.Context) HostingChannelArrayOutput

func (HostingChannelArrayOutput) ToOutput

type HostingChannelInput

type HostingChannelInput interface {
	pulumi.Input

	ToHostingChannelOutput() HostingChannelOutput
	ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput
}

type HostingChannelMap

type HostingChannelMap map[string]HostingChannelInput

func (HostingChannelMap) ElementType

func (HostingChannelMap) ElementType() reflect.Type

func (HostingChannelMap) ToHostingChannelMapOutput

func (i HostingChannelMap) ToHostingChannelMapOutput() HostingChannelMapOutput

func (HostingChannelMap) ToHostingChannelMapOutputWithContext

func (i HostingChannelMap) ToHostingChannelMapOutputWithContext(ctx context.Context) HostingChannelMapOutput

func (HostingChannelMap) ToOutput

type HostingChannelMapInput

type HostingChannelMapInput interface {
	pulumi.Input

	ToHostingChannelMapOutput() HostingChannelMapOutput
	ToHostingChannelMapOutputWithContext(context.Context) HostingChannelMapOutput
}

HostingChannelMapInput is an input type that accepts HostingChannelMap and HostingChannelMapOutput values. You can construct a concrete instance of `HostingChannelMapInput` via:

HostingChannelMap{ "key": HostingChannelArgs{...} }

type HostingChannelMapOutput

type HostingChannelMapOutput struct{ *pulumi.OutputState }

func (HostingChannelMapOutput) ElementType

func (HostingChannelMapOutput) ElementType() reflect.Type

func (HostingChannelMapOutput) MapIndex

func (HostingChannelMapOutput) ToHostingChannelMapOutput

func (o HostingChannelMapOutput) ToHostingChannelMapOutput() HostingChannelMapOutput

func (HostingChannelMapOutput) ToHostingChannelMapOutputWithContext

func (o HostingChannelMapOutput) ToHostingChannelMapOutputWithContext(ctx context.Context) HostingChannelMapOutput

func (HostingChannelMapOutput) ToOutput

type HostingChannelOutput

type HostingChannelOutput struct{ *pulumi.OutputState }

func (HostingChannelOutput) ChannelId

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

***

func (HostingChannelOutput) EffectiveLabels

func (o HostingChannelOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.

func (HostingChannelOutput) ElementType

func (HostingChannelOutput) ElementType() reflect.Type

func (HostingChannelOutput) ExpireTime

func (o HostingChannelOutput) 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 (HostingChannelOutput) Labels

Text labels used for extra metadata and/or filtering **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (HostingChannelOutput) Name

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

func (HostingChannelOutput) RetainedReleaseCount

func (o HostingChannelOutput) 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 (HostingChannelOutput) SiteId

Required. The ID of the site in which to create this channel.

func (HostingChannelOutput) TerraformLabels

func (o HostingChannelOutput) TerraformLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (HostingChannelOutput) ToHostingChannelOutput

func (o HostingChannelOutput) ToHostingChannelOutput() HostingChannelOutput

func (HostingChannelOutput) ToHostingChannelOutputWithContext

func (o HostingChannelOutput) ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput

func (HostingChannelOutput) ToOutput

func (HostingChannelOutput) Ttl

Input only. A time-to-live for this channel. Sets `expireTime` to the provided duration past the time of the request. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "86400s" (one day).

type HostingChannelState

type HostingChannelState struct {
	// Required. Immutable. A unique ID within the site that identifies the channel.
	//
	// ***
	ChannelId pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other
	// clients and services.
	EffectiveLabels pulumi.StringMapInput
	// 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
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The fully-qualified resource name for the channel, in the format:
	// sites/SITE_ID/channels/CHANNEL_ID
	Name 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
	// Required. The ID of the site in which to create this channel.
	SiteId pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	TerraformLabels pulumi.StringMapInput
	// Input only. A time-to-live for this channel. Sets `expireTime` to the provided
	// duration past the time of the request. A duration in seconds with up to nine fractional
	// digits, terminated by 's'. Example: "86400s" (one day).
	Ttl pulumi.StringPtrInput
}

func (HostingChannelState) ElementType

func (HostingChannelState) ElementType() reflect.Type

type HostingRelease

type HostingRelease struct {
	pulumi.CustomResourceState

	// The ID of the channel to which the release belongs. If not provided, the release will
	// belong to the default "live" channel
	ChannelId pulumi.StringPtrOutput `pulumi:"channelId"`
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message pulumi.StringPtrOutput `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
	Name pulumi.StringOutput `pulumi:"name"`
	// The unique identifier for the Release.
	ReleaseId pulumi.StringOutput `pulumi:"releaseId"`
	// Required. The ID of the site to which the release belongs.
	//
	// ***
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// The type of the release; indicates what happened to the content of the site. There is no need to specify
	// `DEPLOY` or `ROLLBACK` type if a `versionName` is provided.
	// DEPLOY: A version was uploaded to Firebase Hosting and released. Output only.
	// ROLLBACK: The release points back to a previously deployed version. Output only.
	// SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed
	// Possible values are: `DEPLOY`, `ROLLBACK`, `SITE_DISABLE`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID.
	// The content of the version specified will be actively displayed on the appropriate URL.
	// The Version must belong to the same site as in the `siteId`.
	// This parameter must be empty if the `type` of the release is `SITE_DISABLE`.
	VersionName pulumi.StringPtrOutput `pulumi:"versionName"`
}

## Example Usage ### Firebasehosting Release In Site

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Redirects: firebase.HostingVersionConfigRedirectArray{
					&firebase.HostingVersionConfigRedirectArgs{
						Glob:       pulumi.String("/google/**"),
						StatusCode: pulumi.Int(302),
						Location:   pulumi.String("https://www.google.com"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Test release"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Release In Channel

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-with-channel"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Redirects: firebase.HostingVersionConfigRedirectArray{
					&firebase.HostingVersionConfigRedirectArgs{
						Glob:       pulumi.String("/google/**"),
						StatusCode: pulumi.Int(302),
						Location:   pulumi.String("https://www.google.com"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingChannel, err := firebase.NewHostingChannel(ctx, "defaultHostingChannel", &firebase.HostingChannelArgs{
			SiteId:    defaultHostingSite.SiteId,
			ChannelId: pulumi.String("channel-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			ChannelId:   defaultHostingChannel.ChannelId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Test release in channel"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Release Disable

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:  defaultHostingSite.SiteId,
			Type:    pulumi.String("SITE_DISABLE"),
			Message: pulumi.String("Take down site"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Release can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/hostingRelease:HostingRelease default sites/{{site_id}}/channels/{{channel_id}}/releases/{{release_id}}

```

```sh

$ pulumi import gcp:firebase/hostingRelease:HostingRelease default sites/{{site_id}}/releases/{{release_id}}

```

```sh

$ pulumi import gcp:firebase/hostingRelease:HostingRelease default {{site_id}}/{{channel_id}}/{{release_id}}

```

```sh

$ pulumi import gcp:firebase/hostingRelease:HostingRelease default {{site_id}}/{{release_id}}

```

func GetHostingRelease

func GetHostingRelease(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingReleaseState, opts ...pulumi.ResourceOption) (*HostingRelease, error)

GetHostingRelease gets an existing HostingRelease 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 NewHostingRelease

func NewHostingRelease(ctx *pulumi.Context,
	name string, args *HostingReleaseArgs, opts ...pulumi.ResourceOption) (*HostingRelease, error)

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

func (*HostingRelease) ElementType

func (*HostingRelease) ElementType() reflect.Type

func (*HostingRelease) ToHostingReleaseOutput

func (i *HostingRelease) ToHostingReleaseOutput() HostingReleaseOutput

func (*HostingRelease) ToHostingReleaseOutputWithContext

func (i *HostingRelease) ToHostingReleaseOutputWithContext(ctx context.Context) HostingReleaseOutput

func (*HostingRelease) ToOutput

type HostingReleaseArgs

type HostingReleaseArgs struct {
	// The ID of the channel to which the release belongs. If not provided, the release will
	// belong to the default "live" channel
	ChannelId pulumi.StringPtrInput
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message pulumi.StringPtrInput
	// Required. The ID of the site to which the release belongs.
	//
	// ***
	SiteId pulumi.StringInput
	// The type of the release; indicates what happened to the content of the site. There is no need to specify
	// `DEPLOY` or `ROLLBACK` type if a `versionName` is provided.
	// DEPLOY: A version was uploaded to Firebase Hosting and released. Output only.
	// ROLLBACK: The release points back to a previously deployed version. Output only.
	// SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed
	// Possible values are: `DEPLOY`, `ROLLBACK`, `SITE_DISABLE`.
	Type pulumi.StringPtrInput
	// The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID.
	// The content of the version specified will be actively displayed on the appropriate URL.
	// The Version must belong to the same site as in the `siteId`.
	// This parameter must be empty if the `type` of the release is `SITE_DISABLE`.
	VersionName pulumi.StringPtrInput
}

The set of arguments for constructing a HostingRelease resource.

func (HostingReleaseArgs) ElementType

func (HostingReleaseArgs) ElementType() reflect.Type

type HostingReleaseArray

type HostingReleaseArray []HostingReleaseInput

func (HostingReleaseArray) ElementType

func (HostingReleaseArray) ElementType() reflect.Type

func (HostingReleaseArray) ToHostingReleaseArrayOutput

func (i HostingReleaseArray) ToHostingReleaseArrayOutput() HostingReleaseArrayOutput

func (HostingReleaseArray) ToHostingReleaseArrayOutputWithContext

func (i HostingReleaseArray) ToHostingReleaseArrayOutputWithContext(ctx context.Context) HostingReleaseArrayOutput

func (HostingReleaseArray) ToOutput

type HostingReleaseArrayInput

type HostingReleaseArrayInput interface {
	pulumi.Input

	ToHostingReleaseArrayOutput() HostingReleaseArrayOutput
	ToHostingReleaseArrayOutputWithContext(context.Context) HostingReleaseArrayOutput
}

HostingReleaseArrayInput is an input type that accepts HostingReleaseArray and HostingReleaseArrayOutput values. You can construct a concrete instance of `HostingReleaseArrayInput` via:

HostingReleaseArray{ HostingReleaseArgs{...} }

type HostingReleaseArrayOutput

type HostingReleaseArrayOutput struct{ *pulumi.OutputState }

func (HostingReleaseArrayOutput) ElementType

func (HostingReleaseArrayOutput) ElementType() reflect.Type

func (HostingReleaseArrayOutput) Index

func (HostingReleaseArrayOutput) ToHostingReleaseArrayOutput

func (o HostingReleaseArrayOutput) ToHostingReleaseArrayOutput() HostingReleaseArrayOutput

func (HostingReleaseArrayOutput) ToHostingReleaseArrayOutputWithContext

func (o HostingReleaseArrayOutput) ToHostingReleaseArrayOutputWithContext(ctx context.Context) HostingReleaseArrayOutput

func (HostingReleaseArrayOutput) ToOutput

type HostingReleaseInput

type HostingReleaseInput interface {
	pulumi.Input

	ToHostingReleaseOutput() HostingReleaseOutput
	ToHostingReleaseOutputWithContext(ctx context.Context) HostingReleaseOutput
}

type HostingReleaseMap

type HostingReleaseMap map[string]HostingReleaseInput

func (HostingReleaseMap) ElementType

func (HostingReleaseMap) ElementType() reflect.Type

func (HostingReleaseMap) ToHostingReleaseMapOutput

func (i HostingReleaseMap) ToHostingReleaseMapOutput() HostingReleaseMapOutput

func (HostingReleaseMap) ToHostingReleaseMapOutputWithContext

func (i HostingReleaseMap) ToHostingReleaseMapOutputWithContext(ctx context.Context) HostingReleaseMapOutput

func (HostingReleaseMap) ToOutput

type HostingReleaseMapInput

type HostingReleaseMapInput interface {
	pulumi.Input

	ToHostingReleaseMapOutput() HostingReleaseMapOutput
	ToHostingReleaseMapOutputWithContext(context.Context) HostingReleaseMapOutput
}

HostingReleaseMapInput is an input type that accepts HostingReleaseMap and HostingReleaseMapOutput values. You can construct a concrete instance of `HostingReleaseMapInput` via:

HostingReleaseMap{ "key": HostingReleaseArgs{...} }

type HostingReleaseMapOutput

type HostingReleaseMapOutput struct{ *pulumi.OutputState }

func (HostingReleaseMapOutput) ElementType

func (HostingReleaseMapOutput) ElementType() reflect.Type

func (HostingReleaseMapOutput) MapIndex

func (HostingReleaseMapOutput) ToHostingReleaseMapOutput

func (o HostingReleaseMapOutput) ToHostingReleaseMapOutput() HostingReleaseMapOutput

func (HostingReleaseMapOutput) ToHostingReleaseMapOutputWithContext

func (o HostingReleaseMapOutput) ToHostingReleaseMapOutputWithContext(ctx context.Context) HostingReleaseMapOutput

func (HostingReleaseMapOutput) ToOutput

type HostingReleaseOutput

type HostingReleaseOutput struct{ *pulumi.OutputState }

func (HostingReleaseOutput) ChannelId

The ID of the channel to which the release belongs. If not provided, the release will belong to the default "live" channel

func (HostingReleaseOutput) ElementType

func (HostingReleaseOutput) ElementType() reflect.Type

func (HostingReleaseOutput) Message

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

func (HostingReleaseOutput) 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

func (HostingReleaseOutput) ReleaseId

The unique identifier for the Release.

func (HostingReleaseOutput) SiteId

Required. The ID of the site to which the release belongs.

***

func (HostingReleaseOutput) ToHostingReleaseOutput

func (o HostingReleaseOutput) ToHostingReleaseOutput() HostingReleaseOutput

func (HostingReleaseOutput) ToHostingReleaseOutputWithContext

func (o HostingReleaseOutput) ToHostingReleaseOutputWithContext(ctx context.Context) HostingReleaseOutput

func (HostingReleaseOutput) ToOutput

func (HostingReleaseOutput) Type

The type of the release; indicates what happened to the content of the site. There is no need to specify `DEPLOY` or `ROLLBACK` type if a `versionName` is provided. DEPLOY: A version was uploaded to Firebase Hosting and released. Output only. ROLLBACK: The release points back to a previously deployed version. Output only. SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed Possible values are: `DEPLOY`, `ROLLBACK`, `SITE_DISABLE`.

func (HostingReleaseOutput) VersionName

The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID. The content of the version specified will be actively displayed on the appropriate URL. The Version must belong to the same site as in the `siteId`. This parameter must be empty if the `type` of the release is `SITE_DISABLE`.

type HostingReleaseState

type HostingReleaseState struct {
	// The ID of the channel to which the release belongs. If not provided, the release will
	// belong to the default "live" channel
	ChannelId pulumi.StringPtrInput
	// The deploy description when the release was created. The value can be up to 512 characters.
	Message pulumi.StringPtrInput
	// 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
	Name pulumi.StringPtrInput
	// The unique identifier for the Release.
	ReleaseId pulumi.StringPtrInput
	// Required. The ID of the site to which the release belongs.
	//
	// ***
	SiteId pulumi.StringPtrInput
	// The type of the release; indicates what happened to the content of the site. There is no need to specify
	// `DEPLOY` or `ROLLBACK` type if a `versionName` is provided.
	// DEPLOY: A version was uploaded to Firebase Hosting and released. Output only.
	// ROLLBACK: The release points back to a previously deployed version. Output only.
	// SITE_DISABLE: The release prevents the site from serving content. Firebase Hosting acts as if the site never existed
	// Possible values are: `DEPLOY`, `ROLLBACK`, `SITE_DISABLE`.
	Type pulumi.StringPtrInput
	// The unique identifier for a version, in the format: sites/SITE_ID/versions/VERSION_ID.
	// The content of the version specified will be actively displayed on the appropriate URL.
	// The Version must belong to the same site as in the `siteId`.
	// This parameter must be empty if the `type` of the release is `SITE_DISABLE`.
	VersionName pulumi.StringPtrInput
}

func (HostingReleaseState) ElementType

func (HostingReleaseState) ElementType() reflect.Type

type HostingSite

type HostingSite 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.StringPtrOutput `pulumi:"appId"`
	// The default URL for the site in the form of https://{name}.web.app
	DefaultUrl pulumi.StringOutput `pulumi:"defaultUrl"`
	// Output only. 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"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	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.StringPtrOutput `pulumi:"siteId"`
}

## Example Usage ### Firebasehosting Site Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewHostingSite(ctx, "default", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-no-app"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Site Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewWebApp(ctx, "default", &firebase.WebAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Test web app for Firebase Hosting"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingSite(ctx, "full", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-with-app"),
			AppId:   _default.AppId,
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Site can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/hostingSite:HostingSite default projects/{{project}}/sites/{{site_id}}

```

```sh

$ pulumi import gcp:firebase/hostingSite:HostingSite default {{project}}/{{site_id}}

```

```sh

$ pulumi import gcp:firebase/hostingSite:HostingSite default sites/{{site_id}}

```

```sh

$ pulumi import gcp:firebase/hostingSite:HostingSite default {{site_id}}

```

func GetHostingSite

func GetHostingSite(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingSiteState, opts ...pulumi.ResourceOption) (*HostingSite, error)

GetHostingSite gets an existing HostingSite 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 NewHostingSite

func NewHostingSite(ctx *pulumi.Context,
	name string, args *HostingSiteArgs, opts ...pulumi.ResourceOption) (*HostingSite, error)

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

func (*HostingSite) ElementType

func (*HostingSite) ElementType() reflect.Type

func (*HostingSite) ToHostingSiteOutput

func (i *HostingSite) ToHostingSiteOutput() HostingSiteOutput

func (*HostingSite) ToHostingSiteOutputWithContext

func (i *HostingSite) ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput

func (*HostingSite) ToOutput

func (i *HostingSite) ToOutput(ctx context.Context) pulumix.Output[*HostingSite]

type HostingSiteArgs

type HostingSiteArgs 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
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	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.StringPtrInput
}

The set of arguments for constructing a HostingSite resource.

func (HostingSiteArgs) ElementType

func (HostingSiteArgs) ElementType() reflect.Type

type HostingSiteArray

type HostingSiteArray []HostingSiteInput

func (HostingSiteArray) ElementType

func (HostingSiteArray) ElementType() reflect.Type

func (HostingSiteArray) ToHostingSiteArrayOutput

func (i HostingSiteArray) ToHostingSiteArrayOutput() HostingSiteArrayOutput

func (HostingSiteArray) ToHostingSiteArrayOutputWithContext

func (i HostingSiteArray) ToHostingSiteArrayOutputWithContext(ctx context.Context) HostingSiteArrayOutput

func (HostingSiteArray) ToOutput

type HostingSiteArrayInput

type HostingSiteArrayInput interface {
	pulumi.Input

	ToHostingSiteArrayOutput() HostingSiteArrayOutput
	ToHostingSiteArrayOutputWithContext(context.Context) HostingSiteArrayOutput
}

HostingSiteArrayInput is an input type that accepts HostingSiteArray and HostingSiteArrayOutput values. You can construct a concrete instance of `HostingSiteArrayInput` via:

HostingSiteArray{ HostingSiteArgs{...} }

type HostingSiteArrayOutput

type HostingSiteArrayOutput struct{ *pulumi.OutputState }

func (HostingSiteArrayOutput) ElementType

func (HostingSiteArrayOutput) ElementType() reflect.Type

func (HostingSiteArrayOutput) Index

func (HostingSiteArrayOutput) ToHostingSiteArrayOutput

func (o HostingSiteArrayOutput) ToHostingSiteArrayOutput() HostingSiteArrayOutput

func (HostingSiteArrayOutput) ToHostingSiteArrayOutputWithContext

func (o HostingSiteArrayOutput) ToHostingSiteArrayOutputWithContext(ctx context.Context) HostingSiteArrayOutput

func (HostingSiteArrayOutput) ToOutput

type HostingSiteInput

type HostingSiteInput interface {
	pulumi.Input

	ToHostingSiteOutput() HostingSiteOutput
	ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput
}

type HostingSiteMap

type HostingSiteMap map[string]HostingSiteInput

func (HostingSiteMap) ElementType

func (HostingSiteMap) ElementType() reflect.Type

func (HostingSiteMap) ToHostingSiteMapOutput

func (i HostingSiteMap) ToHostingSiteMapOutput() HostingSiteMapOutput

func (HostingSiteMap) ToHostingSiteMapOutputWithContext

func (i HostingSiteMap) ToHostingSiteMapOutputWithContext(ctx context.Context) HostingSiteMapOutput

func (HostingSiteMap) ToOutput

type HostingSiteMapInput

type HostingSiteMapInput interface {
	pulumi.Input

	ToHostingSiteMapOutput() HostingSiteMapOutput
	ToHostingSiteMapOutputWithContext(context.Context) HostingSiteMapOutput
}

HostingSiteMapInput is an input type that accepts HostingSiteMap and HostingSiteMapOutput values. You can construct a concrete instance of `HostingSiteMapInput` via:

HostingSiteMap{ "key": HostingSiteArgs{...} }

type HostingSiteMapOutput

type HostingSiteMapOutput struct{ *pulumi.OutputState }

func (HostingSiteMapOutput) ElementType

func (HostingSiteMapOutput) ElementType() reflect.Type

func (HostingSiteMapOutput) MapIndex

func (HostingSiteMapOutput) ToHostingSiteMapOutput

func (o HostingSiteMapOutput) ToHostingSiteMapOutput() HostingSiteMapOutput

func (HostingSiteMapOutput) ToHostingSiteMapOutputWithContext

func (o HostingSiteMapOutput) ToHostingSiteMapOutputWithContext(ctx context.Context) HostingSiteMapOutput

func (HostingSiteMapOutput) ToOutput

type HostingSiteOutput

type HostingSiteOutput struct{ *pulumi.OutputState }

func (HostingSiteOutput) AppId

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 (HostingSiteOutput) DefaultUrl

func (o HostingSiteOutput) DefaultUrl() pulumi.StringOutput

The default URL for the site in the form of https://{name}.web.app

func (HostingSiteOutput) ElementType

func (HostingSiteOutput) ElementType() reflect.Type

func (HostingSiteOutput) Name

Output only. 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 (HostingSiteOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (HostingSiteOutput) SiteId

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 (HostingSiteOutput) ToHostingSiteOutput

func (o HostingSiteOutput) ToHostingSiteOutput() HostingSiteOutput

func (HostingSiteOutput) ToHostingSiteOutputWithContext

func (o HostingSiteOutput) ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput

func (HostingSiteOutput) ToOutput

type HostingSiteState

type HostingSiteState 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
	// The default URL for the site in the form of https://{name}.web.app
	DefaultUrl pulumi.StringPtrInput
	// Output only. 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.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	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.StringPtrInput
}

func (HostingSiteState) ElementType

func (HostingSiteState) ElementType() reflect.Type

type HostingVersion

type HostingVersion struct {
	pulumi.CustomResourceState

	// The configuration for the behavior of the site. This configuration exists in the `firebase.json` file.
	// Structure is documented below.
	Config HostingVersionConfigPtrOutput `pulumi:"config"`
	// The fully-qualified resource name for the version, in the format:
	// sites/SITE_ID/versions/VERSION_ID
	Name pulumi.StringOutput `pulumi:"name"`
	// Required. The ID of the site in which to create this Version.
	//
	// ***
	SiteId pulumi.StringOutput `pulumi:"siteId"`
	// The ID for the version as in sites/SITE_ID/versions/VERSION_ID
	VersionId pulumi.StringOutput `pulumi:"versionId"`
}

## Example Usage ### Firebasehosting Version Redirect

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Redirects: firebase.HostingVersionConfigRedirectArray{
					&firebase.HostingVersionConfigRedirectArgs{
						Glob:       pulumi.String("/google/**"),
						StatusCode: pulumi.Int(302),
						Location:   pulumi.String("https://www.google.com"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Redirect to Google"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Version Cloud Run

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudrunv2"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultService, err := cloudrunv2.NewService(ctx, "defaultService", &cloudrunv2.ServiceArgs{
			Project:  pulumi.String("my-project-name"),
			Location: pulumi.String("us-central1"),
			Ingress:  pulumi.String("INGRESS_TRAFFIC_ALL"),
			Template: &cloudrunv2.ServiceTemplateArgs{
				Containers: cloudrunv2.ServiceTemplateContainerArray{
					&cloudrunv2.ServiceTemplateContainerArgs{
						Image: pulumi.String("us-docker.pkg.dev/cloudrun/container/hello"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Rewrites: firebase.HostingVersionConfigRewriteArray{
					&firebase.HostingVersionConfigRewriteArgs{
						Glob: pulumi.String("/hello/**"),
						Run: &firebase.HostingVersionConfigRewriteRunArgs{
							ServiceId: defaultService.Name,
							Region:    defaultService.Location,
						},
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Cloud Run Integration"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebasehosting Version Cloud Functions

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudfunctions"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultHostingSite, err := firebase.NewHostingSite(ctx, "defaultHostingSite", &firebase.HostingSiteArgs{
			Project: pulumi.String("my-project-name"),
			SiteId:  pulumi.String("site-id"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Project:                  pulumi.String("my-project-name"),
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Bucket: bucket.Name,
			Source: pulumi.NewFileAsset("function-source.zip"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		function, err := cloudfunctions.NewFunction(ctx, "function", &cloudfunctions.FunctionArgs{
			Project:             pulumi.String("my-project-name"),
			Description:         pulumi.String("A Cloud Function connected to Firebase Hosing"),
			Runtime:             pulumi.String("nodejs16"),
			AvailableMemoryMb:   pulumi.Int(128),
			SourceArchiveBucket: bucket.Name,
			SourceArchiveObject: object.Name,
			TriggerHttp:         pulumi.Bool(true),
			EntryPoint:          pulumi.String("helloHttp"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		defaultHostingVersion, err := firebase.NewHostingVersion(ctx, "defaultHostingVersion", &firebase.HostingVersionArgs{
			SiteId: defaultHostingSite.SiteId,
			Config: &firebase.HostingVersionConfigArgs{
				Rewrites: firebase.HostingVersionConfigRewriteArray{
					&firebase.HostingVersionConfigRewriteArgs{
						Glob:     pulumi.String("/hello/**"),
						Function: function.Name,
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewHostingRelease(ctx, "defaultHostingRelease", &firebase.HostingReleaseArgs{
			SiteId:      defaultHostingSite.SiteId,
			VersionName: defaultHostingVersion.Name,
			Message:     pulumi.String("Cloud Functions Integration"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Version can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/hostingVersion:HostingVersion default sites/{{site_id}}/versions/{{version_id}}

```

```sh

$ pulumi import gcp:firebase/hostingVersion:HostingVersion default {{site_id}}/{{version_id}}

```

func GetHostingVersion

func GetHostingVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostingVersionState, opts ...pulumi.ResourceOption) (*HostingVersion, error)

GetHostingVersion gets an existing HostingVersion 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 NewHostingVersion

func NewHostingVersion(ctx *pulumi.Context,
	name string, args *HostingVersionArgs, opts ...pulumi.ResourceOption) (*HostingVersion, error)

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

func (*HostingVersion) ElementType

func (*HostingVersion) ElementType() reflect.Type

func (*HostingVersion) ToHostingVersionOutput

func (i *HostingVersion) ToHostingVersionOutput() HostingVersionOutput

func (*HostingVersion) ToHostingVersionOutputWithContext

func (i *HostingVersion) ToHostingVersionOutputWithContext(ctx context.Context) HostingVersionOutput

func (*HostingVersion) ToOutput

type HostingVersionArgs

type HostingVersionArgs struct {
	// The configuration for the behavior of the site. This configuration exists in the `firebase.json` file.
	// Structure is documented below.
	Config HostingVersionConfigPtrInput
	// Required. The ID of the site in which to create this Version.
	//
	// ***
	SiteId pulumi.StringInput
}

The set of arguments for constructing a HostingVersion resource.

func (HostingVersionArgs) ElementType

func (HostingVersionArgs) ElementType() reflect.Type

type HostingVersionArray

type HostingVersionArray []HostingVersionInput

func (HostingVersionArray) ElementType

func (HostingVersionArray) ElementType() reflect.Type

func (HostingVersionArray) ToHostingVersionArrayOutput

func (i HostingVersionArray) ToHostingVersionArrayOutput() HostingVersionArrayOutput

func (HostingVersionArray) ToHostingVersionArrayOutputWithContext

func (i HostingVersionArray) ToHostingVersionArrayOutputWithContext(ctx context.Context) HostingVersionArrayOutput

func (HostingVersionArray) ToOutput

type HostingVersionArrayInput

type HostingVersionArrayInput interface {
	pulumi.Input

	ToHostingVersionArrayOutput() HostingVersionArrayOutput
	ToHostingVersionArrayOutputWithContext(context.Context) HostingVersionArrayOutput
}

HostingVersionArrayInput is an input type that accepts HostingVersionArray and HostingVersionArrayOutput values. You can construct a concrete instance of `HostingVersionArrayInput` via:

HostingVersionArray{ HostingVersionArgs{...} }

type HostingVersionArrayOutput

type HostingVersionArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionArrayOutput) ElementType

func (HostingVersionArrayOutput) ElementType() reflect.Type

func (HostingVersionArrayOutput) Index

func (HostingVersionArrayOutput) ToHostingVersionArrayOutput

func (o HostingVersionArrayOutput) ToHostingVersionArrayOutput() HostingVersionArrayOutput

func (HostingVersionArrayOutput) ToHostingVersionArrayOutputWithContext

func (o HostingVersionArrayOutput) ToHostingVersionArrayOutputWithContext(ctx context.Context) HostingVersionArrayOutput

func (HostingVersionArrayOutput) ToOutput

type HostingVersionConfig

type HostingVersionConfig struct {
	// 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.
	// Structure is documented below.
	Redirects []HostingVersionConfigRedirect `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.
	// Structure is documented below.
	Rewrites []HostingVersionConfigRewrite `pulumi:"rewrites"`
}

type HostingVersionConfigArgs

type HostingVersionConfigArgs struct {
	// 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.
	// Structure is documented below.
	Redirects HostingVersionConfigRedirectArrayInput `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.
	// Structure is documented below.
	Rewrites HostingVersionConfigRewriteArrayInput `pulumi:"rewrites"`
}

func (HostingVersionConfigArgs) ElementType

func (HostingVersionConfigArgs) ElementType() reflect.Type

func (HostingVersionConfigArgs) ToHostingVersionConfigOutput

func (i HostingVersionConfigArgs) ToHostingVersionConfigOutput() HostingVersionConfigOutput

func (HostingVersionConfigArgs) ToHostingVersionConfigOutputWithContext

func (i HostingVersionConfigArgs) ToHostingVersionConfigOutputWithContext(ctx context.Context) HostingVersionConfigOutput

func (HostingVersionConfigArgs) ToHostingVersionConfigPtrOutput

func (i HostingVersionConfigArgs) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigArgs) ToHostingVersionConfigPtrOutputWithContext

func (i HostingVersionConfigArgs) ToHostingVersionConfigPtrOutputWithContext(ctx context.Context) HostingVersionConfigPtrOutput

func (HostingVersionConfigArgs) ToOutput

type HostingVersionConfigInput

type HostingVersionConfigInput interface {
	pulumi.Input

	ToHostingVersionConfigOutput() HostingVersionConfigOutput
	ToHostingVersionConfigOutputWithContext(context.Context) HostingVersionConfigOutput
}

HostingVersionConfigInput is an input type that accepts HostingVersionConfigArgs and HostingVersionConfigOutput values. You can construct a concrete instance of `HostingVersionConfigInput` via:

HostingVersionConfigArgs{...}

type HostingVersionConfigOutput

type HostingVersionConfigOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigOutput) ElementType

func (HostingVersionConfigOutput) ElementType() reflect.Type

func (HostingVersionConfigOutput) 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. Structure is documented below.

func (HostingVersionConfigOutput) 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. Structure is documented below.

func (HostingVersionConfigOutput) ToHostingVersionConfigOutput

func (o HostingVersionConfigOutput) ToHostingVersionConfigOutput() HostingVersionConfigOutput

func (HostingVersionConfigOutput) ToHostingVersionConfigOutputWithContext

func (o HostingVersionConfigOutput) ToHostingVersionConfigOutputWithContext(ctx context.Context) HostingVersionConfigOutput

func (HostingVersionConfigOutput) ToHostingVersionConfigPtrOutput

func (o HostingVersionConfigOutput) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigOutput) ToHostingVersionConfigPtrOutputWithContext

func (o HostingVersionConfigOutput) ToHostingVersionConfigPtrOutputWithContext(ctx context.Context) HostingVersionConfigPtrOutput

func (HostingVersionConfigOutput) ToOutput

type HostingVersionConfigPtrInput

type HostingVersionConfigPtrInput interface {
	pulumi.Input

	ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput
	ToHostingVersionConfigPtrOutputWithContext(context.Context) HostingVersionConfigPtrOutput
}

HostingVersionConfigPtrInput is an input type that accepts HostingVersionConfigArgs, HostingVersionConfigPtr and HostingVersionConfigPtrOutput values. You can construct a concrete instance of `HostingVersionConfigPtrInput` via:

        HostingVersionConfigArgs{...}

or:

        nil

type HostingVersionConfigPtrOutput

type HostingVersionConfigPtrOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigPtrOutput) Elem

func (HostingVersionConfigPtrOutput) ElementType

func (HostingVersionConfigPtrOutput) 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. Structure is documented below.

func (HostingVersionConfigPtrOutput) 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. Structure is documented below.

func (HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutput

func (o HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutput() HostingVersionConfigPtrOutput

func (HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutputWithContext

func (o HostingVersionConfigPtrOutput) ToHostingVersionConfigPtrOutputWithContext(ctx context.Context) HostingVersionConfigPtrOutput

func (HostingVersionConfigPtrOutput) ToOutput

type HostingVersionConfigRedirect

type HostingVersionConfigRedirect struct {
	// The user-supplied glob 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:
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		return nil
	// 	})
	// }
	// “`
	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"`
}

type HostingVersionConfigRedirectArgs

type HostingVersionConfigRedirectArgs struct {
	// The user-supplied glob 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:
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		return nil
	// 	})
	// }
	// “`
	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"`
}

func (HostingVersionConfigRedirectArgs) ElementType

func (HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutput

func (i HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutput() HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutputWithContext

func (i HostingVersionConfigRedirectArgs) ToHostingVersionConfigRedirectOutputWithContext(ctx context.Context) HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectArgs) ToOutput

type HostingVersionConfigRedirectArray

type HostingVersionConfigRedirectArray []HostingVersionConfigRedirectInput

func (HostingVersionConfigRedirectArray) ElementType

func (HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutput

func (i HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutput() HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutputWithContext

func (i HostingVersionConfigRedirectArray) ToHostingVersionConfigRedirectArrayOutputWithContext(ctx context.Context) HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArray) ToOutput

type HostingVersionConfigRedirectArrayInput

type HostingVersionConfigRedirectArrayInput interface {
	pulumi.Input

	ToHostingVersionConfigRedirectArrayOutput() HostingVersionConfigRedirectArrayOutput
	ToHostingVersionConfigRedirectArrayOutputWithContext(context.Context) HostingVersionConfigRedirectArrayOutput
}

HostingVersionConfigRedirectArrayInput is an input type that accepts HostingVersionConfigRedirectArray and HostingVersionConfigRedirectArrayOutput values. You can construct a concrete instance of `HostingVersionConfigRedirectArrayInput` via:

HostingVersionConfigRedirectArray{ HostingVersionConfigRedirectArgs{...} }

type HostingVersionConfigRedirectArrayOutput

type HostingVersionConfigRedirectArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRedirectArrayOutput) ElementType

func (HostingVersionConfigRedirectArrayOutput) Index

func (HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutput

func (o HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutput() HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutputWithContext

func (o HostingVersionConfigRedirectArrayOutput) ToHostingVersionConfigRedirectArrayOutputWithContext(ctx context.Context) HostingVersionConfigRedirectArrayOutput

func (HostingVersionConfigRedirectArrayOutput) ToOutput

type HostingVersionConfigRedirectInput

type HostingVersionConfigRedirectInput interface {
	pulumi.Input

	ToHostingVersionConfigRedirectOutput() HostingVersionConfigRedirectOutput
	ToHostingVersionConfigRedirectOutputWithContext(context.Context) HostingVersionConfigRedirectOutput
}

HostingVersionConfigRedirectInput is an input type that accepts HostingVersionConfigRedirectArgs and HostingVersionConfigRedirectOutput values. You can construct a concrete instance of `HostingVersionConfigRedirectInput` via:

HostingVersionConfigRedirectArgs{...}

type HostingVersionConfigRedirectOutput

type HostingVersionConfigRedirectOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRedirectOutput) ElementType

func (HostingVersionConfigRedirectOutput) Glob

The user-supplied glob to match against the request URL path.

func (HostingVersionConfigRedirectOutput) 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: ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}

```

func (HostingVersionConfigRedirectOutput) Regex

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

func (HostingVersionConfigRedirectOutput) StatusCode

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

func (HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutput

func (o HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutput() HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutputWithContext

func (o HostingVersionConfigRedirectOutput) ToHostingVersionConfigRedirectOutputWithContext(ctx context.Context) HostingVersionConfigRedirectOutput

func (HostingVersionConfigRedirectOutput) ToOutput

type HostingVersionConfigRewrite

type HostingVersionConfigRewrite struct {
	// The function to proxy requests to. Must match the exported function name exactly.
	Function *string `pulumi:"function"`
	// The user-supplied glob to match against the request URL path.
	Glob *string `pulumi:"glob"`
	// 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.
	// Structure is documented below.
	Run *HostingVersionConfigRewriteRun `pulumi:"run"`
}

type HostingVersionConfigRewriteArgs

type HostingVersionConfigRewriteArgs struct {
	// The function to proxy requests to. Must match the exported function name exactly.
	Function pulumi.StringPtrInput `pulumi:"function"`
	// The user-supplied glob to match against the request URL path.
	Glob pulumi.StringPtrInput `pulumi:"glob"`
	// 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.
	// Structure is documented below.
	Run HostingVersionConfigRewriteRunPtrInput `pulumi:"run"`
}

func (HostingVersionConfigRewriteArgs) ElementType

func (HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutput

func (i HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutput() HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutputWithContext

func (i HostingVersionConfigRewriteArgs) ToHostingVersionConfigRewriteOutputWithContext(ctx context.Context) HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteArgs) ToOutput

type HostingVersionConfigRewriteArray

type HostingVersionConfigRewriteArray []HostingVersionConfigRewriteInput

func (HostingVersionConfigRewriteArray) ElementType

func (HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutput

func (i HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutput() HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutputWithContext

func (i HostingVersionConfigRewriteArray) ToHostingVersionConfigRewriteArrayOutputWithContext(ctx context.Context) HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArray) ToOutput

type HostingVersionConfigRewriteArrayInput

type HostingVersionConfigRewriteArrayInput interface {
	pulumi.Input

	ToHostingVersionConfigRewriteArrayOutput() HostingVersionConfigRewriteArrayOutput
	ToHostingVersionConfigRewriteArrayOutputWithContext(context.Context) HostingVersionConfigRewriteArrayOutput
}

HostingVersionConfigRewriteArrayInput is an input type that accepts HostingVersionConfigRewriteArray and HostingVersionConfigRewriteArrayOutput values. You can construct a concrete instance of `HostingVersionConfigRewriteArrayInput` via:

HostingVersionConfigRewriteArray{ HostingVersionConfigRewriteArgs{...} }

type HostingVersionConfigRewriteArrayOutput

type HostingVersionConfigRewriteArrayOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteArrayOutput) ElementType

func (HostingVersionConfigRewriteArrayOutput) Index

func (HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutput

func (o HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutput() HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutputWithContext

func (o HostingVersionConfigRewriteArrayOutput) ToHostingVersionConfigRewriteArrayOutputWithContext(ctx context.Context) HostingVersionConfigRewriteArrayOutput

func (HostingVersionConfigRewriteArrayOutput) ToOutput

type HostingVersionConfigRewriteInput

type HostingVersionConfigRewriteInput interface {
	pulumi.Input

	ToHostingVersionConfigRewriteOutput() HostingVersionConfigRewriteOutput
	ToHostingVersionConfigRewriteOutputWithContext(context.Context) HostingVersionConfigRewriteOutput
}

HostingVersionConfigRewriteInput is an input type that accepts HostingVersionConfigRewriteArgs and HostingVersionConfigRewriteOutput values. You can construct a concrete instance of `HostingVersionConfigRewriteInput` via:

HostingVersionConfigRewriteArgs{...}

type HostingVersionConfigRewriteOutput

type HostingVersionConfigRewriteOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteOutput) ElementType

func (HostingVersionConfigRewriteOutput) Function

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

func (HostingVersionConfigRewriteOutput) Glob

The user-supplied glob to match against the request URL path.

func (HostingVersionConfigRewriteOutput) Regex

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

func (HostingVersionConfigRewriteOutput) Run

The request will be forwarded to Cloud Run. Structure is documented below.

func (HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutput

func (o HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutput() HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutputWithContext

func (o HostingVersionConfigRewriteOutput) ToHostingVersionConfigRewriteOutputWithContext(ctx context.Context) HostingVersionConfigRewriteOutput

func (HostingVersionConfigRewriteOutput) ToOutput

type HostingVersionConfigRewriteRun

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

type HostingVersionConfigRewriteRunArgs

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

func (HostingVersionConfigRewriteRunArgs) ElementType

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutput

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutput() HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutputWithContext

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutput

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutputWithContext

func (i HostingVersionConfigRewriteRunArgs) ToHostingVersionConfigRewriteRunPtrOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunArgs) ToOutput

type HostingVersionConfigRewriteRunInput

type HostingVersionConfigRewriteRunInput interface {
	pulumi.Input

	ToHostingVersionConfigRewriteRunOutput() HostingVersionConfigRewriteRunOutput
	ToHostingVersionConfigRewriteRunOutputWithContext(context.Context) HostingVersionConfigRewriteRunOutput
}

HostingVersionConfigRewriteRunInput is an input type that accepts HostingVersionConfigRewriteRunArgs and HostingVersionConfigRewriteRunOutput values. You can construct a concrete instance of `HostingVersionConfigRewriteRunInput` via:

HostingVersionConfigRewriteRunArgs{...}

type HostingVersionConfigRewriteRunOutput

type HostingVersionConfigRewriteRunOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteRunOutput) ElementType

func (HostingVersionConfigRewriteRunOutput) Region

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

func (HostingVersionConfigRewriteRunOutput) ServiceId

User-defined ID of the Cloud Run service.

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutput

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutput() HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutputWithContext

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunOutput

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutput

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext

func (o HostingVersionConfigRewriteRunOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunOutput) ToOutput

type HostingVersionConfigRewriteRunPtrInput

type HostingVersionConfigRewriteRunPtrInput interface {
	pulumi.Input

	ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput
	ToHostingVersionConfigRewriteRunPtrOutputWithContext(context.Context) HostingVersionConfigRewriteRunPtrOutput
}

HostingVersionConfigRewriteRunPtrInput is an input type that accepts HostingVersionConfigRewriteRunArgs, HostingVersionConfigRewriteRunPtr and HostingVersionConfigRewriteRunPtrOutput values. You can construct a concrete instance of `HostingVersionConfigRewriteRunPtrInput` via:

        HostingVersionConfigRewriteRunArgs{...}

or:

        nil

type HostingVersionConfigRewriteRunPtrOutput

type HostingVersionConfigRewriteRunPtrOutput struct{ *pulumi.OutputState }

func (HostingVersionConfigRewriteRunPtrOutput) Elem

func (HostingVersionConfigRewriteRunPtrOutput) ElementType

func (HostingVersionConfigRewriteRunPtrOutput) Region

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

func (HostingVersionConfigRewriteRunPtrOutput) ServiceId

User-defined ID of the Cloud Run service.

func (HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutput

func (o HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutput() HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext

func (o HostingVersionConfigRewriteRunPtrOutput) ToHostingVersionConfigRewriteRunPtrOutputWithContext(ctx context.Context) HostingVersionConfigRewriteRunPtrOutput

func (HostingVersionConfigRewriteRunPtrOutput) ToOutput

type HostingVersionInput

type HostingVersionInput interface {
	pulumi.Input

	ToHostingVersionOutput() HostingVersionOutput
	ToHostingVersionOutputWithContext(ctx context.Context) HostingVersionOutput
}

type HostingVersionMap

type HostingVersionMap map[string]HostingVersionInput

func (HostingVersionMap) ElementType

func (HostingVersionMap) ElementType() reflect.Type

func (HostingVersionMap) ToHostingVersionMapOutput

func (i HostingVersionMap) ToHostingVersionMapOutput() HostingVersionMapOutput

func (HostingVersionMap) ToHostingVersionMapOutputWithContext

func (i HostingVersionMap) ToHostingVersionMapOutputWithContext(ctx context.Context) HostingVersionMapOutput

func (HostingVersionMap) ToOutput

type HostingVersionMapInput

type HostingVersionMapInput interface {
	pulumi.Input

	ToHostingVersionMapOutput() HostingVersionMapOutput
	ToHostingVersionMapOutputWithContext(context.Context) HostingVersionMapOutput
}

HostingVersionMapInput is an input type that accepts HostingVersionMap and HostingVersionMapOutput values. You can construct a concrete instance of `HostingVersionMapInput` via:

HostingVersionMap{ "key": HostingVersionArgs{...} }

type HostingVersionMapOutput

type HostingVersionMapOutput struct{ *pulumi.OutputState }

func (HostingVersionMapOutput) ElementType

func (HostingVersionMapOutput) ElementType() reflect.Type

func (HostingVersionMapOutput) MapIndex

func (HostingVersionMapOutput) ToHostingVersionMapOutput

func (o HostingVersionMapOutput) ToHostingVersionMapOutput() HostingVersionMapOutput

func (HostingVersionMapOutput) ToHostingVersionMapOutputWithContext

func (o HostingVersionMapOutput) ToHostingVersionMapOutputWithContext(ctx context.Context) HostingVersionMapOutput

func (HostingVersionMapOutput) ToOutput

type HostingVersionOutput

type HostingVersionOutput struct{ *pulumi.OutputState }

func (HostingVersionOutput) Config

The configuration for the behavior of the site. This configuration exists in the `firebase.json` file. Structure is documented below.

func (HostingVersionOutput) ElementType

func (HostingVersionOutput) ElementType() reflect.Type

func (HostingVersionOutput) Name

The fully-qualified resource name for the version, in the format: sites/SITE_ID/versions/VERSION_ID

func (HostingVersionOutput) SiteId

Required. The ID of the site in which to create this Version.

***

func (HostingVersionOutput) ToHostingVersionOutput

func (o HostingVersionOutput) ToHostingVersionOutput() HostingVersionOutput

func (HostingVersionOutput) ToHostingVersionOutputWithContext

func (o HostingVersionOutput) ToHostingVersionOutputWithContext(ctx context.Context) HostingVersionOutput

func (HostingVersionOutput) ToOutput

func (HostingVersionOutput) VersionId

The ID for the version as in sites/SITE_ID/versions/VERSION_ID

type HostingVersionState

type HostingVersionState struct {
	// The configuration for the behavior of the site. This configuration exists in the `firebase.json` file.
	// Structure is documented below.
	Config HostingVersionConfigPtrInput
	// The fully-qualified resource name for the version, in the format:
	// sites/SITE_ID/versions/VERSION_ID
	Name pulumi.StringPtrInput
	// Required. The ID of the site in which to create this Version.
	//
	// ***
	SiteId pulumi.StringPtrInput
	// The ID for the version as in sites/SITE_ID/versions/VERSION_ID
	VersionId pulumi.StringPtrInput
}

func (HostingVersionState) ElementType

func (HostingVersionState) ElementType() reflect.Type

type LookupAndroidAppArgs

type LookupAndroidAppArgs struct {
	// The appId of name of the Firebase androidApp.
	//
	// ***
	AppId string `pulumi:"appId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getAndroidApp.

type LookupAndroidAppOutputArgs

type LookupAndroidAppOutputArgs struct {
	// The appId of name of the Firebase androidApp.
	//
	// ***
	AppId pulumi.StringInput `pulumi:"appId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getAndroidApp.

func (LookupAndroidAppOutputArgs) ElementType

func (LookupAndroidAppOutputArgs) ElementType() reflect.Type

type LookupAndroidAppResult

type LookupAndroidAppResult struct {
	ApiKeyId string `pulumi:"apiKeyId"`
	// Immutable. The globally unique, Firebase-assigned identifier of the AndroidApp.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId          string `pulumi:"appId"`
	DeletionPolicy string `pulumi:"deletionPolicy"`
	// The user-assigned display name of the AndroidApp.
	DisplayName string `pulumi:"displayName"`
	// This checksum is computed by the server based on the value of other fields, and it may be sent
	// with update requests to ensure the client has an up-to-date value before proceeding.
	Etag string `pulumi:"etag"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The fully qualified resource name of the AndroidApp, for example:
	// projects/projectId/androidApps/appId
	Name string `pulumi:"name"`
	// The canonical package name of the Android app as would appear in the Google Play Developer Console.
	PackageName string  `pulumi:"packageName"`
	Project     *string `pulumi:"project"`
	// The SHA1 certificate hashes for the AndroidApp.
	Sha1Hashes []string `pulumi:"sha1Hashes"`
	// The SHA256 certificate hashes for the AndroidApp.
	Sha256Hashes []string `pulumi:"sha256Hashes"`
}

A collection of values returned by getAndroidApp.

type LookupAndroidAppResultOutput

type LookupAndroidAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAndroidApp.

func (LookupAndroidAppResultOutput) ApiKeyId

func (LookupAndroidAppResultOutput) AppId

Immutable. The globally unique, Firebase-assigned identifier of the AndroidApp. This identifier should be treated as an opaque token, as the data format is not specified.

func (LookupAndroidAppResultOutput) DeletionPolicy

func (LookupAndroidAppResultOutput) DisplayName

The user-assigned display name of the AndroidApp.

func (LookupAndroidAppResultOutput) ElementType

func (LookupAndroidAppResultOutput) Etag

This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding.

func (LookupAndroidAppResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAndroidAppResultOutput) Name

The fully qualified resource name of the AndroidApp, for example: projects/projectId/androidApps/appId

func (LookupAndroidAppResultOutput) PackageName

The canonical package name of the Android app as would appear in the Google Play Developer Console.

func (LookupAndroidAppResultOutput) Project

func (LookupAndroidAppResultOutput) Sha1Hashes

The SHA1 certificate hashes for the AndroidApp.

func (LookupAndroidAppResultOutput) Sha256Hashes

The SHA256 certificate hashes for the AndroidApp.

func (LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput

func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput() LookupAndroidAppResultOutput

func (LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext

func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext(ctx context.Context) LookupAndroidAppResultOutput

func (LookupAndroidAppResultOutput) ToOutput

type LookupAppleAppArgs

type LookupAppleAppArgs struct {
	// The appId of name of the Firebase iosApp.
	//
	// ***
	AppId string `pulumi:"appId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getAppleApp.

type LookupAppleAppOutputArgs

type LookupAppleAppOutputArgs struct {
	// The appId of name of the Firebase iosApp.
	//
	// ***
	AppId pulumi.StringInput `pulumi:"appId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getAppleApp.

func (LookupAppleAppOutputArgs) ElementType

func (LookupAppleAppOutputArgs) ElementType() reflect.Type

type LookupAppleAppResult

type LookupAppleAppResult struct {
	ApiKeyId string `pulumi:"apiKeyId"`
	// Immutable. The globally unique, Firebase-assigned identifier of the App.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId string `pulumi:"appId"`
	// The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.
	AppStoreId string `pulumi:"appStoreId"`
	// The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
	BundleId       string `pulumi:"bundleId"`
	DeletionPolicy string `pulumi:"deletionPolicy"`
	// The user-assigned display name of the App.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The fully qualified resource name of the App, for example:
	// projects/projectId/iosApps/appId
	Name    string  `pulumi:"name"`
	Project *string `pulumi:"project"`
	// The Apple Developer Team ID associated with the App in the App Store.
	TeamId string `pulumi:"teamId"`
}

A collection of values returned by getAppleApp.

func LookupAppleApp

func LookupAppleApp(ctx *pulumi.Context, args *LookupAppleAppArgs, opts ...pulumi.InvokeOption) (*LookupAppleAppResult, error)

type LookupAppleAppResultOutput

type LookupAppleAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppleApp.

func (LookupAppleAppResultOutput) ApiKeyId

func (LookupAppleAppResultOutput) AppId

Immutable. The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

func (LookupAppleAppResultOutput) AppStoreId

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

func (LookupAppleAppResultOutput) BundleId

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

func (LookupAppleAppResultOutput) DeletionPolicy

func (o LookupAppleAppResultOutput) DeletionPolicy() pulumi.StringOutput

func (LookupAppleAppResultOutput) DisplayName

The user-assigned display name of the App.

func (LookupAppleAppResultOutput) ElementType

func (LookupAppleAppResultOutput) ElementType() reflect.Type

func (LookupAppleAppResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAppleAppResultOutput) Name

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

func (LookupAppleAppResultOutput) Project

func (LookupAppleAppResultOutput) TeamId

The Apple Developer Team ID associated with the App in the App Store.

func (LookupAppleAppResultOutput) ToLookupAppleAppResultOutput

func (o LookupAppleAppResultOutput) ToLookupAppleAppResultOutput() LookupAppleAppResultOutput

func (LookupAppleAppResultOutput) ToLookupAppleAppResultOutputWithContext

func (o LookupAppleAppResultOutput) ToLookupAppleAppResultOutputWithContext(ctx context.Context) LookupAppleAppResultOutput

func (LookupAppleAppResultOutput) ToOutput

type LookupHostingChannelArgs

type LookupHostingChannelArgs struct {
	// The ID of the channel. Use `channelId = "live"` for the default channel of a site.
	ChannelId string `pulumi:"channelId"`
	// The ID of the site this channel belongs to.
	SiteId string `pulumi:"siteId"`
}

A collection of arguments for invoking getHostingChannel.

type LookupHostingChannelOutputArgs

type LookupHostingChannelOutputArgs struct {
	// The ID of the channel. Use `channelId = "live"` for the default channel of a site.
	ChannelId pulumi.StringInput `pulumi:"channelId"`
	// The ID of the site this channel belongs to.
	SiteId pulumi.StringInput `pulumi:"siteId"`
}

A collection of arguments for invoking getHostingChannel.

func (LookupHostingChannelOutputArgs) ElementType

type LookupHostingChannelResult

type LookupHostingChannelResult struct {
	ChannelId       string            `pulumi:"channelId"`
	EffectiveLabels map[string]string `pulumi:"effectiveLabels"`
	ExpireTime      string            `pulumi:"expireTime"`
	// The provider-assigned unique ID for this managed resource.
	Id     string            `pulumi:"id"`
	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"`
	RetainedReleaseCount int               `pulumi:"retainedReleaseCount"`
	SiteId               string            `pulumi:"siteId"`
	TerraformLabels      map[string]string `pulumi:"terraformLabels"`
	Ttl                  string            `pulumi:"ttl"`
}

A collection of values returned by getHostingChannel.

type LookupHostingChannelResultOutput

type LookupHostingChannelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHostingChannel.

func (LookupHostingChannelResultOutput) ChannelId

func (LookupHostingChannelResultOutput) EffectiveLabels

func (LookupHostingChannelResultOutput) ElementType

func (LookupHostingChannelResultOutput) ExpireTime

func (LookupHostingChannelResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupHostingChannelResultOutput) Labels

func (LookupHostingChannelResultOutput) Name

The fully-qualified resource name for the channel, in the format: `sites/{{site_id}}/channels/{{channel_id}}`.

func (LookupHostingChannelResultOutput) RetainedReleaseCount

func (o LookupHostingChannelResultOutput) RetainedReleaseCount() pulumi.IntOutput

func (LookupHostingChannelResultOutput) SiteId

func (LookupHostingChannelResultOutput) TerraformLabels

func (LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutput

func (o LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutput() LookupHostingChannelResultOutput

func (LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutputWithContext

func (o LookupHostingChannelResultOutput) ToLookupHostingChannelResultOutputWithContext(ctx context.Context) LookupHostingChannelResultOutput

func (LookupHostingChannelResultOutput) ToOutput

func (LookupHostingChannelResultOutput) Ttl

type LookupWebAppArgs

type LookupWebAppArgs struct {
	// The appIp of name of the Firebase webApp.
	//
	// ***
	AppId string `pulumi:"appId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getWebApp.

type LookupWebAppOutputArgs

type LookupWebAppOutputArgs struct {
	// The appIp of name of the Firebase webApp.
	//
	// ***
	AppId pulumi.StringInput `pulumi:"appId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getWebApp.

func (LookupWebAppOutputArgs) ElementType

func (LookupWebAppOutputArgs) ElementType() reflect.Type

type LookupWebAppResult

type LookupWebAppResult struct {
	ApiKeyId string `pulumi:"apiKeyId"`
	// Immutable. The globally unique, Firebase-assigned identifier of the App.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId          string   `pulumi:"appId"`
	AppUrls        []string `pulumi:"appUrls"`
	DeletionPolicy string   `pulumi:"deletionPolicy"`
	DisplayName    string   `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The fully qualified resource name of the App, for example:
	// projects/projectId/webApps/appId
	Name    string  `pulumi:"name"`
	Project *string `pulumi:"project"`
}

A collection of values returned by getWebApp.

func LookupWebApp

func LookupWebApp(ctx *pulumi.Context, args *LookupWebAppArgs, opts ...pulumi.InvokeOption) (*LookupWebAppResult, error)

A Google Cloud Firebase web application instance

type LookupWebAppResultOutput

type LookupWebAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWebApp.

func (LookupWebAppResultOutput) ApiKeyId

func (LookupWebAppResultOutput) AppId

Immutable. The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

func (LookupWebAppResultOutput) AppUrls

func (LookupWebAppResultOutput) DeletionPolicy

func (o LookupWebAppResultOutput) DeletionPolicy() pulumi.StringOutput

func (LookupWebAppResultOutput) DisplayName

func (LookupWebAppResultOutput) ElementType

func (LookupWebAppResultOutput) ElementType() reflect.Type

func (LookupWebAppResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupWebAppResultOutput) Name

The fully qualified resource name of the App, for example: projects/projectId/webApps/appId

func (LookupWebAppResultOutput) Project

func (LookupWebAppResultOutput) ToLookupWebAppResultOutput

func (o LookupWebAppResultOutput) ToLookupWebAppResultOutput() LookupWebAppResultOutput

func (LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext

func (o LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext(ctx context.Context) LookupWebAppResultOutput

func (LookupWebAppResultOutput) ToOutput

type Project

type Project struct {
	pulumi.CustomResourceState

	// The GCP project display name
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The number of the google project that firebase is enabled on.
	ProjectNumber pulumi.StringOutput `pulumi:"projectNumber"`
}

A Google Cloud Firebase instance. This enables Firebase resources on a given google project. Since a FirebaseProject is actually also a GCP Project, a FirebaseProject uses underlying GCP identifiers (most importantly, the projectId) as its own for easy interop with GCP APIs. Once Firebase has been added to a Google Project it cannot be removed.

To get more information about Project, see:

* [API documentation](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects) * How-to Guides

## Example Usage ### Firebase Project Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultProject, err := organizations.NewProject(ctx, "defaultProject", &organizations.ProjectArgs{
			ProjectId: pulumi.String("my-project"),
			OrgId:     pulumi.String("123456789"),
			Labels: pulumi.StringMap{
				"firebase": pulumi.String("enabled"),
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewProject(ctx, "defaultFirebase/projectProject", &firebase.ProjectArgs{
			Project: defaultProject.ProjectId,
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Project can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/project:Project default projects/{{project}}

```

```sh

$ pulumi import gcp:firebase/project:Project default {{project}}

```

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project 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 NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

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

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToOutput

func (i *Project) ToOutput(ctx context.Context) pulumix.Output[*Project]

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToOutput

func (i ProjectArray) ToOutput(ctx context.Context) pulumix.Output[[]*Project]

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToOutput

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToOutput

func (i ProjectMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Project]

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToOutput

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) DisplayName

func (o ProjectOutput) DisplayName() pulumi.StringOutput

The GCP project display name

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Project

func (o ProjectOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (ProjectOutput) ProjectNumber

func (o ProjectOutput) ProjectNumber() pulumi.StringOutput

The number of the google project that firebase is enabled on.

func (ProjectOutput) ToOutput

func (o ProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*Project]

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectState

type ProjectState struct {
	// The GCP project display name
	DisplayName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The number of the google project that firebase is enabled on.
	ProjectNumber pulumi.StringPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type StorageBucket

type StorageBucket struct {
	pulumi.CustomResourceState

	// Required. Immutable. The ID of the underlying Google Cloud Storage bucket
	BucketId pulumi.StringPtrOutput `pulumi:"bucketId"`
	// Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

## Example Usage ### Firebasestorage Bucket Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultBucket, err := storage.NewBucket(ctx, "defaultBucket", &storage.BucketArgs{
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewStorageBucket(ctx, "defaultStorageBucket", &firebase.StorageBucketArgs{
			Project:  pulumi.String("my-project-name"),
			BucketId: defaultBucket.ID(),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Bucket can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/storageBucket:StorageBucket default projects/{{project}}/buckets/{{bucket_id}}

```

```sh

$ pulumi import gcp:firebase/storageBucket:StorageBucket default {{project}}/{{bucket_id}}

```

```sh

$ pulumi import gcp:firebase/storageBucket:StorageBucket default {{bucket_id}}

```

func GetStorageBucket

func GetStorageBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StorageBucketState, opts ...pulumi.ResourceOption) (*StorageBucket, error)

GetStorageBucket gets an existing StorageBucket 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 NewStorageBucket

func NewStorageBucket(ctx *pulumi.Context,
	name string, args *StorageBucketArgs, opts ...pulumi.ResourceOption) (*StorageBucket, error)

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

func (*StorageBucket) ElementType

func (*StorageBucket) ElementType() reflect.Type

func (*StorageBucket) ToOutput

func (*StorageBucket) ToStorageBucketOutput

func (i *StorageBucket) ToStorageBucketOutput() StorageBucketOutput

func (*StorageBucket) ToStorageBucketOutputWithContext

func (i *StorageBucket) ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput

type StorageBucketArgs

type StorageBucketArgs struct {
	// Required. Immutable. The ID of the underlying Google Cloud Storage bucket
	BucketId pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a StorageBucket resource.

func (StorageBucketArgs) ElementType

func (StorageBucketArgs) ElementType() reflect.Type

type StorageBucketArray

type StorageBucketArray []StorageBucketInput

func (StorageBucketArray) ElementType

func (StorageBucketArray) ElementType() reflect.Type

func (StorageBucketArray) ToOutput

func (StorageBucketArray) ToStorageBucketArrayOutput

func (i StorageBucketArray) ToStorageBucketArrayOutput() StorageBucketArrayOutput

func (StorageBucketArray) ToStorageBucketArrayOutputWithContext

func (i StorageBucketArray) ToStorageBucketArrayOutputWithContext(ctx context.Context) StorageBucketArrayOutput

type StorageBucketArrayInput

type StorageBucketArrayInput interface {
	pulumi.Input

	ToStorageBucketArrayOutput() StorageBucketArrayOutput
	ToStorageBucketArrayOutputWithContext(context.Context) StorageBucketArrayOutput
}

StorageBucketArrayInput is an input type that accepts StorageBucketArray and StorageBucketArrayOutput values. You can construct a concrete instance of `StorageBucketArrayInput` via:

StorageBucketArray{ StorageBucketArgs{...} }

type StorageBucketArrayOutput

type StorageBucketArrayOutput struct{ *pulumi.OutputState }

func (StorageBucketArrayOutput) ElementType

func (StorageBucketArrayOutput) ElementType() reflect.Type

func (StorageBucketArrayOutput) Index

func (StorageBucketArrayOutput) ToOutput

func (StorageBucketArrayOutput) ToStorageBucketArrayOutput

func (o StorageBucketArrayOutput) ToStorageBucketArrayOutput() StorageBucketArrayOutput

func (StorageBucketArrayOutput) ToStorageBucketArrayOutputWithContext

func (o StorageBucketArrayOutput) ToStorageBucketArrayOutputWithContext(ctx context.Context) StorageBucketArrayOutput

type StorageBucketInput

type StorageBucketInput interface {
	pulumi.Input

	ToStorageBucketOutput() StorageBucketOutput
	ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput
}

type StorageBucketMap

type StorageBucketMap map[string]StorageBucketInput

func (StorageBucketMap) ElementType

func (StorageBucketMap) ElementType() reflect.Type

func (StorageBucketMap) ToOutput

func (StorageBucketMap) ToStorageBucketMapOutput

func (i StorageBucketMap) ToStorageBucketMapOutput() StorageBucketMapOutput

func (StorageBucketMap) ToStorageBucketMapOutputWithContext

func (i StorageBucketMap) ToStorageBucketMapOutputWithContext(ctx context.Context) StorageBucketMapOutput

type StorageBucketMapInput

type StorageBucketMapInput interface {
	pulumi.Input

	ToStorageBucketMapOutput() StorageBucketMapOutput
	ToStorageBucketMapOutputWithContext(context.Context) StorageBucketMapOutput
}

StorageBucketMapInput is an input type that accepts StorageBucketMap and StorageBucketMapOutput values. You can construct a concrete instance of `StorageBucketMapInput` via:

StorageBucketMap{ "key": StorageBucketArgs{...} }

type StorageBucketMapOutput

type StorageBucketMapOutput struct{ *pulumi.OutputState }

func (StorageBucketMapOutput) ElementType

func (StorageBucketMapOutput) ElementType() reflect.Type

func (StorageBucketMapOutput) MapIndex

func (StorageBucketMapOutput) ToOutput

func (StorageBucketMapOutput) ToStorageBucketMapOutput

func (o StorageBucketMapOutput) ToStorageBucketMapOutput() StorageBucketMapOutput

func (StorageBucketMapOutput) ToStorageBucketMapOutputWithContext

func (o StorageBucketMapOutput) ToStorageBucketMapOutputWithContext(ctx context.Context) StorageBucketMapOutput

type StorageBucketOutput

type StorageBucketOutput struct{ *pulumi.OutputState }

func (StorageBucketOutput) BucketId

Required. Immutable. The ID of the underlying Google Cloud Storage bucket

func (StorageBucketOutput) ElementType

func (StorageBucketOutput) ElementType() reflect.Type

func (StorageBucketOutput) Name

Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID

func (StorageBucketOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (StorageBucketOutput) ToOutput

func (StorageBucketOutput) ToStorageBucketOutput

func (o StorageBucketOutput) ToStorageBucketOutput() StorageBucketOutput

func (StorageBucketOutput) ToStorageBucketOutputWithContext

func (o StorageBucketOutput) ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput

type StorageBucketState

type StorageBucketState struct {
	// Required. Immutable. The ID of the underlying Google Cloud Storage bucket
	BucketId pulumi.StringPtrInput
	// Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (StorageBucketState) ElementType

func (StorageBucketState) ElementType() reflect.Type

type WebApp

type WebApp struct {
	pulumi.CustomResourceState

	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the WebApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringOutput `pulumi:"apiKeyId"`
	// The globally unique, Firebase-assigned identifier of the App.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The URLs where the `WebApp` is hosted.
	AppUrls pulumi.StringArrayOutput `pulumi:"appUrls"`
	// Set to 'ABANDON' to allow the WebApp to be untracked from terraform state rather than deleted upon 'terraform destroy'.
	// This is useful becaue the WebApp may be serving traffic. Set to 'DELETE' to delete the WebApp. Default to 'DELETE'
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// The user-assigned display name of the App.
	//
	// ***
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The fully qualified resource name of the App, for example:
	// projects/projectId/webApps/appId
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

A Google Cloud Firebase web application instance

To get more information about WebApp, see:

* [API documentation](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps) * How-to Guides

## Example Usage ### Firebase Web App Basic

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicWebApp, err := firebase.NewWebApp(ctx, "basicWebApp", &firebase.WebAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Basic"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		basicWebAppConfig := firebase.GetWebAppConfigOutput(ctx, firebase.GetWebAppConfigOutputArgs{
			WebAppId: basicWebApp.AppId,
		}, nil)
		defaultBucket, err := storage.NewBucket(ctx, "defaultBucket", &storage.BucketArgs{
			Location: pulumi.String("US"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = storage.NewBucketObject(ctx, "defaultBucketObject", &storage.BucketObjectArgs{
			Bucket: defaultBucket.Name,
			Content: pulumi.All(basicWebApp.AppId, basicWebAppConfig, basicWebAppConfig, "TODO: Lookup", "TODO: Lookup", "TODO: Lookup", "TODO: Lookup").ApplyT(func(_args []interface{}) (string, error) {
				appId := _args[0].(string)
				basicWebAppConfig := _args[1].(firebase.GetWebAppConfigResult)
				basicWebAppConfig1 := _args[2].(firebase.GetWebAppConfigResult)
				s := _args[3].(*string)
				s1 := _args[4].(*string)
				s2 := _args[5].(*string)
				s3 := _args[6].(*string)
				var _zero string
				tmpJSON0, err := json.Marshal(map[string]interface{}{
					"appId":             appId,
					"apiKey":            basicWebAppConfig.ApiKey,
					"authDomain":        basicWebAppConfig1.AuthDomain,
					"databaseURL":       s,
					"storageBucket":     s1,
					"messagingSenderId": s2,
					"measurementId":     s3,
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return json0, nil
			}).(pulumi.StringOutput),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Firebase Web App Custom Api Key

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		web, err := projects.NewApiKey(ctx, "web", &projects.ApiKeyArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name"),
			Restrictions: &projects.ApiKeyRestrictionsArgs{
				BrowserKeyRestrictions: &projects.ApiKeyRestrictionsBrowserKeyRestrictionsArgs{
					AllowedReferrers: pulumi.StringArray{
						pulumi.String("*"),
					},
				},
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = firebase.NewWebApp(ctx, "default", &firebase.WebAppArgs{
			Project:        pulumi.String("my-project-name"),
			DisplayName:    pulumi.String("Display Name"),
			ApiKeyId:       web.Uid,
			DeletionPolicy: pulumi.String("DELETE"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

WebApp can be imported using any of these accepted formats

```sh

$ pulumi import gcp:firebase/webApp:WebApp default {{project}} projects/{{project}}/webApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/webApp:WebApp default projects/{{project}}/webApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/webApp:WebApp default {{project}}/{{project}}/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/webApp:WebApp default webApps/{{app_id}}

```

```sh

$ pulumi import gcp:firebase/webApp:WebApp default {{app_id}}

```

func GetWebApp

func GetWebApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebAppState, opts ...pulumi.ResourceOption) (*WebApp, error)

GetWebApp gets an existing WebApp 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 NewWebApp

func NewWebApp(ctx *pulumi.Context,
	name string, args *WebAppArgs, opts ...pulumi.ResourceOption) (*WebApp, error)

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

func (*WebApp) ElementType

func (*WebApp) ElementType() reflect.Type

func (*WebApp) ToOutput

func (i *WebApp) ToOutput(ctx context.Context) pulumix.Output[*WebApp]

func (*WebApp) ToWebAppOutput

func (i *WebApp) ToWebAppOutput() WebAppOutput

func (*WebApp) ToWebAppOutputWithContext

func (i *WebApp) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput

type WebAppArgs

type WebAppArgs struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the WebApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// Set to 'ABANDON' to allow the WebApp to be untracked from terraform state rather than deleted upon 'terraform destroy'.
	// This is useful becaue the WebApp may be serving traffic. Set to 'DELETE' to delete the WebApp. Default to 'DELETE'
	DeletionPolicy pulumi.StringPtrInput
	// The user-assigned display name of the App.
	//
	// ***
	DisplayName pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a WebApp resource.

func (WebAppArgs) ElementType

func (WebAppArgs) ElementType() reflect.Type

type WebAppArray

type WebAppArray []WebAppInput

func (WebAppArray) ElementType

func (WebAppArray) ElementType() reflect.Type

func (WebAppArray) ToOutput

func (i WebAppArray) ToOutput(ctx context.Context) pulumix.Output[[]*WebApp]

func (WebAppArray) ToWebAppArrayOutput

func (i WebAppArray) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArray) ToWebAppArrayOutputWithContext

func (i WebAppArray) ToWebAppArrayOutputWithContext(ctx context.Context) WebAppArrayOutput

type WebAppArrayInput

type WebAppArrayInput interface {
	pulumi.Input

	ToWebAppArrayOutput() WebAppArrayOutput
	ToWebAppArrayOutputWithContext(context.Context) WebAppArrayOutput
}

WebAppArrayInput is an input type that accepts WebAppArray and WebAppArrayOutput values. You can construct a concrete instance of `WebAppArrayInput` via:

WebAppArray{ WebAppArgs{...} }

type WebAppArrayOutput

type WebAppArrayOutput struct{ *pulumi.OutputState }

func (WebAppArrayOutput) ElementType

func (WebAppArrayOutput) ElementType() reflect.Type

func (WebAppArrayOutput) Index

func (WebAppArrayOutput) ToOutput

func (o WebAppArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*WebApp]

func (WebAppArrayOutput) ToWebAppArrayOutput

func (o WebAppArrayOutput) ToWebAppArrayOutput() WebAppArrayOutput

func (WebAppArrayOutput) ToWebAppArrayOutputWithContext

func (o WebAppArrayOutput) ToWebAppArrayOutputWithContext(ctx context.Context) WebAppArrayOutput

type WebAppInput

type WebAppInput interface {
	pulumi.Input

	ToWebAppOutput() WebAppOutput
	ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
}

type WebAppMap

type WebAppMap map[string]WebAppInput

func (WebAppMap) ElementType

func (WebAppMap) ElementType() reflect.Type

func (WebAppMap) ToOutput

func (i WebAppMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*WebApp]

func (WebAppMap) ToWebAppMapOutput

func (i WebAppMap) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMap) ToWebAppMapOutputWithContext

func (i WebAppMap) ToWebAppMapOutputWithContext(ctx context.Context) WebAppMapOutput

type WebAppMapInput

type WebAppMapInput interface {
	pulumi.Input

	ToWebAppMapOutput() WebAppMapOutput
	ToWebAppMapOutputWithContext(context.Context) WebAppMapOutput
}

WebAppMapInput is an input type that accepts WebAppMap and WebAppMapOutput values. You can construct a concrete instance of `WebAppMapInput` via:

WebAppMap{ "key": WebAppArgs{...} }

type WebAppMapOutput

type WebAppMapOutput struct{ *pulumi.OutputState }

func (WebAppMapOutput) ElementType

func (WebAppMapOutput) ElementType() reflect.Type

func (WebAppMapOutput) MapIndex

func (WebAppMapOutput) ToOutput

func (o WebAppMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*WebApp]

func (WebAppMapOutput) ToWebAppMapOutput

func (o WebAppMapOutput) ToWebAppMapOutput() WebAppMapOutput

func (WebAppMapOutput) ToWebAppMapOutputWithContext

func (o WebAppMapOutput) ToWebAppMapOutputWithContext(ctx context.Context) WebAppMapOutput

type WebAppOutput

type WebAppOutput struct{ *pulumi.OutputState }

func (WebAppOutput) ApiKeyId

func (o WebAppOutput) ApiKeyId() pulumi.StringOutput

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp. If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the WebApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.

func (WebAppOutput) AppId

func (o WebAppOutput) AppId() pulumi.StringOutput

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

func (WebAppOutput) AppUrls

The URLs where the `WebApp` is hosted.

func (WebAppOutput) DeletionPolicy

func (o WebAppOutput) DeletionPolicy() pulumi.StringPtrOutput

Set to 'ABANDON' to allow the WebApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful becaue the WebApp may be serving traffic. Set to 'DELETE' to delete the WebApp. Default to 'DELETE'

func (WebAppOutput) DisplayName

func (o WebAppOutput) DisplayName() pulumi.StringOutput

The user-assigned display name of the App.

***

func (WebAppOutput) ElementType

func (WebAppOutput) ElementType() reflect.Type

func (WebAppOutput) Name

func (o WebAppOutput) Name() pulumi.StringOutput

The fully qualified resource name of the App, for example: projects/projectId/webApps/appId

func (WebAppOutput) Project

func (o WebAppOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (WebAppOutput) ToOutput

func (o WebAppOutput) ToOutput(ctx context.Context) pulumix.Output[*WebApp]

func (WebAppOutput) ToWebAppOutput

func (o WebAppOutput) ToWebAppOutput() WebAppOutput

func (WebAppOutput) ToWebAppOutputWithContext

func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput

type WebAppState

type WebAppState struct {
	// The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp.
	// If apiKeyId is not set during creation, then Firebase automatically associates an apiKeyId with the WebApp.
	// This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.
	ApiKeyId pulumi.StringPtrInput
	// The globally unique, Firebase-assigned identifier of the App.
	// This identifier should be treated as an opaque token, as the data format is not specified.
	AppId pulumi.StringPtrInput
	// The URLs where the `WebApp` is hosted.
	AppUrls pulumi.StringArrayInput
	// Set to 'ABANDON' to allow the WebApp to be untracked from terraform state rather than deleted upon 'terraform destroy'.
	// This is useful becaue the WebApp may be serving traffic. Set to 'DELETE' to delete the WebApp. Default to 'DELETE'
	DeletionPolicy pulumi.StringPtrInput
	// The user-assigned display name of the App.
	//
	// ***
	DisplayName pulumi.StringPtrInput
	// The fully qualified resource name of the App, for example:
	// projects/projectId/webApps/appId
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (WebAppState) ElementType

func (WebAppState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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