Freigeben über


IExpressRoutePortsOperations.BeginCreateOrUpdateWithHttpMessagesAsync Methode

Definition

Erstellt oder aktualisiert die angegebene ExpressRoutePort-Ressource.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Fluent.Models.ExpressRoutePortInner>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string expressRoutePortName, Microsoft.Azure.Management.Network.Fluent.Models.ExpressRoutePortInner parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateOrUpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Fluent.Models.ExpressRoutePortInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Fluent.Models.ExpressRoutePortInner>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, expressRoutePortName As String, parameters As ExpressRoutePortInner, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ExpressRoutePortInner))

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe.

expressRoutePortName
String

Der Name der ExpressRoutePort-Ressource.

parameters
ExpressRoutePortInner

Parameter, die für den ExpressRoutePort-Erstellungsvorgang bereitgestellt werden.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: