DevTestLabsExtensions.GetDevTestLabsAsync メソッド

定義

サブスクリプション内のラボを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.DevTestLab/labs
  • 操作IdLabs_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.DevTestLabs.DevTestLabResource> GetDevTestLabsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string expand = default, string filter = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
static member GetDevTestLabsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DevTestLabs.DevTestLabResource>
<Extension()>
Public Function GetDevTestLabsAsync (subscriptionResource As SubscriptionResource, Optional expand As String = Nothing, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DevTestLabResource)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

expand
String

$expand クエリを指定します。 例: 'properties($select=defaultStorageAccount)'

filter
String

操作に適用するフィルター。 例: '$filter=contains(name,'myName')。

top
Nullable<Int32>

操作から返されるリソースの最大数。 例: '$top=10'。

orderby
String

OData 表記を使用した結果の順序付け式。 例: '$orderby=name desc'

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の DevTestLabResource サービス要求を受け取る可能性がある の非同期コレクション。

適用対象