ManagedInstanceVcoresCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ManagedInstanceVcoresCapability
- com.
Implements
public final class ManagedInstanceVcoresCapability
implements JsonSerializable<ManagedInstanceVcoresCapability>
The managed instance virtual cores capability.
Constructor Summary
Constructor | Description |
---|---|
ManagedInstanceVcoresCapability() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Max |
includedMaxSize()
Get the included |
Boolean |
instancePoolSupported()
Get the instance |
String |
name()
Get the name property: The virtual cores identifier. |
String |
reason()
Get the reason property: The reason for the capability not being available. |
Boolean |
standaloneSupported()
Get the standalone |
Capability |
status()
Get the status property: The status of the capability. |
List<Managed |
supportedMaintenanceConfigurations()
Get the supported |
List<Max |
supportedStorageSizes()
Get the supported |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
value()
Get the value property: The virtual cores value. |
Managed |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceVcoresCapability
public ManagedInstanceVcoresCapability()
Creates an instance of ManagedInstanceVcoresCapability class.
Method Details
fromJson
public static ManagedInstanceVcoresCapability fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceVcoresCapability from the JsonReader.
Parameters:
Returns:
Throws:
includedMaxSize
public MaxSizeCapability includedMaxSize()
Get the includedMaxSize property: Included size.
Returns:
instancePoolSupported
public Boolean instancePoolSupported()
Get the instancePoolSupported property: True if this service objective is supported for managed instances in an instance pool.
Returns:
name
public String name()
Get the name property: The virtual cores identifier.
Returns:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Returns:
standaloneSupported
public Boolean standaloneSupported()
Get the standaloneSupported property: True if this service objective is supported for standalone managed instances.
Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
supportedMaintenanceConfigurations
public List
Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.
Returns:
supportedStorageSizes
public List
Get the supportedStorageSizes property: Storage size ranges.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public Integer value()
Get the value property: The virtual cores value.
Returns:
withReason
public ManagedInstanceVcoresCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java