List secure resources of a role for a privilege
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/privilegeGrants/{privilegeName}/secureResources
The API returns list of secure resources of a privilege granted to a role ordered by name (ascending) by default.
Request
Path Parameters
-
privilegeName(required): string
Name of Granted PrivilegeExample:
FULL_JOB -
roleId(required): string
Id of a Role.
Query Parameters
-
limit: integer
Minimum Value:
1Maximum Value:2000For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. The api will return no more than the number specified as limit, but might not return that exact number.Default Value:20 -
name: string
Exact Name of Secure Resource to be filteredExample:
REFRESH_DOMAIN_230 -
nameContains: string
Part of Secure Resource Name used to filter Secure ResourcesExample:
REFRESH -
page: string
System generated page token of a page.
-
sort: string
The order of the result set with direction. Allowed sort field is name. Allowed directions are DESC and ASCExample:
name:DESC -
type: string
Sub-type of Secure ResourceExample:
NORMAL_JOB
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Secure Resources of the Privilege returned successfully
Root Schema : SecureResourceCollection
Type:
objectThis is the representation of List of SecureResources.
Show Source
-
count(required): integer
the number of Resources in this pageExample:
20 -
items(required): array
items
the SecureResource list
-
links(required): object
links
Read Only:
truethe result set navigation links
Nested Schema : items
Type:
arraythe SecureResource list
Show Source
-
Array of:
object SecureResourceSummary
It represents a SecureResource like Target Instance, Job Instance etc.
Nested Schema : links
Type:
objectRead Only:
truethe result set navigation links
Show Source
-
next: object
Link
A link referencing a REST API.
-
previous: object
Link
A link referencing a REST API.
-
self: object
Link
A link referencing a REST API.
Nested Schema : SecureResourceSummary
Type:
objectIt represents a SecureResource like Target Instance, Job Instance etc.
Show Source
-
id: string
Id of the ResourceExample:
DE5CD14CE9D0C0EBEFFFDDEBAA83DA33 -
name: string
Read Only:
trueName of the ResourceExample:/EMGC_EMGC_DOMAIN/EMGC_DOMAIN -
owner: string
Read Only:
trueOwner of the ResourceExample:SYSMAN -
propagationPolicy: array
propagationPolicy
Scope where the privilege is applicable to. This is applicable only for Secure Resource Type called TARGET.
-
type: string
Read Only:
trueInternal name of Resource Set Type of the ResourceExample:weblogic_domain_name -
typeDisplayName: string
Read Only:
trueDisplay name of Resource Set Type of the ResourceExample:Oracle WebLogic Domain
Nested Schema : propagationPolicy
Type:
arrayScope where the privilege is applicable to. This is applicable only for Secure Resource Type called TARGET.
Show Source
-
Array of:
string
Allowed Values:
[ "ALL", "SELF", "MEMBERS" ]This gives type where a privilege is applicable to which part of composite resource. - ALL means the privilege is given for composite resource and its members. - SELF means the privilege is given only for composite resource. - MEMBERS means the privilege is given only for members of composite resource.
Example:
MEMBERS400 Response
Bad Request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument -
message: string
A descriptive error message.Example:
argument given is not supported
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument -
message: string
A descriptive error message.Example:
argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument -
message: string
A descriptive error message.Example:
argument given is not supported