Partilhar via


DynatraceMonitorCollection.GetAsync(String, CancellationToken) Método

Definição

Obter um MonitorResource

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

Parâmetros

monitorName
String

Monitorar o nome do recurso.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

monitorName é nulo.

Aplica-se a