DatabaseVmDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.DatabaseVmDetails

Implements

public final class DatabaseVmDetails
implements JsonSerializable<DatabaseVmDetails>

Database VM details.

Method Summary

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

Reads an instance of DatabaseVmDetails from the JsonReader.

SapVirtualInstanceStatus status()

Get the status property: Defines the SAP Instance status.

List<StorageInformation> storageDetails()

Get the storageDetails property: Storage details of all the Storage Accounts attached to the Database Virtual Machine.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String virtualMachineId()

Get the virtualMachineId property: The virtual machine id.

Methods inherited from java.lang.Object

Method Details

fromJson

public static DatabaseVmDetails fromJson(JsonReader jsonReader)

Reads an instance of DatabaseVmDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public SapVirtualInstanceStatus status()

Get the status property: Defines the SAP Instance status.

Returns:

the status value.

storageDetails

public List<StorageInformation> storageDetails()

Get the storageDetails property: Storage details of all the Storage Accounts attached to the Database Virtual Machine. For e.g. NFS on AFS Shared Storage.

Returns:

the storageDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualMachineId

public String virtualMachineId()

Get the virtualMachineId property: The virtual machine id.

Returns:

the virtualMachineId value.

Applies to