Skip to main content

network_fabrics

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

Overview

Namenetwork_fabrics
TypeResource
Idazure.managed_network_fabric.network_fabrics

Fields

NameDatatypeDescription
administrative_statetextfield from the properties object
annotationtextfield from the properties object
configuration_statetextfield from the properties object
fabric_asntextfield from the properties object
fabric_versiontextfield from the properties object
ipv4_prefixtextfield from the properties object
ipv6_prefixtextfield from the properties object
l2_isolation_domainstextfield from the properties object
l3_isolation_domainstextfield from the properties object
locationtextThe geo-location where the resource lives
management_network_configurationtextfield from the properties object
networkFabricNametextfield from the properties object
network_fabric_controller_idtextfield from the properties object
network_fabric_skutextfield from the properties object
provisioning_statetextfield from the properties object
rack_counttextfield from the properties object
rackstextfield from the properties object
resourceGroupNametextfield from the properties object
router_idstextfield from the properties object
server_count_per_racktextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
terminal_server_configurationtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkFabricName, resourceGroupName, subscriptionIdGet Network Fabric resource details.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList all the Network Fabric resources in the given resource group.
list_by_subscriptionSELECTsubscriptionIdList all the Network Fabric resources in the given subscription.
createINSERTnetworkFabricName, resourceGroupName, subscriptionId, data__propertiesCreate Network Fabric resource.
deleteDELETEnetworkFabricName, resourceGroupName, subscriptionIdDelete Network Fabric resource.
updateUPDATEnetworkFabricName, resourceGroupName, subscriptionIdUpdate certain properties of the Network Fabric resource.
commit_configurationEXECnetworkFabricName, resourceGroupName, subscriptionIdAtomic update of the given Network Fabric instance. Sync update of NFA resources at Fabric level.
deprovisionEXECnetworkFabricName, resourceGroupName, subscriptionIdDeprovisions the underlying resources in the given Network Fabric instance.
provisionEXECnetworkFabricName, resourceGroupName, subscriptionIdProvisions the underlying resources in the given Network Fabric instance.
refresh_configurationEXECnetworkFabricName, resourceGroupName, subscriptionIdRefreshes the configuration of the underlying resources in the given Network Fabric instance.
upgradeEXECnetworkFabricName, resourceGroupName, subscriptionIdUpgrades the version of the underlying resources in the given Network Fabric instance.
validate_configurationEXECnetworkFabricName, resourceGroupName, subscriptionIdValidates the configuration of the underlying resources in the given Network Fabric instance.

SELECT examples

List all the Network Fabric resources in the given subscription.

SELECT
administrative_state,
annotation,
configuration_state,
fabric_asn,
fabric_version,
ipv4_prefix,
ipv6_prefix,
l2_isolation_domains,
l3_isolation_domains,
location,
management_network_configuration,
networkFabricName,
network_fabric_controller_id,
network_fabric_sku,
provisioning_state,
rack_count,
racks,
resourceGroupName,
router_ids,
server_count_per_rack,
subscriptionId,
tags,
terminal_server_configuration
FROM azure.managed_network_fabric.vw_network_fabrics
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new network_fabrics resource.

/*+ create */
INSERT INTO azure.managed_network_fabric.network_fabrics (
networkFabricName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ networkFabricName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a network_fabrics resource.

/*+ update */
UPDATE azure.managed_network_fabric.network_fabrics
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
networkFabricName = '{{ networkFabricName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified network_fabrics resource.

/*+ delete */
DELETE FROM azure.managed_network_fabric.network_fabrics
WHERE networkFabricName = '{{ networkFabricName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';