
Change-Id: I3b0eb2103c89610ec494ac33407e8a7969af1164 Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
332 lines
7.1 KiB
YAML
Executable File
332 lines
7.1 KiB
YAML
Executable File
# variables in path
|
|
accountId:
|
|
description: |
|
|
The account ID of the owner of the instance.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
configId:
|
|
description: |
|
|
The ID of the configuration group.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
databaseName:
|
|
description: |
|
|
The name for the database.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
datastore_name:
|
|
description: |
|
|
The name of the data store.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
datastore_version_id:
|
|
description: |
|
|
The UUID of the data store version.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
flavorId:
|
|
description: |
|
|
The ID for the flavor.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
instanceId:
|
|
description: |
|
|
The ID for the database instance.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
parameter_name:
|
|
description: |
|
|
The name of the parameter for which to show
|
|
details.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
user_name:
|
|
description: |
|
|
The name of the user.
|
|
in: path
|
|
required: false
|
|
type: string
|
|
# variables in body
|
|
characterSet:
|
|
description: |
|
|
A set of symbols and encodings. Default is
|
|
``utf8``. For information about supported character sets and
|
|
collations, see `Character Sets and Collations in MySQL
|
|
<http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html>`_.
|
|
in: body
|
|
required: false
|
|
type: string
|
|
collate:
|
|
description: |
|
|
A set of rules for comparing characters in a
|
|
character set. Default is ``utf8_general_ci``. For information
|
|
about supported character sets and collations, see `Character Sets
|
|
and Collations in MySQL <http://dev.mysql.com/doc/refman/5.1/en
|
|
/charset-mysql.html>`_.
|
|
in: body
|
|
required: false
|
|
type: string
|
|
configuration:
|
|
description: |
|
|
ID of the configuration group that you want to
|
|
attach to the instance.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
created:
|
|
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 the previous example, the offset value is ``-05:00``.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
databases:
|
|
description: |
|
|
A ``databases`` object.
|
|
in: body
|
|
required: false
|
|
type: array
|
|
datastore:
|
|
description: |
|
|
Data store assigned to the configuration group.
|
|
Required if you did not configure the default data store.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
datastore_version:
|
|
description: |
|
|
Name of the datastore version to use when
|
|
creating the instance.
|
|
in: body
|
|
required: false
|
|
type: string
|
|
datastore_version1:
|
|
description: |
|
|
Name or ID of a datastore version.
|
|
in: body
|
|
required: false
|
|
type: string
|
|
description:
|
|
description: |
|
|
New description of the configuration group.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
flavor:
|
|
description: |
|
|
A ``flavor`` object, which includes the flavor ID
|
|
(integer) and flavor relative links.
|
|
in: body
|
|
required: true
|
|
type: object
|
|
flavorRef:
|
|
description: |
|
|
Reference (href), which is the actual URI to a
|
|
flavor as it appears in the list flavors response. Rather than
|
|
the flavor URI, you can also pass the flavor ID (integer) as the
|
|
``flavorRef`` value. For example, ``1``.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
instance:
|
|
description: |
|
|
An ``instance`` object.
|
|
in: body
|
|
required: true
|
|
type: object
|
|
instance_log:
|
|
description: |
|
|
A ``log`` objects.
|
|
in: body
|
|
required: true
|
|
type: array
|
|
instance_logs:
|
|
description: |
|
|
A list of ``log`` objects.
|
|
in: body
|
|
required: true
|
|
type: array
|
|
instanceName:
|
|
description: |
|
|
Name of the instance.
|
|
in: body
|
|
required: false
|
|
type: string
|
|
log_container:
|
|
description: |
|
|
The object store container where the published
|
|
log data will be stored. Defaults to ``None``
|
|
before the log has been published.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
log_disable_action:
|
|
description: |
|
|
To disable a log type, this should always set to 1.
|
|
in: body
|
|
required: false
|
|
type: integer
|
|
log_discard_action:
|
|
description: |
|
|
To discard a log type which has been published previously,
|
|
this should always set to 1.
|
|
in: body
|
|
required: false
|
|
type: integer
|
|
log_enable_action:
|
|
description: |
|
|
To enable a log type, this should always set to 1.
|
|
in: body
|
|
required: false
|
|
type: integer
|
|
log_metafile:
|
|
description: |
|
|
The log metafile location.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
log_name:
|
|
description: |
|
|
The name of the log.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
log_pending_size:
|
|
description: |
|
|
Log file size pending to be published.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
log_prefix:
|
|
description: |
|
|
If the log has been published, thi is the prefix location
|
|
of where the log data are stored. Otherwize the prefix is
|
|
``None``.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
log_publish_action:
|
|
description: |
|
|
To publish a log type, this should always set to 1.
|
|
in: body
|
|
required: false
|
|
type: integer
|
|
log_published_size:
|
|
description: |
|
|
Published size of the log.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
log_status:
|
|
description: |
|
|
The log status.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
log_type:
|
|
description: |
|
|
The type of the log.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
name:
|
|
description: |
|
|
Name of the configuration group you are creating.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
password:
|
|
description: |
|
|
The password for those users on instance
|
|
creation.
|
|
in: body
|
|
required: false
|
|
type: string
|
|
replica_count:
|
|
description: |
|
|
Number of replicas to create (defaults to 1).
|
|
in: body
|
|
required: false
|
|
type: integer
|
|
replica_of:
|
|
description: |
|
|
ID or name of an existing instance to replicate
|
|
from.
|
|
in: body
|
|
required: false
|
|
type: string
|
|
size:
|
|
description: |
|
|
The volume size, in gigabytes (GB). A valid value
|
|
is from 1 to 50.
|
|
in: body
|
|
required: true
|
|
type: integer
|
|
slave_of:
|
|
description: |
|
|
To detach a replica, set ``slave_of`` to null.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
type:
|
|
description: |
|
|
The volume type to use. You can list the
|
|
available volume types on your system by using the ``cinder type-
|
|
list`` command. If you want to specify a volume type, you must
|
|
also specify a volume size.
|
|
in: body
|
|
required: false
|
|
type: string
|
|
updated:
|
|
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
|
|
|
|
The ``±hh:mm`` value, if included, is the time zone as an offset
|
|
from UTC.
|
|
|
|
For example, ``2015-08-27T09:49:58-05:00``.
|
|
|
|
The UTC time zone is assumed.
|
|
in: body
|
|
required: true
|
|
type: string
|
|
users:
|
|
description: |
|
|
A ``users`` object.
|
|
in: body
|
|
required: true
|
|
type: array
|
|
values:
|
|
description: |
|
|
Dictionary that lists configuration parameter
|
|
names and associated values.
|
|
in: body
|
|
required: true
|
|
type: string
|