SchedulerProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. SchedulerProfile
- com.
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 Scheduler |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Scheduler |
fromJson(JsonReader jsonReader)
Reads an instance of Scheduler |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Scheduler |
upstream()
Get the upstream property: Profile with settings related to upstream variant of kube-scheduler (https://github. |
| void |
validate()
Validates the instance. |
|
Scheduler |
withUpstream(SchedulerInstanceProfile upstream)
Set the upstream property: Profile with settings related to upstream variant of kube-scheduler (https://github. |
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:
Returns:
Throws:
toJson
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:
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:
Returns: