Share via


NetworkFabricL2IsolationDomainCollection.CreateOrUpdate Method

Definition

Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is applied on the devices only after the isolation domain is enabled.

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

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.

l2IsolationDomainName
String

Name of the L2 Isolation Domain.

data
NetworkFabricL2IsolationDomainData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

l2IsolationDomainName or data is null.

Applies to