Class K8SSchedulingOptions
java.lang.Object
com.azure.resourcemanager.azurearcdata.models.K8SSchedulingOptions
The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host
the database service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: The kubernetes scheduling options.Get the resources property: The kubernetes resource limits and requests used to restrict or reserve resource usage.void
validate()
Validates the instance.withAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: The kubernetes scheduling options.withResources
(K8SResourceRequirements resources) Set the resources property: The kubernetes resource limits and requests used to restrict or reserve resource usage.
-
Constructor Details
-
K8SSchedulingOptions
public K8SSchedulingOptions()Creates an instance of K8SSchedulingOptions class.
-
-
Method Details
-
resources
Get the resources property: The kubernetes resource limits and requests used to restrict or reserve resource usage.- Returns:
- the resources value.
-
withResources
Set the resources property: The kubernetes resource limits and requests used to restrict or reserve resource usage.- Parameters:
resources
- the resources value to set.- Returns:
- the K8SSchedulingOptions object itself.
-
additionalProperties
Get the additionalProperties property: The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the K8SSchedulingOptions object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-