Compartilhar via


NewRelicMonitorResource.VmHostPayloadAsync(CancellationToken) Método

Definição

Retorna a carga que precisa ser passada no corpo da solicitação para instalar o agente NewRelic em uma VM.

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a