Skip to main content

l2_isolation_domains

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

Overview

Namel2_isolation_domains
TypeResource
Idazure.managed_network_fabric.l2_isolation_domains

Fields

NameDatatypeDescription
administrative_statetextfield from the properties object
annotationtextfield from the properties object
configuration_statetextfield from the properties object
l2IsolationDomainNametextfield from the properties object
locationtextThe geo-location where the resource lives
mtutextfield from the properties object
network_fabric_idtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
vlan_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTl2IsolationDomainName, resourceGroupName, subscriptionIdImplements L2 Isolation Domain GET method.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdDisplays L2IsolationDomains list by resource group GET method.
list_by_subscriptionSELECTsubscriptionIdDisplays L2IsolationDomains list by subscription GET method.
createINSERTl2IsolationDomainName, resourceGroupName, subscriptionId, data__propertiesCreates 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.
deleteDELETEl2IsolationDomainName, resourceGroupName, subscriptionIdDeletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.
updateUPDATEl2IsolationDomainName, resourceGroupName, subscriptionIdAPI to update certain properties of the L2 Isolation Domain resource.
commit_configurationEXECl2IsolationDomainName, resourceGroupName, subscriptionIdCommits the configuration of the given resources.
update_administrative_stateEXECl2IsolationDomainName, resourceGroupName, subscriptionIdEnables isolation domain across the fabric or on specified racks.
validate_configurationEXECl2IsolationDomainName, resourceGroupName, subscriptionIdValidates the configuration of the resources.

SELECT examples

Displays L2IsolationDomains list by subscription GET method.

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 }}';

INSERT example

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

/*+ 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 }}'
;

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 }}';