Show / Hide Table of Contents

Class GetVault

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

Methods

View Source

InvokeAsync(GetVaultArgs, InvokeOptions)

Use this data source to access information about an existing Recovery Services Vault.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var vault = Output.Create(Azure.RecoveryServices.GetVault.InvokeAsync(new Azure.RecoveryServices.GetVaultArgs
    {
        Name = "tfex-recovery_vault",
        ResourceGroupName = "tfex-resource_group",
    }));
}

}

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

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