NetworkBootstrapDeviceCollection.CreateOrUpdate Method

Definition

Creates a Network Bootstrap Device resource

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

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.

networkBootstrapDeviceName
String

Name of the Network Bootstrap Device.

data
NetworkBootstrapDeviceData

Request payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

networkBootstrapDeviceName or data is null.

Applies to