Vaults interface
Interface representing a Vaults.
Methods
begin |
Creates or updates a Recovery Services vault. |
begin |
Creates or updates a Recovery Services vault. |
begin |
Deletes a vault. |
begin |
Deletes a vault. |
begin |
Updates the vault. |
begin |
Updates the vault. |
get(string, string, Vaults |
Get the Vault details. |
list |
Retrieve a list of Vaults. |
list |
Fetches all the resources of the specified type in the subscription. |
Method Details
beginCreateOrUpdate(string, string, Vault, VaultsCreateOrUpdateOptionalParams)
Creates or updates a Recovery Services vault.
function beginCreateOrUpdate(resourceGroupName: string, vaultName: string, vault: Vault, options?: VaultsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Vault>, Vault>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The name of the recovery services vault.
- vault
- Vault
Recovery Services Vault to be created.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Vault>, Vault>>
beginCreateOrUpdateAndWait(string, string, Vault, VaultsCreateOrUpdateOptionalParams)
Creates or updates a Recovery Services vault.
function beginCreateOrUpdateAndWait(resourceGroupName: string, vaultName: string, vault: Vault, options?: VaultsCreateOrUpdateOptionalParams): Promise<Vault>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The name of the recovery services vault.
- vault
- Vault
Recovery Services Vault to be created.
The options parameters.
Returns
Promise<Vault>
beginDelete(string, string, VaultsDeleteOptionalParams)
Deletes a vault.
function beginDelete(resourceGroupName: string, vaultName: string, options?: VaultsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VaultsDeleteHeaders>, VaultsDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The name of the recovery services vault.
- options
- VaultsDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<VaultsDeleteHeaders>, VaultsDeleteHeaders>>
beginDeleteAndWait(string, string, VaultsDeleteOptionalParams)
Deletes a vault.
function beginDeleteAndWait(resourceGroupName: string, vaultName: string, options?: VaultsDeleteOptionalParams): Promise<VaultsDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The name of the recovery services vault.
- options
- VaultsDeleteOptionalParams
The options parameters.
Returns
Promise<VaultsDeleteHeaders>
beginUpdate(string, string, PatchVault, VaultsUpdateOptionalParams)
Updates the vault.
function beginUpdate(resourceGroupName: string, vaultName: string, vault: PatchVault, options?: VaultsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Vault>, Vault>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The name of the recovery services vault.
- vault
- PatchVault
Recovery Services Vault to be created.
- options
- VaultsUpdateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Vault>, Vault>>
beginUpdateAndWait(string, string, PatchVault, VaultsUpdateOptionalParams)
Updates the vault.
function beginUpdateAndWait(resourceGroupName: string, vaultName: string, vault: PatchVault, options?: VaultsUpdateOptionalParams): Promise<Vault>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The name of the recovery services vault.
- vault
- PatchVault
Recovery Services Vault to be created.
- options
- VaultsUpdateOptionalParams
The options parameters.
Returns
Promise<Vault>
get(string, string, VaultsGetOptionalParams)
Get the Vault details.
function get(resourceGroupName: string, vaultName: string, options?: VaultsGetOptionalParams): Promise<Vault>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- vaultName
-
string
The name of the recovery services vault.
- options
- VaultsGetOptionalParams
The options parameters.
Returns
Promise<Vault>
listByResourceGroup(string, VaultsListByResourceGroupOptionalParams)
Retrieve a list of Vaults.
function listByResourceGroup(resourceGroupName: string, options?: VaultsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Vault, Vault[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscriptionId(VaultsListBySubscriptionIdOptionalParams)
Fetches all the resources of the specified type in the subscription.
function listBySubscriptionId(options?: VaultsListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator<Vault, Vault[], PageSettings>
Parameters
The options parameters.