Share via


NetworkFabricInternalNetworkCollection.CreateOrUpdateAsync 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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string internalNetworkName, Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricInternalNetworkResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, internalNetworkName As String, data As NetworkFabricInternalNetworkData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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