SqlManagedInstanceK8SSpec Class
- java.
lang. Object - com.
azure. resourcemanager. azurearcdata. models. SqlManagedInstanceK8SSpec
- com.
Implements
public final class SqlManagedInstanceK8SSpec
implements JsonSerializable<SqlManagedInstanceK8SSpec>
The kubernetes spec information.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlManagedInstanceK8SSpec() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| 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. |
| K8SScheduling |
scheduling()
Get the scheduling property: The kubernetes scheduling information. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Sql |
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. |
|
Sql |
withScheduling(K8SScheduling scheduling)
Set the scheduling property: The kubernetes scheduling information. |
Methods inherited from java.lang.Object
Constructor Details
SqlManagedInstanceK8SSpec
public SqlManagedInstanceK8SSpec()
Creates an instance of SqlManagedInstanceK8SSpec class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: The kubernetes spec information.
Returns:
fromJson
public static SqlManagedInstanceK8SSpec fromJson(JsonReader jsonReader)
Reads an instance of SqlManagedInstanceK8SSpec from the JsonReader.
Parameters:
Returns:
Throws:
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:
scheduling
public K8SScheduling scheduling()
Get the scheduling property: The kubernetes scheduling information.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public SqlManagedInstanceK8SSpec withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: The kubernetes spec information.
Parameters:
Returns:
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:
Returns:
withScheduling
public SqlManagedInstanceK8SSpec withScheduling(K8SScheduling scheduling)
Set the scheduling property: The kubernetes scheduling information.
Parameters:
Returns: