Show / Hide Table of Contents

Class ObjectStorageBucket

Provides a Linode Object Storage Bucket resource. This can be used to create, modify, and delete Linodes Object Storage Buckets.

Example Usage

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
public MyStack()
{
    var primary = Output.Create(Linode.GetObjectStorageCluster.InvokeAsync(new Linode.GetObjectStorageClusterArgs
    {
        Id = "us-east-1",
    }));
    var foobar = new Linode.ObjectStorageBucket("foobar", new Linode.ObjectStorageBucketArgs
    {
        Cluster = primary.Apply(primary => primary.Id),
        Label = "%s",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ObjectStorageBucket
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.Linode
Assembly: Pulumi.Linode.dll
Syntax
public class ObjectStorageBucket : CustomResource

Constructors

View Source

ObjectStorageBucket(String, ObjectStorageBucketArgs, CustomResourceOptions)

Create a ObjectStorageBucket resource with the given unique name, arguments, and options.

Declaration
public ObjectStorageBucket(string name, ObjectStorageBucketArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ObjectStorageBucketArgs 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

Cluster

The cluster of the Linode Object Storage Bucket.

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

Label

The label of the Linode Object Storage Bucket.

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

Methods

View Source

Get(String, Input<String>, ObjectStorageBucketState, CustomResourceOptions)

Get an existing ObjectStorageBucket resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ObjectStorageBucket Get(string name, Input<string> id, ObjectStorageBucketState 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.

ObjectStorageBucketState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ObjectStorageBucket
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.