CSMProtectionPolicyOperationsExtensions.Update(ICSMProtectionPolicyOperations, String, String, String, CSMUpdateProtectionPolicyRequest, CustomRequestHeaders) Method

Definition

Update Protection Policy.

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

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 updated.

cSMUpdateProtectionPolicyRequest
CSMUpdateProtectionPolicyRequest

Required. The protection policy creation request.

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

Returns

OperationResponse

The definition of a Operation Response.

Applies to