FleetspacePropertiesThroughputPoolConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. FleetspacePropertiesThroughputPoolConfiguration
- com.
Implements
public final class FleetspacePropertiesThroughputPoolConfiguration
implements JsonSerializable<FleetspacePropertiesThroughputPoolConfiguration>
Configuration for throughput pool in the fleetspace.
Constructor Summary
| Constructor | Description |
|---|---|
| FleetspacePropertiesThroughputPoolConfiguration() |
Creates an instance of Fleetspace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
dedicatedRUs()
Get the dedicated |
|
static
Fleetspace |
fromJson(JsonReader jsonReader)
Reads an instance of Fleetspace |
| Long |
maxConsumableRUs()
Get the max |
| Integer |
maxThroughput()
Get the max |
| Integer |
minThroughput()
Get the min |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Fleetspace |
withDedicatedRUs(Long dedicatedRUs)
Set the dedicated |
|
Fleetspace |
withMaxConsumableRUs(Long maxConsumableRUs)
Set the max |
|
Fleetspace |
withMaxThroughput(Integer maxThroughput)
Set the max |
|
Fleetspace |
withMinThroughput(Integer minThroughput)
Set the min |
Methods inherited from java.lang.Object
Constructor Details
FleetspacePropertiesThroughputPoolConfiguration
public FleetspacePropertiesThroughputPoolConfiguration()
Creates an instance of FleetspacePropertiesThroughputPoolConfiguration class.
Method Details
dedicatedRUs
public Long dedicatedRUs()
Get the dedicatedRUs property: Total dedicated throughput (RU/s) for fleetspace. Represents the sum of all manual provisioned throughput and all autoscale max RU/s across all shared throughput databases and dedicated throughput containers across all accounts in the fleetspace for 1 region.
Returns:
fromJson
public static FleetspacePropertiesThroughputPoolConfiguration fromJson(JsonReader jsonReader)
Reads an instance of FleetspacePropertiesThroughputPoolConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
maxConsumableRUs
public Long maxConsumableRUs()
Get the maxConsumableRUs property: Maximum consumable throughput (RU/s) for fleetspace. Represents the maximum throughput that resources in the fleetspace can consume from the fleetspace's pool in 1 region.
Returns:
maxThroughput
public Integer maxThroughput()
Get the maxThroughput property: Maximum throughput for the pool.
Returns:
minThroughput
public Integer minThroughput()
Get the minThroughput property: Minimum throughput for the pool.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDedicatedRUs
public FleetspacePropertiesThroughputPoolConfiguration withDedicatedRUs(Long dedicatedRUs)
Set the dedicatedRUs property: Total dedicated throughput (RU/s) for fleetspace. Represents the sum of all manual provisioned throughput and all autoscale max RU/s across all shared throughput databases and dedicated throughput containers across all accounts in the fleetspace for 1 region.
Parameters:
Returns:
withMaxConsumableRUs
public FleetspacePropertiesThroughputPoolConfiguration withMaxConsumableRUs(Long maxConsumableRUs)
Set the maxConsumableRUs property: Maximum consumable throughput (RU/s) for fleetspace. Represents the maximum throughput that resources in the fleetspace can consume from the fleetspace's pool in 1 region.
Parameters:
Returns:
withMaxThroughput
public FleetspacePropertiesThroughputPoolConfiguration withMaxThroughput(Integer maxThroughput)
Set the maxThroughput property: Maximum throughput for the pool.
Parameters:
Returns:
withMinThroughput
public FleetspacePropertiesThroughputPoolConfiguration withMinThroughput(Integer minThroughput)
Set the minThroughput property: Minimum throughput for the pool.
Parameters:
Returns: