Project
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
- How-to Guides
Create a Project Resource
new Project(name: string, args?: ProjectArgs, opts?: CustomResourceOptions);def Project(resource_name, opts=None, project=None, __props__=None);func NewProject(ctx *Context, name string, args *ProjectArgs, opts ...ResourceOption) (*Project, error)public Project(string name, ProjectArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Project Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Project resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:
- Display
Name string The GCP project display name
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Number string The number of the google project that firebase is enabled on.
- Display
Name string The GCP project display name
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Number string The number of the google project that firebase is enabled on.
- display
Name string The GCP project display name
- id string
- The provider-assigned unique ID for this managed resource.
- project
Number string The number of the google project that firebase is enabled on.
- display_
name str The GCP project display name
- id str
- The provider-assigned unique ID for this managed resource.
- project_
number str The number of the google project that firebase is enabled on.
Look up an Existing Project Resource
Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProjectState, opts?: CustomResourceOptions): Projectstatic get(resource_name, id, opts=None, display_name=None, project=None, project_number=None, __props__=None);func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Display
Name string The GCP project display name
- Project
ID string The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Project
Number string The number of the google project that firebase is enabled on.
- Display
Name string The GCP project display name
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Project
Number string The number of the google project that firebase is enabled on.
- display
Name string The GCP project display name
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- project
Number string The number of the google project that firebase is enabled on.
- display_
name str The GCP project display name
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- project_
number str The number of the google project that firebase is enabled on.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.