Show / Hide Table of Contents

Class GetSnapshotV3

Inheritance
System.Object
GetSnapshotV3
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.OpenStack.BlockStorage
Assembly: Pulumi.OpenStack.dll
Syntax
public static class GetSnapshotV3

Methods

View Source

InvokeAsync(GetSnapshotV3Args, InvokeOptions)

Use this data source to get information about an existing snapshot.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var snapshot1 = Output.Create(OpenStack.BlockStorage.GetSnapshotV3.InvokeAsync(new OpenStack.BlockStorage.GetSnapshotV3Args
    {
        MostRecent = true,
        Name = "snapshot_1",
    }));
}

}

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

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