Compartir a través de


DatadogMonitorResource.GetDefaultKeyAsync(CancellationToken) Método

Definición

Obtenga la clave de API predeterminada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/getDefaultKey
  • IdMonitors_GetDefaultKey de operaciones
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

Token de cancelación que se va a usar.

Devoluciones

Se aplica a