Skip to main content

network_bootstrap_interfaces

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

Overview

Namenetwork_bootstrap_interfaces
TypeResource
Idazure_extras.managed_network_fabric.network_bootstrap_interfaces

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.
additionalDescriptionstringAdditional description of the interface.
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)
connectedTostringConnected to information of the device.
descriptionstringDescription of the interface.
interfaceTypestringType of the interface. Known values are: "Management" and "Data". (Management, Data)
ipv4AddressstringIPv4Address of the interface.
ipv6AddressstringIPv6Address of the interface.
physicalIdentifierstringPhysical identifier of the device.
provisioningStatestringProvisioning state of the resource. Known values are: "Accepted", "Succeeded", "Updating", "Deleting", "Failed", and "Canceled". (Accepted, Succeeded, Updating, Deleting, Failed, Canceled)
serialNumberstringSerial number of the interface. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, network_bootstrap_device_name, network_bootstrap_interface_name, subscription_idGet the Network Bootstrap Interface resource details.
list_by_network_bootstrap_deviceselectresource_group_name, network_bootstrap_device_name, subscription_idList all the Network Bootstrap Interface resources in a given resource group.
createinsertresource_group_name, network_bootstrap_device_name, network_bootstrap_interface_name, subscription_id, propertiesCreate a Network Bootstrap Interface resource.
updateupdateresource_group_name, network_bootstrap_device_name, network_bootstrap_interface_name, subscription_idUpdate certain properties of the Network Bootstrap Interface resource.
deletedeleteresource_group_name, network_bootstrap_device_name, network_bootstrap_interface_name, subscription_idDelete the Network Bootstrap Interface resource.
update_administrative_stateexecresource_group_name, network_bootstrap_device_name, network_bootstrap_interface_name, subscription_idUpdate the admin state of the Network Interface.

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.
network_bootstrap_interface_namestringName of the Network Bootstrap Interface. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get the Network Bootstrap Interface resource details.

SELECT
id,
name,
additionalDescription,
administrativeState,
annotation,
configurationState,
connectedTo,
description,
interfaceType,
ipv4Address,
ipv6Address,
physicalIdentifier,
provisioningState,
serialNumber,
systemData,
type
FROM azure_extras.managed_network_fabric.network_bootstrap_interfaces
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND network_bootstrap_device_name = '{{ network_bootstrap_device_name }}' -- required
AND network_bootstrap_interface_name = '{{ network_bootstrap_interface_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create a Network Bootstrap Interface resource.

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

UPDATE examples

Update certain properties of the Network Bootstrap Interface resource.

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

DELETE examples

Delete the Network Bootstrap Interface resource.

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

Lifecycle Methods

Update the admin state of the Network Interface.

EXEC azure_extras.managed_network_fabric.network_bootstrap_interfaces.update_administrative_state 
@resource_group_name='{{ resource_group_name }}' --required,
@network_bootstrap_device_name='{{ network_bootstrap_device_name }}' --required,
@network_bootstrap_interface_name='{{ network_bootstrap_interface_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"resourceIds": "{{ resourceIds }}",
"state": "{{ state }}"
}'
;