Example #1
0
 /// <summary>
 /// Gets the specified Azure key vault.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.BackupServices.IVaultOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of resource group to which vault belongs
 /// </param>
 /// <param name='resourceName'>
 /// Required. The name of the vault
 /// </param>
 /// <param name='customRequestHeaders'>
 /// Optional. Request header parameters.
 /// </param>
 /// <returns>
 /// Vault information.
 /// </returns>
 public static Task <AzureBackupVaultGetResponse> GetAsync(this IVaultOperations operations, string resourceGroupName, string resourceName, CustomRequestHeaders customRequestHeaders)
 {
     return(operations.GetAsync(resourceGroupName, resourceName, customRequestHeaders, CancellationToken.None));
 }
 /// <summary>
 /// Gets the specified Azure key vault.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.KeyVault.IVaultOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the Resource Group to which the vault belongs.
 /// </param>
 /// <param name='vaultName'>
 /// Required. The name of the vault.
 /// </param>
 /// <returns>
 /// Vault information.
 /// </returns>
 public static Task <VaultGetResponse> GetAsync(this IVaultOperations operations, string resourceGroupName, string vaultName)
 {
     return(operations.GetAsync(resourceGroupName, vaultName, CancellationToken.None));
 }