Show / Hide Table of Contents

Class WorkingStorage

Manages an AWS Storage Gateway working storage.

NOTE: The Storage Gateway API provides no method to remove a working storage disk. Destroying this resource does not perform any Storage Gateway actions.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.StorageGateway.WorkingStorage("example", new Aws.StorageGateway.WorkingStorageArgs
    {
        DiskId = data.Aws_storagegateway_local_disk.Example.Id,
        GatewayArn = aws_storagegateway_gateway.Example.Arn,
    });
}

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

Constructors

View Source

WorkingStorage(String, WorkingStorageArgs, CustomResourceOptions)

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

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

The unique name of the resource

WorkingStorageArgs 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

DiskId

Local disk identifier. For example, pci-0000:03:00.0-scsi-0:0:0:0.

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

GatewayArn

The Amazon Resource Name (ARN) of the gateway.

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

Methods

View Source

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

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

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

WorkingStorageState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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