Skip to main content

l3_networks

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

Overview

Namel3_networks
TypeResource
Idazure.nexus.l3_networks

Fields

NameDatatypeDescription
associated_resource_idstextfield from the properties object
cluster_idtextfield from the properties object
detailed_statustextfield from the properties object
detailed_status_messagetextfield from the properties object
extended_locationtextfield from the properties object
hybrid_aks_clusters_associated_idstextfield from the properties object
hybrid_aks_ipam_enabledtextfield from the properties object
hybrid_aks_plugin_typetextfield from the properties object
interface_nametextfield from the properties object
ip_allocation_typetextfield from the properties object
ipv4_connected_prefixtextfield from the properties object
ipv6_connected_prefixtextfield from the properties object
l3NetworkNametextfield from the properties object
l3_isolation_domain_idtextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
virtual_machines_associated_idstextfield from the properties object
vlantextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTl3NetworkName, resourceGroupName, subscriptionIdGet properties of the provided layer 3 (L3) network.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGet a list of layer 3 (L3) networks in the provided resource group.
list_by_subscriptionSELECTsubscriptionIdGet a list of layer 3 (L3) networks in the provided subscription.
create_or_updateINSERTl3NetworkName, resourceGroupName, subscriptionId, data__extendedLocation, data__propertiesCreate a new layer 3 (L3) network or update the properties of the existing network.
deleteDELETEl3NetworkName, resourceGroupName, subscriptionIdDelete the provided layer 3 (L3) network.
updateUPDATEl3NetworkName, resourceGroupName, subscriptionIdUpdate tags associated with the provided layer 3 (L3) network.

SELECT examples

Get a list of layer 3 (L3) networks in the provided subscription.

SELECT
associated_resource_ids,
cluster_id,
detailed_status,
detailed_status_message,
extended_location,
hybrid_aks_clusters_associated_ids,
hybrid_aks_ipam_enabled,
hybrid_aks_plugin_type,
interface_name,
ip_allocation_type,
ipv4_connected_prefix,
ipv6_connected_prefix,
l3NetworkName,
l3_isolation_domain_id,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
virtual_machines_associated_ids,
vlan
FROM azure.nexus.vw_l3_networks
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.nexus.l3_networks (
l3NetworkName,
resourceGroupName,
subscriptionId,
data__extendedLocation,
data__properties,
extendedLocation,
properties,
tags,
location
)
SELECT
'{{ l3NetworkName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__extendedLocation }}',
'{{ data__properties }}',
'{{ extendedLocation }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a l3_networks resource.

/*+ update */
UPDATE azure.nexus.l3_networks
SET
tags = '{{ tags }}'
WHERE
l3NetworkName = '{{ l3NetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified l3_networks resource.

/*+ delete */
DELETE FROM azure.nexus.l3_networks
WHERE l3NetworkName = '{{ l3NetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';