...
- Description
- Returns the name of the current image that is loaded on the resource.
- The name corresponds to the imagerevision.imagename column in the database.
- Returning a name implies that the resource is accessible.
- Expected Beginning State
- Expected Ending State
- The resource state should be identical to before get_current_image_name was called.
- Called By
- Provisioning module's own get_current_image_namenode_status() subroutine.
- Used to determine if the OS and provisioning engine agree on the current image loaded on a resource.
- Can be used to determine if a resource is accessible. A valid string will be returned if the resource is accessible.
- Arguments & Calling Environment
- Must only be called as an object method of an OS object ($os->get_current_image_name())
- No arguments
- Return Values
- String
- String contains a VCL image name
- 0
- Computer is accessible but failed to determine the current loaded image
- Undefined
- Computer is not accessible
...
{"serverDuration": 133, "requestCorrelationId": "d3fd4b13859a3807"}