Compartilhar via


TrafficManagerUserMetricsKeysOperationsExtensions.CreateOrUpdateAsync Método

Definição

Crie ou atualize uma chave no nível da assinatura usada para a coleção Real User Metrics.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Models.UserMetricsModel> CreateOrUpdateAsync (this Microsoft.Azure.Management.TrafficManager.ITrafficManagerUserMetricsKeysOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.TrafficManager.ITrafficManagerUserMetricsKeysOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Models.UserMetricsModel>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ITrafficManagerUserMetricsKeysOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of UserMetricsModel)

Parâmetros

operations
ITrafficManagerUserMetricsKeysOperations

O grupo de operações para esse método de extensão.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a