API: Add `all_tenants
` parameter
When administrarots query snapshots, share networks, or security services, they may set ``all_tenants`` to true to get records for all OpenStack projects. Change-Id: Ia208dec102295f1021ce5c4da88397e7946c8dba
This commit is contained in:
parent
a7cf5117bc
commit
cdf1470879
@ -126,9 +126,11 @@ action_id:
|
||||
The ID of the action during which the message was created.
|
||||
all_tenants:
|
||||
description: |
|
||||
(Admin only). Defines whether to list shares or share groups for
|
||||
all tenants. Set to ``1`` to list shares or sharegroups for all tenants.
|
||||
Set to ``0`` to list shares or share groups only for the current tenant.
|
||||
(Admin only). Defines whether to list the requested resources for
|
||||
all projects. Set to ``1`` to list resources for all projects.
|
||||
Set to ``0`` to list resources only for the current tenant. Examples
|
||||
of resources include shares, snapshots, share networks, security services
|
||||
and share groups.
|
||||
in: query
|
||||
required: false
|
||||
type: boolean
|
||||
|
@ -60,6 +60,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- tenant_id: tenant_id_path
|
||||
- all_tenants: all_tenants
|
||||
|
||||
Response parameters
|
||||
-------------------
|
||||
@ -104,6 +105,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- tenant_id: tenant_id_path
|
||||
- all_tenants: all_tenants
|
||||
|
||||
Response parameters
|
||||
-------------------
|
||||
|
@ -63,6 +63,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- tenant_id: tenant_id_path
|
||||
- all_tenants: all_tenants
|
||||
- name~: name_inexact_query
|
||||
- description~: description_inexact_query
|
||||
|
||||
@ -108,6 +109,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- tenant_id: tenant_id_path
|
||||
- all_tenants: all_tenants
|
||||
- name~: name_inexact_query
|
||||
- description~: description_inexact_query
|
||||
|
||||
|
@ -64,6 +64,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- tenant_id: tenant_id_path
|
||||
- all_tenants: all_tenants
|
||||
- name~: name_inexact_query
|
||||
- description~: description_inexact_query
|
||||
|
||||
@ -107,6 +108,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- tenant_id: tenant_id_path
|
||||
- all_tenants: all_tenants
|
||||
- name~: name_inexact_query
|
||||
- description~: description_inexact_query
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user