Viewing docs for Cloudflare v6.13.1
published on Monday, Mar 30, 2026 by Pulumi
published on Monday, Mar 30, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.1
published on Monday, Mar 30, 2026 by Pulumi
published on Monday, Mar 30, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustGatewayLogging = cloudflare.getZeroTrustGatewayLogging({
accountId: "699d98642c564d2e855e9661899b7252",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_gateway_logging = cloudflare.get_zero_trust_gateway_logging(account_id="699d98642c564d2e855e9661899b7252")
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.LookupZeroTrustGatewayLogging(ctx, &cloudflare.LookupZeroTrustGatewayLoggingArgs{
AccountId: "699d98642c564d2e855e9661899b7252",
}, 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 exampleZeroTrustGatewayLogging = Cloudflare.GetZeroTrustGatewayLogging.Invoke(new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
});
});
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.GetZeroTrustGatewayLoggingArgs;
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 exampleZeroTrustGatewayLogging = CloudflareFunctions.getZeroTrustGatewayLogging(GetZeroTrustGatewayLoggingArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.build());
}
}
variables:
exampleZeroTrustGatewayLogging:
fn::invoke:
function: cloudflare:getZeroTrustGatewayLogging
arguments:
accountId: 699d98642c564d2e855e9661899b7252
Using getZeroTrustGatewayLogging
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 getZeroTrustGatewayLogging(args: GetZeroTrustGatewayLoggingArgs, opts?: InvokeOptions): Promise<GetZeroTrustGatewayLoggingResult>
function getZeroTrustGatewayLoggingOutput(args: GetZeroTrustGatewayLoggingOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustGatewayLoggingResult>def get_zero_trust_gateway_logging(account_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustGatewayLoggingResult
def get_zero_trust_gateway_logging_output(account_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustGatewayLoggingResult]func LookupZeroTrustGatewayLogging(ctx *Context, args *LookupZeroTrustGatewayLoggingArgs, opts ...InvokeOption) (*LookupZeroTrustGatewayLoggingResult, error)
func LookupZeroTrustGatewayLoggingOutput(ctx *Context, args *LookupZeroTrustGatewayLoggingOutputArgs, opts ...InvokeOption) LookupZeroTrustGatewayLoggingResultOutput> Note: This function is named LookupZeroTrustGatewayLogging in the Go SDK.
public static class GetZeroTrustGatewayLogging
{
public static Task<GetZeroTrustGatewayLoggingResult> InvokeAsync(GetZeroTrustGatewayLoggingArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustGatewayLoggingResult> Invoke(GetZeroTrustGatewayLoggingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustGatewayLoggingResult> getZeroTrustGatewayLogging(GetZeroTrustGatewayLoggingArgs args, InvokeOptions options)
public static Output<GetZeroTrustGatewayLoggingResult> getZeroTrustGatewayLogging(GetZeroTrustGatewayLoggingArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustGatewayLogging:getZeroTrustGatewayLogging
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string
- Account
Id string
- account
Id String
- account
Id string
- account_
id str
- account
Id String
getZeroTrustGatewayLogging Result
The following output properties are available:
- Account
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Redact
Pii bool - Indicate whether to redact personally identifiable information from activity logging (PII fields include source IP, user email, user ID, device ID, URL, referrer, and user agent).
- Settings
By GetRule Type Zero Trust Gateway Logging Settings By Rule Type - Configure logging settings for each rule type.
- Account
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Redact
Pii bool - Indicate whether to redact personally identifiable information from activity logging (PII fields include source IP, user email, user ID, device ID, URL, referrer, and user agent).
- Settings
By GetRule Type Zero Trust Gateway Logging Settings By Rule Type - Configure logging settings for each rule type.
- account
Id String - id String
- The provider-assigned unique ID for this managed resource.
- redact
Pii Boolean - Indicate whether to redact personally identifiable information from activity logging (PII fields include source IP, user email, user ID, device ID, URL, referrer, and user agent).
- settings
By GetRule Type Zero Trust Gateway Logging Settings By Rule Type - Configure logging settings for each rule type.
- account
Id string - id string
- The provider-assigned unique ID for this managed resource.
- redact
Pii boolean - Indicate whether to redact personally identifiable information from activity logging (PII fields include source IP, user email, user ID, device ID, URL, referrer, and user agent).
- settings
By GetRule Type Zero Trust Gateway Logging Settings By Rule Type - Configure logging settings for each rule type.
- account_
id str - id str
- The provider-assigned unique ID for this managed resource.
- redact_
pii bool - Indicate whether to redact personally identifiable information from activity logging (PII fields include source IP, user email, user ID, device ID, URL, referrer, and user agent).
- settings_
by_ Getrule_ type Zero Trust Gateway Logging Settings By Rule Type - Configure logging settings for each rule type.
- account
Id String - id String
- The provider-assigned unique ID for this managed resource.
- redact
Pii Boolean - Indicate whether to redact personally identifiable information from activity logging (PII fields include source IP, user email, user ID, device ID, URL, referrer, and user agent).
- settings
By Property MapRule Type - Configure logging settings for each rule type.
Supporting Types
GetZeroTrustGatewayLoggingSettingsByRuleType
- Dns
Get
Zero Trust Gateway Logging Settings By Rule Type Dns - Configure logging settings for DNS firewall.
- Http
Get
Zero Trust Gateway Logging Settings By Rule Type Http - Configure logging settings for HTTP/HTTPS firewall.
- L4
Get
Zero Trust Gateway Logging Settings By Rule Type L4 - Configure logging settings for Network firewall.
- Dns
Get
Zero Trust Gateway Logging Settings By Rule Type Dns - Configure logging settings for DNS firewall.
- Http
Get
Zero Trust Gateway Logging Settings By Rule Type Http - Configure logging settings for HTTP/HTTPS firewall.
- L4
Get
Zero Trust Gateway Logging Settings By Rule Type L4 - Configure logging settings for Network firewall.
- dns
Get
Zero Trust Gateway Logging Settings By Rule Type Dns - Configure logging settings for DNS firewall.
- http
Get
Zero Trust Gateway Logging Settings By Rule Type Http - Configure logging settings for HTTP/HTTPS firewall.
- l4
Get
Zero Trust Gateway Logging Settings By Rule Type L4 - Configure logging settings for Network firewall.
- dns
Get
Zero Trust Gateway Logging Settings By Rule Type Dns - Configure logging settings for DNS firewall.
- http
Get
Zero Trust Gateway Logging Settings By Rule Type Http - Configure logging settings for HTTP/HTTPS firewall.
- l4
Get
Zero Trust Gateway Logging Settings By Rule Type L4 - Configure logging settings for Network firewall.
- dns
Get
Zero Trust Gateway Logging Settings By Rule Type Dns - Configure logging settings for DNS firewall.
- http
Get
Zero Trust Gateway Logging Settings By Rule Type Http - Configure logging settings for HTTP/HTTPS firewall.
- l4
Get
Zero Trust Gateway Logging Settings By Rule Type L4 - Configure logging settings for Network firewall.
- dns Property Map
- Configure logging settings for DNS firewall.
- http Property Map
- Configure logging settings for HTTP/HTTPS firewall.
- l4 Property Map
- Configure logging settings for Network firewall.
GetZeroTrustGatewayLoggingSettingsByRuleTypeDns
- log_
all bool - Specify whether to log all requests to this service.
- log_
blocks bool - Specify whether to log only blocking requests to this service.
GetZeroTrustGatewayLoggingSettingsByRuleTypeHttp
- log_
all bool - Specify whether to log all requests to this service.
- log_
blocks bool - Specify whether to log only blocking requests to this service.
GetZeroTrustGatewayLoggingSettingsByRuleTypeL4
- log_
all bool - Specify whether to log all requests to this service.
- log_
blocks bool - Specify whether to log only blocking requests to this service.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.13.1
published on Monday, Mar 30, 2026 by Pulumi
published on Monday, Mar 30, 2026 by Pulumi
