Class AksNetworkingConfiguration


  • public final class AksNetworkingConfiguration
    extends Object
    Advance configuration for AKS networking.
    • Constructor Detail

      • AksNetworkingConfiguration

        public AksNetworkingConfiguration()
    • Method Detail

      • subnetId

        public String subnetId()
        Get the subnetId property: Virtual network subnet resource ID the compute nodes belong to.
        Returns:
        the subnetId value.
      • withSubnetId

        public AksNetworkingConfiguration withSubnetId​(String subnetId)
        Set the subnetId property: Virtual network subnet resource ID the compute nodes belong to.
        Parameters:
        subnetId - the subnetId value to set.
        Returns:
        the AksNetworkingConfiguration object itself.
      • serviceCidr

        public String serviceCidr()
        Get the serviceCidr property: A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
        Returns:
        the serviceCidr value.
      • withServiceCidr

        public AksNetworkingConfiguration withServiceCidr​(String serviceCidr)
        Set the serviceCidr property: A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
        Parameters:
        serviceCidr - the serviceCidr value to set.
        Returns:
        the AksNetworkingConfiguration object itself.
      • dnsServiceIp

        public String dnsServiceIp()
        Get the dnsServiceIp property: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
        Returns:
        the dnsServiceIp value.
      • withDnsServiceIp

        public AksNetworkingConfiguration withDnsServiceIp​(String dnsServiceIp)
        Set the dnsServiceIp property: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
        Parameters:
        dnsServiceIp - the dnsServiceIp value to set.
        Returns:
        the AksNetworkingConfiguration object itself.
      • dockerBridgeCidr

        public String dockerBridgeCidr()
        Get the dockerBridgeCidr property: A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.
        Returns:
        the dockerBridgeCidr value.
      • withDockerBridgeCidr

        public AksNetworkingConfiguration withDockerBridgeCidr​(String dockerBridgeCidr)
        Set the dockerBridgeCidr property: A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.
        Parameters:
        dockerBridgeCidr - the dockerBridgeCidr value to set.
        Returns:
        the AksNetworkingConfiguration object itself.
      • validate

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