Compartilhar via


NewRelicMonitorResource.GetNewRelicObservabilityTagRuleAsync Método

Definição

Obter um TagRule

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}
  • Operação IdTagRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource>> GetNewRelicObservabilityTagRuleAsync (string ruleSetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNewRelicObservabilityTagRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource>>
override this.GetNewRelicObservabilityTagRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource>>
Public Overridable Function GetNewRelicObservabilityTagRuleAsync (ruleSetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NewRelicObservabilityTagRuleResource))

Parâmetros

ruleSetName
String

Nome do TagRule.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

ruleSetName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

ruleSetName é nulo.

Aplica-se a