次の方法で共有


SnapshotsOperationsExtensions.BeginCreateOrUpdateAsync メソッド

定義

スナップショットを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotInner> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.ISnapshotsOperations operations, string resourceGroupName, string snapshotName, Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotInner snapshot, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Compute.Fluent.ISnapshotsOperations * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.SnapshotInner>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ISnapshotsOperations, resourceGroupName As String, snapshotName As String, snapshot As SnapshotInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SnapshotInner)

パラメーター

operations
ISnapshotsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。

snapshotName
String

作成されるスナップショットの名前。 スナップショットの作成後に名前を変更することはできません。 名前でサポートされている文字は、a~z、A-Z、0~9、_です。 名前の最大長は 80 文字です。

snapshot
SnapshotInner

Put disk 操作の本文で指定されたスナップショット オブジェクト。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象