Class K8SSchedulingOptions

java.lang.Object
com.azure.resourcemanager.azurearcdata.models.K8SSchedulingOptions

public final class K8SSchedulingOptions extends Object
The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service.
  • Constructor Details

    • K8SSchedulingOptions

      public K8SSchedulingOptions()
      Creates an instance of K8SSchedulingOptions class.
  • Method Details

    • resources

      public K8SResourceRequirements resources()
      Get the resources property: The kubernetes resource limits and requests used to restrict or reserve resource usage.
      Returns:
      the resources value.
    • withResources

      public K8SSchedulingOptions withResources(K8SResourceRequirements resources)
      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

      public Map<String,Object> 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

      public K8SSchedulingOptions withAdditionalProperties(Map<String,Object> additionalProperties)
      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.