Share via


NetworkToNetworkInterconnectCollection.CreateOrUpdateAsync Method

Definition

Configuration used to setup CE-PE connectivity PUT Method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}
  • Operation Id: NetworkToNetworkInterconnects_Create
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string networkToNetworkInterconnectName, Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkToNetworkInterconnectResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, networkToNetworkInterconnectName As String, data As NetworkToNetworkInterconnectData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetworkToNetworkInterconnectResource))

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.

networkToNetworkInterconnectName
String

Name of the Network to Network Interconnect.

data
NetworkToNetworkInterconnectData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

networkToNetworkInterconnectName or data is null.

Applies to