Show / Hide Table of Contents

Class GetSnapshot

Inheritance
System.Object
GetSnapshot
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.Azure.NetApp
Assembly: Pulumi.Azure.dll
Syntax
public static class GetSnapshot

Methods

View Source

InvokeAsync(GetSnapshotArgs, InvokeOptions)

Uses this data source to access information about an existing NetApp Snapshot.

NetApp Snapshot Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var test = Output.Create(Azure.NetApp.GetSnapshot.InvokeAsync(new Azure.NetApp.GetSnapshotArgs
    {
        ResourceGroupName = "acctestRG",
        Name = "acctestnetappsnapshot",
        AccountName = "acctestnetappaccount",
        PoolName = "acctestnetapppool",
        VolumeName = "acctestnetappvolume",
    }));
    this.NetappSnapshotId = data.Azurerm_netapp_snapshot.Example.Id;
}

[Output("netappSnapshotId")]
public Output<string> NetappSnapshotId { get; set; }
}
Declaration
public static Task<GetSnapshotResult> InvokeAsync(GetSnapshotArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetSnapshotArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetSnapshotResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.