Skip to main content

network_bootstrap_devices

Creates, updates, deletes, gets or lists a network_bootstrap_devices resource.

Overview

Namenetwork_bootstrap_devices
TypeResource
Idazure_extras.managed_network_fabric.network_bootstrap_devices

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
administrativeStatestringAdministrative state of the resource. Known values are: "Enabled", "Disabled", "MAT", "RMA", "UnderMaintenance", and "EnabledDegraded". (Enabled, Disabled, MAT, RMA, UnderMaintenance, EnabledDegraded)
annotationstringSwitch configuration description.
configurationStatestringConfiguration state of the resource. Known values are: "Succeeded", "Failed", "Rejected", "Accepted", "Provisioned", "ErrorProvisioning", "Deprovisioning", "Deprovisioned", "ErrorDeprovisioning", "DeferredControl", "Provisioning", "PendingCommit", and "PendingAdministrativeUpdate". (Succeeded, Failed, Rejected, Accepted, Provisioned, ErrorProvisioning, Deprovisioning, Deprovisioned, ErrorDeprovisioning, DeferredControl, Provisioning, PendingCommit, PendingAdministrativeUpdate)
dhcpV4ServerIpAddressstringDhcp server IPv4 Address.
hostNamestringThe host name of the device.
identityobjectThe managed service identities assigned to this resource.
locationstringThe geo-location where the resource lives. Required.
networkDeviceSkustringNetwork Bootstrap Device SKU name.
networkFabricIdstringAssociated Network Fabric Resource ID.
primaryManagementIpv4AddressstringPrimary Management IPv4 Address.
primaryManagementIpv6AddressstringPrimary Management IPv6 Address.
provisioningStatestringProvisioning state of the resource. Known values are: "Accepted", "Succeeded", "Updating", "Deleting", "Failed", and "Canceled". (Accepted, Succeeded, Updating, Deleting, Failed, Canceled)
secondaryManagementIpv4AddressstringSecondary Management IPv4 Address.
secondaryManagementIpv6AddressstringSecondary Management IPv6 Address.
serialNumberstringSerial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
versionstringCurrent version of the device as defined in SKU.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, network_bootstrap_device_name, subscription_idGets a Network Bootstrap Device resource details.
list_by_resource_groupselectresource_group_name, subscription_idLists all the Network Bootstrap Device resources in a given resource group.
list_by_subscriptionselectsubscription_idList all the Network Bootstrap Device resources in a given subscription.
createinsertresource_group_name, network_bootstrap_device_name, subscription_id, location, propertiesCreates a Network Bootstrap Device resource.
updateupdateresource_group_name, network_bootstrap_device_name, subscription_idUpdate certain properties of the Network Bootstrap Device resource.
deletedeleteresource_group_name, network_bootstrap_device_name, subscription_idDeletes a Network Bootstrap Device resource.
rebootexecresource_group_name, network_bootstrap_device_name, subscription_idReboot the Network Bootstrap Device.
refresh_configurationexecresource_group_name, network_bootstrap_device_name, subscription_idRefreshes the configuration of Network Bootstrap Device.
upgradeexecresource_group_name, network_bootstrap_device_name, subscription_idUpgrades the version of the Network Bootstrap Device.
update_administrative_stateexecresource_group_name, network_bootstrap_device_name, subscription_idUpdates the Administrative state of the Network Bootstrap Device.
resync_passwordsexecresource_group_name, network_bootstrap_device_name, subscription_idResync the latest passwords to the Network Bootstrap Device. Updates the Network Bootstrap Device to use the latest passwords. Does not generate new passwords. Allows network bootstrap devices missed during a previous password rotation to be brought back into sync.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
network_bootstrap_device_namestringName of the Network Bootstrap Device. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets a Network Bootstrap Device resource details.

SELECT
id,
name,
administrativeState,
annotation,
configurationState,
dhcpV4ServerIpAddress,
hostName,
identity,
location,
networkDeviceSku,
networkFabricId,
primaryManagementIpv4Address,
primaryManagementIpv6Address,
provisioningState,
secondaryManagementIpv4Address,
secondaryManagementIpv6Address,
serialNumber,
systemData,
tags,
type,
version
FROM azure_extras.managed_network_fabric.network_bootstrap_devices
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND network_bootstrap_device_name = '{{ network_bootstrap_device_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates a Network Bootstrap Device resource.

INSERT INTO azure_extras.managed_network_fabric.network_bootstrap_devices (
tags,
location,
properties,
identity,
resource_group_name,
network_bootstrap_device_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ identity }}',
'{{ resource_group_name }}',
'{{ network_bootstrap_device_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Update certain properties of the Network Bootstrap Device resource.

UPDATE azure_extras.managed_network_fabric.network_bootstrap_devices
SET
tags = '{{ tags }}',
properties = '{{ properties }}',
identity = '{{ identity }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND network_bootstrap_device_name = '{{ network_bootstrap_device_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type;

DELETE examples

Deletes a Network Bootstrap Device resource.

DELETE FROM azure_extras.managed_network_fabric.network_bootstrap_devices
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND network_bootstrap_device_name = '{{ network_bootstrap_device_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Reboot the Network Bootstrap Device.

EXEC azure_extras.managed_network_fabric.network_bootstrap_devices.reboot 
@resource_group_name='{{ resource_group_name }}' --required,
@network_bootstrap_device_name='{{ network_bootstrap_device_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;