Skip to main content

network_fabrics

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

Overview

Namenetwork_fabrics
TypeResource
Idazure_extras.managed_network_fabric.network_fabrics

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.
activeCommitBatchesarrayActive commit batch identifiers.
administrativeStatestringAdministrative state of the resource. Known values are: "Enabled", "Disabled", "MAT", "RMA", "UnderMaintenance", and "EnabledDegraded". (Enabled, Disabled, MAT, RMA, UnderMaintenance, EnabledDegraded)
annotationstringSwitch configuration description.
authorizedTransceiverobjectAuthorized transciever configuration for NetworkFabric.
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)
controlPlaneAclsarrayControl Plane Access Control List ARM resource IDs.
fabricASNintegerASN of CE devices for CE/PE connectivity. Required.
fabricLocksarrayNetwork Fabric Lock details.
fabricVersionstringThe version of Network Fabric.
featureFlagsarrayNetworkFabric feature flag configuration information.
hardwareAlertThresholdintegerHardware alert threshold percentage. Possible values are from 20 to 100.
identityobjectThe managed service identities assigned to this resource.
ipv4PrefixstringIPv4Prefix for Management Network. Example: 10.1.0.0/19. Required.
ipv6PrefixstringIPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59.
l2IsolationDomainsarrayList of L2 Isolation Domain resource IDs under the Network Fabric.
l3IsolationDomainsarrayList of L3 Isolation Domain resource IDs under the Network Fabric.
lastOperationobjectDetails of the last operation performed on the resource.
locationstringThe geo-location where the resource lives. Required.
managementNetworkConfigurationobjectConfiguration to be used to setup the management network. Required.
networkFabricControllerIdstringAzure resource ID for the NetworkFabricController the NetworkFabric belongs. Required.
networkFabricSkustringSupported Network Fabric SKU.Example: Compute / Aggregate racks. Once the user chooses a particular SKU, only supported racks can be added to the Network Fabric. The SKU determines whether it is a single / multi rack Network Fabric. Required.
provisioningStatestringProvides you the latest status of the NFC service, whether it is Accepted, updating, Succeeded or Failed. During this process, the states keep changing based on the status of NFC provisioning. Known values are: "Accepted", "Succeeded", "Updating", "Deleting", "Failed", and "Canceled". (Accepted, Succeeded, Updating, Deleting, Failed, Canceled)
qosConfigurationobjectNetworkFabric QoS Configuration.
rackCountintegerNumber of compute racks associated to Network Fabric.
racksarrayList of NetworkRack resource IDs under the Network Fabric. The number of racks allowed depends on the Network Fabric SKU.
routerIdsarrayArray of router IDs.
secretRotationSummaryobjectOverview of secret rotation for the Network Fabric.
serverCountPerRackintegerNumber of servers.Possible values are from 1-16. Required.
storageAccountConfigurationobjectBring your own storage account configurations for Network Fabric.
storageArrayCountintegerNumber of Storage arrays associated with the Network Fabric.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
terminalServerConfigurationobjectNetwork and credentials configuration currently applied to terminal server. Required.
trustedIpPrefixesarrayTrusted IP Prefixes ARM resource IDs.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
uniqueRdConfigurationobjectUnique Route Distinguisher configuration.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, network_fabric_name, subscription_idGet Network Fabric resource details.
list_by_resource_groupselectresource_group_name, subscription_idList all the Network Fabric resources in the given resource group.
list_by_subscriptionselectsubscription_idList all the Network Fabric resources in the given subscription.
createinsertresource_group_name, network_fabric_name, subscription_id, location, propertiesCreate Network Fabric resource.
updateupdateresource_group_name, network_fabric_name, subscription_idUpdate certain properties of the Network Fabric resource.
deletedeleteresource_group_name, network_fabric_name, subscription_idDelete Network Fabric resource.
get_topologyexecresource_group_name, network_fabric_name, subscription_idGets Topology of the underlying resources in the given Network Fabric instance.
provisionexecresource_group_name, network_fabric_name, subscription_idProvisions the underlying resources in the given Network Fabric instance.
deprovisionexecresource_group_name, network_fabric_name, subscription_idDeprovisions the underlying resources in the given Network Fabric instance.
upgradeexecresource_group_name, network_fabric_name, subscription_idUpgrades the version of the underlying resources in the given Network Fabric instance.
refresh_configurationexecresource_group_name, network_fabric_name, subscription_idRefreshes the configuration of the underlying resources in the given Network Fabric instance.
update_workload_management_bfd_configurationexecresource_group_name, network_fabric_name, subscription_idUpdates the Workload Management BFD Configuration of the underlying resources in the given Network Fabric instance.
update_infra_management_bfd_configurationexecresource_group_name, network_fabric_name, subscription_idUpdates the Infra Management BFD Configuration of the underlying resources in the given Network Fabric instance.
validate_configurationexecresource_group_name, network_fabric_name, subscription_idValidates the configuration of the underlying resources in the given Network Fabric instance.
commit_configurationexecresource_group_name, network_fabric_name, subscription_idAtomic update of the given Network Fabric instance. Sync update of NFA resources at Fabric level.
commit_batch_statusexecresource_group_name, network_fabric_name, subscription_idPost action: Returns a status of commit batch operation.
discard_commit_batchexecresource_group_name, network_fabric_name, subscription_idPost action: Discards a Batch operation in progress.
lock_fabricexecresource_group_name, network_fabric_name, subscription_idPost action: Triggers network fabric lock operation.
view_device_configurationexecresource_group_name, network_fabric_name, subscription_idPost action: Triggers view of network fabric configuration.
arm_configuration_diffexecresource_group_name, network_fabric_name, subscription_idPost action: Triggers diff of NetworkFabric ARM Configuration.
rotate_passwordsexecresource_group_name, network_fabric_name, subscription_idRotate all passwords on the Terminal Server and Network Devices. Creates new passwords, then updates the Terminal Server and Network Devices to use the new passwords. Note that disabled devices cannot be updated and must be resynchronized with the new passwords once they are enabled. Fails if any of the devices could not be updated with the new password. Failed devices should be resynchronized with the new passwords once possible.
resync_passwordsexecresource_group_name, network_fabric_name, subscription_idResync the latest passwords to the Terminal Server and Network Devices. Updates the Terminal Server and all Network Devices to use the latest passwords. Does not generate new passwords. Allows devices to be brought back in sync after a partially successful password rotation.
rotate_certificatesexecresource_group_name, network_fabric_name, subscription_idRotate all certificates on Network Devices. Creates new certificates, then updates the Network Devices to use the new certificates. Note that disabled devices cannot be updated and must be resynchronized with the new certificates once they are enabled.
resync_certificatesexecresource_group_name, network_fabric_name, subscription_idRe-sync all certificates on Network Devices. Updates all Network Devices to use the latest certificates. Does not generate new certificates. Allows network devices missed during a previous certificate 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_fabric_namestringName of the Network Fabric. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get Network Fabric resource details.

SELECT
id,
name,
activeCommitBatches,
administrativeState,
annotation,
authorizedTransceiver,
configurationState,
controlPlaneAcls,
fabricASN,
fabricLocks,
fabricVersion,
featureFlags,
hardwareAlertThreshold,
identity,
ipv4Prefix,
ipv6Prefix,
l2IsolationDomains,
l3IsolationDomains,
lastOperation,
location,
managementNetworkConfiguration,
networkFabricControllerId,
networkFabricSku,
provisioningState,
qosConfiguration,
rackCount,
racks,
routerIds,
secretRotationSummary,
serverCountPerRack,
storageAccountConfiguration,
storageArrayCount,
systemData,
tags,
terminalServerConfiguration,
trustedIpPrefixes,
type,
uniqueRdConfiguration
FROM azure_extras.managed_network_fabric.network_fabrics
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND network_fabric_name = '{{ network_fabric_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create Network Fabric resource.

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

UPDATE examples

Update certain properties of the Network Fabric resource.

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

DELETE examples

Delete Network Fabric resource.

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

Lifecycle Methods

Gets Topology of the underlying resources in the given Network Fabric instance.

EXEC azure_extras.managed_network_fabric.network_fabrics.get_topology 
@resource_group_name='{{ resource_group_name }}' --required,
@network_fabric_name='{{ network_fabric_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;