Show / Hide Table of Contents

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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
UsageExportBucket
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Projects
Assembly: Pulumi.Gcp.dll
Syntax
public class UsageExportBucket : CustomResource

Constructors

View Source

UsageExportBucket(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 Source

BucketName

Declaration
public Output<string> BucketName { get; }
Property Value
Type Description
Output<System.String>
View Source

Prefix

Declaration
public Output<string> Prefix { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.