Skip to main content

packet_core_data_planes

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

Overview

Namepacket_core_data_planes
TypeResource
Idazure.mobile_network.packet_core_data_planes

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the resulting packet core data plane resource.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectPacket core data plane Properties.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, subscriptionIdGets information about the specified packet core data plane.
list_by_packet_core_control_planeselectresourceGroupName, packetCoreControlPlaneName, subscriptionIdLists all the packet core data planes associated with a packet core control plane.
create_or_updateinsertresourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, subscriptionId, data__propertiesCreates or updates a packet core data plane. Must be created in the same location as its parent packet core control plane.
deletedeleteresourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, subscriptionIdDeletes the specified packet core data plane.
update_tagsexecresourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, subscriptionIdUpdates packet core data planes 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
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 packet core data plane.

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

INSERT examples

Creates or updates a packet core data plane. Must be created in the same location as its parent packet core control plane.

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

DELETE examples

Deletes the specified packet core data plane.

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

Lifecycle Methods

Updates packet core data planes tags.

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