Class DiskRestorePointInner


  • public final class DiskRestorePointInner
    extends ProxyOnlyResource
    Properties of disk restore point.
    • Constructor Detail

      • DiskRestorePointInner

        public DiskRestorePointInner()
    • Method Detail

      • 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.
      • withHyperVGeneration

        public DiskRestorePointInner withHyperVGeneration​(HyperVGeneration hyperVGeneration)
        Set the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
        Parameters:
        hyperVGeneration - the hyperVGeneration value to set.
        Returns:
        the DiskRestorePointInner object itself.
      • purchasePlan

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

        public DiskRestorePointInner withPurchasePlan​(PurchasePlanAutoGenerated purchasePlan)
        Set the purchasePlan property: Purchase plan information for the the image from which the OS disk was created.
        Parameters:
        purchasePlan - the purchasePlan value to set.
        Returns:
        the DiskRestorePointInner object itself.
      • 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.
      • withSupportedCapabilities

        public DiskRestorePointInner withSupportedCapabilities​(SupportedCapabilities supportedCapabilities)
        Set the supportedCapabilities property: List of supported capabilities for the image from which the OS disk was created.
        Parameters:
        supportedCapabilities - the supportedCapabilities value to set.
        Returns:
        the DiskRestorePointInner object itself.
      • 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.
      • withSupportsHibernation

        public DiskRestorePointInner withSupportsHibernation​(Boolean supportsHibernation)
        Set the supportsHibernation property: Indicates the OS on a disk supports hibernation.
        Parameters:
        supportsHibernation - the supportsHibernation value to set.
        Returns:
        the DiskRestorePointInner object itself.
      • networkAccessPolicy

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

        public DiskRestorePointInner withNetworkAccessPolicy​(NetworkAccessPolicy networkAccessPolicy)
        Set the networkAccessPolicy property: Policy for accessing the disk via network.
        Parameters:
        networkAccessPolicy - the networkAccessPolicy value to set.
        Returns:
        the DiskRestorePointInner object itself.
      • publicNetworkAccess

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

        public DiskRestorePointInner withPublicNetworkAccess​(PublicNetworkAccess publicNetworkAccess)
        Set the publicNetworkAccess property: Policy for controlling export on the disk.
        Parameters:
        publicNetworkAccess - the publicNetworkAccess value to set.
        Returns:
        the DiskRestorePointInner object itself.
      • diskAccessId

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

        public DiskRestorePointInner withDiskAccessId​(String diskAccessId)
        Set the diskAccessId property: ARM id of the DiskAccess resource for using private endpoints on disks.
        Parameters:
        diskAccessId - the diskAccessId value to set.
        Returns:
        the DiskRestorePointInner object itself.
      • 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.
      • withCompletionPercent

        public DiskRestorePointInner withCompletionPercent​(Float completionPercent)
        Set the completionPercent property: Percentage complete for the background copy of disk restore point when source resource is from a different region.
        Parameters:
        completionPercent - the completionPercent value to set.
        Returns:
        the DiskRestorePointInner object itself.
      • 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.