Class DiskRestorePointProperties
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.DiskRestorePointProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DiskRestorePointProperties>
public final class DiskRestorePointProperties
extends Object
implements com.azure.json.JsonSerializable<DiskRestorePointProperties>
Properties of an incremental disk restore point.
-
Method Summary
Modifier and TypeMethodDescriptionGet the completionPercent property: Percentage complete for the background copy of disk restore point when source resource is from a different region.Get the diskAccessId property: ARM id of the DiskAccess resource for using private endpoints on disks.Get the encryption property: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.familyId()Get the familyId property: id of the backing snapshot's MIS family.static DiskRestorePointPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DiskRestorePointProperties from the JsonReader.Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine.Get the logicalSectorSize property: Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks.Get the networkAccessPolicy property: Policy for accessing the disk via network.osType()Get the osType property: The Operating System type.Get the publicNetworkAccess property: Policy for controlling export on the disk.Get the purchasePlan property: Purchase plan information for the the image from which the OS disk was created.Get the replicationState property: Replication state of disk restore point when source resource is from a different region.Get the securityProfile property: Contains the security related information for the resource.Get the sourceResourceId property: arm id of source disk or source disk restore point.Get the sourceResourceLocation property: Location of source disk or source disk restore point when source resource is from a different region.Get the sourceUniqueId property: unique incarnation id of the source disk.Get the supportedCapabilities property: List of supported capabilities for the image from which the OS disk was created.Get the supportsHibernation property: Indicates the OS on a disk supports hibernation.Get the timeCreated property: The timestamp of restorePoint creation.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
timeCreated
Get the timeCreated property: The timestamp of restorePoint creation.- Returns:
- the timeCreated value.
-
sourceResourceId
Get the sourceResourceId property: arm id of source disk or source disk restore point.- Returns:
- the sourceResourceId value.
-
osType
Get the osType property: The Operating System type.- Returns:
- the osType value.
-
hyperVGeneration
Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.- Returns:
- the hyperVGeneration value.
-
purchasePlan
Get the purchasePlan property: Purchase plan information for the the image from which the OS disk was created.- Returns:
- the purchasePlan value.
-
supportedCapabilities
Get the supportedCapabilities property: List of supported capabilities for the image from which the OS disk was created.- Returns:
- the supportedCapabilities value.
-
familyId
Get the familyId property: id of the backing snapshot's MIS family.- Returns:
- the familyId value.
-
sourceUniqueId
Get the sourceUniqueId property: unique incarnation id of the source disk.- Returns:
- the sourceUniqueId value.
-
encryption
Get the encryption property: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.- Returns:
- the encryption value.
-
supportsHibernation
Get the supportsHibernation property: Indicates the OS on a disk supports hibernation.- Returns:
- the supportsHibernation value.
-
networkAccessPolicy
Get the networkAccessPolicy property: Policy for accessing the disk via network.- Returns:
- the networkAccessPolicy value.
-
publicNetworkAccess
Get the publicNetworkAccess property: Policy for controlling export on the disk.- Returns:
- the publicNetworkAccess value.
-
diskAccessId
Get the diskAccessId property: ARM id of the DiskAccess resource for using private endpoints on disks.- Returns:
- the diskAccessId value.
-
completionPercent
Get the completionPercent property: Percentage complete for the background copy of disk restore point when source resource is from a different region.- Returns:
- the completionPercent value.
-
replicationState
Get the replicationState property: Replication state of disk restore point when source resource is from a different region.- Returns:
- the replicationState value.
-
sourceResourceLocation
Get the sourceResourceLocation property: Location of source disk or source disk restore point when source resource is from a different region.- Returns:
- the sourceResourceLocation value.
-
securityProfile
Get the securityProfile property: Contains the security related information for the resource.- Returns:
- the securityProfile value.
-
logicalSectorSize
Get the logicalSectorSize property: Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks. Supported values are 512 and 4096. 4096 is the default.- Returns:
- the logicalSectorSize value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DiskRestorePointProperties>- Throws:
IOException
-
fromJson
public static DiskRestorePointProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DiskRestorePointProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DiskRestorePointProperties 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 DiskRestorePointProperties.
-