次の方法で共有


FileSharesOperationsExtensions.GetAsync メソッド

定義

指定した共有のプロパティを取得します。

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

パラメーター

operations
IFileSharesOperations

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

resourceGroupName
String

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

accountName
String

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

shareName
String

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

expand
String

オプション。共有のプロパティ内のプロパティを展開するために使用されます。 有効な値は、stats です。区切り記号 ',' を含む文字列として渡す必要があります。

xMsSnapshot
String

省略可能。スナップショットのプロパティを取得するために使用します。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象