ServiceObjectiveCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ServiceObjectiveCapability
- com.
Implements
public final class ServiceObjectiveCapability
implements JsonSerializable<ServiceObjectiveCapability>
The service objectives capability.
Constructor Summary
Constructor | Description |
---|---|
ServiceObjectiveCapability() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
computeModel()
Get the compute |
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
UUID |
id()
Get the id property: The unique ID of the service objective. |
Max |
includedMaxSize()
Get the included |
String |
name()
Get the name property: The service objective name. |
Performance |
performanceLevel()
Get the performance |
String |
reason()
Get the reason property: The reason for the capability not being available. |
Sku |
sku()
Get the sku property: The sku. |
Capability |
status()
Get the status property: The status of the capability. |
Auto |
supportedAutoPauseDelay()
Get the supported |
List<License |
supportedLicenseTypes()
Get the supported |
List<Maintenance |
supportedMaintenanceConfigurations()
Get the supported |
List<Max |
supportedMaxSizes()
Get the supported |
List<Min |
supportedMinCapacities()
Get the supported |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Service |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Boolean |
zoneRedundant()
Get the zone |
Methods inherited from java.lang.Object
Constructor Details
ServiceObjectiveCapability
public ServiceObjectiveCapability()
Creates an instance of ServiceObjectiveCapability class.
Method Details
computeModel
public String computeModel()
Get the computeModel property: The compute model.
Returns:
fromJson
public static ServiceObjectiveCapability fromJson(JsonReader jsonReader)
Reads an instance of ServiceObjectiveCapability from the JsonReader.
Parameters:
Returns:
Throws:
id
public UUID id()
Get the id property: The unique ID of the service objective.
Returns:
includedMaxSize
public MaxSizeCapability includedMaxSize()
Get the includedMaxSize property: The included (free) max size.
Returns:
name
public String name()
Get the name property: The service objective name.
Returns:
performanceLevel
public PerformanceLevelCapability performanceLevel()
Get the performanceLevel property: The performance level.
Returns:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Returns:
sku
public Sku sku()
Get the sku property: The sku.
Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
supportedAutoPauseDelay
public AutoPauseDelayTimeRange supportedAutoPauseDelay()
Get the supportedAutoPauseDelay property: Supported time range for auto pause delay.
Returns:
supportedLicenseTypes
public List
Get the supportedLicenseTypes property: List of supported license types.
Returns:
supportedMaintenanceConfigurations
public List
Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.
Returns:
supportedMaxSizes
public List
Get the supportedMaxSizes property: The list of supported maximum database sizes.
Returns:
supportedMinCapacities
public List
Get the supportedMinCapacities property: List of supported min capacities.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public ServiceObjectiveCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
zoneRedundant
public Boolean zoneRedundant()
Get the zoneRedundant property: Whether or not zone redundancy is supported for the service objective.
Returns:
Applies to
Azure SDK for Java