Share via


NetworkTapCollection.CreateOrUpdate Method

Definition

Creates a Network Tap.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}
  • Operation Id: NetworkTaps_Create
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string networkTapName, Azure.ResourceManager.ManagedNetworkFabric.NetworkTapData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkTapData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkTapData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, networkTapName As String, data As NetworkTapData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NetworkTapResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

networkTapName
String

Name of the Network Tap.

data
NetworkTapData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

networkTapName is an empty string, and was expected to be non-empty.

networkTapName or data is null.

Applies to