ProtectionIntentOperationsExtensions.CreateOrUpdateAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
項目のバックアップを有効にするための意図を作成します。 これは同期操作です。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations operations, string vaultName, string resourceGroupName, string fabricName, string intentObjectName, Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations * string * string * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IProtectionIntentOperations, vaultName As String, resourceGroupName As String, fabricName As String, intentObjectName As String, parameters As ProtectionIntentResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProtectionIntentResource)
パラメーター
- operations
- IProtectionIntentOperations
この拡張メソッドの操作グループ。
- vaultName
- String
Recovery Services コンテナーの名前。
- resourceGroupName
- String
Recovery Services コンテナーが存在するリソース グループの名前。
- fabricName
- String
バックアップ項目に関連付けられているファブリック名。
- intentObjectName
- String
意図オブジェクト名。
- parameters
- ProtectionIntentResource
リソースのバックアップ項目
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET