
HPE Morpheus ListVms
CertifiedEnterprise EditionList VM instances from HPE Morpheus
HPE Morpheus ListVms
List VM instances from HPE Morpheus
Fetches instances from Morpheus with optional filters and pagination. Defaults to a page size of 25 and fetchType=FETCH. Use FETCH_ONE to return only the first result, STORE to write results to internal storage and return a URI, or NONE to report only counts.
type: io.kestra.plugin.ee.hpe.morpheus.ListVmsExamples
List running VMs in a specific cloud.
id: list_morpheus_vms
namespace: company.team
tasks:
- id: list_vms
type: io.kestra.plugin.ee.hpe.morpheus.ListVms
url: "{{ secret('MORPHEUS_URL') }}"
accessToken: "{{ secret('MORPHEUS_TOKEN') }}"
filters:
status: "running"
limit: 50
fetchType: STORE
Properties
accessToken *Requiredstring
Morpheus API access token
Bearer token sent as Authorization: Bearer <value> for all requests.
url *Requiredstring
Morpheus base URL
Base URL of the HPE Morpheus instance (for example: https://morpheus.example.com). Must be reachable from the worker; trailing slash is optional.
fetchType string
FETCHSTOREFETCHFETCH_ONENONEFetch type
FETCH_ONE outputs the first row, FETCH outputs all rows, STORE saves rows to internal storage and returns a URI, NONE returns only counts.
filters object
Filters
Query filters passed to Morpheus (for example: status, name, zoneId, siteId, instanceType). Empty map fetches all instances.
limit integerstring
25Limit
Page size used for Morpheus pagination; defaults to 25.
options Non-dynamic
HTTP client configuration
Optional HTTP client overrides (timeouts, TLS, proxies). Uses platform defaults when omitted.
io.kestra.core.http.client.configurations.HttpConfiguration
falseIf true, allow a failed response code (response code >= 400)
List of response code allowed for this request
The authentication to use.
io.kestra.core.http.client.configurations.BasicAuthConfiguration
The password for HTTP basic authentication.
The username for HTTP basic authentication.
io.kestra.core.http.client.configurations.BearerAuthConfiguration
The token for bearer token authentication.
io.kestra.core.http.client.configurations.DigestAuthConfiguration
The password for HTTP Digest authentication.
The username for HTTP Digest authentication.
UTF-8The default charset for the request.
java.nio.charset.Charset
trueWhether to enable TCP Keep-Alive extended socket options (TCP_KEEPIDLE, TCP_KEEPINTERVAL, TCP_KEEPCOUNT).
Set to false when running on Windows workers, as these extended socket options are not supported by the Windows JDK and will cause connection failures.
trueWhether redirects should be followed automatically.
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODYThe enabled log.
The proxy configuration.
io.kestra.core.http.client.configurations.ProxyConfiguration
The address of the proxy server.
The password for proxy authentication.
The port of the proxy server.
DIRECTDIRECTHTTPSOCKSThe type of proxy to use.
The username for proxy authentication.
The SSL request options
io.kestra.core.http.client.configurations.SslOptions
Whether to disable checking of the remote SSL certificate.
Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.
The timeout configuration.
io.kestra.core.http.client.configurations.TimeoutConfiguration
The time allowed to establish a connection to the server before failing.
PT5MThe time allowed for a read connection to remain idle before closing it.
Outputs
row object
First row
Populated only when fetchType=FETCH_ONE.
rows array
Fetched rows
Populated only when fetchType=FETCH.
size integer
Rows fetched
Size of the fetched result set.
total integer
Total rows available
Total number of instances available without pagination.
uri string
uriStored data URI
Populated only when fetchType=STORE.