Skip to main content

management_group_network_manager_connections

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

Overview

Namemanagement_group_network_manager_connections
TypeResource
Idazure.network.management_group_network_manager_connections

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
descriptiontextfield from the properties object
connection_statetextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
managementGroupIdtextfield from the properties object
networkManagerConnectionNametextfield from the properties object
network_manager_idtextfield from the properties object
system_datatextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagementGroupId, networkManagerConnectionNameGet a specified connection created by this management group.
listSELECTmanagementGroupIdList all network manager connections created by this management group.
create_or_updateINSERTmanagementGroupId, networkManagerConnectionNameCreate a network manager connection on this management group.
deleteDELETEmanagementGroupId, networkManagerConnectionNameDelete specified pending connection created by this management group.

SELECT examples

List all network manager connections created by this management group.

SELECT
id,
name,
description,
connection_state,
etag,
managementGroupId,
networkManagerConnectionName,
network_manager_id,
system_data,
type
FROM azure.network.vw_management_group_network_manager_connections
WHERE managementGroupId = '{{ managementGroupId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.management_group_network_manager_connections (
managementGroupId,
networkManagerConnectionName,
properties
)
SELECT
'{{ managementGroupId }}',
'{{ networkManagerConnectionName }}',
'{{ properties }}'
;

DELETE example

Deletes the specified management_group_network_manager_connections resource.

/*+ delete */
DELETE FROM azure.network.management_group_network_manager_connections
WHERE managementGroupId = '{{ managementGroupId }}'
AND networkManagerConnectionName = '{{ networkManagerConnectionName }}';