次の方法で共有


EventGridExtensions.GetRegionalEventSubscriptionsDataForTopicType メソッド

定義

オーバーロード

GetRegionalEventSubscriptionsDataForTopicType(ResourceGroupResource, AzureLocation, String, String, Nullable<Int32>, CancellationToken)

特定の Azure サブスクリプションとリソース グループとトピックの種類の下の特定の場所からのすべてのイベント サブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions
  • 操作IdEventSubscriptions_ListRegionalByResourceGroupForTopicType
GetRegionalEventSubscriptionsDataForTopicType(SubscriptionResource, AzureLocation, String, String, Nullable<Int32>, CancellationToken)

特定の Azure サブスクリプションとトピックの種類の下の特定の場所からのすべてのイベント サブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions
  • 操作IdEventSubscriptions_ListRegionalBySubscriptionForTopicType

GetRegionalEventSubscriptionsDataForTopicType(ResourceGroupResource, AzureLocation, String, String, Nullable<Int32>, CancellationToken)

特定の Azure サブスクリプションとリソース グループとトピックの種類の下の特定の場所からのすべてのイベント サブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions
  • 操作IdEventSubscriptions_ListRegionalByResourceGroupForTopicType
public static Azure.Pageable<Azure.ResourceManager.EventGrid.EventGridSubscriptionData> GetRegionalEventSubscriptionsDataForTopicType (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, string topicTypeName, string filter = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetRegionalEventSubscriptionsDataForTopicType : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventGrid.EventGridSubscriptionData>
<Extension()>
Public Function GetRegionalEventSubscriptionsDataForTopicType (resourceGroupResource As ResourceGroupResource, location As AzureLocation, topicTypeName As String, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EventGridSubscriptionData)

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行されるインスタンス。

location
AzureLocation

場所の名前。

topicTypeName
String

トピックの種類の名前。

filter
String

OData 構文を使用して検索結果をフィルター処理するために使用するクエリ。 フィルター処理は、'name' プロパティでのみ許可され、OData 操作の数は限られています。 これらの操作は、'contains' 関数と、次の論理操作です。not、and、or、eq (等しい場合)、ne (等しくない場合)。 算術演算はサポートされていません。 有効なフィルターの例を次に示します。$filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. 有効なフィルターの例を次に示します。$filter=location eq 'westus' です。

top
Nullable<Int32>

リスト操作の 1 ページあたりに返される結果の数。 top パラメーターの有効な範囲は 1 ~ 100 です。 指定しない場合、返される結果の既定の数は 1 ページあたり 20 アイテムです。

cancellationToken
CancellationToken

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

戻り値

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

例外

topicTypeName は空の文字列であり、空でないと予想されていました。

topicTypeName が null です。

適用対象

GetRegionalEventSubscriptionsDataForTopicType(SubscriptionResource, AzureLocation, String, String, Nullable<Int32>, CancellationToken)

特定の Azure サブスクリプションとトピックの種類の下の特定の場所からのすべてのイベント サブスクリプションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions
  • 操作IdEventSubscriptions_ListRegionalBySubscriptionForTopicType
public static Azure.Pageable<Azure.ResourceManager.EventGrid.EventGridSubscriptionData> GetRegionalEventSubscriptionsDataForTopicType (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string topicTypeName, string filter = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetRegionalEventSubscriptionsDataForTopicType : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EventGrid.EventGridSubscriptionData>
<Extension()>
Public Function GetRegionalEventSubscriptionsDataForTopicType (subscriptionResource As SubscriptionResource, location As AzureLocation, topicTypeName As String, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EventGridSubscriptionData)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

location
AzureLocation

場所の名前。

topicTypeName
String

トピックの種類の名前。

filter
String

OData 構文を使用して検索結果をフィルター処理するために使用するクエリ。 フィルター処理は、'name' プロパティでのみ許可され、OData 操作の数は限られています。 これらの操作は、'contains' 関数と、次の論理操作です。not、and、or、eq (等しい場合)、ne (等しくない場合)。 算術演算はサポートされていません。 有効なフィルターの例を次に示します。$filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. 有効なフィルターの例を次に示します。$filter=location eq 'westus' です。

top
Nullable<Int32>

リスト操作の 1 ページあたりに返される結果の数。 top パラメーターの有効な範囲は 1 ~ 100 です。 指定しない場合、返される結果の既定の数は 1 ページあたり 20 アイテムです。

cancellationToken
CancellationToken

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

戻り値

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

例外

topicTypeName は空の文字列であり、空でないと予想されていました。

topicTypeName が null です。

適用対象