RestorePointInstanceView Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.RestorePointInstanceView

Implements

public final class RestorePointInstanceView
implements JsonSerializable<RestorePointInstanceView>

The instance view of a restore point.

Method Summary

Modifier and Type Method and Description
List<DiskRestorePointInstanceView> diskRestorePoints()

Get the diskRestorePoints property: The disk restore points information.

static RestorePointInstanceView fromJson(JsonReader jsonReader)

Reads an instance of RestorePointInstanceView from the JsonReader.

List<InstanceViewStatus> statuses()

Get the statuses property: The aggregate status information for the restore point.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

diskRestorePoints

public List<DiskRestorePointInstanceView> diskRestorePoints()

Get the diskRestorePoints property: The disk restore points information.

Returns:

the diskRestorePoints value.

fromJson

public static RestorePointInstanceView fromJson(JsonReader jsonReader)

Reads an instance of RestorePointInstanceView from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

statuses

public List<InstanceViewStatus> statuses()

Get the statuses property: The aggregate status information for the restore point. The list may include separate aggregate entries for replication and, in supported API versions, Instant Access, as applicable. For more information about Instant Access, see [Use virtual machine restore points](https://learn.microsoft.com/azure/virtual-machines/virtual-machines-create-restore-points\#instant-access).

Returns:

the statuses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to