Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZoneTracing = cloudflare.getZoneTracing({
zoneId: "zone_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zone_tracing = cloudflare.get_zone_tracing(zone_id="zone_id")
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.GetZoneTracing(ctx, &cloudflare.LookupZoneTracingArgs{
ZoneId: "zone_id",
}, 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 exampleZoneTracing = Cloudflare.GetZoneTracing.Invoke(new()
{
ZoneId = "zone_id",
});
});
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.GetZoneTracingArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleZoneTracing = CloudflareFunctions.getZoneTracing(GetZoneTracingArgs.builder()
.zoneId("zone_id")
.build());
}
}
variables:
exampleZoneTracing:
fn::invoke:
function: cloudflare:getZoneTracing
arguments:
zoneId: zone_id
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_zone_tracing" "exampleZoneTracing" {
zone_id = "zone_id"
}
Using getZoneTracing
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 getZoneTracing(args: GetZoneTracingArgs, opts?: InvokeOptions): Promise<GetZoneTracingResult>
function getZoneTracingOutput(args: GetZoneTracingOutputArgs, opts?: InvokeOutputOptions): Output<GetZoneTracingResult>def get_zone_tracing(zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZoneTracingResult
def get_zone_tracing_output(zone_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetZoneTracingResult]func LookupZoneTracing(ctx *Context, args *LookupZoneTracingArgs, opts ...InvokeOption) (*LookupZoneTracingResult, error)
func LookupZoneTracingOutput(ctx *Context, args *LookupZoneTracingOutputArgs, opts ...InvokeOption) LookupZoneTracingResultOutput> Note: This function is named LookupZoneTracing in the Go SDK.
public static class GetZoneTracing
{
public static Task<GetZoneTracingResult> InvokeAsync(GetZoneTracingArgs args, InvokeOptions? opts = null)
public static Output<GetZoneTracingResult> Invoke(GetZoneTracingInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetZoneTracingResult> Invoke(GetZoneTracingInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetZoneTracingResult> getZoneTracing(GetZoneTracingArgs args, InvokeOptions options)
public static Output<GetZoneTracingResult> getZoneTracing(GetZoneTracingArgs args, InvokeOptions options)
public static Output<GetZoneTracingResult> getZoneTracing(GetZoneTracingArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getZoneTracing:getZoneTracing
arguments:
# arguments dictionarydata "cloudflare_get_zone_tracing" "name" {
# arguments
}The following arguments are supported:
- Zone
Id string - Specify the zone ID.
- Zone
Id string - Specify the zone ID.
- zone_
id string - Specify the zone ID.
- zone
Id String - Specify the zone ID.
- zone
Id string - Specify the zone ID.
- zone_
id str - Specify the zone ID.
- zone
Id String - Specify the zone ID.
getZoneTracing Result
The following output properties are available:
- Destinations List<string>
- Up to 100 OpenTelemetry destination identifiers that receive traces.
- Enabled bool
- Whether Cloudflare Traces is enabled for the zone.
- Forward
Context bool - Whether trace context is sent externally or across a zone boundary.
- Id string
- Specify the zone ID.
- Persist bool
- Whether traces are persisted in Cloudflare.
- Propagation
Policy string - When inbound trace context may be continued. Authenticated propagation is not supported yet. Available values: "accept", "authenticated", "reject".
- Sampling
Ratio double - The ratio of requests sampled for tracing, from 0 to 1.
- Zone
Id string - Specify the zone ID.
- Destinations []string
- Up to 100 OpenTelemetry destination identifiers that receive traces.
- Enabled bool
- Whether Cloudflare Traces is enabled for the zone.
- Forward
Context bool - Whether trace context is sent externally or across a zone boundary.
- Id string
- Specify the zone ID.
- Persist bool
- Whether traces are persisted in Cloudflare.
- Propagation
Policy string - When inbound trace context may be continued. Authenticated propagation is not supported yet. Available values: "accept", "authenticated", "reject".
- Sampling
Ratio float64 - The ratio of requests sampled for tracing, from 0 to 1.
- Zone
Id string - Specify the zone ID.
- destinations list(string)
- Up to 100 OpenTelemetry destination identifiers that receive traces.
- enabled bool
- Whether Cloudflare Traces is enabled for the zone.
- forward_
context bool - Whether trace context is sent externally or across a zone boundary.
- id string
- Specify the zone ID.
- persist bool
- Whether traces are persisted in Cloudflare.
- propagation_
policy string - When inbound trace context may be continued. Authenticated propagation is not supported yet. Available values: "accept", "authenticated", "reject".
- sampling_
ratio number - The ratio of requests sampled for tracing, from 0 to 1.
- zone_
id string - Specify the zone ID.
- destinations List<String>
- Up to 100 OpenTelemetry destination identifiers that receive traces.
- enabled Boolean
- Whether Cloudflare Traces is enabled for the zone.
- forward
Context Boolean - Whether trace context is sent externally or across a zone boundary.
- id String
- Specify the zone ID.
- persist Boolean
- Whether traces are persisted in Cloudflare.
- propagation
Policy String - When inbound trace context may be continued. Authenticated propagation is not supported yet. Available values: "accept", "authenticated", "reject".
- sampling
Ratio Double - The ratio of requests sampled for tracing, from 0 to 1.
- zone
Id String - Specify the zone ID.
- destinations string[]
- Up to 100 OpenTelemetry destination identifiers that receive traces.
- enabled boolean
- Whether Cloudflare Traces is enabled for the zone.
- forward
Context boolean - Whether trace context is sent externally or across a zone boundary.
- id string
- Specify the zone ID.
- persist boolean
- Whether traces are persisted in Cloudflare.
- propagation
Policy string - When inbound trace context may be continued. Authenticated propagation is not supported yet. Available values: "accept", "authenticated", "reject".
- sampling
Ratio number - The ratio of requests sampled for tracing, from 0 to 1.
- zone
Id string - Specify the zone ID.
- destinations Sequence[str]
- Up to 100 OpenTelemetry destination identifiers that receive traces.
- enabled bool
- Whether Cloudflare Traces is enabled for the zone.
- forward_
context bool - Whether trace context is sent externally or across a zone boundary.
- id str
- Specify the zone ID.
- persist bool
- Whether traces are persisted in Cloudflare.
- propagation_
policy str - When inbound trace context may be continued. Authenticated propagation is not supported yet. Available values: "accept", "authenticated", "reject".
- sampling_
ratio float - The ratio of requests sampled for tracing, from 0 to 1.
- zone_
id str - Specify the zone ID.
- destinations List<String>
- Up to 100 OpenTelemetry destination identifiers that receive traces.
- enabled Boolean
- Whether Cloudflare Traces is enabled for the zone.
- forward
Context Boolean - Whether trace context is sent externally or across a zone boundary.
- id String
- Specify the zone ID.
- persist Boolean
- Whether traces are persisted in Cloudflare.
- propagation
Policy String - When inbound trace context may be continued. Authenticated propagation is not supported yet. Available values: "accept", "authenticated", "reject".
- sampling
Ratio Number - The ratio of requests sampled for tracing, from 0 to 1.
- zone
Id String - Specify the zone ID.
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.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi