IBackupPolicyOperations.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.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> UpdateAsync (string deviceId, string policyId, Microsoft.WindowsAzure.Management.StorSimple.Models.UpdateBackupPolicyConfig policyInfo, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * Microsoft.WindowsAzure.Management.StorSimple.Models.UpdateBackupPolicyConfig * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
Public Function UpdateAsync (deviceId As String, policyId As String, policyInfo As UpdateBackupPolicyConfig, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of TaskStatusInfo)
Parameters
- deviceId
- String
The device id for which the call will be made.
- policyId
- String
The backup policy ID to update.
- policyInfo
- UpdateBackupPolicyConfig
Parameters supplied to the Create Backup Policy operation.
- customRequestHeaders
- CustomRequestHeaders
The Custom Request Headers which client must use.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Info about the async task