Class UsageExportBucket
Allows creation and management of a Google Cloud Platform project.
Projects created with this resource must be associated with an Organization. See the Organization documentation for more details.
The service account used to run this provider when creating a gcp.organizations.Project
resource must have roles/resourcemanager.projectCreator. See the
Access Control for Organizations Using IAM
doc for more information.
Example Usage
using Pulumi;
using Gcp = Pulumi.Gcp;
class MyStack : Stack
{
public MyStack()
{
var myProject = new Gcp.Organizations.Project("myProject", new Gcp.Organizations.ProjectArgs
{
OrgId = "1234567",
ProjectId = "your-project-id",
});
}
}
Inherited Members
Namespace: Pulumi.Gcp.Projects
Assembly: Pulumi.Gcp.dll
Syntax
public class UsageExportBucket : CustomResource
Constructors
View SourceUsageExportBucket(String, UsageExportBucketArgs, CustomResourceOptions)
Create a UsageExportBucket resource with the given unique name, arguments, and options.
Declaration
public UsageExportBucket(string name, UsageExportBucketArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| UsageExportBucketArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceBucketName
Declaration
public Output<string> BucketName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Prefix
Declaration
public Output<string> Prefix { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, UsageExportBucketState, CustomResourceOptions)
Get an existing UsageExportBucket resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static UsageExportBucket Get(string name, Input<string> id, UsageExportBucketState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| UsageExportBucketState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| UsageExportBucket |