Share via


ExpressRouteCircuitsOperationsExtensions.CreateOrUpdateAsync 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
String

The name of the resource group.

circuitName
String

The name of the circuit.

parameters
ExpressRouteCircuit

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to