diff --git a/api-ref/src/docbkx/ch_database-v1.xml b/api-ref/src/docbkx/ch_database-v1.xml index c4d8e8a3a..356539a09 100644 --- a/api-ref/src/docbkx/ch_database-v1.xml +++ b/api-ref/src/docbkx/ch_database-v1.xml @@ -10,43 +10,50 @@
ACTIVE, PAUSED,
+ SHUTOFF, VERIFY_RESIZE, or
+ SOFT_DELETED status.
+ available status.
+ in-use.
+ available
+ state, the request failed. Ensure that you meet the
+ preconditions and run the request again. If the
+ request fails again, investigate the server and the
+ volume status.
+ /dev/vdb. Omit or set this
+ parameter to null for auto-assignment, if supported. If you specify
+ this parameter, the device must not exist in the guest operating system.
+ ACTIVE, PAUSED,
+ SHUTOFF, VERIFY_RESIZE, or
+ SOFT_DELETED.
+ in-use.
+ available.
+ available
+ state, the request failed. Ensure that you meet the
+ preconditions and run the request again. If the
+ request fails again, investigate whether another
+ operation is running that causes a race condition.
+ Forbidden (403)
+ response code.
+ instance object.
+ flavorRef
+ value. For example, 1.
+ databases object.
+ lost+found,
+ information_schema, or mysql database
+ name to create a database because these names are reserved for
+ system databases.
+ @, ?, #, and spaces
+ except at the beginning or end of the database name.
+ _ is allowed anywhere in the database name.
+ utf8.
+ utf8_general_ci.
+ users object.
+ instance object.
+ flavor object, which includes the flavor ID
+ (integer) and flavor relative links.
+ databases object.
+ lost+found,
+ information_schema, or mysql database
+ name to create a database because these names are reserved for
+ system databases.
+ @, ?, #, and spaces
+ except at the beginning or end of the database name.
+ _ is allowed anywhere in the database name.
+ utf8.
+ utf8_general_ci.
+ users object.
+ instance object.
- flavorRef. For example, the flavor ID
- for the flavor URI shown above is 1.
- databases
- object.utf8.utf8_general_ci.users
- object.self link contains a
- bookmark
- link provides a permanent link to a resource that is
- appropriate for long-term storage.
+ them. Resources can have these link relations:
self link contains a
+ bookmark
+ link provides a permanent link to a resource that is
+ appropriate for long-term storage.
+ REBUILDING or BUILDING.
+ You cannot complete this operation when the instance state
+ is either REBUILDING or
+ BUILDING.
used value is
greater than 0, which is expected and due to the automatic
creation of non-empty transaction logs for MySQL
- optimization. The used attribute is
- BUILD,
- REBOOT, RESIZE, or
- ERROR.
+ optimization. The response does not include the
+ used attribute when the instance status is
+ BUILD, REBOOT,
+ RESIZE, or ERROR.
Accepted
+ (202) response code.
name of the database is a required attribute.
name of the
- database is a required attribute.
- collate and character_set.
- | Name | -Description | -Required | -||
| name | -Specifies the database name - for creating the database. See the request - examples for the required xml/json - format. | -Yes | -||
| character_set | -Set of symbols and encodings.
- The default character set is
- utf8. |
- No | -||
| collate | -Set of rules for comparing
- characters in a character set. The default
- value for collate is
- utf8_general_ci. |
- No | -||
lost+found,
- information_schema, and mysql
- database names are reserved and cannot be used to create
- databases.
- | Character | -
| Letters (upper and lower cases - allowed) | -
| Numbers | -
| '@', '?', '#', and spaces are allowed, but
- |
-
| '_' is allowed anywhere in the database - name | -
| Character | -
| Single quotes | -
| Double quotes | -
| Back quotes | -
| Semicolons | -
| Commas | -
| Back slashes | -
| Forward slashes | -
| Restriction | -Value | -
| Database-name maximum length | -64 | -
mysql,
+ information_schema, and
+ lost+found system databases.
+ Accepted (202) response code.
+ Bad Request (400)response code with
+ information about the nature of the failure. You cannot
+ recover from validation errors. You must correct the cause of
+ the failure and the request again.
+ | Applies To | +Applies to | Name | Description | Required | @@ -952,22 +711,27 @@|
root user name, which is reserved.
+ | Numbers | |
| '@', '?', '#', and spaces are allowed, but + | @, ?, #, and spaces are allowed, but
|
| "_" is allowed anywhere in the database + | _ is allowed anywhere in the database
name, user name, and password |