EventGridTopicCollection.Get(String, CancellationToken) メソッド

定義

トピックのプロパティを取得します。

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

パラメーター

topicName
String

トピックの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

topicName が null です。

適用対象