SchedulerInstanceProfile Class

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

Implements

public final class SchedulerInstanceProfile
implements JsonSerializable<SchedulerInstanceProfile>

Profile with settings related to a specific instance of an AKS-managed scheduler.

Constructor Summary

Constructor Description
SchedulerInstanceProfile()

Creates an instance of SchedulerInstanceProfile class.

Method Summary

Modifier and Type Method and Description
static SchedulerInstanceProfile fromJson(JsonReader jsonReader)

Reads an instance of SchedulerInstanceProfile from the JsonReader.

SchedulerConfigMode schedulerConfigMode()

Get the schedulerConfigMode property: The configuration mode to be used by the AKS-managed scheduler.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SchedulerInstanceProfile withSchedulerConfigMode(SchedulerConfigMode schedulerConfigMode)

Set the schedulerConfigMode property: The configuration mode to be used by the AKS-managed scheduler.

Methods inherited from java.lang.Object

Constructor Details

SchedulerInstanceProfile

public SchedulerInstanceProfile()

Creates an instance of SchedulerInstanceProfile class.

Method Details

fromJson

public static SchedulerInstanceProfile fromJson(JsonReader jsonReader)

Reads an instance of SchedulerInstanceProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SchedulerInstanceProfile 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 SchedulerInstanceProfile.

schedulerConfigMode

public SchedulerConfigMode schedulerConfigMode()

Get the schedulerConfigMode property: The configuration mode to be used by the AKS-managed scheduler.

Returns:

the schedulerConfigMode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSchedulerConfigMode

public SchedulerInstanceProfile withSchedulerConfigMode(SchedulerConfigMode schedulerConfigMode)

Set the schedulerConfigMode property: The configuration mode to be used by the AKS-managed scheduler.

Parameters:

schedulerConfigMode - the schedulerConfigMode value to set.

Returns:

the SchedulerInstanceProfile object itself.

Applies to