Skip to main content

resource_library_categories

Creates, updates, deletes, gets or lists a resource_library_categories resource.

Overview

Nameresource_library_categories
TypeResource
Idcloudflare.zero_trust.resource_library_categories

Fields

The following fields are returned by SELECT queries:

Get all application categories response.

NameDatatypeDescription
idstringReturns the category ID. (example: 12345678-1234-1234-1234-123456789012)
namestringReturns the category name. (example: Category name)
created_atstringReturns the category creation time. (example: 2025-01-01T00:00:00Z)
descriptionstringReturns the category description. (example: Category description)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idlimit, offsetList application categories.

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
account_idstringThe Cloudflare account ID.
limitintegerLimit of number of results to return.
offsetintegerOffset of results to return.

SELECT examples

List application categories.

SELECT
id,
name,
created_at,
description
FROM cloudflare.zero_trust.resource_library_categories
WHERE account_id = '{{ account_id }}' -- required
AND limit = '{{ limit }}'
AND offset = '{{ offset }}'
;