magnum/api-ref/source/parameters.yaml

169 lines
3.8 KiB
YAML

request_id:
type: UUID
in: header
required: true
description: |
A unique ID for tracking service request. The request ID associated
with the request by default appears in the service logs.
bay_cluster_id:
type: UUID
in: body
required: true
description: |
The UUID of the bay/cluster.
binary:
type: string
in: body
required: true
description: |
The name of the binary form of the Magnum service.
created_at:
description: |
The date and time when the resource was created.
The date and time stamp format is `ISO 8601
<https://en.wikipedia.org/wiki/ISO_8601>`_:
::
CCYY-MM-DDThh:mm:ss±hh:mm
For example, ``2015-08-27T09:49:58-05:00``.
The ``±hh:mm`` value, if included, is the time zone as an offset
from UTC.
in: body
required: true
type: string
csr:
description: |
Certificate Signing Request (CSR) for authenticating client key.
The CSR will be used by Magnum to generate a signed certificate
that client will use to communicate with the Bay/Cluster.
in: body
required: true
type: string
description:
description: |
Descriptive text about the Magnum service.
in: body
required: true
type: string
disabled_reason:
description: |
The disable reason of the service, ``null`` if the service is enabled or
disabled without reason provided.
in: body
required: true
type: string
host:
description: |
The host for the service.
in: body
required: true
type: string
id_s:
description: |
The ID of the Magnum service.
in: body
required: true
type: string
links:
description: |
Links to the resources in question.
in: body
required: true
type: array
mservices:
description: |
A list of Magnum services.
in: body
required: true
type: array
name:
description: |
Name of the Container Infrastructure Management API.
in: body
required: true
type: string
pem:
description: |
CA certificate for the bay/cluster.
in: body
required: true
type: string
report_count:
description: |
The total number of report.
in: body
required: true
type: integer
state:
description: |
The current state of Magnum services.
in: body
required: true
type: string
updated_at:
description: |
The date and time when the resource was updated.
The date and time stamp format is `ISO 8601
<https://en.wikipedia.org/wiki/ISO_8601>`_:
::
CCYY-MM-DDThh:mm:ss±hh:mm
For example, ``2015-08-27T09:49:58-05:00``.
The ``±hh:mm`` value, if included, is the time zone as an offset
from UTC. In the previous example, the offset value is ``-05:00``.
If the ``updated_at`` date and time stamp is not set, its value is
``null``.
in: body
required: true
type: string
version:
description: |
The version.
in: body
required: true
type: string
version_id:
type: string
in: body
required: true
description: >
A common name for the version in question. Informative only, it
has no real semantic meaning.
version_max:
type: string
in: body
required: true
description: >
If this version of the API supports microversions, the maximum
microversion that is supported. This will be the empty string if
microversions are not supported.
version_min:
type: string
in: body
required: true
description: >
If this version of the API supports microversions, the minimum
microversion that is supported. This will be the empty string if
microversions are not supported.
version_status:
type: string
in: body
required: true
description: |
The status of this API version. This can be one of:
- ``CURRENT``: this is the preferred version of the API to use
- ``SUPPORTED``: this is an older, but still supported version of the API
- ``DEPRECATED``: a deprecated version of the API that is slated for removal