다음을 통해 공유


TrafficManagerUserMetricsKeysOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a subscription-level key used for Real User Metrics collection.

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)

Parameters

operations
ITrafficManagerUserMetricsKeysOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to