次の方法で共有


ServiceBusSubscriptionCollection.GetAllAsync メソッド

定義

指定したトピックのすべてのサブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions
  • 操作IdSubscriptions_ListByTopic
public virtual Azure.AsyncPageable<Azure.ResourceManager.ServiceBus.ServiceBusSubscriptionResource> GetAllAsync (int? skip = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceBus.ServiceBusSubscriptionResource>
override this.GetAllAsync : Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceBus.ServiceBusSubscriptionResource>
Public Overridable Function GetAllAsync (Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceBusSubscriptionResource)

パラメーター

skip
Nullable<Int32>

Skip は、前の操作で部分的な結果が返された場合にのみ使用されます。 前の応答に nextLink 要素が含まれている場合、nextLink 要素の値には、後続の呼び出しに使用する開始点を指定する skip パラメーターが含まれます。

top
Nullable<Int32>

結果の数を最新の N usageDetails に制限するために使用できます。

cancellationToken
CancellationToken

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

戻り値

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

適用対象