Share via


NetworkFabricControllerCollection.CreateOrUpdate Method

Definition

Creates a Network Fabric Controller.

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

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.

networkFabricControllerName
String

Name of the Network Fabric Controller.

data
NetworkFabricControllerData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

networkFabricControllerName or data is null.

Applies to