Freigeben über


MonitoringTagRuleCollection Klasse

Definition

Eine Klasse, die eine Auflistung von und deren MonitoringTagRuleResource Vorgänge darstellt. Jedes MonitoringTagRuleResource in der Auflistung gehört zum gleichen instance von ElasticMonitorResource. Um eine MonitoringTagRuleCollection instance rufen Sie die GetMonitoringTagRules-Methode aus einer instance von aufElasticMonitorResource.

public class MonitoringTagRuleCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Elastic.MonitoringTagRuleResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Elastic.MonitoringTagRuleResource>
type MonitoringTagRuleCollection = class
    inherit ArmCollection
    interface seq<MonitoringTagRuleResource>
    interface IEnumerable
    interface IAsyncEnumerable<MonitoringTagRuleResource>
Public Class MonitoringTagRuleCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MonitoringTagRuleResource), IEnumerable(Of MonitoringTagRuleResource)
Vererbung
MonitoringTagRuleCollection
Implementiert

Konstruktoren

MonitoringTagRuleCollection()

Initialisiert eine neue instance der -Klasse für die MonitoringTagRuleCollection Simulation.

Eigenschaften

Client

Ruft den ArmClient ab, aus dem dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmCollection)
Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmCollection)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)

Methoden

CreateOrUpdate(WaitUntil, String, MonitoringTagRuleData, CancellationToken)

Erstellen oder aktualisieren Sie einen Tagregelsatz für eine bestimmte Monitorressource.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}
  • Vorgangs-IdTagRules_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, MonitoringTagRuleData, CancellationToken)

Erstellen oder aktualisieren Sie einen Tagregelsatz für eine bestimmte Monitorressource.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}
  • Vorgangs-IdTagRules_CreateOrUpdate
Exists(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}
  • Vorgangs-IdTagRules_Get
ExistsAsync(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}
  • Vorgangs-IdTagRules_Get
Get(String, CancellationToken)

Ruft einen Tagregelsatz für eine bestimmte Monitorressource ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}
  • Vorgangs-IdTagRules_Get
GetAll(CancellationToken)

Listet die Tagregeln für eine bestimmte Monitorressource auf.

  • Anforderungspfad/Abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules
  • Vorgangs-IdTagRules_List
GetAllAsync(CancellationToken)

Listet die Tagregeln für eine bestimmte Monitorressource auf.

  • Anforderungspfad/Abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules
  • Vorgangs-IdTagRules_List
GetAsync(String, CancellationToken)

Ruft einen Tagregelsatz für eine bestimmte Monitorressource ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}
  • Vorgangs-IdTagRules_Get
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmCollection)

Explizite Schnittstellenimplementierungen

IAsyncEnumerable<MonitoringTagRuleResource>.GetAsyncEnumerator(CancellationToken)

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

IEnumerable.GetEnumerator()

Gibt einen Enumerator zurück, der eine Auflistung durchläuft.

IEnumerable<MonitoringTagRuleResource>.GetEnumerator()

Gibt einen Enumerator zurück, der die Auflistung durchläuft.

Gilt für: