Freigeben über


MonitoringTagRuleCollection.Get(String, CancellationToken) Methode

Definition

Ruft einen Tagregelsatz für eine bestimmte Monitorressource ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}
  • Vorgangs-IdTagRules_Get
public virtual Azure.Response<Azure.ResourceManager.Elastic.MonitoringTagRuleResource> Get (string ruleSetName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Elastic.MonitoringTagRuleResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Elastic.MonitoringTagRuleResource>
Public Overridable Function Get (ruleSetName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MonitoringTagRuleResource)

Parameter

ruleSetName
String

Tag Regelsatz-Ressourcenname.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

ruleSetName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

ruleSetName ist NULL.

Gilt für: