Skip to main content

trunked_networks

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

Overview

Nametrunked_networks
TypeResource
Idazure.nexus.trunked_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: TrunkedNetworkProperties represents properties of the trunked network.)
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, trunkedNetworkNameGet properties of the provided trunked network.
list_by_resource_groupselectsubscriptionId, resourceGroupNameGet a list of trunked networks in the provided resource group.
list_by_subscriptionselectsubscriptionIdGet a list of trunked networks in the provided subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, trunkedNetworkName, data__extendedLocation, data__propertiesCreate a new trunked network or update the properties of the existing trunked network.
updateupdatesubscriptionId, resourceGroupName, trunkedNetworkNameUpdate tags associated with the provided trunked network.
deletedeletesubscriptionId, resourceGroupName, trunkedNetworkNameDelete the provided trunked 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
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.
trunkedNetworkNamestringThe name of the trunked network.

SELECT examples

Get properties of the provided trunked network.

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

INSERT examples

Create a new trunked network or update the properties of the existing trunked network.

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

UPDATE examples

Update tags associated with the provided trunked network.

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

DELETE examples

Delete the provided trunked network.

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