l2_isolation_domains
Creates, updates, deletes, gets or lists a l2_isolation_domains
resource.
Overview
Name | l2_isolation_domains |
Type | Resource |
Id | azure.managed_network_fabric.l2_isolation_domains |
Fields
- vw_l2_isolation_domains
- l2_isolation_domains
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 |
l2IsolationDomainName | text | field from the properties object |
location | text | The geo-location where the resource lives |
mtu | text | field from the properties object |
network_fabric_id | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
vlan_id | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | L2Isolation Domain Properties defines the properties of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | l2IsolationDomainName, resourceGroupName, subscriptionId | Implements L2 Isolation Domain GET method. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Displays L2IsolationDomains list by resource group GET method. |
list_by_subscription | SELECT | subscriptionId | Displays L2IsolationDomains list by subscription GET method. |
create | INSERT | l2IsolationDomainName, resourceGroupName, subscriptionId, data__properties | Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is applied on the devices only after the isolation domain is enabled. |
delete | DELETE | l2IsolationDomainName, resourceGroupName, subscriptionId | Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name. |
update | UPDATE | l2IsolationDomainName, resourceGroupName, subscriptionId | API to update certain properties of the L2 Isolation Domain resource. |
commit_configuration | EXEC | l2IsolationDomainName, resourceGroupName, subscriptionId | Commits the configuration of the given resources. |
update_administrative_state | EXEC | l2IsolationDomainName, resourceGroupName, subscriptionId | Enables isolation domain across the fabric or on specified racks. |
validate_configuration | EXEC | l2IsolationDomainName, resourceGroupName, subscriptionId | Validates the configuration of the resources. |
SELECT
examples
Displays L2IsolationDomains list by subscription GET method.
- vw_l2_isolation_domains
- l2_isolation_domains
SELECT
administrative_state,
annotation,
configuration_state,
l2IsolationDomainName,
location,
mtu,
network_fabric_id,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
vlan_id
FROM azure.managed_network_fabric.vw_l2_isolation_domains
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.l2_isolation_domains
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new l2_isolation_domains
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.managed_network_fabric.l2_isolation_domains (
l2IsolationDomainName,
resourceGroupName,
subscriptionId,
data__properties,
tags,
location,
properties
)
SELECT
'{{ l2IsolationDomainName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: annotation
value: string
- name: networkFabricId
value: []
- name: vlanId
value: integer
- name: mtu
value: integer
- name: configurationState
value: []
- name: provisioningState
value: []
- name: administrativeState
value: []
UPDATE
example
Updates a l2_isolation_domains
resource.
/*+ update */
UPDATE azure.managed_network_fabric.l2_isolation_domains
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
l2IsolationDomainName = '{{ l2IsolationDomainName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified l2_isolation_domains
resource.
/*+ delete */
DELETE FROM azure.managed_network_fabric.l2_isolation_domains
WHERE l2IsolationDomainName = '{{ l2IsolationDomainName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';