Merge "Fix discrepancy in api-ref for volume_types APIs"
This commit is contained in:
commit
150b3b61ba
@ -1043,7 +1043,7 @@ extra_specs_1:
|
|||||||
include capabilities, capacity, compression, and so on, depending
|
include capabilities, capacity, compression, and so on, depending
|
||||||
on the storage driver in use.
|
on the storage driver in use.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: false
|
||||||
type: object
|
type: object
|
||||||
fail_reason:
|
fail_reason:
|
||||||
description: |
|
description: |
|
||||||
@ -1834,6 +1834,12 @@ name_9:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
name_10:
|
||||||
|
description: |
|
||||||
|
The name of the volume type.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
name_optional:
|
name_optional:
|
||||||
description: |
|
description: |
|
||||||
The name of the Volume Backup.
|
The name of the Volume Backup.
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
"volume_type": {
|
"volume_type": {
|
||||||
"name": "vol-type-001",
|
"name": "vol-type-001",
|
||||||
"description": "volume type 0001",
|
"description": "volume type 0001",
|
||||||
"is_public": true,
|
"os-volume-type-access:is_public": true,
|
||||||
|
"extra_specs": {
|
||||||
|
"capabilities": "gpu"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
"volume_type": {
|
"volume_type": {
|
||||||
"name": "vol-type-001",
|
"name": "vol-type-001",
|
||||||
"description": "volume type 0001",
|
"description": "volume type 0001",
|
||||||
"is_public": true,
|
"is_public": true
|
||||||
"extra_specs": {
|
|
||||||
"capabilities": "gpu"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,10 +36,9 @@ Request
|
|||||||
- project_id: project_id_path
|
- project_id: project_id_path
|
||||||
- volume_type_id: volume_type_id
|
- volume_type_id: volume_type_id
|
||||||
- volume_type: volume_type_1
|
- volume_type: volume_type_1
|
||||||
- name: name_7
|
- name: name_10
|
||||||
- description: description_15
|
- description: description_15
|
||||||
- is_public: is_public
|
- is_public: is_public
|
||||||
- extra_specs: extra_specs
|
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
---------------
|
---------------
|
||||||
@ -355,8 +354,9 @@ Request
|
|||||||
- volume_type: volume_type_1
|
- volume_type: volume_type_1
|
||||||
- project_id: project_id_path
|
- project_id: project_id_path
|
||||||
- name: name_7
|
- name: name_7
|
||||||
- is_public: is_public
|
- os-volume-type-access:is_public: is_public
|
||||||
- description: description_15
|
- description: description_15
|
||||||
|
- extra_specs: extra_specs_1
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
---------------
|
---------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user