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

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