次の方法で共有


FileSharesOperationsExtensions.UpdateAsync メソッド

定義

更新要求本文で指定されているプロパティを共有します。 要求に記載されていないプロパティは変更されません。 指定した共有がまだ存在しない場合、更新は失敗します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.FileShare> UpdateAsync (this Microsoft.Azure.Management.Storage.IFileSharesOperations operations, string resourceGroupName, string accountName, string shareName, Microsoft.Azure.Management.Storage.Models.FileShare fileShare, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Storage.IFileSharesOperations * string * string * string * Microsoft.Azure.Management.Storage.Models.FileShare * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.FileShare>
<Extension()>
Public Function UpdateAsync (operations As IFileSharesOperations, resourceGroupName As String, accountName As String, shareName As String, fileShare As FileShare, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FileShare)

パラメーター

operations
IFileSharesOperations

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

resourceGroupName
String

ユーザーのサブスクリプション内のリソース グループの名前。 名前の大文字と小文字は区別されます。

accountName
String

指定したリソース グループ内のストレージ アカウントの名前。 ストレージ アカウント名の長さは 3 ~ 24 文字で、数字と小文字のみを使用する必要があります。

shareName
String

指定したストレージ アカウント内のファイル共有の名前。 ファイル共有名の長さは 3 ~ 63 文字にする必要があり、数字、小文字、ダッシュ (-) のみを使用してください。 すべてのダッシュ (-) 文字は、その直前および直後に文字または数字が使用されている必要があります。

fileShare
FileShare

ファイル共有用に更新するプロパティ。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象