ProfilesOperationsExtensions.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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET