Aracılığıyla paylaş


NetworkProfilesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a network profile.

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

Parameters

operations
INetworkProfilesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkProfileName
String

The name of the network profile.

parameters
NetworkProfile

Parameters supplied to the create or update network profile operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to