NetworkBootstrapDeviceCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

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

Parameters

networkBootstrapDeviceName
String

Name of the Network Bootstrap Device.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

networkBootstrapDeviceName is null.

Applies to