Vault interface
Interface representing a Vault.
Methods
begin |
Creates the vault. |
begin |
Creates the vault. |
begin |
Removes the vault. |
begin |
Removes the vault. |
begin |
Performs update on the vault. |
begin |
Performs update on the vault. |
get(string, string, Vault |
Gets the details of the vault. |
list(string, Vault |
Gets the list of vaults in the given subscription and resource group. |
list |
Gets the list of vaults in the given subscription. |
Method Details
beginCreate(string, string, VaultCreateOptionalParams)
Creates the vault.
function beginCreate(resourceGroupName: string, vaultName: string, options?: VaultCreateOptionalParams): Promise<SimplePollerLike<OperationState<VaultModel>, VaultModel>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The vault name.
- options
- VaultCreateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VaultModel>, VaultModel>>
beginCreateAndWait(string, string, VaultCreateOptionalParams)
Creates the vault.
function beginCreateAndWait(resourceGroupName: string, vaultName: string, options?: VaultCreateOptionalParams): Promise<VaultModel>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The vault name.
- options
- VaultCreateOptionalParams
The options parameters.
Returns
Promise<VaultModel>
beginDelete(string, string, VaultDeleteOptionalParams)
Removes the vault.
function beginDelete(resourceGroupName: string, vaultName: string, options?: VaultDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VaultDeleteHeaders>, VaultDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The vault name.
- options
- VaultDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VaultDeleteHeaders>, VaultDeleteHeaders>>
beginDeleteAndWait(string, string, VaultDeleteOptionalParams)
Removes the vault.
function beginDeleteAndWait(resourceGroupName: string, vaultName: string, options?: VaultDeleteOptionalParams): Promise<VaultDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The vault name.
- options
- VaultDeleteOptionalParams
The options parameters.
Returns
Promise<VaultDeleteHeaders>
beginUpdate(string, string, VaultUpdateOptionalParams)
Performs update on the vault.
function beginUpdate(resourceGroupName: string, vaultName: string, options?: VaultUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VaultModel>, VaultModel>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The vault name.
- options
- VaultUpdateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VaultModel>, VaultModel>>
beginUpdateAndWait(string, string, VaultUpdateOptionalParams)
Performs update on the vault.
function beginUpdateAndWait(resourceGroupName: string, vaultName: string, options?: VaultUpdateOptionalParams): Promise<VaultModel>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The vault name.
- options
- VaultUpdateOptionalParams
The options parameters.
Returns
Promise<VaultModel>
get(string, string, VaultGetOptionalParams)
Gets the details of the vault.
function get(resourceGroupName: string, vaultName: string, options?: VaultGetOptionalParams): Promise<VaultModel>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The vault name.
- options
- VaultGetOptionalParams
The options parameters.
Returns
Promise<VaultModel>
list(string, VaultListOptionalParams)
Gets the list of vaults in the given subscription and resource group.
function list(resourceGroupName: string, options?: VaultListOptionalParams): PagedAsyncIterableIterator<VaultModel, VaultModel[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- options
- VaultListOptionalParams
The options parameters.
Returns
listBySubscription(VaultListBySubscriptionOptionalParams)
Gets the list of vaults in the given subscription.
function listBySubscription(options?: VaultListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VaultModel, VaultModel[], PageSettings>
Parameters
The options parameters.
Returns
Azure SDK for JavaScript