BackupPoliciesOperationsExtensions.CreateOrUpdateAsync 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.Azure.Management.StorSimple.Fluent.Models.BackupPolicyInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.StorSimple.Fluent.IBackupPoliciesOperations operations, string deviceName, string backupPolicyName, Microsoft.Azure.Management.StorSimple.Fluent.Models.BackupPolicyInner parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.StorSimple.Fluent.IBackupPoliciesOperations * string * string * Microsoft.Azure.Management.StorSimple.Fluent.Models.BackupPolicyInner * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple.Fluent.Models.BackupPolicyInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IBackupPoliciesOperations, deviceName As String, backupPolicyName As String, parameters As BackupPolicyInner, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BackupPolicyInner)
Parameters
- operations
- IBackupPoliciesOperations
- deviceName
- String
- backupPolicyName
- String
- parameters
- BackupPolicyInner
- resourceGroupName
- String
- managerName
- String
- cancellationToken
- CancellationToken