Partilhar via


DatadogMonitorResource.SetDefaultKey(DatadogApiKey, CancellationToken) Método

Definição

Defina a chave de API padrão.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/setDefaultKey
  • IdMonitors_SetDefaultKey de operação
public virtual Azure.Response SetDefaultKey (Azure.ResourceManager.Datadog.Models.DatadogApiKey body = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SetDefaultKey : Azure.ResourceManager.Datadog.Models.DatadogApiKey * System.Threading.CancellationToken -> Azure.Response
override this.SetDefaultKey : Azure.ResourceManager.Datadog.Models.DatadogApiKey * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function SetDefaultKey (Optional body As DatadogApiKey = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response

Parâmetros

body
DatadogApiKey

O DatadogApiKey a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a