Class Share
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.Share
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Share
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Share.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target.static interface
The accessor binding role of this file share: - `none`: This file share is not participating in access with another file share - `origin`: This file share is the origin for one or more file shares (which may be in other accounts) - `accessor`: This file share is providing access to another file share (which may be in another account).static interface
An allowed transit encryption mode for this share.static interface
The type of encryption used for this file share.static interface
The lifecycle state of the file share.static interface
The replication role of the file share: - `none`: This share is not participating in replication.static interface
The replication status of the file share: - `active`: This share is actively participating in replication, and the replica's data is up-to-date with the replication schedule.static interface
The resource type. -
Method Summary
Modifier and TypeMethodDescriptionGets the accessControlMode.Gets the accessorBindingRole.Gets the accessorBindings.Gets the allowedTransitEncryptionModes.Gets the createdAt.getCrn()
Gets the crn.Gets the encryption.Gets the encryptionKey.getHref()
Gets the href.getId()
Gets the id.getIops()
Gets the iops.Gets the latestJob.Gets the latestSync.Gets the lifecycleReasons.Gets the lifecycleState.Gets the mountTargets.getName()
Gets the name.Gets the originShare.Gets the profile.Gets the replicaShare.Gets the replicationCronSpec.Gets the replicationRole.Gets the replicationStatus.Gets the replicationStatusReasons.Gets the resourceGroup.Gets the resourceType.getSize()
Gets the size.Gets the snapshotCount.Gets the snapshotSize.Gets the sourceShare.Gets the sourceSnapshot.Gets the userTags.getZone()
Gets the zone.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getAccessControlMode
Gets the accessControlMode. The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. - `vpc`: All clients in the VPC for a mount target have access to the mount target. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the accessControlMode
-
getAccessorBindingRole
Gets the accessorBindingRole. The accessor binding role of this file share: - `none`: This file share is not participating in access with another file share - `origin`: This file share is the origin for one or more file shares (which may be in other accounts) - `accessor`: This file share is providing access to another file share (which may be in another account).- Returns:
- the accessorBindingRole
-
getAccessorBindings
Gets the accessorBindings. The accessor bindings for this file share. Each accessor binding identifies a resource (possibly in another account) with access to this file share's data and its snapshots.- Returns:
- the accessorBindings
-
getAllowedTransitEncryptionModes
-
getCreatedAt
Gets the createdAt. The date and time that the file share is created.- Returns:
- the createdAt
-
getCrn
-
getEncryption
Gets the encryption. The type of encryption used for this file share.- Returns:
- the encryption
-
getEncryptionKey
Gets the encryptionKey. The key used to encrypt this file share. This property will be present if `encryption` is `user_managed`.- Returns:
- the encryptionKey
-
getHref
-
getId
-
getIops
Gets the iops. The maximum input/output operations per second (IOPS) for the file share. In addition, each client accessing the share will be restricted to 48,000 IOPS. The maximum IOPS for a share may increase in the future.- Returns:
- the iops
-
getLatestJob
Gets the latestJob. The latest job associated with this file share. This property will be absent if no jobs have been created for this file share.- Returns:
- the latestJob
-
getLatestSync
Gets the latestSync. Information about the latest synchronization for this file share. This property will be present when the `replication_role` is `replica` and at least one replication sync has been completed.- Returns:
- the latestSync
-
getLifecycleReasons
Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).- Returns:
- the lifecycleReasons
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of the file share.- Returns:
- the lifecycleState
-
getMountTargets
Gets the mountTargets. The mount targets for the file share.- Returns:
- the mountTargets
-
getName
Gets the name. The name for this share. The name is unique across all shares in the region.- Returns:
- the name
-
getProfile
Gets the profile. The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-profiles) for this file share.- Returns:
- the profile
-
getReplicationCronSpec
Gets the replicationCronSpec. The cron specification for the file share replication schedule. This property will be present when the `replication_role` is `replica`.- Returns:
- the replicationCronSpec
-
getReplicationRole
Gets the replicationRole. The replication role of the file share: - `none`: This share is not participating in replication. - `replica`: This share is a replication target. - `source`: This share is a replication source. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the replicationRole
-
getReplicationStatus
Gets the replicationStatus. The replication status of the file share: - `active`: This share is actively participating in replication, and the replica's data is up-to-date with the replication schedule. - `degraded`: This is share is participating in replication, but the replica's data has fallen behind the replication schedule. - `failover_pending`: This share is performing a replication failover. - `initializing`: This share is initializing replication. - `none`: This share is not participating in replication. - `split_pending`: This share is performing a replication split. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the replicationStatus
-
getReplicationStatusReasons
Gets the replicationStatusReasons. The reasons for the current replication status (if any).- Returns:
- the replicationStatusReasons
-
getResourceGroup
Gets the resourceGroup. The resource group for this file share.- Returns:
- the resourceGroup
-
getResourceType
-
getSize
Gets the size. The size of the file share (in gigabytes), excluding share snapshots. The maximum size for a share may increase in the future.- Returns:
- the size
-
getSnapshotCount
Gets the snapshotCount. The total number of snapshots for this share.- Returns:
- the snapshotCount
-
getSnapshotSize
Gets the snapshotSize. The total size (in gigabytes) of snapshots used for this file share.- Returns:
- the snapshotSize
-
getSourceSnapshot
Gets the sourceSnapshot. The snapshot this share was created from. This property will be present when the share was created from a snapshot. The resources supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the sourceSnapshot
-
getUserTags
-
getZone
Gets the zone. The zone this file share will reside in.- Returns:
- the zone
-