[api-ref] add domain level limit support
Update api-ref to support domain level limit feature. Change-Id: I7f17a07752432d3e2afd279404362acf04c57a80 bp: domain-level-limit
This commit is contained in:
parent
fdd3b9765a
commit
c3d46e1c97
|
@ -1633,6 +1633,18 @@ request_default_limit_body_not_required:
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
|
request_limit_domain_id_not_required:
|
||||||
|
description: |
|
||||||
|
The name of the domain.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
request_limit_project_id_not_required:
|
||||||
|
description: |
|
||||||
|
The ID for the project.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
request_region_id_registered_limit_body_not_required:
|
request_region_id_registered_limit_body_not_required:
|
||||||
description: |
|
description: |
|
||||||
The ID of the region that contains the service endpoint.
|
The ID of the region that contains the service endpoint.
|
||||||
|
@ -1757,6 +1769,12 @@ response_body_system_required:
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
|
response_limit_domain_id_body:
|
||||||
|
description: |
|
||||||
|
The ID of the domain.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
role:
|
role:
|
||||||
description: |
|
description: |
|
||||||
A ``role`` object
|
A ``role`` object
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
},
|
},
|
||||||
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
||||||
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
||||||
|
"domain_id": null,
|
||||||
"id": "25a04c7a065c430590881c646cdcdd58",
|
"id": "25a04c7a065c430590881c646cdcdd58",
|
||||||
"resource_limit": 11,
|
"resource_limit": 11,
|
||||||
"description": null
|
"description": null
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
||||||
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
"domain_id": "edbafc92be354ffa977c58aa79c7bdb2",
|
||||||
"resource_name": "volume",
|
"resource_name": "volume",
|
||||||
"resource_limit": 10,
|
"resource_limit": 10,
|
||||||
"description": "Number of volumes for project 3a705b9f56bb439381b43c4fe59dccce"
|
"description": "Number of volumes for project 3a705b9f56bb439381b43c4fe59dccce"
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
"self": "http://10.3.150.25/identity/v3/limits/25a04c7a065c430590881c646cdcdd58"
|
"self": "http://10.3.150.25/identity/v3/limits/25a04c7a065c430590881c646cdcdd58"
|
||||||
},
|
},
|
||||||
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
||||||
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
"project_id": null,
|
||||||
|
"domain_id": "edbafc92be354ffa977c58aa79c7bdb2",
|
||||||
"id": "25a04c7a065c430590881c646cdcdd58",
|
"id": "25a04c7a065c430590881c646cdcdd58",
|
||||||
"resource_limit": 10,
|
"resource_limit": 10,
|
||||||
"description": "Number of volumes for project 3a705b9f56bb439381b43c4fe59dccce"
|
"description": "Number of volumes for project 3a705b9f56bb439381b43c4fe59dccce"
|
||||||
|
@ -20,6 +21,7 @@
|
||||||
},
|
},
|
||||||
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
||||||
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
||||||
|
"domain_id": null,
|
||||||
"id": "3229b3849f584faea483d6851f7aab05",
|
"id": "3229b3849f584faea483d6851f7aab05",
|
||||||
"resource_limit": 5,
|
"resource_limit": 5,
|
||||||
"description": null
|
"description": null
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
},
|
},
|
||||||
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
||||||
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
||||||
|
"domain_id": null,
|
||||||
"id": "25a04c7a065c430590881c646cdcdd58",
|
"id": "25a04c7a065c430590881c646cdcdd58",
|
||||||
"resource_limit": 11,
|
"resource_limit": 11,
|
||||||
"description": "Number of volumes for project 3a705b9f56bb439381b43c4fe59dccce"
|
"description": "Number of volumes for project 3a705b9f56bb439381b43c4fe59dccce"
|
||||||
|
@ -25,6 +26,7 @@
|
||||||
},
|
},
|
||||||
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
||||||
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
||||||
|
"domain_id": null,
|
||||||
"id": "3229b3849f584faea483d6851f7aab05",
|
"id": "3229b3849f584faea483d6851f7aab05",
|
||||||
"resource_limit": 5,
|
"resource_limit": 5,
|
||||||
"description": null
|
"description": null
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
},
|
},
|
||||||
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
"service_id": "9408080f1970482aa0e38bc2d4ea34b7",
|
||||||
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
"project_id": "3a705b9f56bb439381b43c4fe59dccce",
|
||||||
|
"domain_id": null,
|
||||||
"id": "3229b3849f584faea483d6851f7aab05",
|
"id": "3229b3849f584faea483d6851f7aab05",
|
||||||
"resource_limit": 5,
|
"resource_limit": 5,
|
||||||
"description": "Number of snapshots for project 3a705b9f56bb439381b43c4fe59dccce"
|
"description": "Number of snapshots for project 3a705b9f56bb439381b43c4fe59dccce"
|
||||||
|
|
|
@ -367,6 +367,7 @@ Parameters
|
||||||
- region_id: region_id_query
|
- region_id: region_id_query
|
||||||
- resource_name: resource_name_query
|
- resource_name: resource_name_query
|
||||||
- project_id: scope_project_id_query
|
- project_id: scope_project_id_query
|
||||||
|
- domain_id: scope_domain_id_query
|
||||||
|
|
||||||
|
|
||||||
Response
|
Response
|
||||||
|
@ -381,6 +382,7 @@ Parameters
|
||||||
- limits: limits
|
- limits: limits
|
||||||
- id: limit_id
|
- id: limit_id
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
|
- domain_id: response_limit_domain_id_body
|
||||||
- service_id: service_id_limit
|
- service_id: service_id_limit
|
||||||
- region_id: region_id_response_body
|
- region_id: region_id_response_body
|
||||||
- resource_name: resource_name
|
- resource_name: resource_name
|
||||||
|
@ -426,7 +428,8 @@ Parameters
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- limits: limits
|
- limits: limits
|
||||||
- project_id: project_id
|
- project_id: request_limit_project_id_not_required
|
||||||
|
- domain_id: request_limit_domain_id_not_required
|
||||||
- service_id: service_id_limit
|
- service_id: service_id_limit
|
||||||
- region_id: region_id_request_body
|
- region_id: region_id_request_body
|
||||||
- resource_name: resource_name
|
- resource_name: resource_name
|
||||||
|
@ -452,6 +455,7 @@ Parameters
|
||||||
- limits: limits
|
- limits: limits
|
||||||
- id: limit_id
|
- id: limit_id
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
|
- domain_id: response_limit_domain_id_body
|
||||||
- service_id: service_id_limit
|
- service_id: service_id_limit
|
||||||
- region_id: region_id_response_body
|
- region_id: region_id_response_body
|
||||||
- resource_name: resource_name
|
- resource_name: resource_name
|
||||||
|
@ -521,6 +525,7 @@ Parameters
|
||||||
- limit: limit
|
- limit: limit
|
||||||
- id: limit_id
|
- id: limit_id
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
|
- domain_id: response_limit_domain_id_body
|
||||||
- service_id: service_id_limit
|
- service_id: service_id_limit
|
||||||
- region_id: region_id_response_body
|
- region_id: region_id_response_body
|
||||||
- resource_name: resource_name
|
- resource_name: resource_name
|
||||||
|
@ -581,6 +586,7 @@ Parameters
|
||||||
- limit: limit
|
- limit: limit
|
||||||
- id: limit_id
|
- id: limit_id
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
|
- domain_id: response_limit_domain_id_body
|
||||||
- service_id: service_id_limit
|
- service_id: service_id_limit
|
||||||
- region_id: region_id_response_body
|
- region_id: region_id_response_body
|
||||||
- resource_name: resource_name
|
- resource_name: resource_name
|
||||||
|
|
Loading…
Reference in New Issue