page_title | subcategory | description |
---|---|---|
opal_requests Data Source - terraform-provider-opal |
Requests DataSource |
Requests DataSource
data "opal_requests" "my_requests" {
cursor = "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
page_size = 200
show_pending_only = false
}
cursor
(String) The pagination cursor value.page_size
(Number) Number of results to return per page. Default is 200.show_pending_only
(Boolean) Boolean toggle for if it should only show pending requests.
requests
(Attributes List) The list of requests. (see below for nested schema)
Read-Only:
created_at
(String) The date and time the request was created.custom_fields_responses
(Attributes List) The responses given to the custom fields associated to the request (see below for nested schema)duration_minutes
(Number) The duration of the request in minutes.id
(String) The unique identifier of the request.reason
(String) The reason for the request.requested_items_list
(Attributes List) The list of targets for the request. (see below for nested schema)requester_id
(String) The unique identifier of the user who created the request.status
(String) # Request Status
The RequestStatus
enum is used to represent the status of a request.
Returned from the GET Requests
endpoint.
target_group_id
(String) The unique identifier of the group who is the target of the request.target_user_id
(String) The unique identifier of the user who is the target of the request.updated_at
(String) The date and time the request was last updated.
Read-Only:
field_name
(String)field_type
(String) The type of the custom request field.field_value
(Attributes) (see below for nested schema)
Read-Only:
boolean
(Boolean)str
(String)
Read-Only:
access_level_name
(String) The name of the access level requested.access_level_remote_id
(String) The ID of the access level requested on the remote system.group_id
(String) The ID of the group requested.name
(String) The name of the target.resource_id
(String) The ID of the resource requested.