ICSMProtectionPolicyOperations.UpdateAsync 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.
Update Protection Policy.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> UpdateAsync(string resourceGroupName, string resourceName, string policyName, Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionPolicyRequest cSMUpdateProtectionPolicyRequest, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionPolicyRequest * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
Public Function UpdateAsync (resourceGroupName As String, resourceName As String, policyName As String, cSMUpdateProtectionPolicyRequest As CSMUpdateProtectionPolicyRequest, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of OperationResponse)
Parameters
- resourceGroupName
- String
- resourceName
- String
- policyName
- String
The protection policy Name to be updated.
- cSMUpdateProtectionPolicyRequest
- CSMUpdateProtectionPolicyRequest
The protection policy creation request.
- customRequestHeaders
- CustomRequestHeaders
Request header parameters.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The definition of a Operation Response.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET