Class Image
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.Image
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Image
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Image.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The type of encryption used on the image.static interface
The resource type.static interface
The status of this image: - available: image can be used (provisionable) - deleting: image is being deleted, and can no longer be used to provision new resources - deprecated: image is administratively slated to become `obsolete` - failed: image is corrupt or did not pass validation - obsolete: image administratively set to not be used for new resources - pending: image is being imported and is not yet `available` - unusable: image cannot be used (see `status_reasons[]` for possible remediation) The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.static interface
The user data format for this image: - `cloud_init`: `user_data` will be interpreted according to the cloud-init standard - `esxi_kickstart`: `user_data` will be interpreted as a VMware ESXi installation script - `ipxe`: `user_data` will be interpreted as a single URL to an iPXE script or as the text of an iPXE script The value for this property is inherited from `operating_system.user_data_format`.static interface
The visibility of this image. -
Method Summary
Modifier and TypeMethodDescriptionGets the catalogOffering.Gets the createdAt.getCrn()
Gets the crn.Gets the deprecationAt.Gets the encryption.Gets the encryptionKey.getFile()
Gets the file.getHref()
Gets the href.getId()
Gets the id.Gets the minimumProvisionedSize.getName()
Gets the name.Gets the obsolescenceAt.Gets the operatingSystem.Gets the resourceGroup.Gets the resourceType.Gets the sourceVolume.Gets the status.Gets the statusReasons.Gets the userDataFormat.Gets the visibility.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getCatalogOffering
Gets the catalogOffering.- Returns:
- the catalogOffering
-
getCreatedAt
Gets the createdAt. The date and time that the image was created.- Returns:
- the createdAt
-
getCrn
-
getDeprecationAt
Gets the deprecationAt. The deprecation date and time (UTC) for this image. If absent, no deprecation date and time has been set.- Returns:
- the deprecationAt
-
getEncryption
Gets the encryption. The type of encryption used on the image.- Returns:
- the encryption
-
getEncryptionKey
Gets the encryptionKey. The key that will be used to encrypt volumes created from this image (unless an alternate `encryption_key` is specified at volume creation). This property will be present for images with an `encryption` type of `user_managed`.- Returns:
- the encryptionKey
-
getFile
-
getHref
-
getId
-
getMinimumProvisionedSize
Gets the minimumProvisionedSize. The minimum size (in gigabytes) of a volume onto which this image may be provisioned. This property may be absent if the image has a `status` of `pending` or `failed`.- Returns:
- the minimumProvisionedSize
-
getName
Gets the name. The name for this image. The name is unique across all images in the region.- Returns:
- the name
-
getObsolescenceAt
Gets the obsolescenceAt. The obsolescence date and time (UTC) for this image. If absent, no obsolescence date and time has been set.- Returns:
- the obsolescenceAt
-
getOperatingSystem
Gets the operatingSystem. The operating system included in this image.- Returns:
- the operatingSystem
-
getResourceGroup
Gets the resourceGroup. The resource group for this image.- Returns:
- the resourceGroup
-
getResourceType
-
getSourceVolume
Gets the sourceVolume. The volume used to create this image (this may be [deleted](https://cloud.ibm.com/apidocs/vpc#deleted-resources)). If absent, this image was not created from a volume.- Returns:
- the sourceVolume
-
getStatus
Gets the status. The status of this image: - available: image can be used (provisionable) - deleting: image is being deleted, and can no longer be used to provision new resources - deprecated: image is administratively slated to become `obsolete` - failed: image is corrupt or did not pass validation - obsolete: image administratively set to not be used for new resources - pending: image is being imported and is not yet `available` - unusable: image cannot be used (see `status_reasons[]` for possible remediation) 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.- Returns:
- the statusReasons
-
getUserDataFormat
Gets the userDataFormat. The user data format for this image: - `cloud_init`: `user_data` will be interpreted according to the cloud-init standard - `esxi_kickstart`: `user_data` will be interpreted as a VMware ESXi installation script - `ipxe`: `user_data` will be interpreted as a single URL to an iPXE script or as the text of an iPXE script The value for this property is inherited from `operating_system.user_data_format`.- Returns:
- the userDataFormat
-
getVisibility
Gets the visibility. The visibility of this image. - `private`: Visible only to this account - `public`: Visible to all accounts.- Returns:
- the visibility
-