|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| currentTask* P | ManagedObjectReference
to a DrConfigConfigurationTask | Deprecated.
The currently active retrieve update task or null.
|
Methods
| Methods defined in this Managed Object |
|---|
| CopySraConfiguration, DeleteImage, DeleteImageContainers, DrConfigSraSraManager_GetRunningTask, GetImageInfo, GetSraImages, ResetToFactorySettings |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DrConfigSraSraManager used to make the method call. |
| fromImage P | xsd:string |
The docker image id of the source image. It can be either in the
[REPOSITORY:[TAG]] format or in the canonical sha256 format.
Since DrConfig API 3.0 |
| toImage P | xsd:string |
The docker image id of the destination image. It can be either
in the [REPOSITORY:[TAG]] format or in the canonical sha256
format.
Since DrConfig API 3.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| DrConfigSraFaultCannotCreateSraLogDirectory | When the SRA Log directory for the source or destination SRA cannot be created. |
| DrConfigSraFaultCannotExecuteDockerCommand | When there are issues with the 'docker' CLI itself. See CannotExecuteDockerCommand. |
| DrConfigSraFaultDockerCommandFailed | When there are issues with executing a 'docker' CLI command. See DockerCommandFailed. |
| DrConfigSraFaultDockerImageDoesNotExist | When the image with the given id does not exist in the docker daemon. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DrConfigSraSraManager used to make the method call. |
| imageId P | xsd:string |
The image id of the image which has to be deleted. This can be
either the sha256 id of the image, or the image repository tag
in the [REPOSITORY[:TAG]] format.
Since DrConfig API 3.0 |
Return Value
| Type | Description |
|---|---|
| xsd:boolean | True when the image was deleted, false if the image did not exist in the first place. |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| DrConfigSraFaultCannotExecuteDockerCommand | When there are issues with the 'docker' CLI itself. See CannotExecuteDockerCommand. |
| DrConfigSraFaultDockerCommandFailed | When there are issues with executing a 'docker' CLI command. See DockerCommandFailed. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DrConfigSraSraManager used to make the method call. |
| imageId P | xsd:string |
The id of the image whose containers must be stopped. This can
be either the sha256 id of the image, or the image repository
tag in the [REPOSITORY[:TAG]] format.
Since DrConfig API 3.0 |
Return Value
| Type | Description |
|---|---|
| xsd:boolean | True when the image's containers were deleted, false if the image did not exist in the first place or it had no containers. |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| DrConfigSraFaultCannotExecuteDockerCommand | When there are issues with the 'docker' CLI itself. See CannotExecuteDockerCommand. |
| DrConfigSraFaultDockerCommandFailed | When there are issues with executing a 'docker' CLI command. See DockerCommandFailed. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DrConfigSraSraManager used to make the method call. |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a DrConfigConfigurationTask |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DrConfigSraSraManager used to make the method call. |
| imageId P | xsd:string |
The id of the image the info is requested for. This can be
either the sha256 id of the image, or the image repository tag
in the [REPOSITORY[:TAG]] format.
Since DrConfig API 3.0 |
Return Value
| Type | Description |
|---|---|
| DrConfigSraSraImageInfo | The SRA image info. |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| DrConfigSraFaultCannotCreateSraLogDirectory | When the SRA Log directory for the SRA image cannot be created. |
| DrConfigSraFaultCannotExecuteDockerCommand | When there are issues with the 'docker' CLI itself. See CannotExecuteDockerCommand. |
| DrConfigSraFaultDockerCommandFailed | When there are issues with executing a 'docker' CLI command. See DockerCommandFailed. |
| DrConfigSraFaultDockerImageDoesNotExist | When the image with the given id does not exist in the docker daemon. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DrConfigSraSraManager used to make the method call. |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a DrConfigConfigurationTask | ConfigurationTask object that can be used to monitor the operation. ConfigurationTask.info a collection of DrConfigSraSraImages describing the SRA images loaded into docker. |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| DrConfigFaultServiceBusy | Thrown if another configuration task is already running. |
Events
| Type | |
|---|---|
| None | |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DrConfigSraSraManager used to make the method call. |
| imageId P | xsd:string |
The docker image id of the source image. It can be either in the
[REPOSITORY:[TAG]] format or in the canonical sha256 format.
Since DrConfig API 3.0 |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| vmodl.RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| DrConfigSraFaultCannotExecuteDockerCommand | When there are issues with the 'docker' CLI itself. See CannotExecuteDockerCommand. |
| DrConfigSraFaultDockerCommandFailed | When there are issues with executing a 'docker' CLI command. See DockerCommandFailed. |
| DrConfigSraFaultDockerImageDoesNotExist | When the image with the given id does not exist in the docker daemon. |
Events
| Type | |
|---|---|
| None | |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |