Class ManagedInstanceVcoresCapability
java.lang.Object
com.azure.resourcemanager.sql.models.ManagedInstanceVcoresCapability
The managed instance virtual cores capability.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedInstanceVcoresCapability class. -
Method Summary
Modifier and TypeMethodDescriptionGet the includedMaxSize property: Included size.Get the instancePoolSupported property: True if this service objective is supported for managed instances in an instance pool.name()Get the name property: The virtual cores identifier.reason()Get the reason property: The reason for the capability not being available.Get the standaloneSupported property: True if this service objective is supported for standalone managed instances.status()Get the status property: The status of the capability.Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.Get the supportedStorageSizes property: Storage size ranges.voidvalidate()Validates the instance.value()Get the value property: The virtual cores value.withReason(String reason) Set the reason property: The reason for the capability not being available.
-
Constructor Details
-
ManagedInstanceVcoresCapability
public ManagedInstanceVcoresCapability()Creates an instance of ManagedInstanceVcoresCapability class.
-
-
Method Details
-
name
Get the name property: The virtual cores identifier.- Returns:
- the name value.
-
value
Get the value property: The virtual cores value.- Returns:
- the value value.
-
includedMaxSize
Get the includedMaxSize property: Included size.- Returns:
- the includedMaxSize value.
-
supportedStorageSizes
Get the supportedStorageSizes property: Storage size ranges.- Returns:
- the supportedStorageSizes value.
-
instancePoolSupported
Get the instancePoolSupported property: True if this service objective is supported for managed instances in an instance pool.- Returns:
- the instancePoolSupported value.
-
standaloneSupported
Get the standaloneSupported property: True if this service objective is supported for standalone managed instances.- Returns:
- the standaloneSupported 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 ManagedInstanceVcoresCapability object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-