Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustGatewayCategoriesList
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustGatewayCategoriesList = cloudflare.getZeroTrustGatewayCategoriesList({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_gateway_categories_list = cloudflare.get_zero_trust_gateway_categories_list(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.LookupZeroTrustGatewayCategoriesList(ctx, &cloudflare.LookupZeroTrustGatewayCategoriesListArgs{
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 exampleZeroTrustGatewayCategoriesList = Cloudflare.GetZeroTrustGatewayCategoriesList.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.GetZeroTrustGatewayCategoriesListArgs;
import java.util.List;
import java.util.ArrayList;
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 exampleZeroTrustGatewayCategoriesList = CloudflareFunctions.getZeroTrustGatewayCategoriesList(GetZeroTrustGatewayCategoriesListArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleZeroTrustGatewayCategoriesList:
fn::invoke:
function: cloudflare:getZeroTrustGatewayCategoriesList
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
Using getZeroTrustGatewayCategoriesList
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 getZeroTrustGatewayCategoriesList(args: GetZeroTrustGatewayCategoriesListArgs, opts?: InvokeOptions): Promise<GetZeroTrustGatewayCategoriesListResult>
function getZeroTrustGatewayCategoriesListOutput(args: GetZeroTrustGatewayCategoriesListOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustGatewayCategoriesListResult>
def get_zero_trust_gateway_categories_list(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustGatewayCategoriesListResult
def get_zero_trust_gateway_categories_list_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustGatewayCategoriesListResult]
func LookupZeroTrustGatewayCategoriesList(ctx *Context, args *LookupZeroTrustGatewayCategoriesListArgs, opts ...InvokeOption) (*LookupZeroTrustGatewayCategoriesListResult, error)
func LookupZeroTrustGatewayCategoriesListOutput(ctx *Context, args *LookupZeroTrustGatewayCategoriesListOutputArgs, opts ...InvokeOption) LookupZeroTrustGatewayCategoriesListResultOutput
> Note: This function is named LookupZeroTrustGatewayCategoriesList
in the Go SDK.
public static class GetZeroTrustGatewayCategoriesList
{
public static Task<GetZeroTrustGatewayCategoriesListResult> InvokeAsync(GetZeroTrustGatewayCategoriesListArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustGatewayCategoriesListResult> Invoke(GetZeroTrustGatewayCategoriesListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZeroTrustGatewayCategoriesListResult> getZeroTrustGatewayCategoriesList(GetZeroTrustGatewayCategoriesListArgs args, InvokeOptions options)
public static Output<GetZeroTrustGatewayCategoriesListResult> getZeroTrustGatewayCategoriesList(GetZeroTrustGatewayCategoriesListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustGatewayCategoriesList:getZeroTrustGatewayCategoriesList
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - Identifier
- max_
items int - Max items to fetch, default: 1000
getZeroTrustGatewayCategoriesList Result
The following output properties are available:
- Account
Id string - Identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Zero Trust Gateway Categories List Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Zero Trust Gateway Categories List Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account
Id String - Identifier
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Zero Trust Gateway Categories List Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Identifier
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Zero Trust Gateway Categories List Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Identifier
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Zero Trust Gateway Categories List Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Identifier
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetZeroTrustGatewayCategoriesListResult
- Beta bool
- True if the category is in beta and subject to change.
- Class string
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - Description string
- A short summary of domains in the category.
- Id int
- The identifier for this category. There is only one category per ID.
- Name string
- The name of the category.
- Subcategories
List<Get
Zero Trust Gateway Categories List Result Subcategory> - All subcategories for this category.
- Beta bool
- True if the category is in beta and subject to change.
- Class string
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - Description string
- A short summary of domains in the category.
- Id int
- The identifier for this category. There is only one category per ID.
- Name string
- The name of the category.
- Subcategories
[]Get
Zero Trust Gateway Categories List Result Subcategory - All subcategories for this category.
- beta Boolean
- True if the category is in beta and subject to change.
- class_ String
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - description String
- A short summary of domains in the category.
- id Integer
- The identifier for this category. There is only one category per ID.
- name String
- The name of the category.
- subcategories
List<Get
Zero Trust Gateway Categories List Result Subcategory> - All subcategories for this category.
- beta boolean
- True if the category is in beta and subject to change.
- class string
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - description string
- A short summary of domains in the category.
- id number
- The identifier for this category. There is only one category per ID.
- name string
- The name of the category.
- subcategories
Get
Zero Trust Gateway Categories List Result Subcategory[] - All subcategories for this category.
- beta bool
- True if the category is in beta and subject to change.
- class_ str
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - description str
- A short summary of domains in the category.
- id int
- The identifier for this category. There is only one category per ID.
- name str
- The name of the category.
- subcategories
Sequence[Get
Zero Trust Gateway Categories List Result Subcategory] - All subcategories for this category.
- beta Boolean
- True if the category is in beta and subject to change.
- class String
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - description String
- A short summary of domains in the category.
- id Number
- The identifier for this category. There is only one category per ID.
- name String
- The name of the category.
- subcategories List<Property Map>
- All subcategories for this category.
GetZeroTrustGatewayCategoriesListResultSubcategory
- Beta bool
- True if the category is in beta and subject to change.
- Class string
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - Description string
- A short summary of domains in the category.
- Id int
- The identifier for this category. There is only one category per ID.
- Name string
- The name of the category.
- Beta bool
- True if the category is in beta and subject to change.
- Class string
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - Description string
- A short summary of domains in the category.
- Id int
- The identifier for this category. There is only one category per ID.
- Name string
- The name of the category.
- beta Boolean
- True if the category is in beta and subject to change.
- class_ String
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - description String
- A short summary of domains in the category.
- id Integer
- The identifier for this category. There is only one category per ID.
- name String
- The name of the category.
- beta boolean
- True if the category is in beta and subject to change.
- class string
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - description string
- A short summary of domains in the category.
- id number
- The identifier for this category. There is only one category per ID.
- name string
- The name of the category.
- beta bool
- True if the category is in beta and subject to change.
- class_ str
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - description str
- A short summary of domains in the category.
- id int
- The identifier for this category. There is only one category per ID.
- name str
- The name of the category.
- beta Boolean
- True if the category is in beta and subject to change.
- class String
- Which account types are allowed to create policies based on this category.
blocked
categories are blocked unconditionally for all accounts.removalPending
categories can be removed from policies but not added.noBlock
categories cannot be blocked. Available values: "free", "premium", "blocked", "removalPending", "noBlock". - description String
- A short summary of domains in the category.
- id Number
- The identifier for this category. There is only one category per ID.
- name String
- The name of the category.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.