NetworkBootstrapInterfaceCollection.CreateOrUpdateAsync Method

Definition

Create a Network Bootstrap Interface resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkBootstrapDevices/{networkBootstrapDeviceName}/networkBootstrapInterfaces/{networkBootstrapInterfaceName}
  • Operation Id: NetworkBootstrapInterfaces_Create
  • Default Api Version: 2025-07-15
  • Resource: NetworkBootstrapInterfaceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkBootstrapInterfaceResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string networkBootstrapInterfaceName, Azure.ResourceManager.ManagedNetworkFabric.NetworkBootstrapInterfaceData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkBootstrapInterfaceData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkBootstrapInterfaceResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.ManagedNetworkFabric.NetworkBootstrapInterfaceData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.NetworkBootstrapInterfaceResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, networkBootstrapInterfaceName As String, data As NetworkBootstrapInterfaceData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetworkBootstrapInterfaceResource))

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.

networkBootstrapInterfaceName
String

Name of the Network Bootstrap Interface.

data
NetworkBootstrapInterfaceData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

networkBootstrapInterfaceName or data is null.

Applies to