diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index ab5c633079..82d14f5784 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -2256,6 +2256,50 @@ quota_set: in: body required: true type: object +quota_share_group_snapshots: + description: | + The number of share group snapshots allowed for each tenant or user. + in: body + min_version: 2.40 + required: true + type: integer +quota_share_group_snapshots_detail: + description: | + The limit, in_use, reserved number of share group snapshots + for each tenant or user. + in: body + min_version: 2.40 + required: true + type: object +quota_share_group_snapshots_request: + description: | + The number of share group snapshots allowed for each tenant or user. + in: body + min_version: 2.40 + required: false + type: integer +quota_share_groups: + description: | + The number of share groups allowed for each tenant or user. + in: body + min_version: 2.40 + required: true + type: integer +quota_share_groups_detail: + description: | + The limit, in_use, reserved number of share groups + for each tenant or user. + in: body + min_version: 2.40 + required: true + type: object +quota_share_groups_request: + description: | + The number of share groups allowed for each tenant or user. + in: body + min_version: 2.40 + required: false + type: integer quota_share_networks: description: | The number of share networks allowed for each diff --git a/api-ref/source/quota-sets.inc b/api-ref/source/quota-sets.inc index 50b35f747e..e4baa56822 100644 --- a/api-ref/source/quota-sets.inc +++ b/api-ref/source/quota-sets.inc @@ -11,6 +11,8 @@ Provides quotas management support. For API versions 2.6 and prior, replace ``quota-sets`` in the URLs with ``os-quota-sets``. + Added share groups and share group snapshots in 2.40 API versions. + Show default quota set ====================== @@ -42,6 +44,8 @@ Response parameters - shares: quota_shares - snapshot_gigabytes: quota_snapshot_gigabytes - share_networks: quota_share_networks + - share_groups: quota_share_groups + - share_group_snapshots: quota_share_group_snapshots Response example ---------------- @@ -85,6 +89,8 @@ Response parameters - shares: quota_shares - snapshot_gigabytes: quota_snapshot_gigabytes - share_networks: quota_share_networks + - share_groups: quota_share_groups + - share_group_snapshots: quota_share_group_snapshots Response example ---------------- @@ -128,6 +134,8 @@ Response parameters - shares: quota_shares_detail - snapshot_gigabytes: quota_snapshot_gigabytes_detail - share_networks: quota_share_networks_detail + - share_groups: quota_share_groups_detail + - share_group_snapshots: quota_share_group_snapshots_detail Response example ---------------- @@ -165,6 +173,8 @@ Request - snapshot_gigabytes: quota_snapshot_gigabytes_request - shares: quota_shares_request - share_networks: quota_share_networks_request + - share_groups: quota_share_groups_request + - share_group_snapshots: quota_share_group_snapshots_request Request example --------------- @@ -184,6 +194,8 @@ Response parameters - shares: quota_shares - snapshot_gigabytes: quota_snapshot_gigabytes - share_networks: quota_share_networks + - share_groups: quota_share_groups + - share_group_snapshots: quota_share_group_snapshots Response example ---------------- diff --git a/api-ref/source/samples/quota-show-detail-response.json b/api-ref/source/samples/quota-show-detail-response.json index d29274d3e8..f07d691d60 100644 --- a/api-ref/source/samples/quota-show-detail-response.json +++ b/api-ref/source/samples/quota-show-detail-response.json @@ -15,6 +15,12 @@ "reserved": 0}, "share_networks": {"in_use": 0, "limit": 10, - "reserved": 0} + "reserved": 0}, + "share_groups": {"in_use": 0, + "limit": 10, + "reserved": 0}, + "share_group_snapshots": {"in_use": 0, + "limit": 10, + "reserved": 0} } } diff --git a/api-ref/source/samples/quota-show-response.json b/api-ref/source/samples/quota-show-response.json index 7f9f7bae32..f5e6bc2966 100644 --- a/api-ref/source/samples/quota-show-response.json +++ b/api-ref/source/samples/quota-show-response.json @@ -5,6 +5,8 @@ "snapshot_gigabytes": 1000, "snapshots": 50, "id": "16e1ab15c35a457e9c2b2aa189f544e1", - "share_networks": 10 + "share_networks": 10, + "share_groups": 10, + "share_group_snapshots": 10 } } diff --git a/api-ref/source/samples/quota-update-response.json b/api-ref/source/samples/quota-update-response.json index bec39dfb6c..22f0602df6 100644 --- a/api-ref/source/samples/quota-update-response.json +++ b/api-ref/source/samples/quota-update-response.json @@ -4,6 +4,8 @@ "snapshot_gigabytes": 999, "shares": 50, "snapshots": 49, - "share_networks": 9 + "share_networks": 9, + "share_groups": 12, + "share_group_snapshots": 12 } }