Class ServerSkuCapability
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.CapabilityBase
com.azure.resourcemanager.postgresqlflexibleserver.models.ServerSkuCapability
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CapabilityBase>
Capabilities in terms of compute.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerSkuCapabilityfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServerSkuCapability from the JsonReader.name()Get the name property: Name of the compute (SKU).reason()Get the reason property: The reason for the capability not being available.Get the securityProfile property: Security profile of the compute.status()Get the status property: The status of the capability.Get the supportedFeatures property: Features supported.Get the supportedHaMode property: Modes of high availability supported for this compute.Get the supportedIops property: Maximum IOPS supported by this compute.Get the supportedMemoryPerVcoreMb property: Supported memory (in MB) per virtual core assigned to this compute.Get the supportedZones property: List of supported availability zones.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.vCores()Get the vCores property: vCores available for this compute.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ServerSkuCapability
public ServerSkuCapability()Creates an instance of ServerSkuCapability class.
-
-
Method Details
-
name
-
vCores
Get the vCores property: vCores available for this compute.- Returns:
- the vCores value.
-
supportedIops
Get the supportedIops property: Maximum IOPS supported by this compute.- Returns:
- the supportedIops value.
-
supportedMemoryPerVcoreMb
Get the supportedMemoryPerVcoreMb property: Supported memory (in MB) per virtual core assigned to this compute.- Returns:
- the supportedMemoryPerVcoreMb value.
-
supportedZones
-
supportedHaMode
Get the supportedHaMode property: Modes of high availability supported for this compute.- Returns:
- the supportedHaMode value.
-
supportedFeatures
Get the supportedFeatures property: Features supported.- Returns:
- the supportedFeatures value.
-
securityProfile
Get the securityProfile property: Security profile of the compute. Indicates if it's a Confidential Compute virtual machine.- Returns:
- the securityProfile value.
-
reason
Get the reason property: The reason for the capability not being available.- Overrides:
reasonin classCapabilityBase- Returns:
- the reason value.
-
status
Get the status property: The status of the capability.- Overrides:
statusin classCapabilityBase- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classCapabilityBase- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CapabilityBase>- Overrides:
toJsonin classCapabilityBase- Throws:
IOException
-
fromJson
Reads an instance of ServerSkuCapability from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ServerSkuCapability if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ServerSkuCapability.
-