Compartilhar via


DynatraceMonitorResource.GetVmHostPayloadAsync(CancellationToken) Método

Definição

Retorna o conteúdo que precisa ser passado no corpo da solicitação para instalar o agente do Dynatrace em uma VM.

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a