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

Definition

Update Protection Policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> UpdateAsync (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 UpdateAsync : Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations * string * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionPolicyRequest * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<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

System.Threading.Tasks.Task<OperationResponse>

The definition of a Operation Response.

Applies to