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
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Lists all L2IsolationDomains under the resource group.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Lists all L2IsolationDomains under the subscription.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , l2IsolationDomainName | Implements L2 Isolation Domain GET method. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | Displays L2IsolationDomains list by resource group GET method. | |
list_by_subscription | select | subscriptionId | Displays L2IsolationDomains list by subscription GET method. | |
create | insert | subscriptionId , resourceGroupName , l2IsolationDomainName , 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. | |
update | update | subscriptionId , resourceGroupName , l2IsolationDomainName | API to update certain properties of the L2 Isolation Domain resource. | |
delete | delete | subscriptionId , resourceGroupName , l2IsolationDomainName | Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name. | |
update_administrative_state | exec | subscriptionId , resourceGroupName , l2IsolationDomainName | Enables isolation domain across the fabric or on specified racks. | |
validate_configuration | exec | subscriptionId , resourceGroupName , l2IsolationDomainName | Validates the configuration of the resources. | |
commit_configuration | exec | subscriptionId , resourceGroupName , l2IsolationDomainName | Commits the configuration of the given resources. |
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.
Name | Datatype | Description |
---|---|---|
l2IsolationDomainName | string | Name of the L2 Isolation Domain. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Implements L2 Isolation Domain GET method.
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.l2_isolation_domains
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND l2IsolationDomainName = '{{ l2IsolationDomainName }}' -- required
;
Displays L2IsolationDomains list by resource group GET method.
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.l2_isolation_domains
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Displays L2IsolationDomains list by subscription GET method.
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.l2_isolation_domains
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
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.
INSERT INTO azure.managed_network_fabric.l2_isolation_domains (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
l2IsolationDomainName
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ l2IsolationDomainName }}'
RETURNING
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: l2_isolation_domains
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the l2_isolation_domains resource.
- name: resourceGroupName
value: string
description: Required parameter for the l2_isolation_domains resource.
- name: l2IsolationDomainName
value: string
description: Required parameter for the l2_isolation_domains resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
- name: properties
value: object
description: |
Resource properties.
UPDATE
examples
- update
API to update certain properties of the L2 Isolation Domain resource.
UPDATE azure.managed_network_fabric.l2_isolation_domains
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND l2IsolationDomainName = '{{ l2IsolationDomainName }}' --required
RETURNING
location,
properties,
tags;
DELETE
examples
- delete
Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.
DELETE FROM azure.managed_network_fabric.l2_isolation_domains
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND l2IsolationDomainName = '{{ l2IsolationDomainName }}' --required
;
Lifecycle Methods
- update_administrative_state
- validate_configuration
- commit_configuration
Enables isolation domain across the fabric or on specified racks.
EXEC azure.managed_network_fabric.l2_isolation_domains.update_administrative_state
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@l2IsolationDomainName='{{ l2IsolationDomainName }}' --required
@@json=
'{
"state": "{{ state }}",
"resourceIds": "{{ resourceIds }}"
}'
;
Validates the configuration of the resources.
EXEC azure.managed_network_fabric.l2_isolation_domains.validate_configuration
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@l2IsolationDomainName='{{ l2IsolationDomainName }}' --required
;
Commits the configuration of the given resources.
EXEC azure.managed_network_fabric.l2_isolation_domains.commit_configuration
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@l2IsolationDomainName='{{ l2IsolationDomainName }}' --required
;