Class ShareSnapshot
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.ShareSnapshot
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ShareSnapshot
extends com.ibm.cloud.sdk.core.service.model.GenericModel
ShareSnapshot.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The lifecycle state of this share snapshot - `pending`: The share snapshot is being provisioned and is not yet usable.static interface
The resource type.static interface
The status of the share snapshot: - `available`: The share snapshot is available for use. -
Method Summary
Modifier and TypeMethodDescriptionGets the backupPolicyPlan.Gets the capturedAt.Gets the createdAt.getCrn()
Gets the crn.Gets the fingerprint.getHref()
Gets the href.getId()
Gets the id.Gets the lifecycleReasons.Gets the lifecycleState.Gets the minimumSize.getName()
Gets the name.Gets the resourceGroup.Gets the resourceType.Gets the status.Gets the statusReasons.Gets the userTags.getZone()
Gets the zone.Methods 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 share snapshot.- Returns:
- the backupPolicyPlan
-
getCapturedAt
Gets the capturedAt. The date and time the data capture for this share snapshot was completed. If absent, this snapshot's data has not yet been captured.- Returns:
- the capturedAt
-
getCreatedAt
Gets the createdAt. The date and time that the share snapshot was created.- Returns:
- the createdAt
-
getCrn
-
getFingerprint
Gets the fingerprint. The fingerprint for this share snapshot. Only snapshots with identical data will have the same fingerprint. This snapshot will also be available as a subdirectory named identically to this fingerprint in the share's `.snapshot` directory.- Returns:
- the fingerprint
-
getHref
-
getId
-
getLifecycleReasons
Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).- Returns:
- the lifecycleReasons
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of this share snapshot - `pending`: The share snapshot is being provisioned and is not yet usable. A snapshot on a replica share will remain `pending` until the next replication sync completes. - `deleting`: The share snapshot is being deleted. - `failed`: The share snapshot is irrecoverably unusable. - `stable`: The share snapshot is stable and ready for use. - `updating`: The share snapshot is being updated. - `suspended`: The share snapshot is not currently usable (see `lifecycle_reasons`).- Returns:
- the lifecycleState
-
getMinimumSize
Gets the minimumSize. The minimum size of a share created from this snapshot. When a snapshot is created, this will be set to the size of the `source_share`.- Returns:
- the minimumSize
-
getName
Gets the name. The name for this share snapshot. The name is unique across all snapshots for the file share.- Returns:
- the name
-
getResourceGroup
Gets the resourceGroup. The resource group for this share snapshot.- Returns:
- the resourceGroup
-
getResourceType
-
getStatus
Gets the status. The status of the share snapshot: - `available`: The share snapshot is available for use. - `failed`: The share snapshot is irrecoverably unusable. - `pending`: The share snapshot is being provisioned and is not yet usable. A snapshot on a replica share will remain `pending` until the next replication sync completes. - `unusable`: The share snapshot is not currently usable (see `status_reasons`) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the status
-
getStatusReasons
Gets the statusReasons. The reasons for the current status (if any).- Returns:
- the statusReasons
-
getUserTags
-
getZone
Gets the zone. The zone this share snapshot resides in.- Returns:
- the zone
-