Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustDlpDataset
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDlpDataset = cloudflare.getZeroTrustDlpDataset({
accountId: "account_id",
datasetId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dlp_dataset = cloudflare.get_zero_trust_dlp_dataset(account_id="account_id",
dataset_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.LookupZeroTrustDlpDataset(ctx, &cloudflare.LookupZeroTrustDlpDatasetArgs{
AccountId: "account_id",
DatasetId: "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 exampleZeroTrustDlpDataset = Cloudflare.GetZeroTrustDlpDataset.Invoke(new()
{
AccountId = "account_id",
DatasetId = "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.GetZeroTrustDlpDatasetArgs;
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 exampleZeroTrustDlpDataset = CloudflareFunctions.getZeroTrustDlpDataset(GetZeroTrustDlpDatasetArgs.builder()
.accountId("account_id")
.datasetId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.build());
}
}
variables:
exampleZeroTrustDlpDataset:
fn::invoke:
function: cloudflare:getZeroTrustDlpDataset
arguments:
accountId: account_id
datasetId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
Using getZeroTrustDlpDataset
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 getZeroTrustDlpDataset(args: GetZeroTrustDlpDatasetArgs, opts?: InvokeOptions): Promise<GetZeroTrustDlpDatasetResult>
function getZeroTrustDlpDatasetOutput(args: GetZeroTrustDlpDatasetOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDlpDatasetResult>
def get_zero_trust_dlp_dataset(account_id: Optional[str] = None,
dataset_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustDlpDatasetResult
def get_zero_trust_dlp_dataset_output(account_id: Optional[pulumi.Input[str]] = None,
dataset_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDlpDatasetResult]
func LookupZeroTrustDlpDataset(ctx *Context, args *LookupZeroTrustDlpDatasetArgs, opts ...InvokeOption) (*LookupZeroTrustDlpDatasetResult, error)
func LookupZeroTrustDlpDatasetOutput(ctx *Context, args *LookupZeroTrustDlpDatasetOutputArgs, opts ...InvokeOption) LookupZeroTrustDlpDatasetResultOutput
> Note: This function is named LookupZeroTrustDlpDataset
in the Go SDK.
public static class GetZeroTrustDlpDataset
{
public static Task<GetZeroTrustDlpDatasetResult> InvokeAsync(GetZeroTrustDlpDatasetArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDlpDatasetResult> Invoke(GetZeroTrustDlpDatasetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZeroTrustDlpDatasetResult> getZeroTrustDlpDataset(GetZeroTrustDlpDatasetArgs args, InvokeOptions options)
public static Output<GetZeroTrustDlpDatasetResult> getZeroTrustDlpDataset(GetZeroTrustDlpDatasetArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDlpDataset:getZeroTrustDlpDataset
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - dataset_
id str
getZeroTrustDlpDataset Result
The following output properties are available:
- Account
Id string - Columns
List<Get
Zero Trust Dlp Dataset Column> - Created
At string - Dataset
Id string - Description string
- The description of the dataset
- Encoding
Version int - Id string
- The ID of this resource.
- 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 Dataset Upload>
- Account
Id string - Columns
[]Get
Zero Trust Dlp Dataset Column - Created
At string - Dataset
Id string - Description string
- The description of the dataset
- Encoding
Version int - Id string
- The ID of this resource.
- 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 Dataset Upload
- account
Id String - columns
List<Get
Zero Trust Dlp Dataset Column> - created
At String - dataset
Id String - description String
- The description of the dataset
- encoding
Version Integer - id String
- The ID of this resource.
- 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 Dataset Upload>
- account
Id string - columns
Get
Zero Trust Dlp Dataset Column[] - created
At string - dataset
Id string - description string
- The description of the dataset
- encoding
Version number - id string
- The ID of this resource.
- 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 Dataset Upload[]
- account_
id str - columns
Sequence[Get
Zero Trust Dlp Dataset Column] - created_
at str - dataset_
id str - description str
- The description of the dataset
- encoding_
version int - id str
- The ID of this resource.
- 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 Dataset Upload]
- account
Id String - columns List<Property Map>
- created
At String - dataset
Id String - description String
- The description of the dataset
- encoding
Version Number - id String
- The ID of this resource.
- 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>
Supporting Types
GetZeroTrustDlpDatasetColumn
- 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".
GetZeroTrustDlpDatasetUpload
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.