SmartGroupCollection Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- 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.
|
ExistsAsync(Guid, CancellationToken) |
Vérifie si la ressource existe dans Azure.
|
Get(Guid, CancellationToken) |
Obtenez des informations relatives à un groupe intelligent spécifique.
|
GetAll(SmartGroupCollectionGetAllOptions, CancellationToken) |
Répertoriez tous les groupes intelligents au sein d’un abonnement spécifié.
|
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é.
|
GetAllAsync(SmartGroupCollectionGetAllOptions, CancellationToken) |
Répertoriez tous les groupes intelligents au sein d’un abonnement spécifié.
|
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é.
|
GetAsync(Guid, CancellationToken) |
Obtenez des informations relatives à un groupe intelligent spécifique.
|
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour