Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Accepted Permissions
Zero Trust ReadZero Trust Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDlpSensitivityLevels = cloudflare.getZeroTrustDlpSensitivityLevels({
accountId: "account_id",
sensitivityGroupId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dlp_sensitivity_levels = cloudflare.get_zero_trust_dlp_sensitivity_levels(account_id="account_id",
sensitivity_group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
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.GetZeroTrustDlpSensitivityLevels(ctx, &cloudflare.LookupZeroTrustDlpSensitivityLevelsArgs{
AccountId: "account_id",
SensitivityGroupId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
}, 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 exampleZeroTrustDlpSensitivityLevels = Cloudflare.GetZeroTrustDlpSensitivityLevels.Invoke(new()
{
AccountId = "account_id",
SensitivityGroupId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
});
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.GetZeroTrustDlpSensitivityLevelsArgs;
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 exampleZeroTrustDlpSensitivityLevels = CloudflareFunctions.getZeroTrustDlpSensitivityLevels(GetZeroTrustDlpSensitivityLevelsArgs.builder()
.accountId("account_id")
.sensitivityGroupId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.build());
}
}
variables:
exampleZeroTrustDlpSensitivityLevels:
fn::invoke:
function: cloudflare:getZeroTrustDlpSensitivityLevels
arguments:
accountId: account_id
sensitivityGroupId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_getzerotrustdlpsensitivitylevels" "exampleZeroTrustDlpSensitivityLevels" {
account_id = "account_id"
sensitivity_group_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
Using getZeroTrustDlpSensitivityLevels
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 getZeroTrustDlpSensitivityLevels(args: GetZeroTrustDlpSensitivityLevelsArgs, opts?: InvokeOptions): Promise<GetZeroTrustDlpSensitivityLevelsResult>
function getZeroTrustDlpSensitivityLevelsOutput(args: GetZeroTrustDlpSensitivityLevelsOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDlpSensitivityLevelsResult>def get_zero_trust_dlp_sensitivity_levels(account_id: Optional[str] = None,
max_items: Optional[int] = None,
sensitivity_group_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustDlpSensitivityLevelsResult
def get_zero_trust_dlp_sensitivity_levels_output(account_id: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
sensitivity_group_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDlpSensitivityLevelsResult]func LookupZeroTrustDlpSensitivityLevels(ctx *Context, args *LookupZeroTrustDlpSensitivityLevelsArgs, opts ...InvokeOption) (*LookupZeroTrustDlpSensitivityLevelsResult, error)
func LookupZeroTrustDlpSensitivityLevelsOutput(ctx *Context, args *LookupZeroTrustDlpSensitivityLevelsOutputArgs, opts ...InvokeOption) LookupZeroTrustDlpSensitivityLevelsResultOutput> Note: This function is named LookupZeroTrustDlpSensitivityLevels in the Go SDK.
public static class GetZeroTrustDlpSensitivityLevels
{
public static Task<GetZeroTrustDlpSensitivityLevelsResult> InvokeAsync(GetZeroTrustDlpSensitivityLevelsArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDlpSensitivityLevelsResult> Invoke(GetZeroTrustDlpSensitivityLevelsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustDlpSensitivityLevelsResult> getZeroTrustDlpSensitivityLevels(GetZeroTrustDlpSensitivityLevelsArgs args, InvokeOptions options)
public static Output<GetZeroTrustDlpSensitivityLevelsResult> getZeroTrustDlpSensitivityLevels(GetZeroTrustDlpSensitivityLevelsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDlpSensitivityLevels:getZeroTrustDlpSensitivityLevels
arguments:
# arguments dictionarydata "cloudflare_get_zero_trust_dlp_sensitivity_levels" "name" {
# arguments
}The following arguments are supported:
- Account
Id string - Sensitivity
Group stringId - Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Sensitivity
Group stringId - Max
Items int - Max items to fetch, default: 1000
- account_
id string - sensitivity_
group_ stringid - max_
items number - Max items to fetch, default: 1000
- account
Id String - sensitivity
Group StringId - max
Items Integer - Max items to fetch, default: 1000
- account
Id string - sensitivity
Group stringId - max
Items number - Max items to fetch, default: 1000
- account_
id str - sensitivity_
group_ strid - max_
items int - Max items to fetch, default: 1000
- account
Id String - sensitivity
Group StringId - max
Items Number - Max items to fetch, default: 1000
getZeroTrustDlpSensitivityLevels Result
The following output properties are available:
- Account
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Zero Trust Dlp Sensitivity Levels Result> - The items returned by the data source
- Sensitivity
Group stringId - Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Zero Trust Dlp Sensitivity Levels Result - The items returned by the data source
- Sensitivity
Group stringId - Max
Items int - Max items to fetch, default: 1000
- account_
id string - id string
- The provider-assigned unique ID for this managed resource.
- results list(object)
- The items returned by the data source
- sensitivity_
group_ stringid - max_
items number - Max items to fetch, default: 1000
- account
Id String - id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Zero Trust Dlp Sensitivity Levels Result> - The items returned by the data source
- sensitivity
Group StringId - max
Items Integer - Max items to fetch, default: 1000
- account
Id string - id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Zero Trust Dlp Sensitivity Levels Result[] - The items returned by the data source
- sensitivity
Group stringId - max
Items number - Max items to fetch, default: 1000
- account_
id str - id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Zero Trust Dlp Sensitivity Levels Result] - The items returned by the data source
- sensitivity_
group_ strid - max_
items int - Max items to fetch, default: 1000
- account
Id String - id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- sensitivity
Group StringId - max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetZeroTrustDlpSensitivityLevelsResult
- Created
At string - Description string
- Id string
- Name string
- Updated
At string
- Created
At string - Description string
- Id string
- Name string
- Updated
At string
- created_
at string - description string
- id string
- name string
- updated_
at string
- created
At String - description String
- id String
- name String
- updated
At String
- created
At string - description string
- id string
- name string
- updated
At string
- created_
at str - description str
- id str
- name str
- updated_
at str
- created
At String - description String
- id String
- name String
- updated
At String
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.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi