Documentation ¶
Index ¶
- type AndroidApp
- type AndroidAppArgs
- type AndroidAppArray
- type AndroidAppArrayInput
- type AndroidAppArrayOutput
- func (AndroidAppArrayOutput) ElementType() reflect.Type
- func (o AndroidAppArrayOutput) Index(i pulumi.IntInput) AndroidAppOutput
- func (o AndroidAppArrayOutput) ToAndroidAppArrayOutput() AndroidAppArrayOutput
- func (o AndroidAppArrayOutput) ToAndroidAppArrayOutputWithContext(ctx context.Context) AndroidAppArrayOutput
- type AndroidAppInput
- type AndroidAppMap
- type AndroidAppMapInput
- type AndroidAppMapOutput
- func (AndroidAppMapOutput) ElementType() reflect.Type
- func (o AndroidAppMapOutput) MapIndex(k pulumi.StringInput) AndroidAppOutput
- func (o AndroidAppMapOutput) ToAndroidAppMapOutput() AndroidAppMapOutput
- func (o AndroidAppMapOutput) ToAndroidAppMapOutputWithContext(ctx context.Context) AndroidAppMapOutput
- type AndroidAppOutput
- func (o AndroidAppOutput) AppId() pulumi.StringOutput
- func (o AndroidAppOutput) DeletionPolicy() pulumi.StringPtrOutput
- func (o AndroidAppOutput) DisplayName() pulumi.StringOutput
- func (AndroidAppOutput) ElementType() reflect.Type
- func (o AndroidAppOutput) Name() pulumi.StringOutput
- func (o AndroidAppOutput) PackageName() pulumi.StringPtrOutput
- func (o AndroidAppOutput) Project() pulumi.StringOutput
- func (o AndroidAppOutput) ToAndroidAppOutput() AndroidAppOutput
- func (o AndroidAppOutput) ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput
- type AndroidAppState
- type AppleApp
- type AppleAppArgs
- type AppleAppArray
- type AppleAppArrayInput
- type AppleAppArrayOutput
- type AppleAppInput
- type AppleAppMap
- type AppleAppMapInput
- type AppleAppMapOutput
- type AppleAppOutput
- func (o AppleAppOutput) AppId() pulumi.StringOutput
- func (o AppleAppOutput) AppStoreId() pulumi.StringPtrOutput
- func (o AppleAppOutput) BundleId() pulumi.StringPtrOutput
- func (o AppleAppOutput) DeletionPolicy() pulumi.StringPtrOutput
- func (o AppleAppOutput) DisplayName() pulumi.StringOutput
- func (AppleAppOutput) ElementType() reflect.Type
- func (o AppleAppOutput) Name() pulumi.StringOutput
- func (o AppleAppOutput) Project() pulumi.StringOutput
- func (o AppleAppOutput) TeamId() pulumi.StringPtrOutput
- func (o AppleAppOutput) ToAppleAppOutput() AppleAppOutput
- func (o AppleAppOutput) ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput
- type AppleAppState
- type GetWebAppConfigArgs
- type GetWebAppConfigOutputArgs
- type GetWebAppConfigResult
- type GetWebAppConfigResultOutput
- func (o GetWebAppConfigResultOutput) ApiKey() pulumi.StringOutput
- func (o GetWebAppConfigResultOutput) AuthDomain() pulumi.StringOutput
- func (o GetWebAppConfigResultOutput) DatabaseUrl() pulumi.StringOutput
- func (GetWebAppConfigResultOutput) ElementType() reflect.Type
- func (o GetWebAppConfigResultOutput) Id() pulumi.StringOutput
- func (o GetWebAppConfigResultOutput) LocationId() pulumi.StringOutput
- func (o GetWebAppConfigResultOutput) MeasurementId() pulumi.StringOutput
- func (o GetWebAppConfigResultOutput) MessagingSenderId() pulumi.StringOutput
- func (o GetWebAppConfigResultOutput) Project() pulumi.StringPtrOutput
- func (o GetWebAppConfigResultOutput) StorageBucket() pulumi.StringOutput
- func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput() GetWebAppConfigResultOutput
- func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext(ctx context.Context) GetWebAppConfigResultOutput
- func (o GetWebAppConfigResultOutput) WebAppId() pulumi.StringOutput
- type HostingChannel
- type HostingChannelArgs
- type HostingChannelArray
- type HostingChannelArrayInput
- type HostingChannelArrayOutput
- func (HostingChannelArrayOutput) ElementType() reflect.Type
- func (o HostingChannelArrayOutput) Index(i pulumi.IntInput) HostingChannelOutput
- func (o HostingChannelArrayOutput) ToHostingChannelArrayOutput() HostingChannelArrayOutput
- func (o HostingChannelArrayOutput) ToHostingChannelArrayOutputWithContext(ctx context.Context) HostingChannelArrayOutput
- type HostingChannelInput
- type HostingChannelMap
- type HostingChannelMapInput
- type HostingChannelMapOutput
- func (HostingChannelMapOutput) ElementType() reflect.Type
- func (o HostingChannelMapOutput) MapIndex(k pulumi.StringInput) HostingChannelOutput
- func (o HostingChannelMapOutput) ToHostingChannelMapOutput() HostingChannelMapOutput
- func (o HostingChannelMapOutput) ToHostingChannelMapOutputWithContext(ctx context.Context) HostingChannelMapOutput
- type HostingChannelOutput
- func (o HostingChannelOutput) ChannelId() pulumi.StringOutput
- func (HostingChannelOutput) ElementType() reflect.Type
- func (o HostingChannelOutput) ExpireTime() pulumi.StringOutput
- func (o HostingChannelOutput) Labels() pulumi.StringMapOutput
- func (o HostingChannelOutput) Name() pulumi.StringOutput
- func (o HostingChannelOutput) RetainedReleaseCount() pulumi.IntOutput
- func (o HostingChannelOutput) SiteId() pulumi.StringOutput
- func (o HostingChannelOutput) ToHostingChannelOutput() HostingChannelOutput
- func (o HostingChannelOutput) ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput
- func (o HostingChannelOutput) Ttl() pulumi.StringPtrOutput
- type HostingChannelState
- type HostingSite
- type HostingSiteArgs
- type HostingSiteArray
- type HostingSiteArrayInput
- type HostingSiteArrayOutput
- func (HostingSiteArrayOutput) ElementType() reflect.Type
- func (o HostingSiteArrayOutput) Index(i pulumi.IntInput) HostingSiteOutput
- func (o HostingSiteArrayOutput) ToHostingSiteArrayOutput() HostingSiteArrayOutput
- func (o HostingSiteArrayOutput) ToHostingSiteArrayOutputWithContext(ctx context.Context) HostingSiteArrayOutput
- type HostingSiteInput
- type HostingSiteMap
- type HostingSiteMapInput
- type HostingSiteMapOutput
- func (HostingSiteMapOutput) ElementType() reflect.Type
- func (o HostingSiteMapOutput) MapIndex(k pulumi.StringInput) HostingSiteOutput
- func (o HostingSiteMapOutput) ToHostingSiteMapOutput() HostingSiteMapOutput
- func (o HostingSiteMapOutput) ToHostingSiteMapOutputWithContext(ctx context.Context) HostingSiteMapOutput
- type HostingSiteOutput
- func (o HostingSiteOutput) AppId() pulumi.StringPtrOutput
- func (o HostingSiteOutput) DefaultUrl() pulumi.StringOutput
- func (HostingSiteOutput) ElementType() reflect.Type
- func (o HostingSiteOutput) Name() pulumi.StringOutput
- func (o HostingSiteOutput) Project() pulumi.StringOutput
- func (o HostingSiteOutput) SiteId() pulumi.StringPtrOutput
- func (o HostingSiteOutput) ToHostingSiteOutput() HostingSiteOutput
- func (o HostingSiteOutput) ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput
- type HostingSiteState
- type LookupAndroidAppArgs
- type LookupAndroidAppOutputArgs
- type LookupAndroidAppResult
- type LookupAndroidAppResultOutput
- func (o LookupAndroidAppResultOutput) AppId() pulumi.StringOutput
- func (o LookupAndroidAppResultOutput) DeletionPolicy() pulumi.StringOutput
- func (o LookupAndroidAppResultOutput) DisplayName() pulumi.StringOutput
- func (LookupAndroidAppResultOutput) ElementType() reflect.Type
- func (o LookupAndroidAppResultOutput) Id() pulumi.StringOutput
- func (o LookupAndroidAppResultOutput) Name() pulumi.StringOutput
- func (o LookupAndroidAppResultOutput) PackageName() pulumi.StringOutput
- func (o LookupAndroidAppResultOutput) Project() pulumi.StringOutput
- func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput() LookupAndroidAppResultOutput
- func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext(ctx context.Context) LookupAndroidAppResultOutput
- type LookupWebAppArgs
- type LookupWebAppOutputArgs
- type LookupWebAppResult
- type LookupWebAppResultOutput
- func (o LookupWebAppResultOutput) AppId() pulumi.StringOutput
- func (o LookupWebAppResultOutput) AppUrls() pulumi.StringArrayOutput
- func (o LookupWebAppResultOutput) DeletionPolicy() pulumi.StringOutput
- func (o LookupWebAppResultOutput) DisplayName() pulumi.StringOutput
- func (LookupWebAppResultOutput) ElementType() reflect.Type
- func (o LookupWebAppResultOutput) Id() pulumi.StringOutput
- func (o LookupWebAppResultOutput) Name() pulumi.StringOutput
- func (o LookupWebAppResultOutput) Project() pulumi.StringOutput
- func (o LookupWebAppResultOutput) ToLookupWebAppResultOutput() LookupWebAppResultOutput
- func (o LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext(ctx context.Context) LookupWebAppResultOutput
- type Project
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectInput
- type ProjectLocation
- type ProjectLocationArgs
- type ProjectLocationArray
- type ProjectLocationArrayInput
- type ProjectLocationArrayOutput
- func (ProjectLocationArrayOutput) ElementType() reflect.Type
- func (o ProjectLocationArrayOutput) Index(i pulumi.IntInput) ProjectLocationOutput
- func (o ProjectLocationArrayOutput) ToProjectLocationArrayOutput() ProjectLocationArrayOutput
- func (o ProjectLocationArrayOutput) ToProjectLocationArrayOutputWithContext(ctx context.Context) ProjectLocationArrayOutput
- type ProjectLocationInput
- type ProjectLocationMap
- type ProjectLocationMapInput
- type ProjectLocationMapOutput
- func (ProjectLocationMapOutput) ElementType() reflect.Type
- func (o ProjectLocationMapOutput) MapIndex(k pulumi.StringInput) ProjectLocationOutput
- func (o ProjectLocationMapOutput) ToProjectLocationMapOutput() ProjectLocationMapOutput
- func (o ProjectLocationMapOutput) ToProjectLocationMapOutputWithContext(ctx context.Context) ProjectLocationMapOutput
- type ProjectLocationOutput
- func (ProjectLocationOutput) ElementType() reflect.Type
- func (o ProjectLocationOutput) LocationId() pulumi.StringOutput
- func (o ProjectLocationOutput) Project() pulumi.StringOutput
- func (o ProjectLocationOutput) ToProjectLocationOutput() ProjectLocationOutput
- func (o ProjectLocationOutput) ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput
- type ProjectLocationState
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- func (o ProjectOutput) DisplayName() pulumi.StringOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) Project() pulumi.StringOutput
- func (o ProjectOutput) ProjectNumber() pulumi.StringOutput
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- type ProjectState
- type StorageBucket
- type StorageBucketArgs
- type StorageBucketArray
- type StorageBucketArrayInput
- type StorageBucketArrayOutput
- func (StorageBucketArrayOutput) ElementType() reflect.Type
- func (o StorageBucketArrayOutput) Index(i pulumi.IntInput) StorageBucketOutput
- func (o StorageBucketArrayOutput) ToStorageBucketArrayOutput() StorageBucketArrayOutput
- func (o StorageBucketArrayOutput) ToStorageBucketArrayOutputWithContext(ctx context.Context) StorageBucketArrayOutput
- type StorageBucketInput
- type StorageBucketMap
- type StorageBucketMapInput
- type StorageBucketMapOutput
- func (StorageBucketMapOutput) ElementType() reflect.Type
- func (o StorageBucketMapOutput) MapIndex(k pulumi.StringInput) StorageBucketOutput
- func (o StorageBucketMapOutput) ToStorageBucketMapOutput() StorageBucketMapOutput
- func (o StorageBucketMapOutput) ToStorageBucketMapOutputWithContext(ctx context.Context) StorageBucketMapOutput
- type StorageBucketOutput
- func (o StorageBucketOutput) BucketId() pulumi.StringPtrOutput
- func (StorageBucketOutput) ElementType() reflect.Type
- func (o StorageBucketOutput) Name() pulumi.StringOutput
- func (o StorageBucketOutput) Project() pulumi.StringOutput
- func (o StorageBucketOutput) ToStorageBucketOutput() StorageBucketOutput
- func (o StorageBucketOutput) ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput
- type StorageBucketState
- type WebApp
- type WebAppArgs
- type WebAppArray
- type WebAppArrayInput
- type WebAppArrayOutput
- type WebAppInput
- type WebAppMap
- type WebAppMapInput
- type WebAppMapOutput
- type WebAppOutput
- func (o WebAppOutput) AppId() pulumi.StringOutput
- func (o WebAppOutput) AppUrls() pulumi.StringArrayOutput
- func (o WebAppOutput) DeletionPolicy() pulumi.StringPtrOutput
- func (o WebAppOutput) DisplayName() pulumi.StringOutput
- func (WebAppOutput) ElementType() reflect.Type
- func (o WebAppOutput) Name() pulumi.StringOutput
- func (o WebAppOutput) Project() pulumi.StringOutput
- func (o WebAppOutput) ToWebAppOutput() WebAppOutput
- func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
- type WebAppState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AndroidApp ¶ added in v6.42.0
type AndroidApp struct { pulumi.CustomResourceState // 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"` // (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. 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/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"` }
## Example Usage ### Firebase Android App Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(""), }, 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 projects/{{project}}/androidApps/{{appId}}
```
```sh
$ pulumi import gcp:firebase/androidApp:AndroidApp default {{project}}/{{appId}}
```
```sh
$ pulumi import gcp:firebase/androidApp:AndroidApp default androidApps/{{appId}}
```
```sh
$ pulumi import gcp:firebase/androidApp:AndroidApp default {{appId}}
```
func GetAndroidApp ¶ added in v6.42.0
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 ¶ added in v6.42.0
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 ¶ added in v6.42.0
func (*AndroidApp) ElementType() reflect.Type
func (*AndroidApp) ToAndroidAppOutput ¶ added in v6.42.0
func (i *AndroidApp) ToAndroidAppOutput() AndroidAppOutput
func (*AndroidApp) ToAndroidAppOutputWithContext ¶ added in v6.42.0
func (i *AndroidApp) ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput
type AndroidAppArgs ¶ added in v6.42.0
type AndroidAppArgs struct { // (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. Default to 'DELETE'. DeletionPolicy pulumi.StringPtrInput // The user-assigned display name of the App. 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 set of arguments for constructing a AndroidApp resource.
func (AndroidAppArgs) ElementType ¶ added in v6.42.0
func (AndroidAppArgs) ElementType() reflect.Type
type AndroidAppArray ¶ added in v6.42.0
type AndroidAppArray []AndroidAppInput
func (AndroidAppArray) ElementType ¶ added in v6.42.0
func (AndroidAppArray) ElementType() reflect.Type
func (AndroidAppArray) ToAndroidAppArrayOutput ¶ added in v6.42.0
func (i AndroidAppArray) ToAndroidAppArrayOutput() AndroidAppArrayOutput
func (AndroidAppArray) ToAndroidAppArrayOutputWithContext ¶ added in v6.42.0
func (i AndroidAppArray) ToAndroidAppArrayOutputWithContext(ctx context.Context) AndroidAppArrayOutput
type AndroidAppArrayInput ¶ added in v6.42.0
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 ¶ added in v6.42.0
type AndroidAppArrayOutput struct{ *pulumi.OutputState }
func (AndroidAppArrayOutput) ElementType ¶ added in v6.42.0
func (AndroidAppArrayOutput) ElementType() reflect.Type
func (AndroidAppArrayOutput) Index ¶ added in v6.42.0
func (o AndroidAppArrayOutput) Index(i pulumi.IntInput) AndroidAppOutput
func (AndroidAppArrayOutput) ToAndroidAppArrayOutput ¶ added in v6.42.0
func (o AndroidAppArrayOutput) ToAndroidAppArrayOutput() AndroidAppArrayOutput
func (AndroidAppArrayOutput) ToAndroidAppArrayOutputWithContext ¶ added in v6.42.0
func (o AndroidAppArrayOutput) ToAndroidAppArrayOutputWithContext(ctx context.Context) AndroidAppArrayOutput
type AndroidAppInput ¶ added in v6.42.0
type AndroidAppInput interface { pulumi.Input ToAndroidAppOutput() AndroidAppOutput ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput }
type AndroidAppMap ¶ added in v6.42.0
type AndroidAppMap map[string]AndroidAppInput
func (AndroidAppMap) ElementType ¶ added in v6.42.0
func (AndroidAppMap) ElementType() reflect.Type
func (AndroidAppMap) ToAndroidAppMapOutput ¶ added in v6.42.0
func (i AndroidAppMap) ToAndroidAppMapOutput() AndroidAppMapOutput
func (AndroidAppMap) ToAndroidAppMapOutputWithContext ¶ added in v6.42.0
func (i AndroidAppMap) ToAndroidAppMapOutputWithContext(ctx context.Context) AndroidAppMapOutput
type AndroidAppMapInput ¶ added in v6.42.0
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 ¶ added in v6.42.0
type AndroidAppMapOutput struct{ *pulumi.OutputState }
func (AndroidAppMapOutput) ElementType ¶ added in v6.42.0
func (AndroidAppMapOutput) ElementType() reflect.Type
func (AndroidAppMapOutput) MapIndex ¶ added in v6.42.0
func (o AndroidAppMapOutput) MapIndex(k pulumi.StringInput) AndroidAppOutput
func (AndroidAppMapOutput) ToAndroidAppMapOutput ¶ added in v6.42.0
func (o AndroidAppMapOutput) ToAndroidAppMapOutput() AndroidAppMapOutput
func (AndroidAppMapOutput) ToAndroidAppMapOutputWithContext ¶ added in v6.42.0
func (o AndroidAppMapOutput) ToAndroidAppMapOutputWithContext(ctx context.Context) AndroidAppMapOutput
type AndroidAppOutput ¶ added in v6.42.0
type AndroidAppOutput struct{ *pulumi.OutputState }
func (AndroidAppOutput) AppId ¶ added in v6.42.0
func (o AndroidAppOutput) 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 (AndroidAppOutput) DeletionPolicy ¶ added in v6.42.0
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. Default to 'DELETE'.
func (AndroidAppOutput) DisplayName ¶ added in v6.42.0
func (o AndroidAppOutput) DisplayName() pulumi.StringOutput
The user-assigned display name of the App.
func (AndroidAppOutput) ElementType ¶ added in v6.42.0
func (AndroidAppOutput) ElementType() reflect.Type
func (AndroidAppOutput) Name ¶ added in v6.42.0
func (o AndroidAppOutput) Name() pulumi.StringOutput
The fully qualified resource name of the App, for example: projects/projectId/androidApps/appId
func (AndroidAppOutput) PackageName ¶ added in v6.42.0
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 ¶ added in v6.42.0
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) ToAndroidAppOutput ¶ added in v6.42.0
func (o AndroidAppOutput) ToAndroidAppOutput() AndroidAppOutput
func (AndroidAppOutput) ToAndroidAppOutputWithContext ¶ added in v6.42.0
func (o AndroidAppOutput) ToAndroidAppOutputWithContext(ctx context.Context) AndroidAppOutput
type AndroidAppState ¶ added in v6.42.0
type AndroidAppState struct { // 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 // (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. 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/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 }
func (AndroidAppState) ElementType ¶ added in v6.42.0
func (AndroidAppState) ElementType() reflect.Type
type AppleApp ¶ added in v6.44.0
type AppleApp struct { pulumi.CustomResourceState // 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.StringPtrOutput `pulumi:"bundleId"` // (Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon // 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. // 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/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/v6/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/v6/go/gcp/firebase" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, 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"), }, 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 projects/{{project}}/iosApps/{{appId}}
```
```sh
$ pulumi import gcp:firebase/appleApp:AppleApp default {{project}}/{{appId}}
```
```sh
$ pulumi import gcp:firebase/appleApp:AppleApp default iosApps/{{appId}}
```
```sh
$ pulumi import gcp:firebase/appleApp:AppleApp default {{appId}}
```
func GetAppleApp ¶ added in v6.44.0
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 ¶ added in v6.44.0
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 ¶ added in v6.44.0
func (*AppleApp) ToAppleAppOutput ¶ added in v6.44.0
func (i *AppleApp) ToAppleAppOutput() AppleAppOutput
func (*AppleApp) ToAppleAppOutputWithContext ¶ added in v6.44.0
func (i *AppleApp) ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput
type AppleAppArgs ¶ added in v6.44.0
type AppleAppArgs struct { // 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 AppleApp to be untracked from terraform state rather than deleted upon // 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. // 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 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 ¶ added in v6.44.0
func (AppleAppArgs) ElementType() reflect.Type
type AppleAppArray ¶ added in v6.44.0
type AppleAppArray []AppleAppInput
func (AppleAppArray) ElementType ¶ added in v6.44.0
func (AppleAppArray) ElementType() reflect.Type
func (AppleAppArray) ToAppleAppArrayOutput ¶ added in v6.44.0
func (i AppleAppArray) ToAppleAppArrayOutput() AppleAppArrayOutput
func (AppleAppArray) ToAppleAppArrayOutputWithContext ¶ added in v6.44.0
func (i AppleAppArray) ToAppleAppArrayOutputWithContext(ctx context.Context) AppleAppArrayOutput
type AppleAppArrayInput ¶ added in v6.44.0
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 ¶ added in v6.44.0
type AppleAppArrayOutput struct{ *pulumi.OutputState }
func (AppleAppArrayOutput) ElementType ¶ added in v6.44.0
func (AppleAppArrayOutput) ElementType() reflect.Type
func (AppleAppArrayOutput) Index ¶ added in v6.44.0
func (o AppleAppArrayOutput) Index(i pulumi.IntInput) AppleAppOutput
func (AppleAppArrayOutput) ToAppleAppArrayOutput ¶ added in v6.44.0
func (o AppleAppArrayOutput) ToAppleAppArrayOutput() AppleAppArrayOutput
func (AppleAppArrayOutput) ToAppleAppArrayOutputWithContext ¶ added in v6.44.0
func (o AppleAppArrayOutput) ToAppleAppArrayOutputWithContext(ctx context.Context) AppleAppArrayOutput
type AppleAppInput ¶ added in v6.44.0
type AppleAppInput interface { pulumi.Input ToAppleAppOutput() AppleAppOutput ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput }
type AppleAppMap ¶ added in v6.44.0
type AppleAppMap map[string]AppleAppInput
func (AppleAppMap) ElementType ¶ added in v6.44.0
func (AppleAppMap) ElementType() reflect.Type
func (AppleAppMap) ToAppleAppMapOutput ¶ added in v6.44.0
func (i AppleAppMap) ToAppleAppMapOutput() AppleAppMapOutput
func (AppleAppMap) ToAppleAppMapOutputWithContext ¶ added in v6.44.0
func (i AppleAppMap) ToAppleAppMapOutputWithContext(ctx context.Context) AppleAppMapOutput
type AppleAppMapInput ¶ added in v6.44.0
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 ¶ added in v6.44.0
type AppleAppMapOutput struct{ *pulumi.OutputState }
func (AppleAppMapOutput) ElementType ¶ added in v6.44.0
func (AppleAppMapOutput) ElementType() reflect.Type
func (AppleAppMapOutput) MapIndex ¶ added in v6.44.0
func (o AppleAppMapOutput) MapIndex(k pulumi.StringInput) AppleAppOutput
func (AppleAppMapOutput) ToAppleAppMapOutput ¶ added in v6.44.0
func (o AppleAppMapOutput) ToAppleAppMapOutput() AppleAppMapOutput
func (AppleAppMapOutput) ToAppleAppMapOutputWithContext ¶ added in v6.44.0
func (o AppleAppMapOutput) ToAppleAppMapOutputWithContext(ctx context.Context) AppleAppMapOutput
type AppleAppOutput ¶ added in v6.44.0
type AppleAppOutput struct{ *pulumi.OutputState }
func (AppleAppOutput) AppId ¶ added in v6.44.0
func (o AppleAppOutput) 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 (AppleAppOutput) AppStoreId ¶ added in v6.44.0
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 ¶ added in v6.44.0
func (o AppleAppOutput) BundleId() pulumi.StringPtrOutput
The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.
func (AppleAppOutput) DeletionPolicy ¶ added in v6.44.0
func (o AppleAppOutput) DeletionPolicy() pulumi.StringPtrOutput
(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.
func (AppleAppOutput) DisplayName ¶ added in v6.44.0
func (o AppleAppOutput) DisplayName() pulumi.StringOutput
The user-assigned display name of the App.
func (AppleAppOutput) ElementType ¶ added in v6.44.0
func (AppleAppOutput) ElementType() reflect.Type
func (AppleAppOutput) Name ¶ added in v6.44.0
func (o AppleAppOutput) Name() pulumi.StringOutput
The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId
func (AppleAppOutput) Project ¶ added in v6.44.0
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 ¶ added in v6.44.0
func (o AppleAppOutput) TeamId() pulumi.StringPtrOutput
The Apple Developer Team ID associated with the App in the App Store.
func (AppleAppOutput) ToAppleAppOutput ¶ added in v6.44.0
func (o AppleAppOutput) ToAppleAppOutput() AppleAppOutput
func (AppleAppOutput) ToAppleAppOutputWithContext ¶ added in v6.44.0
func (o AppleAppOutput) ToAppleAppOutputWithContext(ctx context.Context) AppleAppOutput
type AppleAppState ¶ added in v6.44.0
type AppleAppState struct { // 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 AppleApp to be untracked from terraform state rather than deleted upon // 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. // 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/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 ¶ added in v6.44.0
func (AppleAppState) ElementType() reflect.Type
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 { ApiKey string `pulumi:"apiKey"` AuthDomain string `pulumi:"authDomain"` DatabaseUrl string `pulumi:"databaseUrl"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` LocationId string `pulumi:"locationId"` MeasurementId string `pulumi:"measurementId"` MessagingSenderId string `pulumi:"messagingSenderId"` Project *string `pulumi:"project"` 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
- [Official Documentation](https://firebase.google.com/)
type GetWebAppConfigResultOutput ¶
type GetWebAppConfigResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getWebAppConfig.
func GetWebAppConfigOutput ¶
func GetWebAppConfigOutput(ctx *pulumi.Context, args GetWebAppConfigOutputArgs, opts ...pulumi.InvokeOption) GetWebAppConfigResultOutput
func (GetWebAppConfigResultOutput) ApiKey ¶
func (o GetWebAppConfigResultOutput) ApiKey() pulumi.StringOutput
func (GetWebAppConfigResultOutput) AuthDomain ¶
func (o GetWebAppConfigResultOutput) AuthDomain() pulumi.StringOutput
func (GetWebAppConfigResultOutput) DatabaseUrl ¶
func (o GetWebAppConfigResultOutput) DatabaseUrl() pulumi.StringOutput
func (GetWebAppConfigResultOutput) ElementType ¶
func (GetWebAppConfigResultOutput) ElementType() reflect.Type
func (GetWebAppConfigResultOutput) Id ¶
func (o GetWebAppConfigResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetWebAppConfigResultOutput) LocationId ¶
func (o GetWebAppConfigResultOutput) LocationId() pulumi.StringOutput
func (GetWebAppConfigResultOutput) MeasurementId ¶
func (o GetWebAppConfigResultOutput) MeasurementId() pulumi.StringOutput
func (GetWebAppConfigResultOutput) MessagingSenderId ¶
func (o GetWebAppConfigResultOutput) MessagingSenderId() pulumi.StringOutput
func (GetWebAppConfigResultOutput) Project ¶
func (o GetWebAppConfigResultOutput) Project() pulumi.StringPtrOutput
func (GetWebAppConfigResultOutput) StorageBucket ¶
func (o GetWebAppConfigResultOutput) StorageBucket() pulumi.StringOutput
func (GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput ¶
func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput() GetWebAppConfigResultOutput
func (GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext ¶
func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext(ctx context.Context) GetWebAppConfigResultOutput
func (GetWebAppConfigResultOutput) WebAppId ¶
func (o GetWebAppConfigResultOutput) WebAppId() pulumi.StringOutput
type HostingChannel ¶ added in v6.44.0
type HostingChannel struct { pulumi.CustomResourceState // Required. Immutable. A unique ID within the site that identifies the channel. ChannelId pulumi.StringOutput `pulumi:"channelId"` // The time at which the channel will be automatically deleted. If null, the channel // will not be automatically deleted. This field is present in the output whether it's // set directly or via the `ttl` field. ExpireTime pulumi.StringOutput `pulumi:"expireTime"` // Text labels used for extra metadata and/or filtering Labels pulumi.StringMapOutput `pulumi:"labels"` // The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID Name pulumi.StringOutput `pulumi:"name"` // The 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"` // 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/v6/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/v6/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 ¶ added in v6.44.0
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 ¶ added in v6.44.0
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 ¶ added in v6.44.0
func (*HostingChannel) ElementType() reflect.Type
func (*HostingChannel) ToHostingChannelOutput ¶ added in v6.44.0
func (i *HostingChannel) ToHostingChannelOutput() HostingChannelOutput
func (*HostingChannel) ToHostingChannelOutputWithContext ¶ added in v6.44.0
func (i *HostingChannel) ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput
type HostingChannelArgs ¶ added in v6.44.0
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 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 ¶ added in v6.44.0
func (HostingChannelArgs) ElementType() reflect.Type
type HostingChannelArray ¶ added in v6.44.0
type HostingChannelArray []HostingChannelInput
func (HostingChannelArray) ElementType ¶ added in v6.44.0
func (HostingChannelArray) ElementType() reflect.Type
func (HostingChannelArray) ToHostingChannelArrayOutput ¶ added in v6.44.0
func (i HostingChannelArray) ToHostingChannelArrayOutput() HostingChannelArrayOutput
func (HostingChannelArray) ToHostingChannelArrayOutputWithContext ¶ added in v6.44.0
func (i HostingChannelArray) ToHostingChannelArrayOutputWithContext(ctx context.Context) HostingChannelArrayOutput
type HostingChannelArrayInput ¶ added in v6.44.0
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 ¶ added in v6.44.0
type HostingChannelArrayOutput struct{ *pulumi.OutputState }
func (HostingChannelArrayOutput) ElementType ¶ added in v6.44.0
func (HostingChannelArrayOutput) ElementType() reflect.Type
func (HostingChannelArrayOutput) Index ¶ added in v6.44.0
func (o HostingChannelArrayOutput) Index(i pulumi.IntInput) HostingChannelOutput
func (HostingChannelArrayOutput) ToHostingChannelArrayOutput ¶ added in v6.44.0
func (o HostingChannelArrayOutput) ToHostingChannelArrayOutput() HostingChannelArrayOutput
func (HostingChannelArrayOutput) ToHostingChannelArrayOutputWithContext ¶ added in v6.44.0
func (o HostingChannelArrayOutput) ToHostingChannelArrayOutputWithContext(ctx context.Context) HostingChannelArrayOutput
type HostingChannelInput ¶ added in v6.44.0
type HostingChannelInput interface { pulumi.Input ToHostingChannelOutput() HostingChannelOutput ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput }
type HostingChannelMap ¶ added in v6.44.0
type HostingChannelMap map[string]HostingChannelInput
func (HostingChannelMap) ElementType ¶ added in v6.44.0
func (HostingChannelMap) ElementType() reflect.Type
func (HostingChannelMap) ToHostingChannelMapOutput ¶ added in v6.44.0
func (i HostingChannelMap) ToHostingChannelMapOutput() HostingChannelMapOutput
func (HostingChannelMap) ToHostingChannelMapOutputWithContext ¶ added in v6.44.0
func (i HostingChannelMap) ToHostingChannelMapOutputWithContext(ctx context.Context) HostingChannelMapOutput
type HostingChannelMapInput ¶ added in v6.44.0
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 ¶ added in v6.44.0
type HostingChannelMapOutput struct{ *pulumi.OutputState }
func (HostingChannelMapOutput) ElementType ¶ added in v6.44.0
func (HostingChannelMapOutput) ElementType() reflect.Type
func (HostingChannelMapOutput) MapIndex ¶ added in v6.44.0
func (o HostingChannelMapOutput) MapIndex(k pulumi.StringInput) HostingChannelOutput
func (HostingChannelMapOutput) ToHostingChannelMapOutput ¶ added in v6.44.0
func (o HostingChannelMapOutput) ToHostingChannelMapOutput() HostingChannelMapOutput
func (HostingChannelMapOutput) ToHostingChannelMapOutputWithContext ¶ added in v6.44.0
func (o HostingChannelMapOutput) ToHostingChannelMapOutputWithContext(ctx context.Context) HostingChannelMapOutput
type HostingChannelOutput ¶ added in v6.44.0
type HostingChannelOutput struct{ *pulumi.OutputState }
func (HostingChannelOutput) ChannelId ¶ added in v6.44.0
func (o HostingChannelOutput) ChannelId() pulumi.StringOutput
Required. Immutable. A unique ID within the site that identifies the channel.
func (HostingChannelOutput) ElementType ¶ added in v6.44.0
func (HostingChannelOutput) ElementType() reflect.Type
func (HostingChannelOutput) ExpireTime ¶ added in v6.44.0
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 ¶ added in v6.44.0
func (o HostingChannelOutput) Labels() pulumi.StringMapOutput
Text labels used for extra metadata and/or filtering
func (HostingChannelOutput) Name ¶ added in v6.44.0
func (o HostingChannelOutput) Name() pulumi.StringOutput
The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID
func (HostingChannelOutput) RetainedReleaseCount ¶ added in v6.44.0
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 ¶ added in v6.44.0
func (o HostingChannelOutput) SiteId() pulumi.StringOutput
Required. The ID of the site in which to create this channel.
func (HostingChannelOutput) ToHostingChannelOutput ¶ added in v6.44.0
func (o HostingChannelOutput) ToHostingChannelOutput() HostingChannelOutput
func (HostingChannelOutput) ToHostingChannelOutputWithContext ¶ added in v6.44.0
func (o HostingChannelOutput) ToHostingChannelOutputWithContext(ctx context.Context) HostingChannelOutput
func (HostingChannelOutput) Ttl ¶ added in v6.44.0
func (o HostingChannelOutput) Ttl() pulumi.StringPtrOutput
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 ¶ added in v6.44.0
type HostingChannelState struct { // Required. Immutable. A unique ID within the site that identifies the channel. ChannelId pulumi.StringPtrInput // The time at which the channel will be automatically deleted. If null, the channel // will not be automatically deleted. This field is present in the output whether it's // set directly or via the `ttl` field. ExpireTime pulumi.StringPtrInput // Text labels used for extra metadata and/or filtering Labels pulumi.StringMapInput // The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID Name pulumi.StringPtrInput // 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 // 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 ¶ added in v6.44.0
func (HostingChannelState) ElementType() reflect.Type
type HostingSite ¶ added in v6.44.0
type HostingSite struct { pulumi.CustomResourceState // Optional. The [ID of a Web App](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) // associated with the Hosting site. AppId pulumi.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/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) // ***(recommended)*** or its // ['ProjectId'](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). // Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). Name pulumi.StringOutput `pulumi:"name"` // The 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/v6/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/v6/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"), DeletionPolicy: pulumi.String("DELETE"), }, 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 ¶ added in v6.44.0
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 ¶ added in v6.44.0
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 ¶ added in v6.44.0
func (*HostingSite) ElementType() reflect.Type
func (*HostingSite) ToHostingSiteOutput ¶ added in v6.44.0
func (i *HostingSite) ToHostingSiteOutput() HostingSiteOutput
func (*HostingSite) ToHostingSiteOutputWithContext ¶ added in v6.44.0
func (i *HostingSite) ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput
type HostingSiteArgs ¶ added in v6.44.0
type HostingSiteArgs struct { // Optional. The [ID of a Web App](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) // associated with the Hosting site. AppId pulumi.StringPtrInput // 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 ¶ added in v6.44.0
func (HostingSiteArgs) ElementType() reflect.Type
type HostingSiteArray ¶ added in v6.44.0
type HostingSiteArray []HostingSiteInput
func (HostingSiteArray) ElementType ¶ added in v6.44.0
func (HostingSiteArray) ElementType() reflect.Type
func (HostingSiteArray) ToHostingSiteArrayOutput ¶ added in v6.44.0
func (i HostingSiteArray) ToHostingSiteArrayOutput() HostingSiteArrayOutput
func (HostingSiteArray) ToHostingSiteArrayOutputWithContext ¶ added in v6.44.0
func (i HostingSiteArray) ToHostingSiteArrayOutputWithContext(ctx context.Context) HostingSiteArrayOutput
type HostingSiteArrayInput ¶ added in v6.44.0
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 ¶ added in v6.44.0
type HostingSiteArrayOutput struct{ *pulumi.OutputState }
func (HostingSiteArrayOutput) ElementType ¶ added in v6.44.0
func (HostingSiteArrayOutput) ElementType() reflect.Type
func (HostingSiteArrayOutput) Index ¶ added in v6.44.0
func (o HostingSiteArrayOutput) Index(i pulumi.IntInput) HostingSiteOutput
func (HostingSiteArrayOutput) ToHostingSiteArrayOutput ¶ added in v6.44.0
func (o HostingSiteArrayOutput) ToHostingSiteArrayOutput() HostingSiteArrayOutput
func (HostingSiteArrayOutput) ToHostingSiteArrayOutputWithContext ¶ added in v6.44.0
func (o HostingSiteArrayOutput) ToHostingSiteArrayOutputWithContext(ctx context.Context) HostingSiteArrayOutput
type HostingSiteInput ¶ added in v6.44.0
type HostingSiteInput interface { pulumi.Input ToHostingSiteOutput() HostingSiteOutput ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput }
type HostingSiteMap ¶ added in v6.44.0
type HostingSiteMap map[string]HostingSiteInput
func (HostingSiteMap) ElementType ¶ added in v6.44.0
func (HostingSiteMap) ElementType() reflect.Type
func (HostingSiteMap) ToHostingSiteMapOutput ¶ added in v6.44.0
func (i HostingSiteMap) ToHostingSiteMapOutput() HostingSiteMapOutput
func (HostingSiteMap) ToHostingSiteMapOutputWithContext ¶ added in v6.44.0
func (i HostingSiteMap) ToHostingSiteMapOutputWithContext(ctx context.Context) HostingSiteMapOutput
type HostingSiteMapInput ¶ added in v6.44.0
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 ¶ added in v6.44.0
type HostingSiteMapOutput struct{ *pulumi.OutputState }
func (HostingSiteMapOutput) ElementType ¶ added in v6.44.0
func (HostingSiteMapOutput) ElementType() reflect.Type
func (HostingSiteMapOutput) MapIndex ¶ added in v6.44.0
func (o HostingSiteMapOutput) MapIndex(k pulumi.StringInput) HostingSiteOutput
func (HostingSiteMapOutput) ToHostingSiteMapOutput ¶ added in v6.44.0
func (o HostingSiteMapOutput) ToHostingSiteMapOutput() HostingSiteMapOutput
func (HostingSiteMapOutput) ToHostingSiteMapOutputWithContext ¶ added in v6.44.0
func (o HostingSiteMapOutput) ToHostingSiteMapOutputWithContext(ctx context.Context) HostingSiteMapOutput
type HostingSiteOutput ¶ added in v6.44.0
type HostingSiteOutput struct{ *pulumi.OutputState }
func (HostingSiteOutput) AppId ¶ added in v6.44.0
func (o HostingSiteOutput) AppId() pulumi.StringPtrOutput
Optional. The [ID of a Web App](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site.
func (HostingSiteOutput) DefaultUrl ¶ added in v6.44.0
func (o HostingSiteOutput) DefaultUrl() pulumi.StringOutput
The default URL for the site in the form of https://{name}.web.app
func (HostingSiteOutput) ElementType ¶ added in v6.44.0
func (HostingSiteOutput) ElementType() reflect.Type
func (HostingSiteOutput) Name ¶ added in v6.44.0
func (o HostingSiteOutput) Name() pulumi.StringOutput
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/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its ['ProjectId'](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
func (HostingSiteOutput) Project ¶ added in v6.44.0
func (o HostingSiteOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (HostingSiteOutput) SiteId ¶ added in v6.44.0
func (o HostingSiteOutput) SiteId() pulumi.StringPtrOutput
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 ¶ added in v6.44.0
func (o HostingSiteOutput) ToHostingSiteOutput() HostingSiteOutput
func (HostingSiteOutput) ToHostingSiteOutputWithContext ¶ added in v6.44.0
func (o HostingSiteOutput) ToHostingSiteOutputWithContext(ctx context.Context) HostingSiteOutput
type HostingSiteState ¶ added in v6.44.0
type HostingSiteState struct { // Optional. The [ID of a Web App](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) // associated with the Hosting site. AppId pulumi.StringPtrInput // 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/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number) // ***(recommended)*** or its // ['ProjectId'](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects#FirebaseProject.FIELDS.project_id). // Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). Name pulumi.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 ¶ added in v6.44.0
func (HostingSiteState) ElementType() reflect.Type
type LookupAndroidAppArgs ¶ added in v6.45.0
type LookupAndroidAppArgs struct { // The appIp of name of the Firebase androidApp. AppId string `pulumi:"appId"` }
A collection of arguments for invoking getAndroidApp.
type LookupAndroidAppOutputArgs ¶ added in v6.45.0
type LookupAndroidAppOutputArgs struct { // The appIp of name of the Firebase androidApp. AppId pulumi.StringInput `pulumi:"appId"` }
A collection of arguments for invoking getAndroidApp.
func (LookupAndroidAppOutputArgs) ElementType ¶ added in v6.45.0
func (LookupAndroidAppOutputArgs) ElementType() reflect.Type
type LookupAndroidAppResult ¶ added in v6.45.0
type LookupAndroidAppResult struct { AppId string `pulumi:"appId"` DeletionPolicy string `pulumi:"deletionPolicy"` DisplayName string `pulumi:"displayName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` PackageName string `pulumi:"packageName"` Project string `pulumi:"project"` }
A collection of values returned by getAndroidApp.
func LookupAndroidApp ¶ added in v6.45.0
func LookupAndroidApp(ctx *pulumi.Context, args *LookupAndroidAppArgs, opts ...pulumi.InvokeOption) (*LookupAndroidAppResult, error)
type LookupAndroidAppResultOutput ¶ added in v6.45.0
type LookupAndroidAppResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAndroidApp.
func LookupAndroidAppOutput ¶ added in v6.45.0
func LookupAndroidAppOutput(ctx *pulumi.Context, args LookupAndroidAppOutputArgs, opts ...pulumi.InvokeOption) LookupAndroidAppResultOutput
func (LookupAndroidAppResultOutput) AppId ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) AppId() pulumi.StringOutput
func (LookupAndroidAppResultOutput) DeletionPolicy ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) DeletionPolicy() pulumi.StringOutput
func (LookupAndroidAppResultOutput) DisplayName ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) DisplayName() pulumi.StringOutput
func (LookupAndroidAppResultOutput) ElementType ¶ added in v6.45.0
func (LookupAndroidAppResultOutput) ElementType() reflect.Type
func (LookupAndroidAppResultOutput) Id ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAndroidAppResultOutput) Name ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) Name() pulumi.StringOutput
func (LookupAndroidAppResultOutput) PackageName ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) PackageName() pulumi.StringOutput
func (LookupAndroidAppResultOutput) Project ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) Project() pulumi.StringOutput
func (LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutput() LookupAndroidAppResultOutput
func (LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext ¶ added in v6.45.0
func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext(ctx context.Context) LookupAndroidAppResultOutput
type LookupWebAppArgs ¶
type LookupWebAppArgs struct { // The appIp of name of the Firebase webApp. AppId string `pulumi:"appId"` }
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"` }
A collection of arguments for invoking getWebApp.
func (LookupWebAppOutputArgs) ElementType ¶
func (LookupWebAppOutputArgs) ElementType() reflect.Type
type LookupWebAppResult ¶
type LookupWebAppResult struct { 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"` 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 LookupWebAppOutput ¶
func LookupWebAppOutput(ctx *pulumi.Context, args LookupWebAppOutputArgs, opts ...pulumi.InvokeOption) LookupWebAppResultOutput
func (LookupWebAppResultOutput) AppId ¶
func (o LookupWebAppResultOutput) AppId() pulumi.StringOutput
func (LookupWebAppResultOutput) AppUrls ¶ added in v6.42.0
func (o LookupWebAppResultOutput) AppUrls() pulumi.StringArrayOutput
func (LookupWebAppResultOutput) DeletionPolicy ¶ added in v6.42.0
func (o LookupWebAppResultOutput) DeletionPolicy() pulumi.StringOutput
func (LookupWebAppResultOutput) DisplayName ¶
func (o LookupWebAppResultOutput) DisplayName() pulumi.StringOutput
func (LookupWebAppResultOutput) ElementType ¶
func (LookupWebAppResultOutput) ElementType() reflect.Type
func (LookupWebAppResultOutput) Id ¶
func (o LookupWebAppResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupWebAppResultOutput) Name ¶
func (o LookupWebAppResultOutput) Name() pulumi.StringOutput
func (LookupWebAppResultOutput) Project ¶
func (o LookupWebAppResultOutput) Project() pulumi.StringOutput
func (LookupWebAppResultOutput) ToLookupWebAppResultOutput ¶
func (o LookupWebAppResultOutput) ToLookupWebAppResultOutput() LookupWebAppResultOutput
func (LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext ¶
func (o LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext(ctx context.Context) LookupWebAppResultOutput
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/projects/api/reference/rest/v1beta1/projects) * How-to Guides
- [Official Documentation](https://firebase.google.com/)
## Example Usage ### Firebase Project Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase" "github.com/pulumi/pulumi-gcp/sdk/v6/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("tf-test"), OrgId: pulumi.String("123456789"), }, 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) 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) 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 (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
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 ProjectLocation ¶
type ProjectLocation struct { pulumi.CustomResourceState // The ID of the default GCP resource location for the Project. The location must be one of the available GCP // resource locations. LocationId pulumi.StringOutput `pulumi:"locationId"` // 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"` }
Sets the default Google Cloud Platform (GCP) resource location for the specified FirebaseProject. This method creates an App Engine application with a default Cloud Storage bucket, located in the specified locationId. This location must be one of the available GCP resource locations. After the default GCP resource location is finalized, or if it was already set, it cannot be changed. The default GCP resource location for the specified FirebaseProject might already be set because either the GCP Project already has an App Engine application or defaultLocation.finalize was previously called with a specified locationId. Any new calls to defaultLocation.finalize with a different specified locationId will return a 409 error.
To get more information about ProjectLocation, see:
* [API documentation](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.defaultLocation/finalize) * How-to Guides
- [Official Documentation](https://firebase.google.com/)
## Example Usage ### Firebase Project Location Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase" "github.com/pulumi/pulumi-gcp/sdk/v6/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("tf-test"), OrgId: pulumi.String("123456789"), }, 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 } _, err = firebase.NewProjectLocation(ctx, "basic", &firebase.ProjectLocationArgs{ Project: defaultFirebase / projectProject.Project, LocationId: pulumi.String("us-central"), }, pulumi.Provider(google_beta)) if err != nil { return err } return nil }) }
```
## Import
ProjectLocation can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:firebase/projectLocation:ProjectLocation default projects/{{project}}
```
```sh
$ pulumi import gcp:firebase/projectLocation:ProjectLocation default {{project}}
```
func GetProjectLocation ¶
func GetProjectLocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectLocationState, opts ...pulumi.ResourceOption) (*ProjectLocation, error)
GetProjectLocation gets an existing ProjectLocation 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 NewProjectLocation ¶
func NewProjectLocation(ctx *pulumi.Context, name string, args *ProjectLocationArgs, opts ...pulumi.ResourceOption) (*ProjectLocation, error)
NewProjectLocation registers a new resource with the given unique name, arguments, and options.
func (*ProjectLocation) ElementType ¶
func (*ProjectLocation) ElementType() reflect.Type
func (*ProjectLocation) ToProjectLocationOutput ¶
func (i *ProjectLocation) ToProjectLocationOutput() ProjectLocationOutput
func (*ProjectLocation) ToProjectLocationOutputWithContext ¶
func (i *ProjectLocation) ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput
type ProjectLocationArgs ¶
type ProjectLocationArgs struct { // The ID of the default GCP resource location for the Project. The location must be one of the available GCP // resource locations. LocationId 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 ProjectLocation resource.
func (ProjectLocationArgs) ElementType ¶
func (ProjectLocationArgs) ElementType() reflect.Type
type ProjectLocationArray ¶
type ProjectLocationArray []ProjectLocationInput
func (ProjectLocationArray) ElementType ¶
func (ProjectLocationArray) ElementType() reflect.Type
func (ProjectLocationArray) ToProjectLocationArrayOutput ¶
func (i ProjectLocationArray) ToProjectLocationArrayOutput() ProjectLocationArrayOutput
func (ProjectLocationArray) ToProjectLocationArrayOutputWithContext ¶
func (i ProjectLocationArray) ToProjectLocationArrayOutputWithContext(ctx context.Context) ProjectLocationArrayOutput
type ProjectLocationArrayInput ¶
type ProjectLocationArrayInput interface { pulumi.Input ToProjectLocationArrayOutput() ProjectLocationArrayOutput ToProjectLocationArrayOutputWithContext(context.Context) ProjectLocationArrayOutput }
ProjectLocationArrayInput is an input type that accepts ProjectLocationArray and ProjectLocationArrayOutput values. You can construct a concrete instance of `ProjectLocationArrayInput` via:
ProjectLocationArray{ ProjectLocationArgs{...} }
type ProjectLocationArrayOutput ¶
type ProjectLocationArrayOutput struct{ *pulumi.OutputState }
func (ProjectLocationArrayOutput) ElementType ¶
func (ProjectLocationArrayOutput) ElementType() reflect.Type
func (ProjectLocationArrayOutput) Index ¶
func (o ProjectLocationArrayOutput) Index(i pulumi.IntInput) ProjectLocationOutput
func (ProjectLocationArrayOutput) ToProjectLocationArrayOutput ¶
func (o ProjectLocationArrayOutput) ToProjectLocationArrayOutput() ProjectLocationArrayOutput
func (ProjectLocationArrayOutput) ToProjectLocationArrayOutputWithContext ¶
func (o ProjectLocationArrayOutput) ToProjectLocationArrayOutputWithContext(ctx context.Context) ProjectLocationArrayOutput
type ProjectLocationInput ¶
type ProjectLocationInput interface { pulumi.Input ToProjectLocationOutput() ProjectLocationOutput ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput }
type ProjectLocationMap ¶
type ProjectLocationMap map[string]ProjectLocationInput
func (ProjectLocationMap) ElementType ¶
func (ProjectLocationMap) ElementType() reflect.Type
func (ProjectLocationMap) ToProjectLocationMapOutput ¶
func (i ProjectLocationMap) ToProjectLocationMapOutput() ProjectLocationMapOutput
func (ProjectLocationMap) ToProjectLocationMapOutputWithContext ¶
func (i ProjectLocationMap) ToProjectLocationMapOutputWithContext(ctx context.Context) ProjectLocationMapOutput
type ProjectLocationMapInput ¶
type ProjectLocationMapInput interface { pulumi.Input ToProjectLocationMapOutput() ProjectLocationMapOutput ToProjectLocationMapOutputWithContext(context.Context) ProjectLocationMapOutput }
ProjectLocationMapInput is an input type that accepts ProjectLocationMap and ProjectLocationMapOutput values. You can construct a concrete instance of `ProjectLocationMapInput` via:
ProjectLocationMap{ "key": ProjectLocationArgs{...} }
type ProjectLocationMapOutput ¶
type ProjectLocationMapOutput struct{ *pulumi.OutputState }
func (ProjectLocationMapOutput) ElementType ¶
func (ProjectLocationMapOutput) ElementType() reflect.Type
func (ProjectLocationMapOutput) MapIndex ¶
func (o ProjectLocationMapOutput) MapIndex(k pulumi.StringInput) ProjectLocationOutput
func (ProjectLocationMapOutput) ToProjectLocationMapOutput ¶
func (o ProjectLocationMapOutput) ToProjectLocationMapOutput() ProjectLocationMapOutput
func (ProjectLocationMapOutput) ToProjectLocationMapOutputWithContext ¶
func (o ProjectLocationMapOutput) ToProjectLocationMapOutputWithContext(ctx context.Context) ProjectLocationMapOutput
type ProjectLocationOutput ¶
type ProjectLocationOutput struct{ *pulumi.OutputState }
func (ProjectLocationOutput) ElementType ¶
func (ProjectLocationOutput) ElementType() reflect.Type
func (ProjectLocationOutput) LocationId ¶ added in v6.23.0
func (o ProjectLocationOutput) LocationId() pulumi.StringOutput
The ID of the default GCP resource location for the Project. The location must be one of the available GCP resource locations.
func (ProjectLocationOutput) Project ¶ added in v6.23.0
func (o ProjectLocationOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (ProjectLocationOutput) ToProjectLocationOutput ¶
func (o ProjectLocationOutput) ToProjectLocationOutput() ProjectLocationOutput
func (ProjectLocationOutput) ToProjectLocationOutputWithContext ¶
func (o ProjectLocationOutput) ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput
type ProjectLocationState ¶
type ProjectLocationState struct { // The ID of the default GCP resource location for the Project. The location must be one of the available GCP // resource locations. LocationId 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 (ProjectLocationState) ElementType ¶
func (ProjectLocationState) ElementType() reflect.Type
type ProjectMap ¶
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶
func (ProjectMap) ElementType() reflect.Type
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 (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
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 ¶ added in v6.23.0
func (o ProjectOutput) DisplayName() pulumi.StringOutput
The GCP project display name
func (ProjectOutput) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) Project ¶ added in v6.23.0
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 ¶ added in v6.23.0
func (o ProjectOutput) ProjectNumber() pulumi.StringOutput
The number of the google project that firebase is enabled on.
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 ¶ added in v6.45.0
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/v6/go/gcp/firebase" "github.com/pulumi/pulumi-gcp/sdk/v6/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 ¶ added in v6.45.0
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 ¶ added in v6.45.0
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 ¶ added in v6.45.0
func (*StorageBucket) ElementType() reflect.Type
func (*StorageBucket) ToStorageBucketOutput ¶ added in v6.45.0
func (i *StorageBucket) ToStorageBucketOutput() StorageBucketOutput
func (*StorageBucket) ToStorageBucketOutputWithContext ¶ added in v6.45.0
func (i *StorageBucket) ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput
type StorageBucketArgs ¶ added in v6.45.0
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 ¶ added in v6.45.0
func (StorageBucketArgs) ElementType() reflect.Type
type StorageBucketArray ¶ added in v6.45.0
type StorageBucketArray []StorageBucketInput
func (StorageBucketArray) ElementType ¶ added in v6.45.0
func (StorageBucketArray) ElementType() reflect.Type
func (StorageBucketArray) ToStorageBucketArrayOutput ¶ added in v6.45.0
func (i StorageBucketArray) ToStorageBucketArrayOutput() StorageBucketArrayOutput
func (StorageBucketArray) ToStorageBucketArrayOutputWithContext ¶ added in v6.45.0
func (i StorageBucketArray) ToStorageBucketArrayOutputWithContext(ctx context.Context) StorageBucketArrayOutput
type StorageBucketArrayInput ¶ added in v6.45.0
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 ¶ added in v6.45.0
type StorageBucketArrayOutput struct{ *pulumi.OutputState }
func (StorageBucketArrayOutput) ElementType ¶ added in v6.45.0
func (StorageBucketArrayOutput) ElementType() reflect.Type
func (StorageBucketArrayOutput) Index ¶ added in v6.45.0
func (o StorageBucketArrayOutput) Index(i pulumi.IntInput) StorageBucketOutput
func (StorageBucketArrayOutput) ToStorageBucketArrayOutput ¶ added in v6.45.0
func (o StorageBucketArrayOutput) ToStorageBucketArrayOutput() StorageBucketArrayOutput
func (StorageBucketArrayOutput) ToStorageBucketArrayOutputWithContext ¶ added in v6.45.0
func (o StorageBucketArrayOutput) ToStorageBucketArrayOutputWithContext(ctx context.Context) StorageBucketArrayOutput
type StorageBucketInput ¶ added in v6.45.0
type StorageBucketInput interface { pulumi.Input ToStorageBucketOutput() StorageBucketOutput ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput }
type StorageBucketMap ¶ added in v6.45.0
type StorageBucketMap map[string]StorageBucketInput
func (StorageBucketMap) ElementType ¶ added in v6.45.0
func (StorageBucketMap) ElementType() reflect.Type
func (StorageBucketMap) ToStorageBucketMapOutput ¶ added in v6.45.0
func (i StorageBucketMap) ToStorageBucketMapOutput() StorageBucketMapOutput
func (StorageBucketMap) ToStorageBucketMapOutputWithContext ¶ added in v6.45.0
func (i StorageBucketMap) ToStorageBucketMapOutputWithContext(ctx context.Context) StorageBucketMapOutput
type StorageBucketMapInput ¶ added in v6.45.0
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 ¶ added in v6.45.0
type StorageBucketMapOutput struct{ *pulumi.OutputState }
func (StorageBucketMapOutput) ElementType ¶ added in v6.45.0
func (StorageBucketMapOutput) ElementType() reflect.Type
func (StorageBucketMapOutput) MapIndex ¶ added in v6.45.0
func (o StorageBucketMapOutput) MapIndex(k pulumi.StringInput) StorageBucketOutput
func (StorageBucketMapOutput) ToStorageBucketMapOutput ¶ added in v6.45.0
func (o StorageBucketMapOutput) ToStorageBucketMapOutput() StorageBucketMapOutput
func (StorageBucketMapOutput) ToStorageBucketMapOutputWithContext ¶ added in v6.45.0
func (o StorageBucketMapOutput) ToStorageBucketMapOutputWithContext(ctx context.Context) StorageBucketMapOutput
type StorageBucketOutput ¶ added in v6.45.0
type StorageBucketOutput struct{ *pulumi.OutputState }
func (StorageBucketOutput) BucketId ¶ added in v6.45.0
func (o StorageBucketOutput) BucketId() pulumi.StringPtrOutput
Required. Immutable. The ID of the underlying Google Cloud Storage bucket
func (StorageBucketOutput) ElementType ¶ added in v6.45.0
func (StorageBucketOutput) ElementType() reflect.Type
func (StorageBucketOutput) Name ¶ added in v6.45.0
func (o StorageBucketOutput) Name() pulumi.StringOutput
Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
func (StorageBucketOutput) Project ¶ added in v6.45.0
func (o StorageBucketOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (StorageBucketOutput) ToStorageBucketOutput ¶ added in v6.45.0
func (o StorageBucketOutput) ToStorageBucketOutput() StorageBucketOutput
func (StorageBucketOutput) ToStorageBucketOutputWithContext ¶ added in v6.45.0
func (o StorageBucketOutput) ToStorageBucketOutputWithContext(ctx context.Context) StorageBucketOutput
type StorageBucketState ¶ added in v6.45.0
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 ¶ added in v6.45.0
func (StorageBucketState) ElementType() reflect.Type
type WebApp ¶
type WebApp struct { pulumi.CustomResourceState // 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 'ABANDON' 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/projects/api/reference/rest/v1beta1/projects.webApps) * How-to Guides
- [Official Documentation](https://firebase.google.com/)
## Example Usage
## Import
WebApp can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:firebase/webApp:WebApp default {{project}}/{{name}}
```
```sh
$ pulumi import gcp:firebase/webApp:WebApp default {{project}} {{name}}
```
```sh
$ pulumi import gcp:firebase/webApp:WebApp default {{name}}
```
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) ToWebAppOutput ¶
func (i *WebApp) ToWebAppOutput() WebAppOutput
func (*WebApp) ToWebAppOutputWithContext ¶
func (i *WebApp) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
type WebAppArgs ¶
type WebAppArgs struct { // 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 'ABANDON' 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) 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 (o WebAppArrayOutput) Index(i pulumi.IntInput) WebAppOutput
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) 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 (o WebAppMapOutput) MapIndex(k pulumi.StringInput) WebAppOutput
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) AppId ¶ added in v6.23.0
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 ¶ added in v6.42.0
func (o WebAppOutput) AppUrls() pulumi.StringArrayOutput
The URLs where the 'WebApp' is hosted.
func (WebAppOutput) DeletionPolicy ¶ added in v6.42.0
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 'ABANDON'
func (WebAppOutput) DisplayName ¶ added in v6.23.0
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 ¶ added in v6.23.0
func (o WebAppOutput) Name() pulumi.StringOutput
The fully qualified resource name of the App, for example: projects/projectId/webApps/appId
func (WebAppOutput) Project ¶ added in v6.23.0
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) 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, 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 'ABANDON' 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