Share via


NetworkFabricCollection.CreateOrUpdateAsync Method

Definition

Create Network Fabric resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}
  • Operation Id: NetworkFabrics_Create
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string networkFabricName, Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricData data, System.Threading.CancellationToken cancellationToken = default);

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

Product Versions
Azure SDK for .NET Latest