Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustResourceLibraryCategories = cloudflare.getZeroTrustResourceLibraryCategories({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_resource_library_categories = cloudflare.get_zero_trust_resource_library_categories(account_id="023e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetZeroTrustResourceLibraryCategories(ctx, &cloudflare.LookupZeroTrustResourceLibraryCategoriesArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleZeroTrustResourceLibraryCategories = Cloudflare.GetZeroTrustResourceLibraryCategories.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetZeroTrustResourceLibraryCategoriesArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleZeroTrustResourceLibraryCategories = CloudflareFunctions.getZeroTrustResourceLibraryCategories(GetZeroTrustResourceLibraryCategoriesArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleZeroTrustResourceLibraryCategories:
fn::invoke:
function: cloudflare:getZeroTrustResourceLibraryCategories
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_zero_trust_resource_library_categories" "exampleZeroTrustResourceLibraryCategories" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Using getZeroTrustResourceLibraryCategories
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getZeroTrustResourceLibraryCategories(args: GetZeroTrustResourceLibraryCategoriesArgs, opts?: InvokeOptions): Promise<GetZeroTrustResourceLibraryCategoriesResult>
function getZeroTrustResourceLibraryCategoriesOutput(args: GetZeroTrustResourceLibraryCategoriesOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustResourceLibraryCategoriesResult>def get_zero_trust_resource_library_categories(account_id: Optional[str] = None,
limit: Optional[int] = None,
max_items: Optional[int] = None,
offset: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustResourceLibraryCategoriesResult
def get_zero_trust_resource_library_categories_output(account_id: pulumi.Input[Optional[str]] = None,
limit: pulumi.Input[Optional[int]] = None,
max_items: pulumi.Input[Optional[int]] = None,
offset: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustResourceLibraryCategoriesResult]func LookupZeroTrustResourceLibraryCategories(ctx *Context, args *LookupZeroTrustResourceLibraryCategoriesArgs, opts ...InvokeOption) (*LookupZeroTrustResourceLibraryCategoriesResult, error)
func LookupZeroTrustResourceLibraryCategoriesOutput(ctx *Context, args *LookupZeroTrustResourceLibraryCategoriesOutputArgs, opts ...InvokeOption) LookupZeroTrustResourceLibraryCategoriesResultOutput> Note: This function is named LookupZeroTrustResourceLibraryCategories in the Go SDK.
public static class GetZeroTrustResourceLibraryCategories
{
public static Task<GetZeroTrustResourceLibraryCategoriesResult> InvokeAsync(GetZeroTrustResourceLibraryCategoriesArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustResourceLibraryCategoriesResult> Invoke(GetZeroTrustResourceLibraryCategoriesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustResourceLibraryCategoriesResult> Invoke(GetZeroTrustResourceLibraryCategoriesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetZeroTrustResourceLibraryCategoriesResult> getZeroTrustResourceLibraryCategories(GetZeroTrustResourceLibraryCategoriesArgs args, InvokeOptions options)
public static Output<GetZeroTrustResourceLibraryCategoriesResult> getZeroTrustResourceLibraryCategories(GetZeroTrustResourceLibraryCategoriesArgs args, InvokeOptions options)
public static Output<GetZeroTrustResourceLibraryCategoriesResult> getZeroTrustResourceLibraryCategories(GetZeroTrustResourceLibraryCategoriesArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustResourceLibraryCategories:getZeroTrustResourceLibraryCategories
arguments:
# arguments dictionarydata "cloudflare_get_zero_trust_resource_library_categories" "name" {
# arguments
}The following arguments are supported:
- account_
id string - limit number
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- max_
items number - Max items to fetch, default: 1000
- offset number
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
- account_
id str - limit int
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- max_
items int - Max items to fetch, default: 1000
- offset int
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
getZeroTrustResourceLibraryCategories Result
The following output properties are available:
- Account
Id string - Limit int
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- Offset int
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
- Results
List<Get
Zero Trust Resource Library Categories Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Limit int
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- Offset int
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
- Results
[]Get
Zero Trust Resource Library Categories Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account_
id string - limit number
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- offset number
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
- results list(object)
- The items returned by the data source
- max_
items number - Max items to fetch, default: 1000
- account
Id String - limit Integer
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- offset Integer
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
- results
List<Get
Zero Trust Resource Library Categories Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - limit number
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- offset number
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
- results
Get
Zero Trust Resource Library Categories Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - limit int
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- offset int
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
- results
Sequence[Get
Zero Trust Resource Library Categories Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - limit Number
- Number of results to return. Defaults to 25; values are clamped to 1–250.
- offset Number
- Number of results to skip. Defaults to 0; negative values are clamped to 0.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetZeroTrustResourceLibraryCategoriesResult
- Created
At string - Returns the category creation time.
- Description string
- Returns the category description.
- Id int
- Numeric identifier for an application category.
- Name string
- Returns the category name.
- Created
At string - Returns the category creation time.
- Description string
- Returns the category description.
- Id int
- Numeric identifier for an application category.
- Name string
- Returns the category name.
- created_
at string - Returns the category creation time.
- description string
- Returns the category description.
- id number
- Numeric identifier for an application category.
- name string
- Returns the category name.
- created
At String - Returns the category creation time.
- description String
- Returns the category description.
- id Integer
- Numeric identifier for an application category.
- name String
- Returns the category name.
- created
At string - Returns the category creation time.
- description string
- Returns the category description.
- id number
- Numeric identifier for an application category.
- name string
- Returns the category name.
- created_
at str - Returns the category creation time.
- description str
- Returns the category description.
- id int
- Numeric identifier for an application category.
- name str
- Returns the category name.
- created
At String - Returns the category creation time.
- description String
- Returns the category description.
- id Number
- Numeric identifier for an application category.
- name String
- Returns the category name.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi