Compartir a través de


NewRelicObservabilityTagRuleCollection.Get(String, CancellationToken) Método

Definición

Obtener un TagRule

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}
  • IdTagRules_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource> Get (string ruleSetName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource>
Public Overridable Function Get (ruleSetName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NewRelicObservabilityTagRuleResource)

Parámetros

ruleSetName
String

Nombre de TagRule.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

ruleSetName es una cadena vacía y se esperaba que no estuviera vacía.

ruleSetName es null.

Se aplica a