GetImageInfo
This method returns the image information as taken from the queryInfo SRA command. Because the docker images are immutable, the queryInfo SRA command is executed only once, the first time the information is requested. Subsequent calls return a cached value which lives for the duration of the Site Recovery Manager Configuration Service lifetime.
Synopsis
Info getImageInfo(String imageId)
imageId is the id of the image for which the information is being requested. This can be either the sha256 id of the image, or the image repository tag in the [REPOSITORY[:TAG]] format.
SraImage.Info is the information about the SRA as taken from the
'queryInfo' command. It has the following fields:
Field | Description |
---|---|
uuid | Universally unique identifier of the SRA which is preserved on SRA upgrades. |
name | Name of the adapter. |
version | Version of the adapter. |
vendor | Storage Vendor who owns the adapter. |
helpUrl | URL for on-line documentation for the adapter. |
Faults
- CannotExecuteDockerCommand
- DockerImageDoesNotExist
- DockerCommandFailed
- CannotCreateSraLogDirectory
- SraOperationsDisabled
- RuntimeFault
For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.