Viewing docs for Cloudflare v6.23.2
published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi
Viewing docs for Cloudflare v6.23.2
published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi
Accepted Permissions
Account API Tokens ReadAccount API Tokens Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleAccountApiTokenPermissionGroupsList = cloudflare.getAccountApiTokenPermissionGroupsList({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
name: "Account%20Settings%20Write",
scope: "com.cloudflare.api.account.zone",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_account_api_token_permission_groups_list = cloudflare.get_account_api_token_permission_groups_list(account_id="023e105f4ecef8ad9ca31a8372d0c353",
name="Account%20Settings%20Write",
scope="com.cloudflare.api.account.zone")
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.GetAccountApiTokenPermissionGroupsList(ctx, &cloudflare.LookupAccountApiTokenPermissionGroupsListArgs{
AccountId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
Name: pulumi.StringRef("Account%20Settings%20Write"),
Scope: pulumi.StringRef("com.cloudflare.api.account.zone"),
}, 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 exampleAccountApiTokenPermissionGroupsList = Cloudflare.GetAccountApiTokenPermissionGroupsList.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
Name = "Account%20Settings%20Write",
Scope = "com.cloudflare.api.account.zone",
});
});
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.GetAccountApiTokenPermissionGroupsListArgs;
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 exampleAccountApiTokenPermissionGroupsList = CloudflareFunctions.getAccountApiTokenPermissionGroupsList(GetAccountApiTokenPermissionGroupsListArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.name("Account%20Settings%20Write")
.scope("com.cloudflare.api.account.zone")
.build());
}
}
variables:
exampleAccountApiTokenPermissionGroupsList:
fn::invoke:
function: cloudflare:getAccountApiTokenPermissionGroupsList
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
name: Account%20Settings%20Write
scope: com.cloudflare.api.account.zone
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_account_api_token_permission_groups_list" "exampleAccountApiTokenPermissionGroupsList" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
name = "Account%20Settings%20Write"
scope = "com.cloudflare.api.account.zone"
}
Using getAccountApiTokenPermissionGroupsList
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 getAccountApiTokenPermissionGroupsList(args: GetAccountApiTokenPermissionGroupsListArgs, opts?: InvokeOptions): Promise<GetAccountApiTokenPermissionGroupsListResult>
function getAccountApiTokenPermissionGroupsListOutput(args: GetAccountApiTokenPermissionGroupsListOutputArgs, opts?: InvokeOutputOptions): Output<GetAccountApiTokenPermissionGroupsListResult>def get_account_api_token_permission_groups_list(account_id: Optional[str] = None,
max_items: Optional[int] = None,
name: Optional[str] = None,
scope: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountApiTokenPermissionGroupsListResult
def get_account_api_token_permission_groups_list_output(account_id: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
name: pulumi.Input[Optional[str]] = None,
scope: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccountApiTokenPermissionGroupsListResult]func LookupAccountApiTokenPermissionGroupsList(ctx *Context, args *LookupAccountApiTokenPermissionGroupsListArgs, opts ...InvokeOption) (*LookupAccountApiTokenPermissionGroupsListResult, error)
func LookupAccountApiTokenPermissionGroupsListOutput(ctx *Context, args *LookupAccountApiTokenPermissionGroupsListOutputArgs, opts ...InvokeOption) LookupAccountApiTokenPermissionGroupsListResultOutput> Note: This function is named LookupAccountApiTokenPermissionGroupsList in the Go SDK.
public static class GetAccountApiTokenPermissionGroupsList
{
public static Task<GetAccountApiTokenPermissionGroupsListResult> InvokeAsync(GetAccountApiTokenPermissionGroupsListArgs args, InvokeOptions? opts = null)
public static Output<GetAccountApiTokenPermissionGroupsListResult> Invoke(GetAccountApiTokenPermissionGroupsListInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAccountApiTokenPermissionGroupsListResult> Invoke(GetAccountApiTokenPermissionGroupsListInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAccountApiTokenPermissionGroupsListResult> getAccountApiTokenPermissionGroupsList(GetAccountApiTokenPermissionGroupsListArgs args, InvokeOptions options)
public static Output<GetAccountApiTokenPermissionGroupsListResult> getAccountApiTokenPermissionGroupsList(GetAccountApiTokenPermissionGroupsListArgs args, InvokeOptions options)
public static Output<GetAccountApiTokenPermissionGroupsListResult> getAccountApiTokenPermissionGroupsList(GetAccountApiTokenPermissionGroupsListArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getAccountApiTokenPermissionGroupsList:getAccountApiTokenPermissionGroupsList
arguments:
# arguments dictionarydata "cloudflare_get_account_api_token_permission_groups_list" "name" {
# arguments
}The following arguments are supported:
- account_
id string - Account identifier tag.
- max_
items number - Max items to fetch, default: 1000
- name string
- Filter by the name of the permission group. The value must be URL-encoded.
- scope string
- Filter by the scope of the permission group. The value must be URL-encoded.
- account_
id str - Account identifier tag.
- max_
items int - Max items to fetch, default: 1000
- name str
- Filter by the name of the permission group. The value must be URL-encoded.
- scope str
- Filter by the scope of the permission group. The value must be URL-encoded.
getAccountApiTokenPermissionGroupsList Result
The following output properties are available:
- Results
List<Get
Account Api Token Permission Groups List Result> - The items returned by the data source
- Account
Id string - Account identifier tag.
- Max
Items int - Max items to fetch, default: 1000
- Name string
- Filter by the name of the permission group. The value must be URL-encoded.
- Scope string
- Filter by the scope of the permission group. The value must be URL-encoded.
- Results
[]Get
Account Api Token Permission Groups List Result - The items returned by the data source
- Account
Id string - Account identifier tag.
- Max
Items int - Max items to fetch, default: 1000
- Name string
- Filter by the name of the permission group. The value must be URL-encoded.
- Scope string
- Filter by the scope of the permission group. The value must be URL-encoded.
- results list(object)
- The items returned by the data source
- account_
id string - Account identifier tag.
- max_
items number - Max items to fetch, default: 1000
- name string
- Filter by the name of the permission group. The value must be URL-encoded.
- scope string
- Filter by the scope of the permission group. The value must be URL-encoded.
- results
List<Get
Account Api Token Permission Groups List Result> - The items returned by the data source
- account
Id String - Account identifier tag.
- max
Items Integer - Max items to fetch, default: 1000
- name String
- Filter by the name of the permission group. The value must be URL-encoded.
- scope String
- Filter by the scope of the permission group. The value must be URL-encoded.
- results
Get
Account Api Token Permission Groups List Result[] - The items returned by the data source
- account
Id string - Account identifier tag.
- max
Items number - Max items to fetch, default: 1000
- name string
- Filter by the name of the permission group. The value must be URL-encoded.
- scope string
- Filter by the scope of the permission group. The value must be URL-encoded.
- results
Sequence[Get
Account Api Token Permission Groups List Result] - The items returned by the data source
- account_
id str - Account identifier tag.
- max_
items int - Max items to fetch, default: 1000
- name str
- Filter by the name of the permission group. The value must be URL-encoded.
- scope str
- Filter by the scope of the permission group. The value must be URL-encoded.
- results List<Property Map>
- The items returned by the data source
- account
Id String - Account identifier tag.
- max
Items Number - Max items to fetch, default: 1000
- name String
- Filter by the name of the permission group. The value must be URL-encoded.
- scope String
- Filter by the scope of the permission group. The value must be URL-encoded.
Supporting Types
GetAccountApiTokenPermissionGroupsListResult
- Category string
- Product category that this permission group belongs to. Available values: "developerplatform", "aiandmachinelearning", "dnsandzones", "appsecurity", "rulesandconfiguration", "cloudflareoneandzerotrust", "analyticsandlogs", "networkservices", "media", "emailandmessaging", "cacheandperformance", "accountandbilling", "other".
- Id string
- Public ID.
- Is
Selectable bool - Whether the caller can select this permission group when creating a token.
- Name string
- Permission Group Name
- Scopes List<string>
- Resources to which the Permission Group is scoped
- Category string
- Product category that this permission group belongs to. Available values: "developerplatform", "aiandmachinelearning", "dnsandzones", "appsecurity", "rulesandconfiguration", "cloudflareoneandzerotrust", "analyticsandlogs", "networkservices", "media", "emailandmessaging", "cacheandperformance", "accountandbilling", "other".
- Id string
- Public ID.
- Is
Selectable bool - Whether the caller can select this permission group when creating a token.
- Name string
- Permission Group Name
- Scopes []string
- Resources to which the Permission Group is scoped
- category string
- Product category that this permission group belongs to. Available values: "developerplatform", "aiandmachinelearning", "dnsandzones", "appsecurity", "rulesandconfiguration", "cloudflareoneandzerotrust", "analyticsandlogs", "networkservices", "media", "emailandmessaging", "cacheandperformance", "accountandbilling", "other".
- id string
- Public ID.
- is_
selectable bool - Whether the caller can select this permission group when creating a token.
- name string
- Permission Group Name
- scopes list(string)
- Resources to which the Permission Group is scoped
- category String
- Product category that this permission group belongs to. Available values: "developerplatform", "aiandmachinelearning", "dnsandzones", "appsecurity", "rulesandconfiguration", "cloudflareoneandzerotrust", "analyticsandlogs", "networkservices", "media", "emailandmessaging", "cacheandperformance", "accountandbilling", "other".
- id String
- Public ID.
- is
Selectable Boolean - Whether the caller can select this permission group when creating a token.
- name String
- Permission Group Name
- scopes List<String>
- Resources to which the Permission Group is scoped
- category string
- Product category that this permission group belongs to. Available values: "developerplatform", "aiandmachinelearning", "dnsandzones", "appsecurity", "rulesandconfiguration", "cloudflareoneandzerotrust", "analyticsandlogs", "networkservices", "media", "emailandmessaging", "cacheandperformance", "accountandbilling", "other".
- id string
- Public ID.
- is
Selectable boolean - Whether the caller can select this permission group when creating a token.
- name string
- Permission Group Name
- scopes string[]
- Resources to which the Permission Group is scoped
- category str
- Product category that this permission group belongs to. Available values: "developerplatform", "aiandmachinelearning", "dnsandzones", "appsecurity", "rulesandconfiguration", "cloudflareoneandzerotrust", "analyticsandlogs", "networkservices", "media", "emailandmessaging", "cacheandperformance", "accountandbilling", "other".
- id str
- Public ID.
- is_
selectable bool - Whether the caller can select this permission group when creating a token.
- name str
- Permission Group Name
- scopes Sequence[str]
- Resources to which the Permission Group is scoped
- category String
- Product category that this permission group belongs to. Available values: "developerplatform", "aiandmachinelearning", "dnsandzones", "appsecurity", "rulesandconfiguration", "cloudflareoneandzerotrust", "analyticsandlogs", "networkservices", "media", "emailandmessaging", "cacheandperformance", "accountandbilling", "other".
- id String
- Public ID.
- is
Selectable Boolean - Whether the caller can select this permission group when creating a token.
- name String
- Permission Group Name
- scopes List<String>
- Resources to which the Permission Group is scoped
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.2
published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi