Skip to main content

subscription_network_manager_connections

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

Overview

Namesubscription_network_manager_connections
TypeResource
Idazure.network.subscription_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.
networkManagerConnectionNametextfield from the properties object
network_manager_idtextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkManagerConnectionName, subscriptionIdGet a specified connection created by this subscription.
listSELECTsubscriptionIdList all network manager connections created by this subscription.
create_or_updateINSERTnetworkManagerConnectionName, subscriptionIdCreate a network manager connection on this subscription.
deleteDELETEnetworkManagerConnectionName, subscriptionIdDelete specified connection created by this subscription.

SELECT examples

List all network manager connections created by this subscription.

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

INSERT example

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

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

DELETE example

Deletes the specified subscription_network_manager_connections resource.

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