StorageCapability Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.StorageCapability

Implements

public final class StorageCapability
implements JsonSerializable<StorageCapability>

The storage account type capability.

Method Summary

Modifier and Type Method and Description
static StorageCapability fromJson(JsonReader jsonReader)

Reads an instance of StorageCapability from the JsonReader.

String reason()

Get the reason property: The reason for the capability not being available.

CapabilityStatus status()

Get the status property: The status of the capability.

StorageCapabilityStorageAccountType storageAccountType()

Get the storageAccountType property: The storage account type for the database's backups.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static StorageCapability fromJson(JsonReader jsonReader)

Reads an instance of StorageCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StorageCapability 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 StorageCapability.

reason

public String reason()

Get the reason property: The reason for the capability not being available.

Returns:

the reason value.

status

public CapabilityStatus status()

Get the status property: The status of the capability.

Returns:

the status value.

storageAccountType

public StorageCapabilityStorageAccountType storageAccountType()

Get the storageAccountType property: The storage account type for the database's backups.

Returns:

the storageAccountType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to