Skip to main content

managed_networks

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

Overview

Namemanaged_networks
TypeResource
Idazure.managed_network.managed_networks

Fields

NameDatatypeDescription
connectivitytextfield from the properties object
etagtextfield from the properties object
managedNetworkNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
scopetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagedNetworkName, resourceGroupName, subscriptionIdThe Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name
list_by_resource_groupSELECTresourceGroupName, subscriptionIdThe ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format.
list_by_subscriptionSELECTsubscriptionIdThe ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.
create_or_updateINSERTmanagedNetworkName, resourceGroupName, subscriptionIdThe Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name
deleteDELETEmanagedNetworkName, resourceGroupName, subscriptionIdThe Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name
updateUPDATEmanagedNetworkName, resourceGroupName, subscriptionIdUpdates the specified Managed Network resource tags.

SELECT examples

The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.

SELECT
connectivity,
etag,
managedNetworkName,
provisioning_state,
resourceGroupName,
scope,
subscriptionId,
tags
FROM azure.managed_network.vw_managed_networks
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.managed_network.managed_networks (
managedNetworkName,
resourceGroupName,
subscriptionId,
properties,
tags
)
SELECT
'{{ managedNetworkName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}'
;

UPDATE example

Updates a managed_networks resource.

/*+ update */
UPDATE azure.managed_network.managed_networks
SET
tags = '{{ tags }}'
WHERE
managedNetworkName = '{{ managedNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified managed_networks resource.

/*+ delete */
DELETE FROM azure.managed_network.managed_networks
WHERE managedNetworkName = '{{ managedNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';