Sdílet prostřednictvím


ProfilesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a Traffic Manager profile.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Fluent.Models.ProfileInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.TrafficManager.Fluent.IProfilesOperations operations, string resourceGroupName, string profileName, Microsoft.Azure.Management.TrafficManager.Fluent.Models.ProfileInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.TrafficManager.Fluent.IProfilesOperations * string * string * Microsoft.Azure.Management.TrafficManager.Fluent.Models.ProfileInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Fluent.Models.ProfileInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IProfilesOperations, resourceGroupName As String, profileName As String, parameters As ProfileInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProfileInner)

Parameters

operations
IProfilesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing the Traffic Manager profile.

profileName
String

The name of the Traffic Manager profile.

parameters
ProfileInner

The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to