Class DiskRestorePointInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.compute.fluent.models.DiskRestorePointInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class DiskRestorePointInner extends com.azure.core.management.ProxyResource
Properties of disk restore point.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get 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.
    Get the familyId property: id of the backing snapshot's MIS family.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of DiskRestorePointInner from the JsonReader.
    Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine.
    id()
    Get the id property: Fully qualified resource Id for the resource.
    Get the logicalSectorSize property: Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks.
    Get the name property: The name of the resource.
    Get the networkAccessPolicy property: Policy for accessing the disk via network.
    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.
    com.azure.core.management.SystemData
    Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Get the timeCreated property: The timestamp of restorePoint creation.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the type property: The type of the resource.
    void
    Validates the instance.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • timeCreated

      public OffsetDateTime timeCreated()
      Get the timeCreated property: The timestamp of restorePoint creation.
      Returns:
      the timeCreated value.
    • sourceResourceId

      public String sourceResourceId()
      Get the sourceResourceId property: arm id of source disk or source disk restore point.
      Returns:
      the sourceResourceId value.
    • osType

      public OperatingSystemTypes osType()
      Get the osType property: The Operating System type.
      Returns:
      the osType value.
    • hyperVGeneration

      public HyperVGeneration hyperVGeneration()
      Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
      Returns:
      the hyperVGeneration value.
    • purchasePlan

      public DiskPurchasePlan purchasePlan()
      Get the purchasePlan property: Purchase plan information for the the image from which the OS disk was created.
      Returns:
      the purchasePlan value.
    • supportedCapabilities

      public SupportedCapabilities supportedCapabilities()
      Get the supportedCapabilities property: List of supported capabilities for the image from which the OS disk was created.
      Returns:
      the supportedCapabilities value.
    • familyId

      public String familyId()
      Get the familyId property: id of the backing snapshot's MIS family.
      Returns:
      the familyId value.
    • sourceUniqueId

      public String sourceUniqueId()
      Get the sourceUniqueId property: unique incarnation id of the source disk.
      Returns:
      the sourceUniqueId value.
    • encryption

      public Encryption 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

      public Boolean supportsHibernation()
      Get the supportsHibernation property: Indicates the OS on a disk supports hibernation.
      Returns:
      the supportsHibernation value.
    • networkAccessPolicy

      public NetworkAccessPolicy networkAccessPolicy()
      Get the networkAccessPolicy property: Policy for accessing the disk via network.
      Returns:
      the networkAccessPolicy value.
    • publicNetworkAccess

      public PublicNetworkAccess publicNetworkAccess()
      Get the publicNetworkAccess property: Policy for controlling export on the disk.
      Returns:
      the publicNetworkAccess value.
    • diskAccessId

      public String diskAccessId()
      Get the diskAccessId property: ARM id of the DiskAccess resource for using private endpoints on disks.
      Returns:
      the diskAccessId value.
    • completionPercent

      public Float 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

      public String replicationState()
      Get the replicationState property: Replication state of disk restore point when source resource is from a different region.
      Returns:
      the replicationState value.
    • sourceResourceLocation

      public String 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

      public DiskSecurityProfile securityProfile()
      Get the securityProfile property: Contains the security related information for the resource.
      Returns:
      the securityProfile value.
    • logicalSectorSize

      public Integer 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.ProxyResource
      Throws:
      IOException
    • fromJson

      public static DiskRestorePointInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DiskRestorePointInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DiskRestorePointInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the DiskRestorePointInner.