Show / Hide Table of Contents

Class BucketState

Inheritance
System.Object
InputArgs
ResourceArgs
BucketState
Inherited Members
ResourceArgs.Empty
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.Storage
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class BucketState : ResourceArgs

Constructors

View Source

BucketState()

Declaration
public BucketState()

Properties

View Source

BucketPolicyOnly

Enables Bucket Policy Only access to a bucket.

Declaration
public Input<bool> BucketPolicyOnly { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Cors

The bucket's Cross-Origin Resource Sharing (CORS) configuration. Multiple blocks of this type are permitted. Structure is documented below.

Declaration
public InputList<BucketCorGetArgs> Cors { get; set; }
Property Value
Type Description
InputList<BucketCorGetArgs>
View Source

DefaultEventBasedHold

Declaration
public Input<bool> DefaultEventBasedHold { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Encryption

The bucket's encryption configuration.

Declaration
public Input<BucketEncryptionGetArgs> Encryption { get; set; }
Property Value
Type Description
Input<BucketEncryptionGetArgs>
View Source

ForceDestroy

When deleting a bucket, this boolean option will delete all contained objects. If you try to delete a bucket that contains objects, the provider will fail that run.

Declaration
public Input<bool> ForceDestroy { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Labels

A set of key/value label pairs to assign to the bucket.

Declaration
public InputMap<string> Labels { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

LifecycleRules

The bucket's Lifecycle Rules configuration. Multiple blocks of this type are permitted. Structure is documented below.

Declaration
public InputList<BucketLifecycleRuleGetArgs> LifecycleRules { get; set; }
Property Value
Type Description
InputList<BucketLifecycleRuleGetArgs>
View Source

Location

The GCS location

Declaration
public Input<string> Location { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Logging

The bucket's Access & Storage Logs configuration.

Declaration
public Input<BucketLoggingGetArgs> Logging { get; set; }
Property Value
Type Description
Input<BucketLoggingGetArgs>
View Source

Name

The name of the bucket.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

RequesterPays

Enables Requester Pays on a storage bucket.

Declaration
public Input<bool> RequesterPays { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

RetentionPolicy

Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is documented below.

Declaration
public Input<BucketRetentionPolicyGetArgs> RetentionPolicy { get; set; }
Property Value
Type Description
Input<BucketRetentionPolicyGetArgs>
View Source

SelfLink

The URI of the created resource.

Declaration
public Input<string> SelfLink { get; set; }
Property Value
Type Description
Input<System.String>
View Source

StorageClass

The target Storage Class of objects affected by this Lifecycle Rule. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE.

Declaration
public Input<string> StorageClass { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Url

The base URL of the bucket, in the format gs://&lt;bucket-name>.

Declaration
public Input<string> Url { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Versioning

The bucket's Versioning configuration.

Declaration
public Input<BucketVersioningGetArgs> Versioning { get; set; }
Property Value
Type Description
Input<BucketVersioningGetArgs>
View Source

Website

Configuration if the bucket acts as a website. Structure is documented below.

Declaration
public Input<BucketWebsiteGetArgs> Website { get; set; }
Property Value
Type Description
Input<BucketWebsiteGetArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.