ExpressRouteCircuitsOperationsExtensions.CreateOrUpdateAsync(IExpressRouteCircuitsOperations, String, String, ExpressRouteCircuit, CancellationToken) Method

Definition

Creates or updates an express route circuit.

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

Parameters

operations
IExpressRouteCircuitsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

circuitName
System.String

The name of the circuit.

parameters
ExpressRouteCircuit

Parameters supplied to the create or update express route circuit operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ExpressRouteCircuit>

Applies to