次の方法で共有


CloudServiceRoleCollection.GetAll(CancellationToken) メソッド

定義

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

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

パラメーター

cancellationToken
CancellationToken

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

戻り値

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

適用対象