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

The following fields are returned by SELECT queries:

Get successful. The operation returns the specified Managed Network resource.

NameDatatypeDescription
propertiesobjectThe MNC properties
tagsobjectResource tags

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, managedNetworkNameThe Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name
list_by_resource_groupselectsubscriptionId, resourceGroupName$top, $skiptokenThe ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format.
list_by_subscriptionselectsubscriptionId$top, $skiptokenThe ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.
create_or_updateinsertsubscriptionId, resourceGroupName, managedNetworkNameThe Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name
updateupdatesubscriptionId, resourceGroupName, managedNetworkNameUpdates the specified Managed Network resource tags.
deletedeletesubscriptionId, resourceGroupName, managedNetworkNameThe Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name

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
managedNetworkNamestringThe name of the Managed Network.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
$skiptokenstringSkiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.
$topintegerMay be used to limit the number of results in a page for list queries.

SELECT examples

The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name

SELECT
properties,
tags
FROM azure.managed_network.managed_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managedNetworkName = '{{ managedNetworkName }}' -- required
;

INSERT examples

The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name

INSERT INTO azure.managed_network.managed_networks (
data__properties,
data__tags,
subscriptionId,
resourceGroupName,
managedNetworkName
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ managedNetworkName }}'
RETURNING
properties,
tags
;

UPDATE examples

Updates the specified Managed Network resource tags.

UPDATE azure.managed_network.managed_networks
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND managedNetworkName = '{{ managedNetworkName }}' --required
RETURNING
properties,
tags;

DELETE examples

The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name

DELETE FROM azure.managed_network.managed_networks
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND managedNetworkName = '{{ managedNetworkName }}' --required
;