Share via


NetworkFabricCollection.CreateOrUpdate Method

Definition

Create Network Fabric resource.

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

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.

networkFabricName
String

Name of the Network Fabric.

data
NetworkFabricData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

networkFabricName or data is null.

Applies to