Show / Hide Table of Contents

Class GetKeyVault

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

Methods

View Source

InvokeAsync(GetKeyVaultArgs, InvokeOptions)

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

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.KeyVault.GetKeyVault.InvokeAsync(new Azure.KeyVault.GetKeyVaultArgs
    {
        Name = "mykeyvault",
        ResourceGroupName = "some-resource-group",
    }));
    this.VaultUri = example.Apply(example => example.VaultUri);
}

[Output("vaultUri")]
public Output<string> VaultUri { get; set; }
}

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

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