Class CapabilityBase
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.CapabilityBase
- Direct Known Subclasses:
FastProvisioningEditionCapability,FlexibleServerCapabilityInner,FlexibleServerEditionCapability,ServerSkuCapability,ServerVersionCapability,StorageEditionCapability,StorageMbCapability,StorageTierCapability
Base object for representing capability.
-
Constructor Details
-
CapabilityBase
public CapabilityBase()Creates an instance of CapabilityBase class.
-
-
Method Details
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-