Attached Data Networks - List By Packet Core Data Plane
Gets all the attached data networks associated with a packet core data plane.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes/{packetCoreDataPlaneName}/attachedDataNetworks?api-version=2024-04-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
packet
|
path | True |
string maxLength: 64pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$ |
The name of the packet core control plane. |
packet
|
path | True |
string maxLength: 64pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$ |
The name of the packet core data plane. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string (uuid) |
The ID of the target subscription. The value must be an UUID. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Request successful. The operation returns a list of attached data network resources. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
List attached data networks in a data plane
Sample request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks?api-version=2024-04-01
Sample response
{
"value": [
{
"name": "TestAttachedDataNetwork",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork",
"type": "Microsoft.MobileNetwork/attachedDataNetworks",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"location": "eastus",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"userPlaneDataInterface": {
"name": "N6"
},
"dnsAddresses": [
"1.1.1.1"
],
"naptConfiguration": {
"enabled": "Enabled",
"portRange": {
"minPort": 1024,
"maxPort": 49999
},
"portReuseHoldTime": {
"tcp": 120,
"udp": 60
},
"pinholeLimits": 65536,
"pinholeTimeouts": {
"tcp": 180,
"udp": 30,
"icmp": 30
}
},
"userEquipmentAddressPoolPrefix": [
"2.2.0.0/16"
],
"userEquipmentStaticAddressPoolPrefix": [
"2.4.0.0/16"
]
}
}
]
}
Definitions
Name | Description |
---|---|
Attached |
Attached data network resource. Must be created in the same location as its parent packet core data plane. |
Attached |
Response for attached data network API service call. |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Interface |
Interface properties |
Napt |
The network address and port translation settings to use for the attached data network. |
Napt |
Whether network address and port translation is enabled. |
Pinhole |
Expiry times of inactive NAPT pinholes, in seconds. All timers must be at least 1 second. |
Port |
Range of port numbers to use as translated ports on each translated address. If not specified and NAPT is enabled, this range defaults to 1,024 - 49,999. (Ports under 1,024 should not be used because these are special purpose ports reserved by IANA. Ports 50,000 and above are reserved for non-NAPT use.) |
Port |
The minimum time (in seconds) that will pass before a port that was used by a closed pinhole can be recycled for use by another pinhole. All hold times must be minimum 1 second. |
Provisioning |
The current provisioning state. |
system |
Metadata pertaining to creation and last modification of the resource. |
AttachedDataNetwork
Attached data network resource. Must be created in the same location as its parent packet core data plane.
Name | Type | Description |
---|---|---|
id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
location |
string |
The geo-location where the resource lives |
name |
string |
The name of the resource |
properties.dnsAddresses |
string[] pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ |
The DNS servers to signal to UEs to use for this attached data network. This configuration is mandatory - if you don't want DNS servers, you must provide an empty array. |
properties.naptConfiguration |
The network address and port translation (NAPT) configuration. If this is not specified, the attached data network will use a default NAPT configuration with NAPT enabled. |
|
properties.provisioningState |
The provisioning state of the attached data network resource. |
|
properties.userEquipmentAddressPoolPrefix |
string[] pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$ |
The user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will dynamically assign IP addresses to UEs. The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. You must define at least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix. If you define both, they must be of the same size. |
properties.userEquipmentStaticAddressPoolPrefix |
string[] pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$ |
The user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will assign static IP addresses to UEs. The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE is set in StaticIPConfiguration on the corresponding SIM resource. At least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined, they must be of the same size. |
properties.userPlaneDataInterface |
The user plane interface on the data network. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface. |
|
systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
tags |
object |
Resource tags. |
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
AttachedDataNetworkListResult
Response for attached data network API service call.
Name | Type | Description |
---|---|---|
nextLink |
string |
The URL to get the next set of results. |
value |
A list of data networks in a resource group. |
createdByType
The type of identity that created the resource.
Value | Description |
---|---|
User | |
Application | |
ManagedIdentity | |
Key |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
InterfaceProperties
Interface properties
Name | Type | Description |
---|---|---|
bfdIpv4Endpoints |
string[] pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ |
The IPv4 addresses of the endpoints to send BFD probes to. |
ipv4Address |
string pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ |
The IPv4 address. |
ipv4AddressList |
string[] pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ |
The list of IPv4 addresses, for a multi-node system. |
ipv4Gateway |
string pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$ |
The default IPv4 gateway (router). |
ipv4Subnet |
string pattern: ^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$ |
The IPv4 subnet. |
name |
string |
The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge device. |
vlanId |
integer (int32) minimum: 1maximum: 4094 |
VLAN identifier of the network interface. Example: 501. |
NaptConfiguration
The network address and port translation settings to use for the attached data network.
Name | Type | Default value | Description |
---|---|---|---|
enabled | Enabled |
Whether NAPT is enabled for connections to this attached data network. |
|
pinholeLimits |
integer (int32) minimum: 1maximum: 65536 |
65536 |
Maximum number of UDP and TCP pinholes that can be open simultaneously on the core interface. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface. |
pinholeTimeouts |
Expiry times of inactive NAPT pinholes, in seconds. All timers must be at least 1 second. |
||
portRange |
Range of port numbers to use as translated ports on each translated address. If not specified and NAPT is enabled, this range defaults to 1,024 - 49,999. (Ports under 1,024 should not be used because these are special purpose ports reserved by IANA. Ports 50,000 and above are reserved for non-NAPT use.) |
||
portReuseHoldTime |
The minimum time (in seconds) that will pass before a port that was used by a closed pinhole can be recycled for use by another pinhole. All hold times must be at least 1 second. |
NaptEnabled
Whether network address and port translation is enabled.
Value | Description |
---|---|
Enabled |
NAPT is enabled |
Disabled |
NAPT is disabled |
PinholeTimeouts
Expiry times of inactive NAPT pinholes, in seconds. All timers must be at least 1 second.
Name | Type | Default value | Description |
---|---|---|---|
icmp |
integer (int32) minimum: 1 |
30 |
Pinhole timeout for ICMP pinholes in seconds. Default for ICMP Echo is 30 seconds. |
tcp |
integer (int32) minimum: 1 |
180 |
Pinhole timeout for TCP pinholes in seconds. Default for TCP is 3 minutes. |
udp |
integer (int32) minimum: 1 |
30 |
Pinhole timeout for UDP pinholes in seconds. Default for UDP is 30 seconds. |
PortRange
Range of port numbers to use as translated ports on each translated address. If not specified and NAPT is enabled, this range defaults to 1,024 - 49,999. (Ports under 1,024 should not be used because these are special purpose ports reserved by IANA. Ports 50,000 and above are reserved for non-NAPT use.)
Name | Type | Default value | Description |
---|---|---|---|
maxPort |
integer (int32) minimum: 1024maximum: 65535 |
49999 |
The maximum port number |
minPort |
integer (int32) minimum: 1024maximum: 65535 |
1024 |
The minimum port number |
PortReuseHoldTimes
The minimum time (in seconds) that will pass before a port that was used by a closed pinhole can be recycled for use by another pinhole. All hold times must be minimum 1 second.
Name | Type | Default value | Description |
---|---|---|---|
tcp |
integer (int32) minimum: 1 |
120 |
Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused. Default for TCP is 2 minutes. |
udp |
integer (int32) minimum: 1 |
60 |
Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused. Default for UDP is 1 minute. |
ProvisioningState
The current provisioning state.
Value | Description |
---|---|
Unknown | |
Succeeded | |
Accepted | |
Deleting | |
Failed | |
Canceled | |
Deleted |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |