Share via


ExpressRoutePortsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates the specified ExpressRoutePort resource.

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

Parameters

operations
IExpressRoutePortsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRoutePortName
String

The name of the ExpressRoutePort resource.

parameters
ExpressRoutePort

Parameters supplied to the create ExpressRoutePort operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to