Code | Description |
yyyy | Four digit year |
MM | Two digit month |
dd | Two digit day of month |
T | Separator for date/time |
HH | Two digit hour of day (00-23) |
mm | Two digit minutes of hour |
ss | Two digit seconds of the minute |
SSS | Three digit milliseconds of the second |
Z | RFC-822 timezone |
?limit=10&marker=1234
. Items are
displayed sorted by ID. {"href": "<url>", "rel": "next"}
.
Any response that is truncated by pagination will have
a ?limit=2
), so the responses
that follow each show 2 instances and return a
?marker=4137d6a4-03b7-4b66-b0ef-8c7c35c470d3
).
Also a link is provided to retrieve the next 2 results
(limit=2
) in the link element
identified by the attribute rel="next"
(XML) or "rel":"next"
(JSON):badRequest
unauthorized
forbidden
itemNotFound
badMethod
overLimit
details
element for more specifics. Contact support
if you think you need higher request rate limits.badMediaType
unprocessableEntity
instanceFault
notImplemented
serviceUnavailable
instanceFault
examples show errors when the server has erred or
cannot perform the requested operation:code
) is returned in the body of the response for
convenience. The message
element returns a human-readable message that
is appropriate for display to the end user. The details
element is
optional and may contain information that is useful for tracking down an error, such
as a stack trace. The details
element may or may not be appropriate for
display to an end user, depending on the role and experience of the end user.instanceFault
) may change depending
on the type of error. badRequest
examples
show errors when the volume size is invalid:itemNotFound
errors:/
/{version}
/instances
/instances
/instances/{instanceId}
/instances/{instanceId}
/instances/{instanceId}/root
/instances/{instanceId}/root
/instances/{instanceId}/action
/instances/{instanceId}/action
/instances/{instanceId}/action
/instances/{instanceId}/databases
/instances/{instanceId}/databases
/instances/{instanceId}/databases/{databaseName}
/instances/{instanceId}/users
/instances/{instanceId}/users
/instances/{instanceId}/users
/instances/{instanceId}/users/{name}
/instances/{instanceId}/users/{name}
/instances/{instanceId}/users/{name}/databases
/instances/{instanceId}/users/{name}/databases
/instances/{instanceId}/users/{name}/databases/{databaseName}
/flavors
/flavors/{flavorId}
/
/{version}
/
/{version}
/instances
/instances
/instances/{instanceId}
/instances/{instanceId}
/instances/{instanceId}/root
/instances/{instanceId}/root
/instances
Applies To | Name | Description | Required | ||
Instance | flavorRef |
|
Yes | ||
(volume) size | Specifies the volume size in gigabytes (GB). The value specified must be between 1 and 50. | Yes | |||
name | Name of the instance to create. The length of the name is limited to 255 characters and any characters are permitted. | No | |||
Database | name | Specifies |
No | ||
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 | |||
User | name | Specifies user name for the database on instance creation. Refer to |
No | ||
password | Specifies password for those users on instance creation. Refer to |
No | |||
(database) name | Specifies names of databases that those users can access on instance creation. Refer to |
No |
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
self
link contains a bookmark
link provides a permanent link to a resource that is appropriate for long term storage./instances
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
/instances/{instanceId}
used
size of your volume will be
greater than 0. This is expected and due to the automatic creation of
non-empty transaction logs for mysql optimization. The used
attribute is Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}
BUILD
.Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/root
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/root
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/action
/instances/{instanceId}/action
/instances/{instanceId}/action
/instances/{instanceId}/action
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/action
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/action
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/databases
/instances/{instanceId}/databases
/instances/{instanceId}/databases/{databaseName}
/instances/{instanceId}/databases
name
of the database is a required attribute.collate
and character_set
.Name | Description | Required | ||
name | Specifies the database name for creating the database. Refer to 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 |
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 |
Backslashes |
Forwardslashes |
Restriction | Value |
Database-name maximum length | 64 |
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/databases
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/databases/{databaseName}
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
databaseName
|
Template | String |
|
/instances/{instanceId}/users
/instances/{instanceId}/users
/instances/{instanceId}/users
/instances/{instanceId}/users/{name}
/instances/{instanceId}/users/{name}
/instances/{instanceId}/users/{name}/databases
/instances/{instanceId}/users/{name}/databases
/instances/{instanceId}/users/{name}/databases/{databaseName}
/instances/{instanceId}/users
Applies To | Name | Description | Required | |
User | name | Name of the user for the database. | Yes | |
password | User password for database access. | Yes | ||
(database) name |
|
No |
Character |
Letters (upper and lower cases allowed) |
Numbers |
'@', '?', '#', and spaces are allowed, but |
"_" is allowed anywhere in the database name, user name, and password |
Character |
Single quotes |
Double quotes |
Back quotes |
Semicolons |
Commas |
Backslashes |
Forwardslashes |
Spaces at the front or end of the user name or password |
Restriction | Value |
Database name maximum length | 64 |
User name maximum length | 16 |
Password maximum length | unlimited (no restrictions) |
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/users
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/users
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
/instances/{instanceId}/users/{name}
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
name
|
Template | String |
|
/instances/{instanceId}/users/{name}
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
name
|
Template | String |
|
/instances/{instanceId}/users/{name}/databases
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
name
|
Template | String |
|
/instances/{instanceId}/users/{name}/databases
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
name
|
Template | String |
|
/instances/{instanceId}/users/{name}/databases/{databaseName}
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
instanceId
|
Template | String |
|
name
|
Template | String |
|
databaseName
|
Template | String |
|
/flavors
/flavors/{flavorId}
/flavors
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
/flavors/{flavorId}
Name | Style | Type | Description |
---|---|---|---|
tenantId
|
Template | String |
|
flavorId
|
Template | String |
|