EventGridExtensions.GetTopicType メソッド

定義

トピックの種類に関する情報を取得します。

  • 要求パス/プロバイダー/Microsoft.EventGrid/topicTypes/{topicTypeName}
  • 操作IdTopicTypes_Get
public static Azure.Response<Azure.ResourceManager.EventGrid.TopicTypeResource> GetTopicType (this Azure.ResourceManager.Resources.TenantResource tenantResource, string topicTypeName, System.Threading.CancellationToken cancellationToken = default);
static member GetTopicType : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.TopicTypeResource>
<Extension()>
Public Function GetTopicType (tenantResource As TenantResource, topicTypeName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TopicTypeResource)

パラメーター

tenantResource
TenantResource

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

topicTypeName
String

トピックの種類の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

topicTypeName が null です。

適用対象