packet_core_data_planes
Creates, updates, deletes, gets or lists a packet_core_data_planes
resource.
Overview
Name | packet_core_data_planes |
Type | Resource |
Id | azure.mobile_network.packet_core_data_planes |
Fields
- vw_packet_core_data_planes
- packet_core_data_planes
Name | Datatype | Description |
---|---|---|
location | text | The geo-location where the resource lives |
packetCoreControlPlaneName | text | field from the properties object |
packetCoreDataPlaneName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
user_plane_access_interface | text | field from the properties object |
user_plane_access_virtual_ipv4_addresses | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Packet core data plane properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId | Gets information about the specified packet core data plane. |
list_by_packet_core_control_plane | SELECT | packetCoreControlPlaneName, resourceGroupName, subscriptionId | Lists all the packet core data planes associated with a packet core control plane. |
create_or_update | INSERT | packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId, data__properties | Creates or updates a packet core data plane. Must be created in the same location as its parent packet core control plane. |
delete | DELETE | packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId | Deletes the specified packet core data plane. |
update_tags | EXEC | packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId | Updates packet core data planes tags. |
SELECT
examples
Lists all the packet core data planes associated with a packet core control plane.
- vw_packet_core_data_planes
- packet_core_data_planes
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 }}';
SELECT
location,
properties,
tags
FROM azure.mobile_network.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: userPlaneAccessInterface
value:
- name: name
value: string
- name: ipv4Address
value: []
- name: ipv4Subnet
value: []
- name: vlanId
value: integer
- name: ipv4AddressList
value:
- []
- name: bfdIpv4Endpoints
value:
- []
- name: userPlaneAccessVirtualIpv4Addresses
value:
- []
- name: tags
value: object
- name: location
value: string
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 }}';