Merge "Fix 'volume_type' for in the api-ref"

This commit is contained in:
Zuul 2018-01-16 04:06:36 +00:00 committed by Gerrit Code Review
commit 21ff560c19
6 changed files with 24 additions and 12 deletions

View File

@ -133,6 +133,12 @@ volume_type:
in: path in: path
required: false required: false
type: string type: string
volume_type_access:
description: |
The ID of Volume Type to be accessed by project.
in: path
required: true
type: string
volume_type_id: volume_type_id:
description: | description: |
The UUID for an existing volume type. The UUID for an existing volume type.

View File

@ -30,7 +30,7 @@ Request
- project: project - project: project
- project_id: project_id_path - project_id: project_id_path
- volume_type: volume_type - volume_type: volume_type_access
Request Example Request Example
--------------- ---------------
@ -56,7 +56,7 @@ Request
- project: project - project: project
- project_id: project_id_path - project_id: project_id_path
- volume_type: volume_type - volume_type: volume_type_access
Request Example Request Example
--------------- ---------------
@ -82,7 +82,7 @@ Request
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- project_id: project_id_path - project_id: project_id_path
- volume_type: volume_type - volume_type: volume_type_access
Response Parameters Response Parameters

View File

@ -194,6 +194,12 @@ volume_type:
in: path in: path
required: false required: false
type: string type: string
volume_type_access:
description: |
The ID of Volume Type to be accessed by project.
in: path
required: true
type: string
volume_type_id: volume_type_id:
description: | description: |
The UUID for an existing volume type. The UUID for an existing volume type.

View File

@ -74,7 +74,7 @@ Request
- gigabytes: maxTotalVolumeGigabytesOptional - gigabytes: maxTotalVolumeGigabytesOptional
- snapshots: maxTotalSnapshotsOptional - snapshots: maxTotalSnapshotsOptional
- volumes: maxTotalVolumesOptional - volumes: maxTotalVolumesOptional
- volume-type: volume_type - volume-type: volume_type_2
Request Example Request Example
--------------- ---------------

View File

@ -30,7 +30,7 @@ Request
- project: project - project: project
- project_id: project_id_path - project_id: project_id_path
- volume_type: volume_type - volume_type: volume_type_access
Request Example Request Example
--------------- ---------------
@ -56,7 +56,7 @@ Request
- project: project - project: project
- project_id: project_id_path - project_id: project_id_path
- volume_type: volume_type - volume_type: volume_type_access
Request Example Request Example
--------------- ---------------
@ -82,7 +82,7 @@ Request
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- project_id: project_id_path - project_id: project_id_path
- volume_type: volume_type - volume_type: volume_type_access
Response Parameters Response Parameters

View File

@ -122,7 +122,7 @@ Response Parameters
- created_at: created_at - created_at: created_at
- os-volume-replication:driver_data: os-volume-replication:driver_data - os-volume-replication:driver_data: os-volume-replication:driver_data
- volumes: volumes - volumes: volumes
- volume_type: volume_type - volume_type: volume_type_6
- count: count - count: count
@ -191,7 +191,7 @@ Request
- backup_id: backup_id_1 - backup_id: backup_id_1
- name: name_13 - name: name_13
- imageRef: imageRef - imageRef: imageRef
- volume_type: volume_type - volume_type: volume_type_2
- metadata: metadata - metadata: metadata
- consistencygroup_id: consistencygroup_id - consistencygroup_id: consistencygroup_id
- OS-SCH-HNT:scheduler_hints: OS-SCH-HNT:scheduler_hints - OS-SCH-HNT:scheduler_hints: OS-SCH-HNT:scheduler_hints
@ -230,7 +230,7 @@ Response Parameters
- name: name_13 - name: name_13
- bootable: bootable_response - bootable: bootable_response
- created_at: created_at - created_at: created_at
- volume_type: volume_type - volume_type: volume_type_6
Response Example Response Example
---------------- ----------------
@ -346,7 +346,7 @@ Response Parameters
- bootable: bootable_response - bootable: bootable_response
- created_at: created_at - created_at: created_at
- os-volume-replication:driver_data: os-volume-replication:driver_data - os-volume-replication:driver_data: os-volume-replication:driver_data
- volume_type: volume_type - volume_type: volume_type_6
- service_uuid: service_uuid - service_uuid: service_uuid
- shared_targets: shared_targets - shared_targets: shared_targets
@ -417,7 +417,7 @@ Response Parameters
- name: name_13 - name: name_13
- bootable: bootable_response - bootable: bootable_response
- created_at: created_at - created_at: created_at
- volume_type: volume_type - volume_type: volume_type_6