1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDlpDatasets
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getZeroTrustDlpDatasets

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    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:

    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    max_items int
    Max items to fetch, default: 1000
    accountId String
    maxItems Number
    Max items to fetch, default: 1000

    getZeroTrustDlpDatasets Result

    The following output properties are available:

    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetZeroTrustDlpDatasetsResult>
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetZeroTrustDlpDatasetsResult
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    accountId String
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetZeroTrustDlpDatasetsResult>
    The items returned by the data source
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    id string
    The provider-assigned unique ID for this managed resource.
    results GetZeroTrustDlpDatasetsResult[]
    The items returned by the data source
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetZeroTrustDlpDatasetsResult]
    The items returned by the data source
    max_items int
    Max items to fetch, default: 1000
    accountId String
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    maxItems Number
    Max items to fetch, default: 1000

    Supporting Types

    GetZeroTrustDlpDatasetsResult

    Columns List<GetZeroTrustDlpDatasetsResultColumn>
    CreatedAt string
    Description string
    The description of the dataset
    EncodingVersion int
    Id string
    Name string
    NumCells int
    Secret bool
    Status string
    Available values: "empty", "uploading", "processing", "failed", "complete".
    UpdatedAt string
    When the dataset was last updated.
    Uploads List<GetZeroTrustDlpDatasetsResultUpload>
    Columns []GetZeroTrustDlpDatasetsResultColumn
    CreatedAt string
    Description string
    The description of the dataset
    EncodingVersion int
    Id string
    Name string
    NumCells int
    Secret bool
    Status string
    Available values: "empty", "uploading", "processing", "failed", "complete".
    UpdatedAt string
    When the dataset was last updated.
    Uploads []GetZeroTrustDlpDatasetsResultUpload
    columns List<GetZeroTrustDlpDatasetsResultColumn>
    createdAt String
    description String
    The description of the dataset
    encodingVersion Integer
    id String
    name String
    numCells Integer
    secret Boolean
    status String
    Available values: "empty", "uploading", "processing", "failed", "complete".
    updatedAt String
    When the dataset was last updated.
    uploads List<GetZeroTrustDlpDatasetsResultUpload>
    columns GetZeroTrustDlpDatasetsResultColumn[]
    createdAt string
    description string
    The description of the dataset
    encodingVersion number
    id string
    name string
    numCells number
    secret boolean
    status string
    Available values: "empty", "uploading", "processing", "failed", "complete".
    updatedAt string
    When the dataset was last updated.
    uploads GetZeroTrustDlpDatasetsResultUpload[]
    columns Sequence[GetZeroTrustDlpDatasetsResultColumn]
    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[GetZeroTrustDlpDatasetsResultUpload]
    columns List<Property Map>
    createdAt String
    description String
    The description of the dataset
    encodingVersion Number
    id String
    name String
    numCells Number
    secret Boolean
    status String
    Available values: "empty", "uploading", "processing", "failed", "complete".
    updatedAt String
    When the dataset was last updated.
    uploads List<Property Map>

    GetZeroTrustDlpDatasetsResultColumn

    EntryId string
    HeaderName string
    NumCells int
    UploadStatus string
    Available values: "empty", "uploading", "processing", "failed", "complete".
    EntryId string
    HeaderName string
    NumCells int
    UploadStatus string
    Available values: "empty", "uploading", "processing", "failed", "complete".
    entryId String
    headerName String
    numCells Integer
    uploadStatus String
    Available values: "empty", "uploading", "processing", "failed", "complete".
    entryId string
    headerName string
    numCells number
    uploadStatus 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".
    entryId String
    headerName String
    numCells Number
    uploadStatus String
    Available values: "empty", "uploading", "processing", "failed", "complete".

    GetZeroTrustDlpDatasetsResultUpload

    NumCells int
    Status string
    Available values: "empty", "uploading", "processing", "failed", "complete".
    Version int
    NumCells int
    Status string
    Available values: "empty", "uploading", "processing", "failed", "complete".
    Version int
    numCells Integer
    status String
    Available values: "empty", "uploading", "processing", "failed", "complete".
    version Integer
    numCells number
    status string
    Available values: "empty", "uploading", "processing", "failed", "complete".
    version number
    num_cells int
    status str
    Available values: "empty", "uploading", "processing", "failed", "complete".
    version int
    numCells Number
    status String
    Available values: "empty", "uploading", "processing", "failed", "complete".
    version Number

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi