network_fabrics
Creates, updates, deletes, gets or lists a network_fabrics
resource.
Overview
Name | network_fabrics |
Type | Resource |
Id | azure.managed_network_fabric.network_fabrics |
Fields
- vw_network_fabrics
- network_fabrics
Name | Datatype | Description |
---|---|---|
administrative_state | text | field from the properties object |
annotation | text | field from the properties object |
configuration_state | text | field from the properties object |
fabric_asn | text | field from the properties object |
fabric_version | text | field from the properties object |
ipv4_prefix | text | field from the properties object |
ipv6_prefix | text | field from the properties object |
l2_isolation_domains | text | field from the properties object |
l3_isolation_domains | text | field from the properties object |
location | text | The geo-location where the resource lives |
management_network_configuration | text | field from the properties object |
networkFabricName | text | field from the properties object |
network_fabric_controller_id | text | field from the properties object |
network_fabric_sku | text | field from the properties object |
provisioning_state | text | field from the properties object |
rack_count | text | field from the properties object |
racks | text | field from the properties object |
resourceGroupName | text | field from the properties object |
router_ids | text | field from the properties object |
server_count_per_rack | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
terminal_server_configuration | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Network Fabric Properties defines the properties of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkFabricName, resourceGroupName, subscriptionId | Get Network Fabric resource details. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all the Network Fabric resources in the given resource group. |
list_by_subscription | SELECT | subscriptionId | List all the Network Fabric resources in the given subscription. |
create | INSERT | networkFabricName, resourceGroupName, subscriptionId, data__properties | Create Network Fabric resource. |
delete | DELETE | networkFabricName, resourceGroupName, subscriptionId | Delete Network Fabric resource. |
update | UPDATE | networkFabricName, resourceGroupName, subscriptionId | Update certain properties of the Network Fabric resource. |
commit_configuration | EXEC | networkFabricName, resourceGroupName, subscriptionId | Atomic update of the given Network Fabric instance. Sync update of NFA resources at Fabric level. |
deprovision | EXEC | networkFabricName, resourceGroupName, subscriptionId | Deprovisions the underlying resources in the given Network Fabric instance. |
provision | EXEC | networkFabricName, resourceGroupName, subscriptionId | Provisions the underlying resources in the given Network Fabric instance. |
refresh_configuration | EXEC | networkFabricName, resourceGroupName, subscriptionId | Refreshes the configuration of the underlying resources in the given Network Fabric instance. |
upgrade | EXEC | networkFabricName, resourceGroupName, subscriptionId | Upgrades the version of the underlying resources in the given Network Fabric instance. |
validate_configuration | EXEC | networkFabricName, resourceGroupName, subscriptionId | Validates the configuration of the underlying resources in the given Network Fabric instance. |
SELECT
examples
List all the Network Fabric resources in the given subscription.
- vw_network_fabrics
- network_fabrics
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 }}';
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.network_fabrics
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new network_fabrics
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: annotation
value: string
- name: networkFabricSku
value: string
- name: fabricVersion
value: string
- name: routerIds
value:
- string
- name: networkFabricControllerId
value: []
- name: rackCount
value: integer
- name: serverCountPerRack
value: integer
- name: ipv4Prefix
value: string
- name: ipv6Prefix
value: string
- name: fabricASN
value: integer
- name: terminalServerConfiguration
value:
- name: networkDeviceId
value: string
- name: username
value: string
- name: password
value: string
- name: serialNumber
value: string
- name: primaryIpv4Prefix
value: string
- name: primaryIpv6Prefix
value: string
- name: secondaryIpv4Prefix
value: string
- name: secondaryIpv6Prefix
value: string
- name: managementNetworkConfiguration
value:
- name: infrastructureVpnConfiguration
value:
- name: networkToNetworkInterconnectId
value: []
- name: administrativeState
value: []
- name: peeringOption
value: []
- name: optionBProperties
value:
- name: importRouteTargets
value:
- string
- name: exportRouteTargets
value:
- string
- name: routeTargets
value:
- name: importIpv4RouteTargets
value:
- string
- name: importIpv6RouteTargets
value:
- string
- name: exportIpv4RouteTargets
value:
- string
- name: exportIpv6RouteTargets
value:
- string
- name: optionAProperties
value: object
- name: racks
value:
- string
- name: l2IsolationDomains
value:
- string
- name: l3IsolationDomains
value:
- string
- name: configurationState
value: []
- name: provisioningState
value: []
- name: tags
value: object
- name: location
value: string
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 }}';