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

NameDatatypeDescription
locationtextThe geo-location where the resource lives
packetCoreControlPlaneNametextfield from the properties object
packetCoreDataPlaneNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
user_plane_access_interfacetextfield from the properties object
user_plane_access_virtual_ipv4_addressestextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTpacketCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionIdGets information about the specified packet core data plane.
list_by_packet_core_control_planeSELECTpacketCoreControlPlaneName, resourceGroupName, subscriptionIdLists all the packet core data planes associated with a packet core control plane.
create_or_updateINSERTpacketCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId, data__propertiesCreates or updates a packet core data plane. Must be created in the same location as its parent packet core control plane.
deleteDELETEpacketCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionIdDeletes the specified packet core data plane.
update_tagsEXECpacketCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionIdUpdates packet core data planes tags.

SELECT examples

Lists all the packet core data planes associated with a packet core control plane.

SELECT
location,
packetCoreControlPlaneName,
packetCoreDataPlaneName,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
user_plane_access_interface,
user_plane_access_virtual_ipv4_addresses
FROM azure.mobile_network.vw_packet_core_data_planes
WHERE packetCoreControlPlaneName = '{{ packetCoreControlPlaneName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified packet_core_data_planes resource.

/*+ delete */
DELETE FROM azure.mobile_network.packet_core_data_planes
WHERE packetCoreControlPlaneName = '{{ packetCoreControlPlaneName }}'
AND packetCoreDataPlaneName = '{{ packetCoreDataPlaneName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';