managed_networks
Creates, updates, deletes, gets or lists a managed_networks
resource.
Overview
Name | managed_networks |
Type | Resource |
Id | azure.managed_network.managed_networks |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Get successful. The operation returns the specified Managed Network resource.
Name | Datatype | Description |
---|---|---|
properties | object | The MNC properties |
tags | object | Resource tags |
Get successful. The operation returns all Managed Network resources under the specified resource group in a paginated format
Name | Datatype | Description |
---|---|---|
properties | object | The MNC properties |
tags | object | Resource tags |
Get successful. The operation returns all Managed Network resources under the current subscription in a paginated format.
Name | Datatype | Description |
---|---|---|
properties | object | The MNC properties |
tags | object | Resource tags |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , managedNetworkName | The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name | |
list_by_resource_group | select | subscriptionId , resourceGroupName | $top , $skiptoken | The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format. |
list_by_subscription | select | subscriptionId | $top , $skiptoken | The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format. |
create_or_update | insert | subscriptionId , resourceGroupName , managedNetworkName | The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name | |
update | update | subscriptionId , resourceGroupName , managedNetworkName | Updates the specified Managed Network resource tags. | |
delete | delete | subscriptionId , resourceGroupName , managedNetworkName | The 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.
Name | Datatype | Description |
---|---|---|
managedNetworkName | string | The name of the Managed Network. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
$skiptoken | string | Skiptoken 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. |
$top | integer | May be used to limit the number of results in a page for list queries. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
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
;
The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format.
SELECT
properties,
tags
FROM azure.managed_network.managed_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND $top = '{{ $top }}'
AND $skiptoken = '{{ $skiptoken }}'
;
The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.
SELECT
properties,
tags
FROM azure.managed_network.managed_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND $top = '{{ $top }}'
AND $skiptoken = '{{ $skiptoken }}'
;
INSERT
examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: managed_networks
props:
- name: subscriptionId
value: string
description: Required parameter for the managed_networks resource.
- name: resourceGroupName
value: string
description: Required parameter for the managed_networks resource.
- name: managedNetworkName
value: string
description: Required parameter for the managed_networks resource.
- name: properties
value: object
description: |
The MNC properties
- name: tags
value: object
description: |
Resource tags
UPDATE
examples
- update
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
- delete
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
;