İngilizce dilinde oku

Aracılığıyla paylaş


BackupPoliciesClient Interface

public interface BackupPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract BaseBackupPolicyResourceInner createOrUpdate(String resourceGroupName, String vaultName, String backupPolicyName, BaseBackupPolicyResourceInner parameters)

Creates or Updates a backup policy belonging to a backup vault.

abstract Response<BaseBackupPolicyResourceInner> createOrUpdateWithResponse(String resourceGroupName, String vaultName, String backupPolicyName, BaseBackupPolicyResourceInner parameters, Context context)

Creates or Updates a backup policy belonging to a backup vault.

abstract void delete(String resourceGroupName, String vaultName, String backupPolicyName)

Deletes a backup policy belonging to a backup vault.

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

Deletes a backup policy belonging to a backup vault.

abstract BaseBackupPolicyResourceInner get(String resourceGroupName, String vaultName, String backupPolicyName)

Gets a backup policy belonging to a backup vault.

abstract Response<BaseBackupPolicyResourceInner> getWithResponse(String resourceGroupName, String vaultName, String backupPolicyName, Context context)

Gets a backup policy belonging to a backup vault.

abstract PagedIterable<BaseBackupPolicyResourceInner> list(String resourceGroupName, String vaultName)

Returns list of backup policies belonging to a backup vault.

abstract PagedIterable<BaseBackupPolicyResourceInner> list(String resourceGroupName, String vaultName, Context context)

Returns list of backup policies belonging to a backup vault.

Method Details

createOrUpdate

public abstract BaseBackupPolicyResourceInner createOrUpdate(String resourceGroupName, String vaultName, String backupPolicyName, BaseBackupPolicyResourceInner parameters)

Creates or Updates a backup policy belonging to a backup vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the backup vault.
backupPolicyName - Name of the policy.
parameters - Request body for operation.

Returns:

baseBackupPolicyResource.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String vaultName, String backupPolicyName, BaseBackupPolicyResourceInner parameters, Context context)

Creates or Updates a backup policy belonging to a backup vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the backup vault.
backupPolicyName - Name of the policy.
parameters - Request body for operation.
context - The context to associate with this operation.

Returns:

baseBackupPolicyResource along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String vaultName, String backupPolicyName)

Deletes a backup policy belonging to a backup vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the backup vault.
backupPolicyName - The backupPolicyName parameter.

deleteWithResponse

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

Deletes a backup policy belonging to a backup vault.

Parameters:

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

Returns:

get

public abstract BaseBackupPolicyResourceInner get(String resourceGroupName, String vaultName, String backupPolicyName)

Gets a backup policy belonging to a backup vault.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
vaultName - The name of the backup vault.
backupPolicyName - The backupPolicyName parameter.

Returns:

a backup policy belonging to a backup vault.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String vaultName, String backupPolicyName, Context context)

Gets a backup policy belonging to a backup vault.

Parameters:

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

Returns:

a backup policy belonging to a backup vault along with Response<T>.

list

public abstract PagedIterable list(String resourceGroupName, String vaultName)

Returns list of backup policies belonging to a backup vault.

Parameters:

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

Returns:

baseBackupPolicyResourceList as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String vaultName, Context context)

Returns list of backup policies belonging to a backup vault.

Parameters:

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

Returns:

baseBackupPolicyResourceList as paginated response with PagedIterable<T>.

Applies to

Azure SDK for Java

Latest