Show / Hide Table of Contents

Class GetAccessPolicy

Inheritance
System.Object
GetAccessPolicy
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 GetAccessPolicy

Methods

View Source

InvokeAsync(GetAccessPolicyArgs, InvokeOptions)

Use this data source to access information about the permissions from the Management Key Vault Templates.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var contributor = Output.Create(Azure.KeyVault.GetAccessPolicy.InvokeAsync(new Azure.KeyVault.GetAccessPolicyArgs
    {
        Name = "Key Management",
    }));
    this.AccessPolicyKeyPermissions = contributor.Apply(contributor => contributor.KeyPermissions);
}

[Output("accessPolicyKeyPermissions")]
public Output<string> AccessPolicyKeyPermissions { get; set; }
}

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

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