Partilhar via


DynatraceMonitorResource.GetDynatraceTagRuleAsync Método

Definição

Obter um TagRule

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

Parâmetros

ruleSetName
String

Monitorar o nome do recurso.

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