Compartilhar via


ExpressRoutePortsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria ou atualiza o recurso ExpressRoutePort especificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.ExpressRoutePortInner> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (operations As IExpressRoutePortsOperations, resourceGroupName As String, expressRoutePortName As String, parameters As ExpressRoutePortInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRoutePortInner)

Parâmetros

operations
IExpressRoutePortsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

expressRoutePortName
String

O nome do recurso ExpressRoutePort.

parameters
ExpressRoutePortInner

Parâmetros fornecidos para a operação create ExpressRoutePort.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a