Skip to main content

iam_work_request_logs

Creates, updates, deletes, gets or lists an iam_work_request_logs resource.

Overview​

Nameiam_work_request_logs
TypeResource
Idoci.identity.iam_work_request_logs

Fields​

The following fields are returned by SELECT queries:

(For tenancies that support identity domains) The log entity for a IAM work request.<br />

NameDatatypeDescription
messagestringA human-readable error string.
timestampstring (date-time)Date and time the log was written, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectiamWorkRequestId, regionlimit, page, sortOrder, opc-request-idGets logs for a specified IAM work request. The workRequestID is returned in the opc-work-request-id header for any asynchronous operation in the Identity and Access Management service.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
iamWorkRequestIdstringThe OCID of the IAM work request.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
limitintegerThe maximum number of items to return in a paginated "List" call.
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringThe value of the opc-next-page response header from the previous "List" call.
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC). The NAME sort order is case sensitive.

SELECT examples​

Gets logs for a specified IAM work request. The workRequestID is returned in the opc-work-request-id header for any asynchronous operation in the Identity and Access Management service.<br />

SELECT
message,
timestamp
FROM oci.identity.iam_work_request_logs
WHERE iamWorkRequestId = '{{ iamWorkRequestId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortOrder = '{{ sortOrder }}'
AND opc-request-id = '{{ opc-request-id }}'
;