Share via


NetworkFabricControllerCollection.CreateOrUpdateAsync Method

Definition

Creates a Network Fabric Controller.

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