SystemTopicEventSubscriptionCollection.GetAsync メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}
  • 操作IdSystemTopicEventSubscriptions_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.SystemTopicEventSubscriptionResource>> GetAsync (string eventSubscriptionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.SystemTopicEventSubscriptionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.SystemTopicEventSubscriptionResource>>
Public Overridable Function GetAsync (eventSubscriptionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SystemTopicEventSubscriptionResource))

パラメーター

eventSubscriptionName
String

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

cancellationToken
CancellationToken

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

戻り値

例外

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

eventSubscriptionName が null です。

適用対象