Share via


VaultsOperationsExtensions.GetAsync Method

Definition

Gets the specified Azure key vault.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.Vault> GetAsync (this Microsoft.Azure.Management.KeyVault.IVaultsOperations operations, string resourceGroupName, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.KeyVault.IVaultsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Models.Vault>
<Extension()>
Public Function GetAsync (operations As IVaultsOperations, resourceGroupName As String, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Vault)

Parameters

operations
IVaultsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Resource Group to which the vault belongs.

vaultName
String

The name of the vault.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to