get Zero Trust Dlp Custom Profile
suspend fun getZeroTrustDlpCustomProfile(argument: GetZeroTrustDlpCustomProfilePlainArgs): GetZeroTrustDlpCustomProfileResult
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDlpCustomProfile = cloudflare.getZeroTrustDlpCustomProfile({
accountId: "account_id",
profileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
Content copied to clipboard
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dlp_custom_profile = cloudflare.get_zero_trust_dlp_custom_profile(account_id="account_id",
profile_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleZeroTrustDlpCustomProfile = Cloudflare.GetZeroTrustDlpCustomProfile.Invoke(new()
{
AccountId = "account_id",
ProfileId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
});
Content copied to clipboard
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.LookupZeroTrustDlpCustomProfile(ctx, &cloudflare.LookupZeroTrustDlpCustomProfileArgs{
AccountId: "account_id",
ProfileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
}, nil)
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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.GetZeroTrustDlpCustomProfileArgs;
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 exampleZeroTrustDlpCustomProfile = CloudflareFunctions.getZeroTrustDlpCustomProfile(GetZeroTrustDlpCustomProfileArgs.builder()
.accountId("account_id")
.profileId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.build());
}
}
Content copied to clipboard
variables:
exampleZeroTrustDlpCustomProfile:
fn::invoke:
function: cloudflare:getZeroTrustDlpCustomProfile
arguments:
accountId: account_id
profileId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
Content copied to clipboard
Return
A collection of values returned by getZeroTrustDlpCustomProfile.
Parameters
argument
A collection of arguments for invoking getZeroTrustDlpCustomProfile.
suspend fun getZeroTrustDlpCustomProfile(accountId: String, profileId: String): GetZeroTrustDlpCustomProfileResult
Return
A collection of values returned by getZeroTrustDlpCustomProfile.
Parameters
account Id
profile Id
See also
suspend fun getZeroTrustDlpCustomProfile(argument: suspend GetZeroTrustDlpCustomProfilePlainArgsBuilder.() -> Unit): GetZeroTrustDlpCustomProfileResult
Return
A collection of values returned by getZeroTrustDlpCustomProfile.
Parameters
argument
Builder for com.pulumi.cloudflare.kotlin.inputs.GetZeroTrustDlpCustomProfilePlainArgs.