Skip to main content

network_connections

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

Overview

Namenetwork_connections
TypeResource
Idazure.dev_center.network_connections

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectProperties of a Network Connection
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets a network connection resource
list_by_resource_groupselectLists network connections in a resource group
list_by_subscriptionselectLists network connections in a subscription
create_or_updateinsertCreates or updates a Network Connections resource
updateupdatePartially updates a Network Connection
deletedeleteDeletes a Network Connections resource
run_health_checksexecsubscriptionId, resourceGroupName, networkConnectionNameTriggers a new health check run. The execution and health check result can be tracked via the network Connection health check details

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
networkConnectionNamestringName of the Network Connection that can be applied to a Pool.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets a network connection resource

SELECT
location,
properties,
tags
FROM azure.dev_center.network_connections
;

INSERT examples

Creates or updates a Network Connections resource

INSERT INTO azure.dev_center.network_connections (
data__tags,
data__location,
data__properties
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Partially updates a Network Connection

UPDATE azure.dev_center.network_connections
SET
data__tags = '{{ tags }}',
data__location = '{{ location }}',
data__properties = '{{ properties }}'
RETURNING
location,
properties,
tags;

DELETE examples

Deletes a Network Connections resource

DELETE FROM azure.dev_center.network_connections
;

Lifecycle Methods

Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details

EXEC azure.dev_center.network_connections.run_health_checks 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@networkConnectionName='{{ networkConnectionName }}' --required
;