NetworkFabricInternalNetworkCollection.CreateOrUpdate Method

Definition

Creates InternalNetwork PUT method.

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

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.

internalNetworkName
String

Name of the Internal Network.

data
NetworkFabricInternalNetworkData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

internalNetworkName or data is null.

Applies to