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.
  • Constructor Details

    • AttachedDataNetworkInner

      public AttachedDataNetworkInner()
  • Method Details

    • withLocation

      public AttachedDataNetworkInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public AttachedDataNetworkInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the attached data network resource.
      Returns:
      the provisioningState value.
    • userPlaneDataInterface

      public InterfaceProperties 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

      public List<String> dnsAddresses()
      Get the dnsAddresses property: The DNS servers to signal to UEs to use for this attached data network.
      Returns:
      the dnsAddresses value.
    • withDnsAddresses

      public AttachedDataNetworkInner withDnsAddresses(List<String> dnsAddresses)
      Set the dnsAddresses property: The DNS servers to signal to UEs to use for this attached data network.
      Parameters:
      dnsAddresses - the dnsAddresses value to set.
      Returns:
      the AttachedDataNetworkInner object itself.
    • naptConfiguration

      public NaptConfiguration 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

      public AttachedDataNetworkInner withNaptConfiguration(NaptConfiguration naptConfiguration)
      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

      public List<String> 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

      public List<String> 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.