Aracılığıyla paylaş


ExpressRouteCrossConnectionPeeringsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a peering in the specified ExpressRouteCrossConnection.

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

Parameters

operations
IExpressRouteCrossConnectionPeeringsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

crossConnectionName
String

The name of the ExpressRouteCrossConnection.

peeringName
String

The name of the peering.

peeringParameters
ExpressRouteCrossConnectionPeering

Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to