次の方法で共有


ProtectionIntentOperationsExtensions.CreateOrUpdateAsync メソッド

定義

項目のバックアップを有効にするための意図を作成します。 これは同期操作です。

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

キャンセル トークン。

戻り値

適用対象