Adress some typo for multi-instance-create api-ref

Some syntax mistakes and typo in api-ref, rename 'server' to instance
and so on

Change-Id: I5f4b38658a17fd62531beac493a8d068a708087e
This commit is contained in:
Tao Li 2017-02-17 15:48:00 +08:00
parent 145adf1a14
commit 80792f4df5
2 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ There is a second kind of create call which can create multiple instances
at once. This supports all the same parameters as create with a few additional at once. This supports all the same parameters as create with a few additional
attributes specific to multiple create. attributes specific to multiple create.
Error handling for multiple create is not as consistent as for single server Error handling for multiple create is not as consistent as for single instance
create, and there is no guarantee that all the instances will be created create, and there is no guarantee that all the instances will be created
successfully. successfully.
@ -98,8 +98,8 @@ These are the parameters beyond single create that are supported.
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- name: multi_instacne_name_body - name: multi_instacne_name_body
- min_count(Optional): min_count_body - min_count: min_count_body
- max_count(Optional): max_count_body - max_count: max_count_body
**Example Create Multiple Instance: JSON request** **Example Create Multiple Instance: JSON request**
@ -109,7 +109,7 @@ These are the parameters beyond single create that are supported.
Response Response
-------- --------
The first instace will be returned. The returned paramaters is same to creating The first instance will be returned. The returned paramaters is same to creating
a single instance's. a single instance's.
**Example Create Multiple Instance: JSON response** **Example Create Multiple Instance: JSON response**

View File

@ -192,13 +192,13 @@ lock_state:
type: boolean type: boolean
max_count_body: max_count_body:
description: | description: |
The max number of servers to be created. Defaults to the value of ``min_count``. The max number of instances to be created. Defaults to the value of ``min_count``.
in: body in: body
required: false required: false
type: integer type: integer
min_count_body: min_count_body:
description: | description: |
The min number of servers to be created. Defaults to 1. The min number of instances to be created. Defaults to 1.
in: body in: body
required: false required: false
type: integer type: integer