Class AttachedDataNetworkPropertiesFormat

java.lang.Object
com.azure.resourcemanager.mobilenetwork.fluent.models.AttachedDataNetworkPropertiesFormat

public final class AttachedDataNetworkPropertiesFormat extends Object
Data network properties.
  • Constructor Details

    • AttachedDataNetworkPropertiesFormat

      public AttachedDataNetworkPropertiesFormat()
      Creates an instance of AttachedDataNetworkPropertiesFormat class.
  • Method Details

    • 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 AttachedDataNetworkPropertiesFormat 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 AttachedDataNetworkPropertiesFormat 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. This configuration is mandatory - if you don't want DNS servers, you must provide an empty array.
      Returns:
      the dnsAddresses value.
    • withDnsAddresses

      public AttachedDataNetworkPropertiesFormat withDnsAddresses(List<String> dnsAddresses)
      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 AttachedDataNetworkPropertiesFormat 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 AttachedDataNetworkPropertiesFormat 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 AttachedDataNetworkPropertiesFormat 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 AttachedDataNetworkPropertiesFormat 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 AttachedDataNetworkPropertiesFormat 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 AttachedDataNetworkPropertiesFormat 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 AttachedDataNetworkPropertiesFormat object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.