Partager via


StorageInsightCollection Classe

Définition

Classe représentant une collection de StorageInsightResource et leurs opérations. Chacun StorageInsightResource de la collection appartient au même instance de OperationalInsightsWorkspaceResource. Pour obtenir un StorageInsightCollection instance appelez la méthode GetStorageInsights à partir d’un instance de OperationalInsightsWorkspaceResource.

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

Constructeurs

StorageInsightCollection()

Initialise une nouvelle instance de la classe pour la StorageInsightCollection simulation.

Propriétés

Client

Obtient le ArmClient à partir duquel ce client de ressource 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 ressource.

(Hérité de ArmCollection)

Méthodes

CreateOrUpdate(WaitUntil, String, StorageInsightData, CancellationToken)

Créer ou mettre à jour un insight de stockage.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
  • IdStorageInsightConfigs_CreateOrUpdate d’opération
CreateOrUpdateAsync(WaitUntil, String, StorageInsightData, CancellationToken)

Créer ou mettre à jour un insight de stockage.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
  • IdStorageInsightConfigs_CreateOrUpdate d’opération
Exists(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
  • IdStorageInsightConfigs_Get d’opération
ExistsAsync(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
  • IdStorageInsightConfigs_Get d’opération
Get(String, CancellationToken)

Obtient un instance d’insights de stockage.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
  • IdStorageInsightConfigs_Get d’opération
GetAll(CancellationToken)

Répertorie les instances d’insights de stockage au sein d’un espace de travail

  • Chemin de la requête/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs
  • IdStorageInsightConfigs_ListByWorkspace d’opération
GetAllAsync(CancellationToken)

Répertorie les instances d’insights de stockage au sein d’un espace de travail

  • Chemin de la requête/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs
  • IdStorageInsightConfigs_ListByWorkspace d’opération
GetAsync(String, CancellationToken)

Obtient un instance d’insights de stockage.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
  • IdStorageInsightConfigs_Get d’opération
TryGetApiVersion(ResourceType, String)

Obtient le remplacement de version de l’API s’il a été défini pour les options client actuelles.

(Hérité de ArmCollection)

Implémentations d’interfaces explicites

IAsyncEnumerable<StorageInsightResource>.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<StorageInsightResource>.GetEnumerator()

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

S’applique à