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

AlertsManagementExtensions.GetSmartGroupAsync 方法

定义

获取与特定智能组相关的信息。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • 操作IdSmartGroups_GetById
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.SmartGroupResource>> GetSmartGroupAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Guid smartGroupId, System.Threading.CancellationToken cancellationToken = default);
static member GetSmartGroupAsync : Azure.ResourceManager.Resources.SubscriptionResource * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AlertsManagement.SmartGroupResource>>
<Extension()>
Public Function GetSmartGroupAsync (subscriptionResource As SubscriptionResource, smartGroupId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SmartGroupResource))

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

smartGroupId
Guid

智能组唯一 ID。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于