ManagedClusterHostedSystemProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterHostedSystemProfile
- com.
Implements
public final class ManagedClusterHostedSystemProfile
implements JsonSerializable<ManagedClusterHostedSystemProfile>
Settings for hosted system addons.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedClusterHostedSystemProfile() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Whether to enable hosted system addons for the cluster. |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
nodeSubnetID()
Get the node |
| String |
systemNodeSubnetID()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withEnabled(Boolean enabled)
Set the enabled property: Whether to enable hosted system addons for the cluster. |
|
Managed |
withNodeSubnetID(String nodeSubnetID)
Set the node |
|
Managed |
withSystemNodeSubnetID(String systemNodeSubnetID)
Set the system |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterHostedSystemProfile
public ManagedClusterHostedSystemProfile()
Creates an instance of ManagedClusterHostedSystemProfile class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Whether to enable hosted system addons for the cluster.
Returns:
fromJson
public static ManagedClusterHostedSystemProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterHostedSystemProfile from the JsonReader.
Parameters:
Returns:
Throws:
nodeSubnetID
public String nodeSubnetID()
Get the nodeSubnetID property: The ID of the subnet that will be joined by worker nodes managed by node auto provisioner for running workload pods in your tenant. This must be provided together with `systemNodeSubnetID` and `apiserverAccessProfile.subnetId`, and all three subnet IDs must be in the same VNet. If you don’t specify it, AKS will create a subnet in the managed resource group using a default /16 CIDR.
Returns:
systemNodeSubnetID
public String systemNodeSubnetID()
Get the systemNodeSubnetID property: The ID of the subnet that will be joined by system nodes managed and hosted by AKS for running critical system addons. This ID must be provided together with `nodeSubnetID` and `apiserverAccessProfile.subnetId`, and all three subnet IDs must belong to the same VNet. If you don’t specify it, AKS will create a subnet in the managed resource group using a default /26 CIDR.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ManagedClusterHostedSystemProfile withEnabled(Boolean enabled)
Set the enabled property: Whether to enable hosted system addons for the cluster.
Parameters:
Returns:
withNodeSubnetID
public ManagedClusterHostedSystemProfile withNodeSubnetID(String nodeSubnetID)
Set the nodeSubnetID property: The ID of the subnet that will be joined by worker nodes managed by node auto provisioner for running workload pods in your tenant. This must be provided together with `systemNodeSubnetID` and `apiserverAccessProfile.subnetId`, and all three subnet IDs must be in the same VNet. If you don’t specify it, AKS will create a subnet in the managed resource group using a default /16 CIDR.
Parameters:
Returns:
withSystemNodeSubnetID
public ManagedClusterHostedSystemProfile withSystemNodeSubnetID(String systemNodeSubnetID)
Set the systemNodeSubnetID property: The ID of the subnet that will be joined by system nodes managed and hosted by AKS for running critical system addons. This ID must be provided together with `nodeSubnetID` and `apiserverAccessProfile.subnetId`, and all three subnet IDs must belong to the same VNet. If you don’t specify it, AKS will create a subnet in the managed resource group using a default /26 CIDR.
Parameters:
Returns: