RestorePointInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. compute. fluent. models. RestorePointInner
- com.
- com.
public final class RestorePointInner
extends ProxyResource
Restore Point details.
Constructor Summary
Constructor | Description |
---|---|
RestorePointInner() |
Creates an instance of Restore |
Method Summary
Modifier and Type | Method and Description |
---|---|
Consistency |
consistencyMode()
Get the consistency |
List<Api |
excludeDisks()
Get the exclude |
Restore |
instanceView()
Get the instance |
String |
provisioningState()
Get the provisioning |
Restore |
sourceMetadata()
Get the source |
Api |
sourceRestorePoint()
Get the source |
Offset |
timeCreated()
Get the time |
void |
validate()
Validates the instance. |
Restore |
withConsistencyMode(ConsistencyModeTypes consistencyMode)
Set the consistency |
Restore |
withExcludeDisks(List<ApiEntityReference> excludeDisks)
Set the exclude |
Restore |
withSourceMetadata(RestorePointSourceMetadata sourceMetadata)
Set the source |
Restore |
withSourceRestorePoint(ApiEntityReference sourceRestorePoint)
Set the source |
Restore |
withTimeCreated(OffsetDateTime timeCreated)
Set the time |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RestorePointInner
public RestorePointInner()
Creates an instance of RestorePointInner class.
Method Details
consistencyMode
public ConsistencyModeTypes consistencyMode()
Get the consistencyMode property: ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.
Returns:
excludeDisks
public List
Get the excludeDisks property: List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.
Returns:
instanceView
public RestorePointInstanceView instanceView()
Get the instanceView property: The restore point instance view.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Gets the provisioning state of the restore point.
Returns:
sourceMetadata
public RestorePointSourceMetadata sourceMetadata()
Get the sourceMetadata property: Gets the details of the VM captured at the time of the restore point creation.
Returns:
sourceRestorePoint
public ApiEntityReference sourceRestorePoint()
Get the sourceRestorePoint property: Resource Id of the source restore point from which a copy needs to be created.
Returns:
timeCreated
public OffsetDateTime timeCreated()
Get the timeCreated property: Gets the creation time of the restore point.
Returns:
validate
public void validate()
Validates the instance.
withConsistencyMode
public RestorePointInner withConsistencyMode(ConsistencyModeTypes consistencyMode)
Set the consistencyMode property: ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.
Parameters:
Returns:
withExcludeDisks
public RestorePointInner withExcludeDisks(List
Set the excludeDisks property: List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.
Parameters:
Returns:
withSourceMetadata
public RestorePointInner withSourceMetadata(RestorePointSourceMetadata sourceMetadata)
Set the sourceMetadata property: Gets the details of the VM captured at the time of the restore point creation.
Parameters:
Returns:
withSourceRestorePoint
public RestorePointInner withSourceRestorePoint(ApiEntityReference sourceRestorePoint)
Set the sourceRestorePoint property: Resource Id of the source restore point from which a copy needs to be created.
Parameters:
Returns:
withTimeCreated
public RestorePointInner withTimeCreated(OffsetDateTime timeCreated)
Set the timeCreated property: Gets the creation time of the restore point.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for