Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustGatewayLogging
Explore with Pulumi AI
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 dictionary
The 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 - Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
- Settings
By GetRule Type Zero Trust Gateway Logging Settings By Rule Type - Logging settings by rule type.
- Account
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Redact
Pii bool - Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
- Settings
By GetRule Type Zero Trust Gateway Logging Settings By Rule Type - Logging settings by rule type.
- account
Id String - id String
- The provider-assigned unique ID for this managed resource.
- redact
Pii Boolean - Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
- settings
By GetRule Type Zero Trust Gateway Logging Settings By Rule Type - Logging settings by rule type.
- account
Id string - id string
- The provider-assigned unique ID for this managed resource.
- redact
Pii boolean - Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
- settings
By GetRule Type Zero Trust Gateway Logging Settings By Rule Type - Logging settings by rule type.
- account_
id str - id str
- The provider-assigned unique ID for this managed resource.
- redact_
pii bool - Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
- settings_
by_ Getrule_ type Zero Trust Gateway Logging Settings By Rule Type - Logging settings by rule type.
- account
Id String - id String
- The provider-assigned unique ID for this managed resource.
- redact
Pii Boolean - Redact personally identifiable information from activity logging (PII fields are: source IP, user email, user ID, device ID, URL, referrer, user agent).
- settings
By Property MapRule Type - Logging settings by rule type.
Supporting Types
GetZeroTrustGatewayLoggingSettingsByRuleType
GetZeroTrustGatewayLoggingSettingsByRuleTypeDns
- log_
all bool - Log all requests to this service.
- log_
blocks bool - Log only blocking requests to this service.
GetZeroTrustGatewayLoggingSettingsByRuleTypeHttp
- log_
all bool - Log all requests to this service.
- log_
blocks bool - Log only blocking requests to this service.
GetZeroTrustGatewayLoggingSettingsByRuleTypeL4
- log_
all bool - Log all requests to this service.
- log_
blocks bool - 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
cloudflare
Terraform Provider.