ManagedClusterHostedSystemProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterHostedSystemProfile

Implements

public final class ManagedClusterHostedSystemProfile
implements JsonSerializable<ManagedClusterHostedSystemProfile>

Settings for hosted system addons.

Constructor Summary

Constructor Description
ManagedClusterHostedSystemProfile()

Creates an instance of ManagedClusterHostedSystemProfile class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Whether to enable hosted system addons for the cluster.

static ManagedClusterHostedSystemProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterHostedSystemProfile from the JsonReader.

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.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterHostedSystemProfile withEnabled(Boolean enabled)

Set the enabled property: Whether to enable hosted system addons for the cluster.

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.

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.

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:

the enabled value.

fromJson

public static ManagedClusterHostedSystemProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterHostedSystemProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterHostedSystemProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ManagedClusterHostedSystemProfile.

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:

the nodeSubnetID value.

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:

the systemNodeSubnetID value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

enabled - the enabled value to set.

Returns:

the ManagedClusterHostedSystemProfile object itself.

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:

nodeSubnetID - the nodeSubnetID value to set.

Returns:

the ManagedClusterHostedSystemProfile object itself.

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:

systemNodeSubnetID - the systemNodeSubnetID value to set.

Returns:

the ManagedClusterHostedSystemProfile object itself.

Applies to