Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustDlpDatasets
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDlpDatasets = cloudflare.getZeroTrustDlpDatasets({
accountId: "account_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dlp_datasets = cloudflare.get_zero_trust_dlp_datasets(account_id="account_id")
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.LookupZeroTrustDlpDatasets(ctx, &cloudflare.LookupZeroTrustDlpDatasetsArgs{
AccountId: "account_id",
}, 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 exampleZeroTrustDlpDatasets = Cloudflare.GetZeroTrustDlpDatasets.Invoke(new()
{
AccountId = "account_id",
});
});
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.GetZeroTrustDlpDatasetsArgs;
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 exampleZeroTrustDlpDatasets = CloudflareFunctions.getZeroTrustDlpDatasets(GetZeroTrustDlpDatasetsArgs.builder()
.accountId("account_id")
.build());
}
}
variables:
exampleZeroTrustDlpDatasets:
fn::invoke:
function: cloudflare:getZeroTrustDlpDatasets
arguments:
accountId: account_id
Using getZeroTrustDlpDatasets
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 getZeroTrustDlpDatasets(args: GetZeroTrustDlpDatasetsArgs, opts?: InvokeOptions): Promise<GetZeroTrustDlpDatasetsResult>
function getZeroTrustDlpDatasetsOutput(args: GetZeroTrustDlpDatasetsOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDlpDatasetsResult>
def get_zero_trust_dlp_datasets(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustDlpDatasetsResult
def get_zero_trust_dlp_datasets_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDlpDatasetsResult]
func LookupZeroTrustDlpDatasets(ctx *Context, args *LookupZeroTrustDlpDatasetsArgs, opts ...InvokeOption) (*LookupZeroTrustDlpDatasetsResult, error)
func LookupZeroTrustDlpDatasetsOutput(ctx *Context, args *LookupZeroTrustDlpDatasetsOutputArgs, opts ...InvokeOption) LookupZeroTrustDlpDatasetsResultOutput
> Note: This function is named LookupZeroTrustDlpDatasets
in the Go SDK.
public static class GetZeroTrustDlpDatasets
{
public static Task<GetZeroTrustDlpDatasetsResult> InvokeAsync(GetZeroTrustDlpDatasetsArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDlpDatasetsResult> Invoke(GetZeroTrustDlpDatasetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZeroTrustDlpDatasetsResult> getZeroTrustDlpDatasets(GetZeroTrustDlpDatasetsArgs args, InvokeOptions options)
public static Output<GetZeroTrustDlpDatasetsResult> getZeroTrustDlpDatasets(GetZeroTrustDlpDatasetsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDlpDatasets:getZeroTrustDlpDatasets
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - max_
items int - Max items to fetch, default: 1000
getZeroTrustDlpDatasets 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 Datasets Result> - The items returned by the data source
- 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 Datasets Result - The items returned by the data source
- 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<Get
Zero Trust Dlp Datasets Result> - The items returned by the data source
- 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 Datasets Result[] - The items returned by the data source
- 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 Datasets Result] - The items returned by the data source
- 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
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetZeroTrustDlpDatasetsResult
- Columns
List<Get
Zero Trust Dlp Datasets Result Column> - Created
At string - Description string
- The description of the dataset
- Encoding
Version int - Id string
- Name string
- Num
Cells int - Secret bool
- Status string
- Available values: "empty", "uploading", "processing", "failed", "complete".
- Updated
At string - When the dataset was last updated.
- Uploads
List<Get
Zero Trust Dlp Datasets Result Upload>
- Columns
[]Get
Zero Trust Dlp Datasets Result Column - Created
At string - Description string
- The description of the dataset
- Encoding
Version int - Id string
- Name string
- Num
Cells int - Secret bool
- Status string
- Available values: "empty", "uploading", "processing", "failed", "complete".
- Updated
At string - When the dataset was last updated.
- Uploads
[]Get
Zero Trust Dlp Datasets Result Upload
- columns
List<Get
Zero Trust Dlp Datasets Result Column> - created
At String - description String
- The description of the dataset
- encoding
Version Integer - id String
- name String
- num
Cells Integer - secret Boolean
- status String
- Available values: "empty", "uploading", "processing", "failed", "complete".
- updated
At String - When the dataset was last updated.
- uploads
List<Get
Zero Trust Dlp Datasets Result Upload>
- columns
Get
Zero Trust Dlp Datasets Result Column[] - created
At string - description string
- The description of the dataset
- encoding
Version number - id string
- name string
- num
Cells number - secret boolean
- status string
- Available values: "empty", "uploading", "processing", "failed", "complete".
- updated
At string - When the dataset was last updated.
- uploads
Get
Zero Trust Dlp Datasets Result Upload[]
- columns
Sequence[Get
Zero Trust Dlp Datasets Result Column] - created_
at str - description str
- The description of the dataset
- encoding_
version int - id str
- name str
- num_
cells int - secret bool
- status str
- Available values: "empty", "uploading", "processing", "failed", "complete".
- updated_
at str - When the dataset was last updated.
- uploads
Sequence[Get
Zero Trust Dlp Datasets Result Upload]
- columns List<Property Map>
- created
At String - description String
- The description of the dataset
- encoding
Version Number - id String
- name String
- num
Cells Number - secret Boolean
- status String
- Available values: "empty", "uploading", "processing", "failed", "complete".
- updated
At String - When the dataset was last updated.
- uploads List<Property Map>
GetZeroTrustDlpDatasetsResultColumn
- Entry
Id string - Header
Name string - Num
Cells int - Upload
Status string - Available values: "empty", "uploading", "processing", "failed", "complete".
- Entry
Id string - Header
Name string - Num
Cells int - Upload
Status string - Available values: "empty", "uploading", "processing", "failed", "complete".
- entry
Id String - header
Name String - num
Cells Integer - upload
Status String - Available values: "empty", "uploading", "processing", "failed", "complete".
- entry
Id string - header
Name string - num
Cells number - upload
Status string - Available values: "empty", "uploading", "processing", "failed", "complete".
- entry_
id str - header_
name str - num_
cells int - upload_
status str - Available values: "empty", "uploading", "processing", "failed", "complete".
- entry
Id String - header
Name String - num
Cells Number - upload
Status String - Available values: "empty", "uploading", "processing", "failed", "complete".
GetZeroTrustDlpDatasetsResultUpload
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.