Compartilhar via


DatadogMonitorResource.GetDefaultKeyAsync(CancellationToken) Método

Definição

Obtenha a chave de api padrão.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitores/{monitorName}/getDefaultKey
  • Operação IdMonitors_GetDefaultKey
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogApiKey>> GetDefaultKeyAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDefaultKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogApiKey>>
override this.GetDefaultKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Datadog.Models.DatadogApiKey>>
Public Overridable Function GetDefaultKeyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DatadogApiKey))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a