Class AttachedDataNetworkInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.mobilenetwork.fluent.models.AttachedDataNetworkInner
public final class AttachedDataNetworkInner
extends com.azure.core.management.Resource
Attached data network resource. Must be created in the same location as its parent packet core data plane.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AttachedDataNetworkInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dnsAddresses property: The DNS servers to signal to UEs to use for this attached data network.Get the naptConfiguration property: The network address and port translation (NAPT) configuration.Get the provisioningState property: The provisioning state of the attached data network resource.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Get the userEquipmentAddressPoolPrefix property: 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.Get the userEquipmentStaticAddressPoolPrefix property: 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.Get the userPlaneDataInterface property: The user plane interface on the data network.void
validate()
Validates the instance.withDnsAddresses
(List<String> dnsAddresses) Set the dnsAddresses property: The DNS servers to signal to UEs to use for this attached data network.withLocation
(String location) withNaptConfiguration
(NaptConfiguration naptConfiguration) Set the naptConfiguration property: The network address and port translation (NAPT) configuration.withUserEquipmentAddressPoolPrefix
(List<String> userEquipmentAddressPoolPrefix) Set the userEquipmentAddressPoolPrefix property: 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.withUserEquipmentStaticAddressPoolPrefix
(List<String> userEquipmentStaticAddressPoolPrefix) Set the userEquipmentStaticAddressPoolPrefix property: 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.withUserPlaneDataInterface
(InterfaceProperties userPlaneDataInterface) Set the userPlaneDataInterface property: The user plane interface on the data network.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AttachedDataNetworkInner
public AttachedDataNetworkInner()Creates an instance of AttachedDataNetworkInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: The provisioning state of the attached data network resource.- Returns:
- the provisioningState value.
-
userPlaneDataInterface
Get the userPlaneDataInterface property: The user plane interface on the data network. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface.- Returns:
- the userPlaneDataInterface value.
-
withUserPlaneDataInterface
public AttachedDataNetworkInner withUserPlaneDataInterface(InterfaceProperties userPlaneDataInterface) Set the userPlaneDataInterface property: The user plane interface on the data network. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface.- Parameters:
userPlaneDataInterface
- the userPlaneDataInterface value to set.- Returns:
- the AttachedDataNetworkInner object itself.
-
dnsAddresses
Get the dnsAddresses property: 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.- Returns:
- the dnsAddresses value.
-
withDnsAddresses
Set the dnsAddresses property: 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.- Parameters:
dnsAddresses
- the dnsAddresses value to set.- Returns:
- the AttachedDataNetworkInner object itself.
-
naptConfiguration
Get the naptConfiguration property: 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.- Returns:
- the naptConfiguration value.
-
withNaptConfiguration
Set the naptConfiguration property: 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.- Parameters:
naptConfiguration
- the naptConfiguration value to set.- Returns:
- the AttachedDataNetworkInner object itself.
-
userEquipmentAddressPoolPrefix
Get the userEquipmentAddressPoolPrefix property: 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.- Returns:
- the userEquipmentAddressPoolPrefix value.
-
withUserEquipmentAddressPoolPrefix
public AttachedDataNetworkInner withUserEquipmentAddressPoolPrefix(List<String> userEquipmentAddressPoolPrefix) Set the userEquipmentAddressPoolPrefix property: 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.- Parameters:
userEquipmentAddressPoolPrefix
- the userEquipmentAddressPoolPrefix value to set.- Returns:
- the AttachedDataNetworkInner object itself.
-
userEquipmentStaticAddressPoolPrefix
Get the userEquipmentStaticAddressPoolPrefix property: 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.- Returns:
- the userEquipmentStaticAddressPoolPrefix value.
-
withUserEquipmentStaticAddressPoolPrefix
public AttachedDataNetworkInner withUserEquipmentStaticAddressPoolPrefix(List<String> userEquipmentStaticAddressPoolPrefix) Set the userEquipmentStaticAddressPoolPrefix property: 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.- Parameters:
userEquipmentStaticAddressPoolPrefix
- the userEquipmentStaticAddressPoolPrefix value to set.- Returns:
- the AttachedDataNetworkInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-