Class RestorePointInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.compute.fluent.models.RestorePointInner
-
public final class RestorePointInner extends com.azure.core.management.ProxyResourceRestore Point details.
-
-
Constructor Summary
Constructors Constructor Description RestorePointInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsistencyModeTypesconsistencyMode()Get the consistencyMode property: Gets the consistency mode for the restore point.List<ApiEntityReference>excludeDisks()Get the excludeDisks property: List of disk resource ids that the customer wishes to exclude from the restore point.RestorePointInstanceViewinstanceView()Get the instanceView property: The restore point instance view.StringprovisioningState()Get the provisioningState property: Gets the provisioning state of the restore point.RestorePointSourceMetadatasourceMetadata()Get the sourceMetadata property: Gets the details of the VM captured at the time of the restore point creation.ApiEntityReferencesourceRestorePoint()Get the sourceRestorePoint property: Resource Id of the source restore point from which a copy needs to be created.OffsetDateTimetimeCreated()Get the timeCreated property: Gets the creation time of the restore point.voidvalidate()Validates the instance.RestorePointInnerwithExcludeDisks(List<ApiEntityReference> excludeDisks)Set the excludeDisks property: List of disk resource ids that the customer wishes to exclude from the restore point.RestorePointInnerwithSourceRestorePoint(ApiEntityReference sourceRestorePoint)Set the sourceRestorePoint property: Resource Id of the source restore point from which a copy needs to be created.RestorePointInnerwithTimeCreated(OffsetDateTime timeCreated)Set the timeCreated property: Gets the creation time of the restore point.
-
-
-
Method Detail
-
excludeDisks
public List<ApiEntityReference> excludeDisks()
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:
- the excludeDisks value.
-
withExcludeDisks
public RestorePointInner withExcludeDisks(List<ApiEntityReference> excludeDisks)
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:
excludeDisks- the excludeDisks value to set.- Returns:
- the RestorePointInner object itself.
-
sourceMetadata
public RestorePointSourceMetadata sourceMetadata()
Get the sourceMetadata property: Gets the details of the VM captured at the time of the restore point creation.- Returns:
- the sourceMetadata value.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Gets the provisioning state of the restore point.- Returns:
- the provisioningState value.
-
consistencyMode
public ConsistencyModeTypes consistencyMode()
Get the consistencyMode property: Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details.- Returns:
- the consistencyMode value.
-
timeCreated
public OffsetDateTime timeCreated()
Get the timeCreated property: Gets the creation time of the restore point.- Returns:
- the timeCreated value.
-
withTimeCreated
public RestorePointInner withTimeCreated(OffsetDateTime timeCreated)
Set the timeCreated property: Gets the creation time of the restore point.- Parameters:
timeCreated- the timeCreated value to set.- Returns:
- the RestorePointInner object itself.
-
sourceRestorePoint
public ApiEntityReference sourceRestorePoint()
Get the sourceRestorePoint property: Resource Id of the source restore point from which a copy needs to be created.- Returns:
- the sourceRestorePoint value.
-
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:
sourceRestorePoint- the sourceRestorePoint value to set.- Returns:
- the RestorePointInner object itself.
-
instanceView
public RestorePointInstanceView instanceView()
Get the instanceView property: The restore point instance view.- Returns:
- the instanceView value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-