Freigeben über


INetworkInterfaceTapConfigurationsOperations.BeginCreateOrUpdateWithHttpMessagesAsync Methode

Definition

Erstellt oder aktualisiert eine Tap-Konfiguration im angegebenen NetworkInterface.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Models.NetworkInterfaceTapConfiguration>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Microsoft.Azure.Management.Network.Models.NetworkInterfaceTapConfiguration tapConfigurationParameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Network.Models.NetworkInterfaceTapConfiguration * 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.Models.NetworkInterfaceTapConfiguration>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, networkInterfaceName As String, tapConfigurationName As String, tapConfigurationParameters As NetworkInterfaceTapConfiguration, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of NetworkInterfaceTapConfiguration))

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe.

networkInterfaceName
String

: Der Name der Netzwerkschnittstelle

tapConfigurationName
String

Der Name der Tapkonfiguration.

tapConfigurationParameters
NetworkInterfaceTapConfiguration

Parameter, die für den Tapkonfigurationsvorgang zum Erstellen oder Aktualisieren angegeben 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: