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

AlertsManagementExtensions.GetSmartGroup 方法

定义

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

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

参数

subscriptionResource
SubscriptionResource

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

smartGroupId
Guid

智能组唯一 ID。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于