get Content Scanning Expressions
suspend fun getContentScanningExpressions(argument: GetContentScanningExpressionsPlainArgs): GetContentScanningExpressionsInvokeResult
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleContentScanningExpressions = cloudflare.getContentScanningExpressions({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
});
Content copied to clipboard
import pulumi
import pulumi_cloudflare as cloudflare
example_content_scanning_expressions = cloudflare.get_content_scanning_expressions(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleContentScanningExpressions = Cloudflare.GetContentScanningExpressions.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
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.LookupContentScanningExpressions(ctx, &cloudflare.LookupContentScanningExpressionsArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
}, 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.GetContentScanningExpressionsArgs;
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 exampleContentScanningExpressions = CloudflareFunctions.getContentScanningExpressions(GetContentScanningExpressionsArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
Content copied to clipboard
variables:
exampleContentScanningExpressions:
fn::invoke:
function: cloudflare:getContentScanningExpressions
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
Content copied to clipboard
Return
A collection of values returned by getContentScanningExpressions.
Parameters
argument
A collection of arguments for invoking getContentScanningExpressions.
suspend fun getContentScanningExpressions(maxItems: Int? = null, zoneId: String): GetContentScanningExpressionsInvokeResult
Return
A collection of values returned by getContentScanningExpressions.
Parameters
max Items
Max items to fetch, default: 1000
zone Id
Defines an identifier.
See also
suspend fun getContentScanningExpressions(argument: suspend GetContentScanningExpressionsPlainArgsBuilder.() -> Unit): GetContentScanningExpressionsInvokeResult
Return
A collection of values returned by getContentScanningExpressions.
Parameters
argument
Builder for com.pulumi.cloudflare.kotlin.inputs.GetContentScanningExpressionsPlainArgs.