Dela via


NetworkInterfaceTapConfigurationsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Tap configuration in the specified NetworkInterface.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceTapConfigurationInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkInterfaceTapConfigurationsOperations operations, string resourceGroupName, string networkInterfaceName, string tapConfigurationName, Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceTapConfigurationInner tapConfigurationParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.Fluent.INetworkInterfaceTapConfigurationsOperations * string * string * string * Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceTapConfigurationInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceTapConfigurationInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As INetworkInterfaceTapConfigurationsOperations, resourceGroupName As String, networkInterfaceName As String, tapConfigurationName As String, tapConfigurationParameters As NetworkInterfaceTapConfigurationInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkInterfaceTapConfigurationInner)

Parameters

operations
INetworkInterfaceTapConfigurationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkInterfaceName
String

The name of the network interface.

tapConfigurationName
String

The name of the tap configuration.

tapConfigurationParameters
NetworkInterfaceTapConfigurationInner

Parameters supplied to the create or update tap configuration operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to