GetSraImages
This method returns a collection of SRA images loaded into the docker daemon of the Site Recovery Manager Virtual Appliance. It returns the ConfigurationTask object that can be used to monitor the operation. ConfigurationTask.getTaskInfo() method returns status information for the current task. ConfigurationTaskInfo.result returns a collection of SraImage objects.
Synopsis
ConfigurationTask getSraImages()
ConfigurationTask is a managed object that provides operations to configure the SRM server. For more information see, Configuration Task.
SraImage describes an SRA image loaded into docker. It has the following fields:
Field | Description |
---|---|
Info |
Information about the SRA as taken from 'queryInfo' command. It
has the following values:
|
imageId | Sha256 id of the image. |
SraContainer[] containers | List of containers instantiated from the image. |
repoTags | Docker repository tags the image is known by in the [REPOSITORY[:TAG]] format. |
info | SRA image info as taken from the 'queryInfo' SRA command. This can be null if there was an error retrieving the info from the SRA. In this case error will be populated with the error that occurred. |
error | Populated when there is an error executing the 'queryInfo' SRA command. The info field will be null in this scenario. |
Field | Description |
---|---|
containerId | The container id. |
imageId | The sha256 image id of the image from which the container was instantiated. |
MountPoint[] mountPoints | An array of mount points the container has, if any. |
MountPoint describes a <em>bind</em> mount of the SRA container. For more information see https://docs.docker.com/storage/bind-mounts/. MountPoint has the following fields:
Field | Description |
---|---|
source | The source of the mount point, i.e this is the path outside of the container. |
destination | The destination path where the the source is mounted at. This is the path inside the container. |
Faults
- RuntimeFault
- ServiceBusy
- SraOperationsDisabled
For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.