次の方法で共有


ResourceProviderCollection.GetAll(String, CancellationToken) メソッド

定義

サブスクリプションのすべてのリソース プロバイダーを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers
  • 操作IdProviders_List
public virtual Azure.Pageable<Azure.ResourceManager.Resources.ResourceProviderResource> GetAll (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ResourceProviderResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ResourceProviderResource>
Public Overridable Function GetAll (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ResourceProviderResource)

パラメーター

expand
String

結果に含めるプロパティ。 たとえば、クエリ文字列で $expand=metadata を使用 &して、リソース プロバイダーのメタデータを取得します。 応答にプロパティ エイリアスを含めるには、$expand=resourceTypes/aliases を使用します。

cancellationToken
CancellationToken

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

戻り値

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

適用対象