次の方法で共有


Get-AzEventGridSystemTopicEventSubscription

イベント サブスクリプションを取得します。

構文

Get-AzEventGridSystemTopicEventSubscription
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   -SystemTopicName <String>
   [-Filter <String>]
   [-Top <Int32>]
   [-DefaultProfile <PSObject>]
   [-PassThru]
   [<CommonParameters>]
Get-AzEventGridSystemTopicEventSubscription
   -EventSubscriptionName <String>
   -SystemTopicInputObject <IEventGridIdentity>
   [-DefaultProfile <PSObject>]
   [-PassThru]
   [<CommonParameters>]
Get-AzEventGridSystemTopicEventSubscription
   -EventSubscriptionName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   -SystemTopicName <String>
   [-DefaultProfile <PSObject>]
   [-PassThru]
   [<CommonParameters>]
Get-AzEventGridSystemTopicEventSubscription
   -InputObject <IEventGridIdentity>
   [-DefaultProfile <PSObject>]
   [-PassThru]
   [<CommonParameters>]

説明

イベント サブスクリプションを取得します。

例 1: イベント サブスクリプションを取得します。

Get-AzEventGridSystemTopicEventSubscription -ResourceGroupName azps_test_group_eventgrid -SystemTopicName azps-systopic

Name          ResourceGroupName
----          -----------------
azps-evnetsub azps_test_group_eventgrid

イベント サブスクリプションを取得します。

例 2: イベント サブスクリプションを取得します。

Get-AzEventGridSystemTopicEventSubscription -ResourceGroupName azps_test_group_eventgrid -SystemTopicName azps-systopic -EventSubscriptionName azps-evnetsub

Name          ResourceGroupName
----          -----------------
azps-evnetsub azps_test_group_eventgrid

イベント サブスクリプションを取得します。

パラメーター

-DefaultProfile

DefaultProfile パラメーターは機能しません。 別のサブスクリプションに対してコマンドレットを実行する場合は、使用可能な場合は SubscriptionId パラメーターを使用します。

型:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
既定値:None
必須:False
Accept pipeline input:False
Accept wildcard characters:False

-EventSubscriptionName

作成されるイベント サブスクリプションの名前。 イベント サブスクリプション名の長さは 3 ~ 100 文字で、英数字のみを使用する必要があります。

型:String
Position:Named
既定値:None
必須:True
Accept pipeline input:False
Accept wildcard characters:False

-Filter

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

型:String
Position:Named
既定値:None
必須:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

IDENTITY パラメーター

型:IEventGridIdentity
Position:Named
既定値:None
必須:True
Accept pipeline input:True
Accept wildcard characters:False

-PassThru

コマンドが成功したときに true を返します。

型:SwitchParameter
Position:Named
既定値:None
必須:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

ユーザーのサブスクリプション内のリソース グループの名前。

型:String
Aliases:ResourceGroup
Position:Named
既定値:None
必須:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。

型:String[]
Position:Named
既定値:(Get-AzContext).Subscription.Id
必須:False
Accept pipeline input:False
Accept wildcard characters:False

-SystemTopicInputObject

IDENTITY パラメーター

型:IEventGridIdentity
Position:Named
既定値:None
必須:True
Accept pipeline input:True
Accept wildcard characters:False

-SystemTopicName

システム トピックの名前。

型:String
Position:Named
既定値:None
必須:True
Accept pipeline input:False
Accept wildcard characters:False

-Top

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

型:Int32
Position:Named
既定値:None
必須:False
Accept pipeline input:False
Accept wildcard characters:False

入力

IEventGridIdentity

出力

IEventSubscription