Sdílet prostřednictvím


ProfilesOperationsExtensions.UpdateAsync Method

Definition

Update a Traffic Manager profile.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Fluent.Models.ProfileInner> UpdateAsync (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 UpdateAsync : 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 UpdateAsync (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 Update operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to