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