Partager via


SmartGroupCollection Classe

Définition

Classe représentant une collection de SmartGroupResource et leurs opérations. Chacun SmartGroupResource de la collection appartient au même instance de SubscriptionResource. Pour obtenir un SmartGroupCollection instance appelez la méthode GetSmartGroups à partir d’un instance de SubscriptionResource.

public class SmartGroupCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.AlertsManagement.SmartGroupResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.SmartGroupResource>
type SmartGroupCollection = class
    inherit ArmCollection
    interface seq<SmartGroupResource>
    interface IEnumerable
    interface IAsyncEnumerable<SmartGroupResource>
Public Class SmartGroupCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SmartGroupResource), IEnumerable(Of SmartGroupResource)
Héritage
SmartGroupCollection
Implémente

Constructeurs

SmartGroupCollection()

Initialise une nouvelle instance de la SmartGroupCollection classe pour les moqueries.

Propriétés

Client

Obtient le ArmClient client de ressource à partir duquel il a été créé.

(Hérité de ArmCollection)
Diagnostics

Obtient les options de diagnostic pour ce client de ressources.

(Hérité de ArmCollection)
Endpoint

Obtient l’URI de base pour ce client de ressource.

(Hérité de ArmCollection)
Id

Obtient l’identificateur de ressource.

(Hérité de ArmCollection)
Pipeline

Obtient le pipeline pour ce client de ressources.

(Hérité de ArmCollection)

Méthodes

Exists(Guid, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • IdSmartGroups_GetById d’opération
ExistsAsync(Guid, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • IdSmartGroups_GetById d’opération
Get(Guid, CancellationToken)

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

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • IdSmartGroups_GetById d’opération
GetAll(SmartGroupCollectionGetAllOptions, CancellationToken)

Répertoriez tous les groupes intelligents au sein d’un abonnement spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups
  • IdSmartGroups_GetAll d’opération
GetAll(String, String, String, Nullable<MonitorServiceSourceForAlert>, Nullable<MonitorCondition>, Nullable<ServiceAlertSeverity>, Nullable<ServiceAlertState>, Nullable<TimeRangeFilter>, Nullable<Int64>, Nullable<SmartGroupsSortByField>, Nullable<AlertsManagementQuerySortOrder>, CancellationToken)

Répertoriez tous les groupes intelligents au sein d’un abonnement spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups
  • IdSmartGroups_GetAll d’opération
GetAllAsync(SmartGroupCollectionGetAllOptions, CancellationToken)

Répertoriez tous les groupes intelligents au sein d’un abonnement spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups
  • IdSmartGroups_GetAll d’opération
GetAllAsync(String, String, String, Nullable<MonitorServiceSourceForAlert>, Nullable<MonitorCondition>, Nullable<ServiceAlertSeverity>, Nullable<ServiceAlertState>, Nullable<TimeRangeFilter>, Nullable<Int64>, Nullable<SmartGroupsSortByField>, Nullable<AlertsManagementQuerySortOrder>, CancellationToken)

Répertoriez tous les groupes intelligents au sein d’un abonnement spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups
  • IdSmartGroups_GetAll d’opération
GetAsync(Guid, CancellationToken)

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

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • IdSmartGroups_GetById d’opération
TryGetApiVersion(ResourceType, String)

Obtient la substitution de version de l’API si elle a été définie pour les options clientes actuelles.

(Hérité de ArmCollection)

Implémentations d’interfaces explicites

IAsyncEnumerable<SmartGroupResource>.GetAsyncEnumerator(CancellationToken)

Retourne un énumérateur qui boucle de façon asynchrone dans la collection.

IEnumerable.GetEnumerator()

Retourne un énumérateur qui itère au sein d’une collection.

IEnumerable<SmartGroupResource>.GetEnumerator()

Retourne un énumérateur qui itère au sein de la collection.

S’applique à