Skip to main content

attached_networks

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

Overview

Nameattached_networks
TypeResource
Idazure.dev_center.attached_networks

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
attachedNetworkConnectionNametextfield from the properties object
devCenterNametextfield from the properties object
domain_join_typetextfield from the properties object
health_check_statustextfield from the properties object
network_connection_idtextfield from the properties object
network_connection_locationtextfield from the properties object
projectNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
get_by_dev_centerSELECTattachedNetworkConnectionName, devCenterName, resourceGroupName, subscriptionIdGets an attached NetworkConnection.
get_by_projectSELECTattachedNetworkConnectionName, projectName, resourceGroupName, subscriptionIdGets an attached NetworkConnection.
list_by_dev_centerSELECTdevCenterName, resourceGroupName, subscriptionIdLists the attached NetworkConnections for a DevCenter.
list_by_projectSELECTprojectName, resourceGroupName, subscriptionIdLists the attached NetworkConnections for a Project.
create_or_updateINSERTattachedNetworkConnectionName, devCenterName, resourceGroupName, subscriptionIdCreates or updates an attached NetworkConnection.
deleteDELETEattachedNetworkConnectionName, devCenterName, resourceGroupName, subscriptionIdUn-attach a NetworkConnection.

SELECT examples

Lists the attached NetworkConnections for a Project.

SELECT
id,
name,
attachedNetworkConnectionName,
devCenterName,
domain_join_type,
health_check_status,
network_connection_id,
network_connection_location,
projectName,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.dev_center.vw_attached_networks
WHERE projectName = '{{ projectName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.dev_center.attached_networks (
attachedNetworkConnectionName,
devCenterName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ attachedNetworkConnectionName }}',
'{{ devCenterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified attached_networks resource.

/*+ delete */
DELETE FROM azure.dev_center.attached_networks
WHERE attachedNetworkConnectionName = '{{ attachedNetworkConnectionName }}'
AND devCenterName = '{{ devCenterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';