DiskRestorePointInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ProxyOnlyResource - com.
azure. resourcemanager. compute. fluent. models. DiskRestorePointInner
- com.
- com.
public final class DiskRestorePointInner
extends ProxyOnlyResource
Properties of disk restore point.
Constructor Summary
Constructor | Description |
---|---|
DiskRestorePointInner() |
Creates an instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
Float |
completionPercent()
Get the completion |
String |
diskAccessId()
Get the disk |
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 family |
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
Hyper |
hyperVGeneration()
Get the hyper |
String |
id()
Get the id property: Resource Id. |
Integer |
logicalSectorSize()
Get the logical |
String |
name()
Get the name property: Resource name. |
Network |
networkAccessPolicy()
Get the network |
Operating |
osType()
Get the os |
Public |
publicNetworkAccess()
Get the public |
Purchase |
purchasePlan()
Get the purchase |
String |
replicationState()
Get the replication |
Disk |
securityProfile()
Get the security |
String |
sourceResourceId()
Get the source |
String |
sourceResourceLocation()
Get the source |
String |
sourceUniqueId()
Get the source |
Supported |
supportedCapabilities()
Get the supported |
Boolean |
supportsHibernation()
Get the supports |
Offset |
timeCreated()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Disk |
withCompletionPercent(Float completionPercent)
Set the completion |
Disk |
withDiskAccessId(String diskAccessId)
Set the disk |
Disk |
withHyperVGeneration(HyperVGeneration hyperVGeneration)
Set the hyper |
Disk |
withNetworkAccessPolicy(NetworkAccessPolicy networkAccessPolicy)
Set the network |
Disk |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
Disk |
withPurchasePlan(PurchasePlanAutoGenerated purchasePlan)
Set the purchase |
Disk |
withSecurityProfile(DiskSecurityProfile securityProfile)
Set the security |
Disk |
withSupportedCapabilities(SupportedCapabilities supportedCapabilities)
Set the supported |
Disk |
withSupportsHibernation(Boolean supportsHibernation)
Set the supports |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
DiskRestorePointInner
public DiskRestorePointInner()
Creates an instance of DiskRestorePointInner class.
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:
diskAccessId
public String diskAccessId()
Get the diskAccessId property: ARM id of the DiskAccess resource for using private endpoints on disks.
Returns:
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:
familyId
public String familyId()
Get the familyId property: id of the backing snapshot's MIS family.
Returns:
fromJson
public static DiskRestorePointInner fromJson(JsonReader jsonReader)
Reads an instance of DiskRestorePointInner from the JsonReader.
Parameters:
Returns:
Throws:
hyperVGeneration
public HyperVGeneration hyperVGeneration()
Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Returns:
id
public String id()
Get the id property: Resource Id.
Overrides:
DiskRestorePointInner.id()Returns:
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:
name
public String name()
Get the name property: Resource name.
Overrides:
DiskRestorePointInner.name()Returns:
networkAccessPolicy
public NetworkAccessPolicy networkAccessPolicy()
Get the networkAccessPolicy property: Policy for accessing the disk via network.
Returns:
osType
public OperatingSystemTypes osType()
Get the osType property: The Operating System type.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Policy for controlling export on the disk.
Returns:
purchasePlan
public PurchasePlanAutoGenerated purchasePlan()
Get the purchasePlan property: Purchase plan information for the the image from which the OS disk was created.
Returns:
replicationState
public String replicationState()
Get the replicationState property: Replication state of disk restore point when source resource is from a different region.
Returns:
securityProfile
public DiskSecurityProfile securityProfile()
Get the securityProfile property: Contains the security related information for the resource.
Returns:
sourceResourceId
public String sourceResourceId()
Get the sourceResourceId property: arm id of source disk or source disk restore point.
Returns:
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:
sourceUniqueId
public String sourceUniqueId()
Get the sourceUniqueId property: unique incarnation id of the source disk.
Returns:
supportedCapabilities
public SupportedCapabilities supportedCapabilities()
Get the supportedCapabilities property: List of supported capabilities for the image from which the OS disk was created.
Returns:
supportsHibernation
public Boolean supportsHibernation()
Get the supportsHibernation property: Indicates the OS on a disk supports hibernation.
Returns:
timeCreated
public OffsetDateTime timeCreated()
Get the timeCreated property: The timestamp of restorePoint creation.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DiskRestorePointInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
DiskRestorePointInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DiskRestorePointInner.validate()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:
Returns:
withDiskAccessId
public DiskRestorePointInner withDiskAccessId(String diskAccessId)
Set the diskAccessId property: ARM id of the DiskAccess resource for using private endpoints on disks.
Parameters:
Returns:
withHyperVGeneration
public DiskRestorePointInner withHyperVGeneration(HyperVGeneration hyperVGeneration)
Set the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Parameters:
Returns:
withNetworkAccessPolicy
public DiskRestorePointInner withNetworkAccessPolicy(NetworkAccessPolicy networkAccessPolicy)
Set the networkAccessPolicy property: Policy for accessing the disk via network.
Parameters:
Returns:
withPublicNetworkAccess
public DiskRestorePointInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Policy for controlling export on the disk.
Parameters:
Returns:
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:
Returns:
withSecurityProfile
public DiskRestorePointInner withSecurityProfile(DiskSecurityProfile securityProfile)
Set the securityProfile property: Contains the security related information for the resource.
Parameters:
Returns:
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:
Returns:
withSupportsHibernation
public DiskRestorePointInner withSupportsHibernation(Boolean supportsHibernation)
Set the supportsHibernation property: Indicates the OS on a disk supports hibernation.
Parameters:
Returns:
Applies to
Azure SDK for Java