你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ExtensionTopicsOperationsExtensions.GetAsync 方法

定义

获取扩展主题的属性。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.ExtensionTopic> GetAsync (this Microsoft.Azure.Management.EventGrid.IExtensionTopicsOperations operations, string scope, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.EventGrid.IExtensionTopicsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.ExtensionTopic>
<Extension()>
Public Function GetAsync (operations As IExtensionTopicsOperations, scope As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExtensionTopic)

参数

operations
IExtensionTopicsOperations

此扩展方法的操作组。

scope
String

查询扩展主题的资源的标识符。 范围可以是订阅、资源组或属于资源提供程序命名空间的顶级资源。 例如,对订阅使用“/subscriptions/{subscriptionId}/”,对资源组使用“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}”,对 Azure 资源使用“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”。

cancellationToken
CancellationToken

取消标记。

返回

注解

获取扩展主题的属性。

适用于