page_title | subcategory | description |
---|---|---|
opal_sessions Data Source - terraform-provider-opal |
Sessions DataSource |
Sessions DataSource
data "opal_sessions" "my_sessions" {
resource_id = "1b978423-db0a-4037-a4cf-f79c60cb67b3"
user_id = "32acc112-21ff-4669-91c2-21e27683eaa1"
}
resource_id
(String) The ID of the resource.
user_id
(String) The ID of the user you wish to query sessions for.
next
(String) The cursor with which to continue pagination if additional result pages exist.previous
(String) The cursor used to obtain the current result page.results
(Attributes List) (see below for nested schema)
Read-Only:
access_level
(Attributes) # Access Level Object
The AccessLevel
object is used to represent the level of access that a principal has. The "default" access
level is a AccessLevel
object whose fields are all empty strings.
View the AccessLevel
of a resource/user or resource/group pair to see the level of access granted to the resource. (see below for nested schema)
connection_id
(String) The ID of the connection.expiration_date
(String) The day and time the user's access will expire.resource_id
(String) The ID of the resource.user_id
(String) The ID of the user.
Read-Only:
access_level_name
(String) The human-readable name of the access level.access_level_remote_id
(String) The machine-readable identifier of the access level.