VaultsClient Interface

public interface VaultsClient

An instance of this class provides access to all the operations defined in VaultsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VaultInner>,VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultInner vault)

Creates or updates a Recovery Services vault.

abstract SyncPoller<PollResult<VaultInner>,VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultInner vault, Context context)

Creates or updates a Recovery Services vault.

abstract SyncPoller<PollResult<VaultInner>,VaultInner> beginUpdate(String resourceGroupName, String vaultName, PatchVault vault)

Updates the vault.

abstract SyncPoller<PollResult<VaultInner>,VaultInner> beginUpdate(String resourceGroupName, String vaultName, PatchVault vault, Context context)

Updates the vault.

abstract VaultInner createOrUpdate(String resourceGroupName, String vaultName, VaultInner vault)

Creates or updates a Recovery Services vault.

abstract VaultInner createOrUpdate(String resourceGroupName, String vaultName, VaultInner vault, Context context)

Creates or updates a Recovery Services vault.

abstract void delete(String resourceGroupName, String vaultName)

Deletes a vault.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String vaultName, Context context)

Deletes a vault.

abstract VaultInner getByResourceGroup(String resourceGroupName, String vaultName)

Get the Vault details.

abstract Response<VaultInner> getByResourceGroupWithResponse(String resourceGroupName, String vaultName, Context context)

Get the Vault details.

abstract PagedIterable<VaultInner> list()

Fetches all the resources of the specified type in the subscription.

abstract PagedIterable<VaultInner> list(Context context)

Fetches all the resources of the specified type in the subscription.

abstract PagedIterable<VaultInner> listByResourceGroup(String resourceGroupName)

Retrieve a list of Vaults.

abstract PagedIterable<VaultInner> listByResourceGroup(String resourceGroupName, Context context)

Retrieve a list of Vaults.

abstract VaultInner update(String resourceGroupName, String vaultName, PatchVault vault)

Updates the vault.

abstract VaultInner update(String resourceGroupName, String vaultName, PatchVault vault, Context context)

Updates the vault.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultInner vault)

Creates or updates a Recovery Services vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
vault - Recovery Services Vault to be created.

Returns:

the SyncPoller<T,U> for polling of resource information, as returned by the resource provider.

beginCreateOrUpdate

public abstract SyncPoller<>,VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultInner vault, Context context)

Creates or updates a Recovery Services vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
vault - Recovery Services Vault to be created.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of resource information, as returned by the resource provider.

beginUpdate

public abstract SyncPoller<>,VaultInner> beginUpdate(String resourceGroupName, String vaultName, PatchVault vault)

Updates the vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
vault - Recovery Services Vault to be created.

Returns:

the SyncPoller<T,U> for polling of resource information, as returned by the resource provider.

beginUpdate

public abstract SyncPoller<>,VaultInner> beginUpdate(String resourceGroupName, String vaultName, PatchVault vault, Context context)

Updates the vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
vault - Recovery Services Vault to be created.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of resource information, as returned by the resource provider.

createOrUpdate

public abstract VaultInner createOrUpdate(String resourceGroupName, String vaultName, VaultInner vault)

Creates or updates a Recovery Services vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
vault - Recovery Services Vault to be created.

Returns:

resource information, as returned by the resource provider.

createOrUpdate

public abstract VaultInner createOrUpdate(String resourceGroupName, String vaultName, VaultInner vault, Context context)

Creates or updates a Recovery Services vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
vault - Recovery Services Vault to be created.
context - The context to associate with this operation.

Returns:

resource information, as returned by the resource provider.

delete

public abstract void delete(String resourceGroupName, String vaultName)

Deletes a vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String vaultName, Context context)

Deletes a vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
context - The context to associate with this operation.

Returns:

getByResourceGroup

public abstract VaultInner getByResourceGroup(String resourceGroupName, String vaultName)

Get the Vault details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.

Returns:

the Vault details.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String vaultName, Context context)

Get the Vault details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
context - The context to associate with this operation.

Returns:

the Vault details along with Response<T>.

list

public abstract PagedIterable list()

Fetches all the resources of the specified type in the subscription.

Returns:

the response model for a list of Vaults as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Fetches all the resources of the specified type in the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the response model for a list of Vaults as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Retrieve a list of Vaults.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the response model for a list of Vaults as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Retrieve a list of Vaults.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the response model for a list of Vaults as paginated response with PagedIterable<T>.

update

public abstract VaultInner update(String resourceGroupName, String vaultName, PatchVault vault)

Updates the vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
vault - Recovery Services Vault to be created.

Returns:

resource information, as returned by the resource provider.

update

public abstract VaultInner update(String resourceGroupName, String vaultName, PatchVault vault, Context context)

Updates the vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the recovery services vault.
vault - Recovery Services Vault to be created.
context - The context to associate with this operation.

Returns:

resource information, as returned by the resource provider.

Applies to