Retrieves a list of OpenStack machines
GET/v1/cloudconfigs/openstack/:configUid/machinePools/:machinePoolName/machines
Retrieves a list of OpenStack machines
Request
Path Parameters
Cluster's cloud config uid
Machine pool name
Header Parameters
Scope the request to the specified project uid
Responses
- 200
An array of OpenStack machine items
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
items
object[]
required
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
spec
object
OpenStack cloud VM definition spec
instanceType
object
required
Instance flavor of the machine with cpu and memory info
DiskGiB is the size of a virtual machine's disk, in GiB
MemoryMiB is the size of a virtual machine's memory, in MiB
NumCPUs is the number of virtual processors in a virtual machine
nics
object[]
required
status
object
cloud machine status
health
object
Machine health state
conditions
object[]
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Possible values: [Pending
, Provisioning
, Provisioned
, Running
, Deleting
, Deleted
, Failed
, Unknown
]
maintenanceStatus
object
Machine maintenance status
{
"items": [
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-02T18:20:57.468Z",
"deletionTimestamp": "2024-07-02T18:20:57.468Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-02T18:20:57.468Z",
"name": "string",
"uid": "string"
},
"spec": {
"az": "string",
"image": "string",
"instanceType": {
"diskGiB": 0,
"memoryMiB": 0,
"name": "string",
"numCPUs": 0
},
"nics": [
{
"index": 0,
"networkName": "string",
"privateIPs": [
"string"
]
}
],
"projectId": "string",
"securityGroups": [
"string"
],
"sshKeyName": "string"
},
"status": {
"health": {
"conditions": [
{
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"lastHeartBeatTimestamp": "2024-07-02T18:20:57.468Z",
"state": "string"
},
"instanceState": "Pending",
"maintenanceStatus": {
"action": "string",
"message": "string",
"state": "string"
}
}
}
]
}