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. |
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. |
Faults
- ServiceBusy
- SraOperationsDisabled
- RuntimeFault
For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.