Udostępnij za pośrednictwem


ExpressRoutePortsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates the specified ExpressRoutePort resource.

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

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
ExpressRoutePortInner

Parameters supplied to the create ExpressRoutePort operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to