TrafficManagerUserMetricsKeysOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.