Class Snapshot
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.Snapshot
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Snapshot
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Snapshot.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The type of encryption used on the source volume.static interface
The lifecycle state of this snapshot.static interface
The resource type. -
Method Summary
Modifier and TypeMethodDescriptionGets the backupPolicyPlan.Gets the capturedAt.Gets the catalogOffering.Gets the clones.Gets the copies.Gets the createdAt.getCrn()
Gets the crn.Gets the encryption.Gets the encryptionKey.getHref()
Gets the href.getId()
Gets the id.Gets the lifecycleState.Gets the minimumCapacity.getName()
Gets the name.Gets the operatingSystem.Gets the progress.Gets the resourceGroup.Gets the resourceType.Gets the serviceTags.getSize()
Gets the size.Gets the snapshotConsistencyGroup.Gets the sourceImage.Gets the sourceSnapshot.Gets the sourceVolume.Gets the userTags.Gets the bootable.Deprecated.this method is deprecated and may be removed in a future releaseMethods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getBackupPolicyPlan
Gets the backupPolicyPlan. If present, the backup policy plan which created this snapshot.- Returns:
- the backupPolicyPlan
-
isBootable
Gets the bootable. Indicates if a boot volume attachment can be created with a volume created from this snapshot.- Returns:
- the bootable
-
getCapturedAt
Gets the capturedAt. The date and time the data capture for this snapshot was completed. If absent, this snapshot's data has not yet been captured. Additionally, this property may be absent for snapshots created before 1 January 2022.- Returns:
- the capturedAt
-
getCatalogOffering
Gets the catalogOffering. The [catalog](https://cloud.ibm.com/docs/account?topic=account-restrict-by-user) offering inherited from the snapshot's source. If a virtual server instance is provisioned with a `source_snapshot` specifying this snapshot, the virtual server instance will use this snapshot's catalog offering, including its pricing plan. If absent, this snapshot is not associated with a catalog offering.- Returns:
- the catalogOffering
-
getClones
Gets the clones. Clones for this snapshot.- Returns:
- the clones
-
getCopies
Gets the copies. The copies of this snapshot.- Returns:
- the copies
-
getCreatedAt
Gets the createdAt. The date and time that this snapshot was created.- Returns:
- the createdAt
-
getCrn
-
isDeletable
Deprecated.this method is deprecated and may be removed in a future releaseGets the deletable. Indicates whether this snapshot can be deleted. This value will always be `true`.- Returns:
- the deletable
-
getEncryption
Gets the encryption. The type of encryption used on the source volume.- Returns:
- the encryption
-
getEncryptionKey
Gets the encryptionKey. The root key used to wrap the data encryption key for the source volume. This property will be present for volumes with an `encryption` type of `user_managed`.- Returns:
- the encryptionKey
-
getHref
-
getId
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of this snapshot.- Returns:
- the lifecycleState
-
getMinimumCapacity
Gets the minimumCapacity. The minimum capacity of a volume created from this snapshot. When a snapshot is created, this will be set to the capacity of the `source_volume`.- Returns:
- the minimumCapacity
-
getName
Gets the name. The name for this snapshot. The name is unique across all snapshots in the region.- Returns:
- the name
-
getOperatingSystem
Gets the operatingSystem. The operating system included in this snapshot.- Returns:
- the operatingSystem
-
getProgress
Gets the progress. Indicates the progress (as a percentage) of storing this snapshot. Only stored snapshots can be used for restoration.- Returns:
- the progress
-
getResourceGroup
Gets the resourceGroup. The resource group for this snapshot.- Returns:
- the resourceGroup
-
getResourceType
-
getServiceTags
-
getSize
Gets the size. The size of this snapshot rounded up to the next gigabyte.- Returns:
- the size
-
getSnapshotConsistencyGroup
Gets the snapshotConsistencyGroup. If present, the snapshot consistency group which created this snapshot.- Returns:
- the snapshotConsistencyGroup
-
getSourceImage
Gets the sourceImage. If present, the image from which the data on this snapshot was most directly provisioned.- Returns:
- the sourceImage
-
getSourceSnapshot
Gets the sourceSnapshot. If present, the source snapshot this snapshot was created from.- Returns:
- the sourceSnapshot
-
getSourceVolume
Gets the sourceVolume. The source volume this snapshot was created from (may be [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)).- Returns:
- the sourceVolume
-
getUserTags
-