Skip to main content

attached_data_networks

Creates, updates, deletes, gets or lists an attached_data_networks resource.

Overview

Nameattached_data_networks
TypeResource
Idazure.mobile_network.attached_data_networks

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the resulting attached data network resource.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectAttached data network properties.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, attachedDataNetworkNameGets information about the specified attached data network.
list_by_packet_core_data_planeselectsubscriptionId, resourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneNameGets all the attached data networks associated with a packet core data plane.
create_or_updateinsertsubscriptionId, resourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, attachedDataNetworkName, data__propertiesCreates or updates an attached data network. Must be created in the same location as its parent packet core data plane.
deletedeletesubscriptionId, resourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, attachedDataNetworkNameDeletes the specified attached data network.
update_tagsexecsubscriptionId, resourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, attachedDataNetworkNameUpdates an attached data network tags.

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
attachedDataNetworkNamestringThe name of the attached data network.
packetCoreControlPlaneNamestringThe name of the packet core control plane.
packetCoreDataPlaneNamestringThe name of the packet core data plane.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets information about the specified attached data network.

SELECT
location,
properties,
tags
FROM azure.mobile_network.attached_data_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND packetCoreControlPlaneName = '{{ packetCoreControlPlaneName }}' -- required
AND packetCoreDataPlaneName = '{{ packetCoreDataPlaneName }}' -- required
AND attachedDataNetworkName = '{{ attachedDataNetworkName }}' -- required
;

INSERT examples

Creates or updates an attached data network. Must be created in the same location as its parent packet core data plane.

INSERT INTO azure.mobile_network.attached_data_networks (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
packetCoreControlPlaneName,
packetCoreDataPlaneName,
attachedDataNetworkName
)
SELECT
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ packetCoreControlPlaneName }}',
'{{ packetCoreDataPlaneName }}',
'{{ attachedDataNetworkName }}'
RETURNING
location,
properties,
tags
;

DELETE examples

Deletes the specified attached data network.

DELETE FROM azure.mobile_network.attached_data_networks
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND packetCoreControlPlaneName = '{{ packetCoreControlPlaneName }}' --required
AND packetCoreDataPlaneName = '{{ packetCoreDataPlaneName }}' --required
AND attachedDataNetworkName = '{{ attachedDataNetworkName }}' --required
;

Lifecycle Methods

Updates an attached data network tags.

EXEC azure.mobile_network.attached_data_networks.update_tags 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@packetCoreControlPlaneName='{{ packetCoreControlPlaneName }}' --required,
@packetCoreDataPlaneName='{{ packetCoreDataPlaneName }}' --required,
@attachedDataNetworkName='{{ attachedDataNetworkName }}' --required
@@json=
'{
"tags": "{{ tags }}"
}'
;