ExpressRoutePortsOperations.StartCreateOrUpdateAsync(String, String, ExpressRoutePort, CancellationToken) Method

Definition

Creates or updates the specified ExpressRoutePort resource.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Network.ExpressRoutePortsCreateOrUpdateOperation> StartCreateOrUpdateAsync (string resourceGroupName, string expressRoutePortName, Azure.ResourceManager.Network.Models.ExpressRoutePort parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdateAsync : string * string * Azure.ResourceManager.Network.Models.ExpressRoutePort * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.ExpressRoutePortsCreateOrUpdateOperation>
override this.StartCreateOrUpdateAsync : string * string * Azure.ResourceManager.Network.Models.ExpressRoutePort * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Network.ExpressRoutePortsCreateOrUpdateOperation>
Public Overridable Function StartCreateOrUpdateAsync (resourceGroupName As String, expressRoutePortName As String, parameters As ExpressRoutePort, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRoutePortsCreateOrUpdateOperation)

Parameters

resourceGroupName
System.String

The name of the resource group.

expressRoutePortName
System.String

The name of the ExpressRoutePort resource.

parameters
ExpressRoutePort

Parameters supplied to the create ExpressRoutePort operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<ExpressRoutePortsCreateOrUpdateOperation>

Exceptions

System.ArgumentNullException

resourceGroupName, expressRoutePortName, or parameters is null.

Applies to