CSMProtectionPolicyOperationsExtensions.Delete(ICSMProtectionPolicyOperations, String, String, String, CustomRequestHeaders) Method

Definition

Delete a Protection Policy.

public static Microsoft.Azure.AzureOperationResponse Delete (this Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations operations, string resourceGroupName, string resourceName, string policyName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member Delete : Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations * string * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> Microsoft.Azure.AzureOperationResponse

Parameters

operations
ICSMProtectionPolicyOperations

Reference to the Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations.

resourceGroupName
System.String

Required.

resourceName
System.String

Required.

policyName
System.String

Required. The protection policy Name to be deleted.

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

Returns

Microsoft.Azure.AzureOperationResponse

A standard service response including an HTTP status code and request ID.

Applies to