次の方法で共有


SharesOperationsExtensions.BeginCreateOrUpdateAsync メソッド

定義

新しい共有を作成するか、デバイス上の既存の共有を更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Share> BeginCreateOrUpdateAsync(this Microsoft.Azure.Management.DataBoxEdge.ISharesOperations operations, string deviceName, string name, Microsoft.Azure.Management.DataBoxEdge.Models.Share share, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.ISharesOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.Share * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Share>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ISharesOperations, deviceName As String, name As String, share As Share, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Share)

パラメーター

operations
ISharesOperations

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

deviceName
String

デバイス名。

name
String

共有名。

share
Share

共有プロパティ。

resourceGroupName
String

リソース グループ名。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象