Merge "Api-ref: Fix incorrect api params description"
This commit is contained in:
commit
c949ac65a8
@ -624,7 +624,7 @@ Response Example
|
|||||||
Add security group for specified container
|
Add security group for specified container
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
.. rest_method:: POST /v1/containers/{container_ident}/add_securtiy_group?name=security_group
|
.. rest_method:: POST /v1/containers/{container_ident}/add_securtiy_group?name={security_group}
|
||||||
|
|
||||||
Add security group for specified container.
|
Add security group for specified container.
|
||||||
|
|
||||||
@ -648,7 +648,7 @@ Request
|
|||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- container_ident: container_ident
|
- container_ident: container_ident
|
||||||
- security_group: security_groups
|
- security_group: security_group_query
|
||||||
|
|
||||||
Response
|
Response
|
||||||
--------
|
--------
|
||||||
|
@ -11,6 +11,12 @@ container_ident:
|
|||||||
in: path
|
in: path
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
host_ident:
|
||||||
|
description: |
|
||||||
|
The UUID or name of host in Zun.
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
force:
|
force:
|
||||||
description: |
|
description: |
|
||||||
Specify to delete container forcefully.
|
Specify to delete container forcefully.
|
||||||
@ -29,6 +35,30 @@ network:
|
|||||||
in: query
|
in: query
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
new_name:
|
||||||
|
description: |
|
||||||
|
The new name for the container.
|
||||||
|
in: query
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
repository:
|
||||||
|
description: |
|
||||||
|
The reposiroty of the container image.
|
||||||
|
in: query
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
security_group_query:
|
||||||
|
description: |
|
||||||
|
Security groups to be added to the container.
|
||||||
|
in: query
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
tag:
|
||||||
|
description: |
|
||||||
|
The tag of the container image.
|
||||||
|
in: query
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
timeout:
|
timeout:
|
||||||
description: |
|
description: |
|
||||||
Seconds to wait before operating on container.
|
Seconds to wait before operating on container.
|
||||||
@ -125,12 +155,6 @@ host:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
host_ident:
|
|
||||||
description: |
|
|
||||||
The UUID or name of host in Zun.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
host_list:
|
host_list:
|
||||||
description: |
|
description: |
|
||||||
The host information list, including hostname, uuid, links, labels,
|
The host information list, including hostname, uuid, links, labels,
|
||||||
@ -222,12 +246,6 @@ nets:
|
|||||||
requested as strings for the networks value, not in a list.
|
requested as strings for the networks value, not in a list.
|
||||||
in: body
|
in: body
|
||||||
type: object
|
type: object
|
||||||
new_name:
|
|
||||||
description: |
|
|
||||||
The new name for the container.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
ports:
|
ports:
|
||||||
description: |
|
description: |
|
||||||
The ports exposed on the container.
|
The ports exposed on the container.
|
||||||
@ -240,11 +258,6 @@ report_count:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
repository:
|
|
||||||
description: |
|
|
||||||
The reposiroty of the container image.
|
|
||||||
in: body
|
|
||||||
type: string
|
|
||||||
restart_policy:
|
restart_policy:
|
||||||
description: |
|
description: |
|
||||||
Restart policy to apply when a container exits. Allowed values are
|
Restart policy to apply when a container exits. Allowed values are
|
||||||
@ -306,12 +319,6 @@ status_reason:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
tag:
|
|
||||||
description: |
|
|
||||||
The tag of the container image.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
task_state:
|
task_state:
|
||||||
description: |
|
description: |
|
||||||
The current task of the container.
|
The current task of the container.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user