Share via


ProtectionPoliciesOperationsExtensions.Delete Method

Definition

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 void Delete (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionPoliciesOperations operations, string vaultName, string resourceGroupName, string policyName);
static member Delete : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionPoliciesOperations * string * string * string -> unit
<Extension()>
Public Sub Delete (operations As IProtectionPoliciesOperations, vaultName As String, resourceGroupName As String, policyName As String)

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.

Applies to