get Zero Trust Dlp Predefined Profile
suspend fun getZeroTrustDlpPredefinedProfile(argument: GetZeroTrustDlpPredefinedProfilePlainArgs): GetZeroTrustDlpPredefinedProfileResult
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDlpPredefinedProfile = cloudflare.getZeroTrustDlpPredefinedProfile({
accountId: "account_id",
profileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
Content copied to clipboard
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dlp_predefined_profile = cloudflare.get_zero_trust_dlp_predefined_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 exampleZeroTrustDlpPredefinedProfile = Cloudflare.GetZeroTrustDlpPredefinedProfile.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.LookupZeroTrustDlpPredefinedProfile(ctx, &cloudflare.LookupZeroTrustDlpPredefinedProfileArgs{
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.GetZeroTrustDlpPredefinedProfileArgs;
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 exampleZeroTrustDlpPredefinedProfile = CloudflareFunctions.getZeroTrustDlpPredefinedProfile(GetZeroTrustDlpPredefinedProfileArgs.builder()
.accountId("account_id")
.profileId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.build());
}
}
Content copied to clipboard
variables:
exampleZeroTrustDlpPredefinedProfile:
fn::invoke:
function: cloudflare:getZeroTrustDlpPredefinedProfile
arguments:
accountId: account_id
profileId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
Content copied to clipboard
Return
A collection of values returned by getZeroTrustDlpPredefinedProfile.
Parameters
argument
A collection of arguments for invoking getZeroTrustDlpPredefinedProfile.
suspend fun getZeroTrustDlpPredefinedProfile(accountId: String, profileId: String): GetZeroTrustDlpPredefinedProfileResult
Return
A collection of values returned by getZeroTrustDlpPredefinedProfile.
Parameters
account Id
profile Id
See also
suspend fun getZeroTrustDlpPredefinedProfile(argument: suspend GetZeroTrustDlpPredefinedProfilePlainArgsBuilder.() -> Unit): GetZeroTrustDlpPredefinedProfileResult
Return
A collection of values returned by getZeroTrustDlpPredefinedProfile.
Parameters
argument
Builder for com.pulumi.cloudflare.kotlin.inputs.GetZeroTrustDlpPredefinedProfilePlainArgs.