Merge "api-ref: Parameter verification for servers-actions (3/4)"
This commit is contained in:
@@ -2217,6 +2217,14 @@ flavorRef:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
flavorRef_resize:
|
||||||
|
description: |
|
||||||
|
The flavor ID for resizing the server.
|
||||||
|
If a specified flavor ID is the same as the current one of the server,
|
||||||
|
the request returns a ``Bad Request (400)`` response code.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
flavors:
|
flavors:
|
||||||
description: |
|
description: |
|
||||||
An array of flavor objects.
|
An array of flavor objects.
|
||||||
@@ -4084,10 +4092,10 @@ removeFloatingIp:
|
|||||||
type: object
|
type: object
|
||||||
removeSecurityGroup:
|
removeSecurityGroup:
|
||||||
description: |
|
description: |
|
||||||
The action.
|
The action to remove a security group from the server.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: object
|
||||||
removeTenantAccess:
|
removeTenantAccess:
|
||||||
description: |
|
description: |
|
||||||
The action.
|
The action.
|
||||||
@@ -4143,10 +4151,10 @@ resetNetwork:
|
|||||||
type: none
|
type: none
|
||||||
resize:
|
resize:
|
||||||
description: |
|
description: |
|
||||||
The action.
|
The action to resize a server.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: object
|
||||||
restore:
|
restore:
|
||||||
description: |
|
description: |
|
||||||
The action.
|
The action.
|
||||||
@@ -4155,7 +4163,7 @@ restore:
|
|||||||
type: none
|
type: none
|
||||||
resume:
|
resume:
|
||||||
description: |
|
description: |
|
||||||
The action.
|
The action to resume a suspended server.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: none
|
type: none
|
||||||
@@ -4168,7 +4176,7 @@ return_reservation_id:
|
|||||||
type: boolean
|
type: boolean
|
||||||
revertResize:
|
revertResize:
|
||||||
description: |
|
description: |
|
||||||
The action.
|
The action to revert a resize operation.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: none
|
type: none
|
||||||
|
@@ -646,6 +646,8 @@ Request
|
|||||||
|
|
||||||
- server_id: server_id_path
|
- server_id: server_id_path
|
||||||
- resize: resize
|
- resize: resize
|
||||||
|
- flavorRef: flavorRef_resize
|
||||||
|
- OS-DCF:diskConfig: OS-DCF:diskConfig
|
||||||
|
|
||||||
**Example Resize Server (Resize Action)**
|
**Example Resize Server (Resize Action)**
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user