Class SqlManagedInstanceK8SSpec

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

public final class SqlManagedInstanceK8SSpec extends Object
The kubernetes spec information.
  • Constructor Details

    • SqlManagedInstanceK8SSpec

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

    • scheduling

      public K8SScheduling scheduling()
      Get the scheduling property: The kubernetes scheduling information.
      Returns:
      the scheduling value.
    • withScheduling

      public SqlManagedInstanceK8SSpec withScheduling(K8SScheduling scheduling)
      Set the scheduling property: The kubernetes scheduling information.
      Parameters:
      scheduling - the scheduling value to set.
      Returns:
      the SqlManagedInstanceK8SSpec object itself.
    • replicas

      public Integer replicas()
      Get the replicas property: This option specifies the number of SQL Managed Instance replicas that will be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is GeneralPurpose, replicas must be '1'.
      Returns:
      the replicas value.
    • withReplicas

      public SqlManagedInstanceK8SSpec withReplicas(Integer replicas)
      Set the replicas property: This option specifies the number of SQL Managed Instance replicas that will be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is GeneralPurpose, replicas must be '1'.
      Parameters:
      replicas - the replicas value to set.
      Returns:
      the SqlManagedInstanceK8SSpec object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: The kubernetes spec information.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public SqlManagedInstanceK8SSpec withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: The kubernetes spec information.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the SqlManagedInstanceK8SSpec object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.