Partager via


AlertsManagementExtensions.GetSmartGroupAsync Méthode

Définition

Obtenir des informations relatives à un groupe intelligent spécifique.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • Opération 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))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

smartGroupId
Guid

ID unique du groupe intelligent.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à