次の方法で共有


CloudServiceCollection.GetAllAsync(CancellationToken) メソッド

定義

リソース グループのすべてのクラウド サービスの一覧を取得します。 応答で nextLink プロパティを使用して、Cloud Servicesの次のページを取得します。 nextLink が null になるまでこれを行って、すべてのCloud Servicesをフェッチします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices
  • 操作IdCloudServices_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.CloudServiceResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.CloudServiceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.CloudServiceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CloudServiceResource)

パラメーター

cancellationToken
CancellationToken

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

戻り値

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

適用対象