SchedulerProfile Class

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

Implements

public final class SchedulerProfile
implements JsonSerializable<SchedulerProfile>

Profile with scheduler-related settings, like the configuration mode for each scheduler managed by AKS. See https://aka.ms/aks/scheduler-profile.

Constructor Summary

Constructor Description
SchedulerProfile()

Creates an instance of SchedulerProfile class.

Method Summary

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

Reads an instance of SchedulerProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
SchedulerInstanceProfile upstream()

Get the upstream property: Profile with settings related to upstream variant of kube-scheduler (https://github.com/kubernetes/kubernetes/tree/master/pkg/scheduler).

void validate()

Validates the instance.

SchedulerProfile withUpstream(SchedulerInstanceProfile upstream)

Set the upstream property: Profile with settings related to upstream variant of kube-scheduler (https://github.com/kubernetes/kubernetes/tree/master/pkg/scheduler).

Methods inherited from java.lang.Object

Constructor Details

SchedulerProfile

public SchedulerProfile()

Creates an instance of SchedulerProfile class.

Method Details

fromJson

public static SchedulerProfile fromJson(JsonReader jsonReader)

Reads an instance of SchedulerProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

upstream

public SchedulerInstanceProfile upstream()

Get the upstream property: Profile with settings related to upstream variant of kube-scheduler (https://github.com/kubernetes/kubernetes/tree/master/pkg/scheduler).

Returns:

the upstream value.

validate

public void validate()

Validates the instance.

withUpstream

public SchedulerProfile withUpstream(SchedulerInstanceProfile upstream)

Set the upstream property: Profile with settings related to upstream variant of kube-scheduler (https://github.com/kubernetes/kubernetes/tree/master/pkg/scheduler).

Parameters:

upstream - the upstream value to set.

Returns:

the SchedulerProfile object itself.

Applies to