InstancePoolVcoresCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. InstancePoolVcoresCapability
- com.
Implements
public final class InstancePoolVcoresCapability
implements JsonSerializable<InstancePoolVcoresCapability>
The managed instance virtual cores capability.
Constructor Summary
Constructor | Description |
---|---|
InstancePoolVcoresCapability() |
Creates an instance of Instance |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Instance |
fromJson(JsonReader jsonReader)
Reads an instance of 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. |
Capability |
status()
Get the status property: The status of the capability. |
Max |
storageLimit()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
value()
Get the value property: The virtual cores value. |
Instance |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Methods inherited from java.lang.Object
Constructor Details
InstancePoolVcoresCapability
public InstancePoolVcoresCapability()
Creates an instance of InstancePoolVcoresCapability class.
Method Details
fromJson
public static InstancePoolVcoresCapability fromJson(JsonReader jsonReader)
Reads an instance of InstancePoolVcoresCapability from the JsonReader.
Parameters:
Returns:
Throws:
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:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
storageLimit
public MaxSizeCapability storageLimit()
Get the storageLimit property: Storage limit.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public Integer value()
Get the value property: The virtual cores value.
Returns:
withReason
public InstancePoolVcoresCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java