Class AksNetworkingConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AksNetworkingConfiguration
-
public final class AksNetworkingConfiguration extends Object
Advance configuration for AKS networking.
-
-
Constructor Summary
Constructors Constructor Description AksNetworkingConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dnsServiceIp()
Get the dnsServiceIp property: An IP address assigned to the Kubernetes DNS service.String
dockerBridgeCidr()
Get the dockerBridgeCidr property: A CIDR notation IP range assigned to the Docker bridge network.String
serviceCidr()
Get the serviceCidr property: A CIDR notation IP range from which to assign service cluster IPs.String
subnetId()
Get the subnetId property: Virtual network subnet resource ID the compute nodes belong to.void
validate()
Validates the instance.AksNetworkingConfiguration
withDnsServiceIp(String dnsServiceIp)
Set the dnsServiceIp property: An IP address assigned to the Kubernetes DNS service.AksNetworkingConfiguration
withDockerBridgeCidr(String dockerBridgeCidr)
Set the dockerBridgeCidr property: A CIDR notation IP range assigned to the Docker bridge network.AksNetworkingConfiguration
withServiceCidr(String serviceCidr)
Set the serviceCidr property: A CIDR notation IP range from which to assign service cluster IPs.AksNetworkingConfiguration
withSubnetId(String subnetId)
Set the subnetId property: Virtual network subnet resource ID the compute nodes belong to.
-
-
-
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.
-
-