Documentation ¶
Index ¶
- 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 LookupWebAppArgs
- type LookupWebAppOutputArgs
- type LookupWebAppResult
- type LookupWebAppResultOutput
- func (o LookupWebAppResultOutput) AppId() 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
- func (*Project) ElementType() reflect.Type
- func (i *Project) ToProjectOutput() ProjectOutput
- func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
- func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectInput
- type ProjectLocation
- func (*ProjectLocation) ElementType() reflect.Type
- func (i *ProjectLocation) ToProjectLocationOutput() ProjectLocationOutput
- func (i *ProjectLocation) ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput
- func (i *ProjectLocation) ToProjectLocationPtrOutput() ProjectLocationPtrOutput
- func (i *ProjectLocation) ToProjectLocationPtrOutputWithContext(ctx context.Context) ProjectLocationPtrOutput
- 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) ToProjectLocationOutput() ProjectLocationOutput
- func (o ProjectLocationOutput) ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput
- func (o ProjectLocationOutput) ToProjectLocationPtrOutput() ProjectLocationPtrOutput
- func (o ProjectLocationOutput) ToProjectLocationPtrOutputWithContext(ctx context.Context) ProjectLocationPtrOutput
- type ProjectLocationPtrInput
- type ProjectLocationPtrOutput
- func (o ProjectLocationPtrOutput) Elem() ProjectLocationOutput
- func (ProjectLocationPtrOutput) ElementType() reflect.Type
- func (o ProjectLocationPtrOutput) ToProjectLocationPtrOutput() ProjectLocationPtrOutput
- func (o ProjectLocationPtrOutput) ToProjectLocationPtrOutputWithContext(ctx context.Context) ProjectLocationPtrOutput
- type ProjectLocationState
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
- func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
- type ProjectPtrInput
- type ProjectPtrOutput
- type ProjectState
- type WebApp
- func (*WebApp) ElementType() reflect.Type
- func (i *WebApp) ToWebAppOutput() WebAppOutput
- func (i *WebApp) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
- func (i *WebApp) ToWebAppPtrOutput() WebAppPtrOutput
- func (i *WebApp) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
- type WebAppArgs
- type WebAppArray
- type WebAppArrayInput
- type WebAppArrayOutput
- type WebAppInput
- type WebAppMap
- type WebAppMapInput
- type WebAppMapOutput
- type WebAppOutput
- func (WebAppOutput) ElementType() reflect.Type
- func (o WebAppOutput) ToWebAppOutput() WebAppOutput
- func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
- func (o WebAppOutput) ToWebAppPtrOutput() WebAppPtrOutput
- func (o WebAppOutput) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
- type WebAppPtrInput
- type WebAppPtrOutput
- type WebAppState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶ added in v5.21.0
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 ¶ added in v5.21.0
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 ¶ added in v5.21.0
type GetWebAppConfigResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getWebAppConfig.
func GetWebAppConfigOutput ¶ added in v5.21.0
func GetWebAppConfigOutput(ctx *pulumi.Context, args GetWebAppConfigOutputArgs, opts ...pulumi.InvokeOption) GetWebAppConfigResultOutput
func (GetWebAppConfigResultOutput) ApiKey ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) ApiKey() pulumi.StringOutput
func (GetWebAppConfigResultOutput) AuthDomain ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) AuthDomain() pulumi.StringOutput
func (GetWebAppConfigResultOutput) DatabaseUrl ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) DatabaseUrl() pulumi.StringOutput
func (GetWebAppConfigResultOutput) ElementType ¶ added in v5.21.0
func (GetWebAppConfigResultOutput) ElementType() reflect.Type
func (GetWebAppConfigResultOutput) Id ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetWebAppConfigResultOutput) LocationId ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) LocationId() pulumi.StringOutput
func (GetWebAppConfigResultOutput) MeasurementId ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) MeasurementId() pulumi.StringOutput
func (GetWebAppConfigResultOutput) MessagingSenderId ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) MessagingSenderId() pulumi.StringOutput
func (GetWebAppConfigResultOutput) Project ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) Project() pulumi.StringPtrOutput
func (GetWebAppConfigResultOutput) StorageBucket ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) StorageBucket() pulumi.StringOutput
func (GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutput() GetWebAppConfigResultOutput
func (GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) ToGetWebAppConfigResultOutputWithContext(ctx context.Context) GetWebAppConfigResultOutput
func (GetWebAppConfigResultOutput) WebAppId ¶ added in v5.21.0
func (o GetWebAppConfigResultOutput) WebAppId() pulumi.StringOutput
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 ¶ added in v5.21.0
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 ¶ added in v5.21.0
func (LookupWebAppOutputArgs) ElementType() reflect.Type
type LookupWebAppResult ¶
type LookupWebAppResult struct { AppId string `pulumi:"appId"` 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 ¶ added in v5.21.0
type LookupWebAppResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getWebApp.
func LookupWebAppOutput ¶ added in v5.21.0
func LookupWebAppOutput(ctx *pulumi.Context, args LookupWebAppOutputArgs, opts ...pulumi.InvokeOption) LookupWebAppResultOutput
func (LookupWebAppResultOutput) AppId ¶ added in v5.21.0
func (o LookupWebAppResultOutput) AppId() pulumi.StringOutput
func (LookupWebAppResultOutput) DisplayName ¶ added in v5.21.0
func (o LookupWebAppResultOutput) DisplayName() pulumi.StringOutput
func (LookupWebAppResultOutput) ElementType ¶ added in v5.21.0
func (LookupWebAppResultOutput) ElementType() reflect.Type
func (LookupWebAppResultOutput) Id ¶ added in v5.21.0
func (o LookupWebAppResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupWebAppResultOutput) Name ¶ added in v5.21.0
func (o LookupWebAppResultOutput) Name() pulumi.StringOutput
func (LookupWebAppResultOutput) Project ¶ added in v5.21.0
func (o LookupWebAppResultOutput) Project() pulumi.StringOutput
func (LookupWebAppResultOutput) ToLookupWebAppResultOutput ¶ added in v5.21.0
func (o LookupWebAppResultOutput) ToLookupWebAppResultOutput() LookupWebAppResultOutput
func (LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext ¶ added in v5.21.0
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
## 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
func (*Project) ToProjectPtrOutput ¶
func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
func (*Project) ToProjectPtrOutputWithContext ¶
func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
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
## 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
func (*ProjectLocation) ToProjectLocationPtrOutput ¶
func (i *ProjectLocation) ToProjectLocationPtrOutput() ProjectLocationPtrOutput
func (*ProjectLocation) ToProjectLocationPtrOutputWithContext ¶
func (i *ProjectLocation) ToProjectLocationPtrOutputWithContext(ctx context.Context) ProjectLocationPtrOutput
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) ToProjectLocationOutput ¶
func (o ProjectLocationOutput) ToProjectLocationOutput() ProjectLocationOutput
func (ProjectLocationOutput) ToProjectLocationOutputWithContext ¶
func (o ProjectLocationOutput) ToProjectLocationOutputWithContext(ctx context.Context) ProjectLocationOutput
func (ProjectLocationOutput) ToProjectLocationPtrOutput ¶
func (o ProjectLocationOutput) ToProjectLocationPtrOutput() ProjectLocationPtrOutput
func (ProjectLocationOutput) ToProjectLocationPtrOutputWithContext ¶
func (o ProjectLocationOutput) ToProjectLocationPtrOutputWithContext(ctx context.Context) ProjectLocationPtrOutput
type ProjectLocationPtrInput ¶
type ProjectLocationPtrInput interface { pulumi.Input ToProjectLocationPtrOutput() ProjectLocationPtrOutput ToProjectLocationPtrOutputWithContext(ctx context.Context) ProjectLocationPtrOutput }
type ProjectLocationPtrOutput ¶
type ProjectLocationPtrOutput struct{ *pulumi.OutputState }
func (ProjectLocationPtrOutput) Elem ¶ added in v5.21.0
func (o ProjectLocationPtrOutput) Elem() ProjectLocationOutput
func (ProjectLocationPtrOutput) ElementType ¶
func (ProjectLocationPtrOutput) ElementType() reflect.Type
func (ProjectLocationPtrOutput) ToProjectLocationPtrOutput ¶
func (o ProjectLocationPtrOutput) ToProjectLocationPtrOutput() ProjectLocationPtrOutput
func (ProjectLocationPtrOutput) ToProjectLocationPtrOutputWithContext ¶
func (o ProjectLocationPtrOutput) ToProjectLocationPtrOutputWithContext(ctx context.Context) ProjectLocationPtrOutput
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) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) ToProjectOutput ¶
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
func (ProjectOutput) ToProjectPtrOutput ¶
func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectOutput) ToProjectPtrOutputWithContext ¶
func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectPtrInput ¶
type ProjectPtrInput interface { pulumi.Input ToProjectPtrOutput() ProjectPtrOutput ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput }
type ProjectPtrOutput ¶
type ProjectPtrOutput struct{ *pulumi.OutputState }
func (ProjectPtrOutput) Elem ¶ added in v5.21.0
func (o ProjectPtrOutput) Elem() ProjectOutput
func (ProjectPtrOutput) ElementType ¶
func (ProjectPtrOutput) ElementType() reflect.Type
func (ProjectPtrOutput) ToProjectPtrOutput ¶
func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectPtrOutput) ToProjectPtrOutputWithContext ¶
func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
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 WebApp ¶
type WebApp struct { pulumi.CustomResourceState // Immutable. The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque // token, as the data format is not specified. AppId pulumi.StringOutput `pulumi:"appId"` // 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
func (*WebApp) ToWebAppPtrOutput ¶
func (i *WebApp) ToWebAppPtrOutput() WebAppPtrOutput
func (*WebApp) ToWebAppPtrOutputWithContext ¶
func (i *WebApp) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
type WebAppArgs ¶
type WebAppArgs struct { // 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) ElementType ¶
func (WebAppOutput) ElementType() reflect.Type
func (WebAppOutput) ToWebAppOutput ¶
func (o WebAppOutput) ToWebAppOutput() WebAppOutput
func (WebAppOutput) ToWebAppOutputWithContext ¶
func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput
func (WebAppOutput) ToWebAppPtrOutput ¶
func (o WebAppOutput) ToWebAppPtrOutput() WebAppPtrOutput
func (WebAppOutput) ToWebAppPtrOutputWithContext ¶
func (o WebAppOutput) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
type WebAppPtrInput ¶
type WebAppPtrInput interface { pulumi.Input ToWebAppPtrOutput() WebAppPtrOutput ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput }
type WebAppPtrOutput ¶
type WebAppPtrOutput struct{ *pulumi.OutputState }
func (WebAppPtrOutput) Elem ¶ added in v5.21.0
func (o WebAppPtrOutput) Elem() WebAppOutput
func (WebAppPtrOutput) ElementType ¶
func (WebAppPtrOutput) ElementType() reflect.Type
func (WebAppPtrOutput) ToWebAppPtrOutput ¶
func (o WebAppPtrOutput) ToWebAppPtrOutput() WebAppPtrOutput
func (WebAppPtrOutput) ToWebAppPtrOutputWithContext ¶
func (o WebAppPtrOutput) ToWebAppPtrOutputWithContext(ctx context.Context) WebAppPtrOutput
type WebAppState ¶
type WebAppState struct { // Immutable. The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque // token, as the data format is not specified. AppId 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