api-ref: add filter parameters to rbac

Change-Id: I446dc94991d331bff0e53f4ff3c92d9f520b8a8e
Partial-Bug: #1747995
This commit is contained in:
Hongbin Lu 2018-04-19 22:03:46 +00:00
parent d6cb64165c
commit 0d2069459b
2 changed files with 36 additions and 0 deletions

View File

@ -632,6 +632,21 @@ not-tags-query:
in: query
required: false
type: string
object_id-query:
description: |
Filter the RBAC policy list result by the ID of the ``object_type``
resource. An ``object_type`` of ``network`` returns a network ID and
an ``object_type`` of ``qos-policy`` returns a QoS policy ID.
in: query
required: false
type: string
object_type-query:
description: |
Filter the RBAC policy list result by the type of the object that the
RBAC policy affects. Types include ``qos-policy`` or ``network``.
in: query
required: false
type: string
port-sort_key:
description: |
Sorts by a port attribute. You can specify multiple pairs of sort key
@ -787,6 +802,13 @@ rbac-sort_key:
in: query
required: false
type: string
rbac_action-query:
description: |
Filter the RBAC policy list result by the action for the RBAC policy
which is ``access_as_external`` or ``access_as_shared``.
in: query
required: false
type: string
remote_group_id-query:
description: |
Filter the security group rule list result by the ID of the remote group
@ -1024,6 +1046,13 @@ tags-query:
in: query
required: false
type: string
target_tenant-query:
description: |
Filter the RBAC policy list result by the ID of the tenant to which the
RBAC policy will be enforced.
in: query
required: false
type: string
trunk-sort_key:
description: |
Sorts by a trunk attribute. You can specify multiple pairs of sort key

View File

@ -137,6 +137,13 @@ Request
.. rest_parameters:: parameters.yaml
- target_tenant: target_tenant-query
- tenant_id: project_id-query
- object_type: object_type-query
- object_id: object_id-query
- action: rbac_action-query
- project_id: project_id-query
- id: id-query
- sort_dir: sort_dir
- sort_key: rbac-sort_key
- fields: fields