ElasticPoolPerDatabaseSettings Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ElasticPoolPerDatabaseSettings
- com.
Implements
public final class ElasticPoolPerDatabaseSettings
implements JsonSerializable<ElasticPoolPerDatabaseSettings>
Per database settings of an elastic pool.
Constructor Summary
| Constructor | Description |
|---|---|
| ElasticPoolPerDatabaseSettings() |
Creates an instance of Elastic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
autoPauseDelay()
Get the auto |
|
static
Elastic |
fromJson(JsonReader jsonReader)
Reads an instance of Elastic |
| Double |
maxCapacity()
Get the max |
| Double |
minCapacity()
Get the min |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Elastic |
withAutoPauseDelay(Integer autoPauseDelay)
Set the auto |
|
Elastic |
withMaxCapacity(Double maxCapacity)
Set the max |
|
Elastic |
withMinCapacity(Double minCapacity)
Set the min |
Methods inherited from java.lang.Object
Constructor Details
ElasticPoolPerDatabaseSettings
public ElasticPoolPerDatabaseSettings()
Creates an instance of ElasticPoolPerDatabaseSettings class.
Method Details
autoPauseDelay
public Integer autoPauseDelay()
Get the autoPauseDelay property: Auto Pause Delay for per database within pool.
Returns:
fromJson
public static ElasticPoolPerDatabaseSettings fromJson(JsonReader jsonReader)
Reads an instance of ElasticPoolPerDatabaseSettings from the JsonReader.
Parameters:
Returns:
Throws:
maxCapacity
public Double maxCapacity()
Get the maxCapacity property: The maximum capacity any one database can consume.
Returns:
minCapacity
public Double minCapacity()
Get the minCapacity property: The minimum capacity all databases are guaranteed.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAutoPauseDelay
public ElasticPoolPerDatabaseSettings withAutoPauseDelay(Integer autoPauseDelay)
Set the autoPauseDelay property: Auto Pause Delay for per database within pool.
Parameters:
Returns:
withMaxCapacity
public ElasticPoolPerDatabaseSettings withMaxCapacity(Double maxCapacity)
Set the maxCapacity property: The maximum capacity any one database can consume.
Parameters:
Returns:
withMinCapacity
public ElasticPoolPerDatabaseSettings withMinCapacity(Double minCapacity)
Set the minCapacity property: The minimum capacity all databases are guaranteed.
Parameters:
Returns: