resources
List all resources in your organization.
Returns a cursor-paginated list of both imported and provisioned resources.
Use the filter argument to view only imported or only provisioned resources.
query {
resources(organizationId: "my-org", filter: { origin: { eq: imported } }) {
items {
id
name
origin
resourceType { id }
}
cursor { next }
}
}
resources(
organizationId: ID!
filter: ResourcesFilter
sort: ResourcesSort
cursor: Cursor
): ResourcesPage
Arguments
resources.organizationId ● ID! non-null scalar {#organization-id}
Your organization's unique identifier.
resources.filter ● ResourcesFilter input {#filter}
Optional filters to narrow the results.
resources.sort ● ResourcesSort input {#sort}
Sort order for results. Defaults to alphabetical by name. When a search filter is active and no sort is provided, results are ranked by relevance.
resources.cursor ● Cursor input {#cursor}
Cursor from a previous page to fetch the next set of results.