attached_data_networks
Creates, updates, deletes, gets or lists a attached_data_networks
resource.
Overview
Name | attached_data_networks |
Type | Resource |
Id | azure.mobile_network.attached_data_networks |
Fields
- vw_attached_data_networks
- attached_data_networks
Name | Datatype | Description |
---|---|---|
attachedDataNetworkName | text | field from the properties object |
dns_addresses | text | field from the properties object |
location | text | The geo-location where the resource lives |
napt_configuration | text | field from the properties object |
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_equipment_address_pool_prefix | text | field from the properties object |
user_equipment_static_address_pool_prefix | text | field from the properties object |
user_plane_data_interface | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Data network properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | attachedDataNetworkName, packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId | Gets information about the specified attached data network. |
list_by_packet_core_data_plane | SELECT | packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId | Gets all the attached data networks associated with a packet core data plane. |
create_or_update | INSERT | attachedDataNetworkName, packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId, data__properties | Creates or updates an attached data network. Must be created in the same location as its parent packet core data plane. |
delete | DELETE | attachedDataNetworkName, packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId | Deletes the specified attached data network. |
update_tags | EXEC | attachedDataNetworkName, packetCoreControlPlaneName, packetCoreDataPlaneName, resourceGroupName, subscriptionId | Updates an attached data network tags. |
SELECT
examples
Gets all the attached data networks associated with a packet core data plane.
- vw_attached_data_networks
- attached_data_networks
SELECT
attachedDataNetworkName,
dns_addresses,
location,
napt_configuration,
packetCoreControlPlaneName,
packetCoreDataPlaneName,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
user_equipment_address_pool_prefix,
user_equipment_static_address_pool_prefix,
user_plane_data_interface
FROM azure.mobile_network.vw_attached_data_networks
WHERE packetCoreControlPlaneName = '{{ packetCoreControlPlaneName }}'
AND packetCoreDataPlaneName = '{{ packetCoreDataPlaneName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.mobile_network.attached_data_networks
WHERE packetCoreControlPlaneName = '{{ packetCoreControlPlaneName }}'
AND packetCoreDataPlaneName = '{{ packetCoreDataPlaneName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new attached_data_networks
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.mobile_network.attached_data_networks (
attachedDataNetworkName,
packetCoreControlPlaneName,
packetCoreDataPlaneName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ attachedDataNetworkName }}',
'{{ packetCoreControlPlaneName }}',
'{{ packetCoreDataPlaneName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: userPlaneDataInterface
value:
- name: name
value: string
- name: ipv4Address
value: []
- name: ipv4Subnet
value: []
- name: vlanId
value: integer
- name: ipv4AddressList
value:
- []
- name: bfdIpv4Endpoints
value:
- []
- name: dnsAddresses
value:
- []
- name: naptConfiguration
value:
- name: enabled
value: []
- name: portRange
value:
- name: minPort
value: integer
- name: maxPort
value: integer
- name: portReuseHoldTime
value:
- name: tcp
value: integer
- name: udp
value: integer
- name: pinholeLimits
value: integer
- name: pinholeTimeouts
value:
- name: tcp
value: integer
- name: udp
value: integer
- name: icmp
value: integer
- name: userEquipmentAddressPoolPrefix
value:
- []
- name: userEquipmentStaticAddressPoolPrefix
value:
- []
- name: tags
value: object
- name: location
value: string
DELETE
example
Deletes the specified attached_data_networks
resource.
/*+ delete */
DELETE FROM azure.mobile_network.attached_data_networks
WHERE attachedDataNetworkName = '{{ attachedDataNetworkName }}'
AND packetCoreControlPlaneName = '{{ packetCoreControlPlaneName }}'
AND packetCoreDataPlaneName = '{{ packetCoreDataPlaneName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';