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

The following fields are returned by SELECT queries:

The resource has been successfully retrieved.

NameDatatypeDescription
extendedLocationobjectThe extended location of the cluster associated with the resource. (title: ExtendedLocation represents the Azure custom location where the resource will be created.)
locationstringThe geo-location where the resource lives
propertiesobjectThe list of the resource properties. (title: L3NetworkProperties represents properties of the L3 network.)
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, l3NetworkNameGet properties of the provided layer 3 (L3) network.
list_by_resource_groupselectsubscriptionId, resourceGroupNameGet 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_updateinsertsubscriptionId, resourceGroupName, l3NetworkName, data__extendedLocation, data__propertiesCreate a new layer 3 (L3) network or update the properties of the existing network.
updateupdatesubscriptionId, resourceGroupName, l3NetworkNameUpdate tags associated with the provided layer 3 (L3) network.
deletedeletesubscriptionId, resourceGroupName, l3NetworkNameDelete the provided layer 3 (L3) network.

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.

NameDatatypeDescription
l3NetworkNamestringThe name of the L3 network.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get properties of the provided layer 3 (L3) network.

SELECT
extendedLocation,
location,
properties,
tags
FROM azure.nexus.l3_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND l3NetworkName = '{{ l3NetworkName }}' -- required
;

INSERT examples

Create a new layer 3 (L3) network or update the properties of the existing network.

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

UPDATE examples

Update tags associated with the provided layer 3 (L3) network.

UPDATE azure.nexus.l3_networks
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND l3NetworkName = '{{ l3NetworkName }}' --required
RETURNING
extendedLocation,
location,
properties,
tags;

DELETE examples

Delete the provided layer 3 (L3) network.

DELETE FROM azure.nexus.l3_networks
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND l3NetworkName = '{{ l3NetworkName }}' --required
;