次の方法で共有


AgentPoolSnapshotCollection.GetAllAsync(CancellationToken) メソッド

定義

指定したサブスクリプションとリソース グループ内のスナップショットを一覧表示します。

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

パラメーター

cancellationToken
CancellationToken

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

戻り値

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

適用対象