Show / Hide Table of Contents

Class GetLocalDisk

Inheritance
System.Object
GetLocalDisk
Inherited Members
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 static class GetLocalDisk

Methods

View Source

InvokeAsync(GetLocalDiskArgs, InvokeOptions)

Retrieve information about a Storage Gateway local disk. The disk identifier is useful for adding the disk as a cache or upload buffer to a gateway.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var test = Output.Create(Aws.StorageGateway.GetLocalDisk.InvokeAsync(new Aws.StorageGateway.GetLocalDiskArgs
    {
        DiskPath = aws_volume_attachment.Test.Device_name,
        GatewayArn = aws_storagegateway_gateway.Test.Arn,
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetLocalDiskResult> InvokeAsync(GetLocalDiskArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetLocalDiskArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetLocalDiskResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.