InterconnectGroupCollection.CreateOrUpdate Method

Definition

Creates or updates an interconnect group.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interconnectGroups/{interconnectGroupName}.
  • Operation Id. : InterconnectGroups_CreateOrUpdate.
  • Default Api Version. : 2025-07-01.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.InterconnectGroupResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string interconnectGroupName, Azure.ResourceManager.Network.InterconnectGroupData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Network.InterconnectGroupData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.InterconnectGroupResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Network.InterconnectGroupData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.InterconnectGroupResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, interconnectGroupName As String, data As InterconnectGroupData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of InterconnectGroupResource)

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.

interconnectGroupName
String

The name of the interconnect group.

data
InterconnectGroupData

Parameters supplied to the create or update interconnect group operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

interconnectGroupName or data is null.

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

Applies to