Class ServiceObjectiveCapability
java.lang.Object
com.azure.resourcemanager.sql.models.ServiceObjectiveCapability
The service objectives capability.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceObjectiveCapability class. -
Method Summary
Modifier and TypeMethodDescriptionGet the computeModel property: The compute model.id()Get the id property: The unique ID of the service objective.Get the includedMaxSize property: The included (free) max size.name()Get the name property: The service objective name.Get the performanceLevel property: The performance level.reason()Get the reason property: The reason for the capability not being available.sku()Get the sku property: The sku.status()Get the status property: The status of the capability.Get the supportedAutoPauseDelay property: Supported time range for auto pause delay.Get the supportedLicenseTypes property: List of supported license types.Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.Get the supportedMaxSizes property: The list of supported maximum database sizes.Get the supportedMinCapacities property: List of supported min capacities.voidvalidate()Validates the instance.withReason(String reason) Set the reason property: The reason for the capability not being available.Get the zoneRedundant property: Whether or not zone redundancy is supported for the service objective.
-
Constructor Details
-
ServiceObjectiveCapability
public ServiceObjectiveCapability()Creates an instance of ServiceObjectiveCapability class.
-
-
Method Details
-
id
Get the id property: The unique ID of the service objective.- Returns:
- the id value.
-
name
Get the name property: The service objective name.- Returns:
- the name value.
-
supportedMaxSizes
Get the supportedMaxSizes property: The list of supported maximum database sizes.- Returns:
- the supportedMaxSizes value.
-
performanceLevel
Get the performanceLevel property: The performance level.- Returns:
- the performanceLevel value.
-
sku
Get the sku property: The sku.- Returns:
- the sku value.
-
supportedLicenseTypes
Get the supportedLicenseTypes property: List of supported license types.- Returns:
- the supportedLicenseTypes value.
-
includedMaxSize
Get the includedMaxSize property: The included (free) max size.- Returns:
- the includedMaxSize value.
-
zoneRedundant
Get the zoneRedundant property: Whether or not zone redundancy is supported for the service objective.- Returns:
- the zoneRedundant value.
-
supportedAutoPauseDelay
Get the supportedAutoPauseDelay property: Supported time range for auto pause delay.- Returns:
- the supportedAutoPauseDelay value.
-
supportedMinCapacities
Get the supportedMinCapacities property: List of supported min capacities.- Returns:
- the supportedMinCapacities value.
-
computeModel
Get the computeModel property: The compute model.- Returns:
- the computeModel value.
-
supportedMaintenanceConfigurations
Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.- Returns:
- the supportedMaintenanceConfigurations value.
-
status
Get the status property: The status of the capability.- Returns:
- the status value.
-
reason
Get the reason property: The reason for the capability not being available.- Returns:
- the reason value.
-
withReason
Set the reason property: The reason for the capability not being available.- Parameters:
reason- the reason value to set.- Returns:
- the ServiceObjectiveCapability object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-