ProtectionPoliciesOperationsExtensions.BeginDeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetProtectionPolicyOperationResult API.
public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionPoliciesOperations operations, string vaultName, string resourceGroupName, string policyName, System.Threading.CancellationToken cancellationToken = default);
static member BeginDeleteAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionPoliciesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginDeleteAsync (operations As IProtectionPoliciesOperations, vaultName As String, resourceGroupName As String, policyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IProtectionPoliciesOperations
The operations group for this extension method.
- vaultName
- String
The name of the recovery services vault.
- resourceGroupName
- String
The name of the resource group where the recovery services vault is present.
- policyName
- String
Backup policy to be deleted.
- cancellationToken
- CancellationToken
The cancellation token.