Merge "API-REF:os-quota-sets v2 API reference has the wrong parameters"

This commit is contained in:
Zuul 2018-10-10 02:23:18 +00:00 committed by Gerrit Code Review
commit deb3c99107
2 changed files with 92 additions and 62 deletions

View File

@ -324,6 +324,12 @@ backups:
in: body in: body
required: true required: true
type: array type: array
backups_number:
description: |
The number of backups that are allowed for each project.
in: body
required: true
type: integer
bootable: bootable:
description: | description: |
Enables or disables the bootable attribute. You Enables or disables the bootable attribute. You
@ -630,6 +636,25 @@ free_capacity:
in: body in: body
required: true required: true
type: string type: string
gigabytes:
description: |
The size (GB) of volumes and snapshots that are allowed for each project.
in: body
required: true
type: integer
gigabytes_for_type:
description: |
The size (GB) of volumes and snapshots that are allowed for each project
and the specified volume type.
in: body
required: true
type: integer
groups_number:
description: |
The number of groups that are allowed for each project.
in: body
required: true
type: integer
has_dependent_backups: has_dependent_backups:
description: | description: |
If this value is ``true``, there are other backups depending on If this value is ``true``, there are other backups depending on
@ -1521,6 +1546,19 @@ snapshot_id_2:
in: body in: body
required: false required: false
type: string type: string
snapshots_number:
description: |
The number of snapshots that are allowed for each project.
in: body
required: true
type: integer
snapshots_number_for_type:
description: |
The number of snapshots that are allowed for each project and
the specified volume type.
in: body
required: true
type: integer
source_cgid: source_cgid:
description: | description: |
The UUID of the source consistency group. The UUID of the source consistency group.
@ -1854,3 +1892,16 @@ volumes:
in: body in: body
required: true required: true
type: array type: array
volumes_number:
description: |
The number of volumes that are allowed for each project.
in: body
required: true
type: integer
volumes_number_for_type:
description: |
The number of volumes that are allowed for each project and
the specified volume type.
in: body
required: true
type: integer

View File

@ -37,23 +37,18 @@ Response Parameters
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- injected_file_content_bytes: injected_file_content_bytes
- metadata_items: metadata_items
- reserved: reserved
- in_use: in_use
- ram: ram
- floating_ips: floating_ips
- key_pairs: key_pairs
- injected_file_path_bytes: injected_file_path_bytes
- instances: instances
- security_group_rules: security_group_rules
- injected_files: injected_files
- quota_set: quota_set - quota_set: quota_set
- cores: cores
- fixed_ips: fixed_ips
- id: project_id - id: project_id
- security_groups: security_groups - volumes: volumes_number
- volumes_{volume_type}: volumes_number_for_type
- snapshots: snapshots_number
- snapshots_{volume_type}: snapshots_number_for_type
- backups: backups_number
- groups: groups_number
- per_volume_gigabytes: per_volume_gigabytes
- gigabytes: gigabytes
- gigabytes_{volume_type}: gigabytes_for_type
- backup_gigabytes: backup_gigabytes
Response Example Response Example
---------------- ----------------
@ -81,25 +76,19 @@ Request
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- injected_file_content_bytes: injected_file_content_bytes
- metadata_items: metadata_items
- reserved: reserved
- in_use: in_use
- ram: ram
- floating_ips: floating_ips
- key_pairs: key_pairs
- injected_file_path_bytes: injected_file_path_bytes
- instances: instances
- security_group_rules: security_group_rules
- injected_files: injected_files
- quota_set: quota_set
- cores: cores
- fixed_ips: fixed_ips
- security_groups: security_groups
- project_id: quotas_project_id
- admin_project_id: admin_project_id - admin_project_id: admin_project_id
- backup_gigabytes: backup_gigabytes - project_id: quotas_project_id
- quota_set: quota_set
- volumes: volumes_number
- volumes_{volume_type}: volumes_number_for_type
- snapshots: snapshots_number
- snapshots_{volume_type}: snapshots_number_for_type
- backups: backups_number
- groups: groups_number
- per_volume_gigabytes: per_volume_gigabytes - per_volume_gigabytes: per_volume_gigabytes
- gigabytes: gigabytes
- gigabytes_{volume_type}: gigabytes_for_type
- backup_gigabytes: backup_gigabytes
Request Example Request Example
--------------- ---------------
@ -113,22 +102,17 @@ Response Parameters
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- injected_file_content_bytes: injected_file_content_bytes
- metadata_items: metadata_items
- reserved: reserved
- in_use: in_use
- ram: ram
- floating_ips: floating_ips
- key_pairs: key_pairs
- injected_file_path_bytes: injected_file_path_bytes
- instances: instances
- security_group_rules: security_group_rules
- injected_files: injected_files
- quota_set: quota_set - quota_set: quota_set
- cores: cores - volumes: volumes_number
- fixed_ips: fixed_ips - volumes_{volume_type}: volumes_number_for_type
- id: project_id - snapshots: snapshots_number
- security_groups: security_groups - snapshots_{volume_type}: snapshots_number_for_type
- backups: backups_number
- groups: groups_number
- per_volume_gigabytes: per_volume_gigabytes
- gigabytes: gigabytes
- gigabytes_{volume_type}: gigabytes_for_type
- backup_gigabytes: backup_gigabytes
Response Example Response Example
---------------- ----------------
@ -195,23 +179,18 @@ Response Parameters
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- injected_file_content_bytes: injected_file_content_bytes
- metadata_items: metadata_items
- reserved: reserved
- in_use: in_use
- ram: ram
- floating_ips: floating_ips
- key_pairs: key_pairs
- injected_file_path_bytes: injected_file_path_bytes
- instances: instances
- security_group_rules: security_group_rules
- injected_files: injected_files
- quota_set: quota_set - quota_set: quota_set
- cores: cores
- fixed_ips: fixed_ips
- id: project_id - id: project_id
- security_groups: security_groups - volumes: volumes_number
- volumes_{volume_type}: volumes_number_for_type
- snapshots: snapshots_number
- snapshots_{volume_type}: snapshots_number_for_type
- backups: backups_number
- groups: groups_number
- per_volume_gigabytes: per_volume_gigabytes
- gigabytes: gigabytes
- gigabytes_{volume_type}: gigabytes_for_type
- backup_gigabytes: backup_gigabytes
Response Example Response Example
---------------- ----------------