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.
Creates or updates the backup policy.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy> CreateOrUpdateAsync (this Microsoft.Azure.Management.StorSimple8000Series.IBackupPoliciesOperations operations, string deviceName, string backupPolicyName, Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.StorSimple8000Series.IBackupPoliciesOperations * string * string * Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IBackupPoliciesOperations, deviceName As String, backupPolicyName As String, parameters As BackupPolicy, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BackupPolicy)
Parameters
- operations
- IBackupPoliciesOperations
The operations group for this extension method.
- deviceName
- String
The device name
- backupPolicyName
- String
The name of the backup policy to be created/updated.
- parameters
- BackupPolicy
The backup policy.
- resourceGroupName
- String
The resource group name
- managerName
- String
The manager name
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET