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 |
---|---|
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 |
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
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.
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:
Applies to
Azure SDK for Java