DiskRestorePointInner Class

public final class DiskRestorePointInner
extends ProxyResource

Properties of disk restore point.

Method Summary

Modifier and Type Method and Description
Float completionPercent()

Get the completionPercent property: Percentage complete for the background copy of disk restore point when source resource is from a different region.

String diskAccessId()

Get the diskAccessId property: ARM id of the DiskAccess resource for using private endpoints on disks.

Encryption encryption()

Get the encryption property: Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

String familyId()

Get the familyId property: id of the backing snapshot's MIS family.

static DiskRestorePointInner fromJson(JsonReader jsonReader)

Reads an instance of DiskRestorePointInner from the JsonReader.

HyperVGeneration hyperVGeneration()

Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine.

String id()

Get the id property: Fully qualified resource Id for the resource.

Integer logicalSectorSize()

Get the logicalSectorSize property: Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks.

String name()

Get the name property: The name of the resource.

NetworkAccessPolicy networkAccessPolicy()

Get the networkAccessPolicy property: Policy for accessing the disk via network.

OperatingSystemTypes osType()

Get the osType property: The Operating System type.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Policy for controlling export on the disk.

DiskPurchasePlan purchasePlan()

Get the purchasePlan property: Purchase plan information for the the image from which the OS disk was created.

String replicationState()

Get the replicationState property: Replication state of disk restore point when source resource is from a different region.

DiskSecurityProfile securityProfile()

Get the securityProfile property: Contains the security related information for the resource.

String sourceResourceId()

Get the sourceResourceId property: arm id of source disk or source disk restore point.

String sourceResourceLocation()

Get the sourceResourceLocation property: Location of source disk or source disk restore point when source resource is from a different region.

String sourceUniqueId()

Get the sourceUniqueId property: unique incarnation id of the source disk.

SupportedCapabilities supportedCapabilities()

Get the supportedCapabilities property: List of supported capabilities for the image from which the OS disk was created.

Boolean supportsHibernation()

Get the supportsHibernation property: Indicates the OS on a disk supports hibernation.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

OffsetDateTime timeCreated()

Get the timeCreated property: The timestamp of restorePoint creation.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

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.

diskAccessId

public String diskAccessId()

Get the diskAccessId property: ARM id of the DiskAccess resource for using private endpoints on disks.

Returns:

the diskAccessId 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.

familyId

public String familyId()

Get the familyId property: id of the backing snapshot's MIS family.

Returns:

the familyId value.

fromJson

public static DiskRestorePointInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

hyperVGeneration

public HyperVGeneration hyperVGeneration()

Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

Returns:

the hyperVGeneration value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DiskRestorePointInner.id()

Returns:

the id 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.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DiskRestorePointInner.name()

Returns:

the name value.

networkAccessPolicy

public NetworkAccessPolicy networkAccessPolicy()

Get the networkAccessPolicy property: Policy for accessing the disk via network.

Returns:

the networkAccessPolicy value.

osType

public OperatingSystemTypes osType()

Get the osType property: The Operating System type.

Returns:

the osType value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Policy for controlling export on the disk.

Returns:

the publicNetworkAccess 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.

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.

securityProfile

public DiskSecurityProfile securityProfile()

Get the securityProfile property: Contains the security related information for the resource.

Returns:

the securityProfile value.

sourceResourceId

public String sourceResourceId()

Get the sourceResourceId property: arm id of source disk or source disk restore point.

Returns:

the sourceResourceId 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.

sourceUniqueId

public String sourceUniqueId()

Get the sourceUniqueId property: unique incarnation id of the source disk.

Returns:

the sourceUniqueId 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.

supportsHibernation

public Boolean supportsHibernation()

Get the supportsHibernation property: Indicates the OS on a disk supports hibernation.

Returns:

the supportsHibernation value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

timeCreated

public OffsetDateTime timeCreated()

Get the timeCreated property: The timestamp of restorePoint creation.

Returns:

the timeCreated value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DiskRestorePointInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DiskRestorePointInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to