Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustGatewayPacfile = cloudflare.getZeroTrustGatewayPacfile({
accountId: "699d98642c564d2e855e9661899b7252",
pacfileId: "ed35569b41ce4d1facfe683550f54086",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_gateway_pacfile = cloudflare.get_zero_trust_gateway_pacfile(account_id="699d98642c564d2e855e9661899b7252",
pacfile_id="ed35569b41ce4d1facfe683550f54086")
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.LookupZeroTrustGatewayPacfile(ctx, &cloudflare.LookupZeroTrustGatewayPacfileArgs{
AccountId: "699d98642c564d2e855e9661899b7252",
PacfileId: "ed35569b41ce4d1facfe683550f54086",
}, 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 exampleZeroTrustGatewayPacfile = Cloudflare.GetZeroTrustGatewayPacfile.Invoke(new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
PacfileId = "ed35569b41ce4d1facfe683550f54086",
});
});
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.GetZeroTrustGatewayPacfileArgs;
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 exampleZeroTrustGatewayPacfile = CloudflareFunctions.getZeroTrustGatewayPacfile(GetZeroTrustGatewayPacfileArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.pacfileId("ed35569b41ce4d1facfe683550f54086")
.build());
}
}
variables:
exampleZeroTrustGatewayPacfile:
fn::invoke:
function: cloudflare:getZeroTrustGatewayPacfile
arguments:
accountId: 699d98642c564d2e855e9661899b7252
pacfileId: ed35569b41ce4d1facfe683550f54086
Using getZeroTrustGatewayPacfile
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 getZeroTrustGatewayPacfile(args: GetZeroTrustGatewayPacfileArgs, opts?: InvokeOptions): Promise<GetZeroTrustGatewayPacfileResult>
function getZeroTrustGatewayPacfileOutput(args: GetZeroTrustGatewayPacfileOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustGatewayPacfileResult>def get_zero_trust_gateway_pacfile(account_id: Optional[str] = None,
pacfile_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustGatewayPacfileResult
def get_zero_trust_gateway_pacfile_output(account_id: Optional[pulumi.Input[str]] = None,
pacfile_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustGatewayPacfileResult]func LookupZeroTrustGatewayPacfile(ctx *Context, args *LookupZeroTrustGatewayPacfileArgs, opts ...InvokeOption) (*LookupZeroTrustGatewayPacfileResult, error)
func LookupZeroTrustGatewayPacfileOutput(ctx *Context, args *LookupZeroTrustGatewayPacfileOutputArgs, opts ...InvokeOption) LookupZeroTrustGatewayPacfileResultOutput> Note: This function is named LookupZeroTrustGatewayPacfile in the Go SDK.
public static class GetZeroTrustGatewayPacfile
{
public static Task<GetZeroTrustGatewayPacfileResult> InvokeAsync(GetZeroTrustGatewayPacfileArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustGatewayPacfileResult> Invoke(GetZeroTrustGatewayPacfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustGatewayPacfileResult> getZeroTrustGatewayPacfile(GetZeroTrustGatewayPacfileArgs args, InvokeOptions options)
public static Output<GetZeroTrustGatewayPacfileResult> getZeroTrustGatewayPacfile(GetZeroTrustGatewayPacfileArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustGatewayPacfile:getZeroTrustGatewayPacfile
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - pacfile_
id str
getZeroTrustGatewayPacfile Result
The following output properties are available:
- Account
Id string - Contents string
- Actual contents of the PAC file
- Created
At string - Description string
- Detailed description of the PAC file.
- Id string
- The ID of this resource.
- Name string
- Name of the PAC file.
- Pacfile
Id string - Slug string
- URL-friendly version of the PAC file name.
- Updated
At string - Url string
- Unique URL to download the PAC file.
- Account
Id string - Contents string
- Actual contents of the PAC file
- Created
At string - Description string
- Detailed description of the PAC file.
- Id string
- The ID of this resource.
- Name string
- Name of the PAC file.
- Pacfile
Id string - Slug string
- URL-friendly version of the PAC file name.
- Updated
At string - Url string
- Unique URL to download the PAC file.
- account
Id String - contents String
- Actual contents of the PAC file
- created
At String - description String
- Detailed description of the PAC file.
- id String
- The ID of this resource.
- name String
- Name of the PAC file.
- pacfile
Id String - slug String
- URL-friendly version of the PAC file name.
- updated
At String - url String
- Unique URL to download the PAC file.
- account
Id string - contents string
- Actual contents of the PAC file
- created
At string - description string
- Detailed description of the PAC file.
- id string
- The ID of this resource.
- name string
- Name of the PAC file.
- pacfile
Id string - slug string
- URL-friendly version of the PAC file name.
- updated
At string - url string
- Unique URL to download the PAC file.
- account_
id str - contents str
- Actual contents of the PAC file
- created_
at str - description str
- Detailed description of the PAC file.
- id str
- The ID of this resource.
- name str
- Name of the PAC file.
- pacfile_
id str - slug str
- URL-friendly version of the PAC file name.
- updated_
at str - url str
- Unique URL to download the PAC file.
- account
Id String - contents String
- Actual contents of the PAC file
- created
At String - description String
- Detailed description of the PAC file.
- id String
- The ID of this resource.
- name String
- Name of the PAC file.
- pacfile
Id String - slug String
- URL-friendly version of the PAC file name.
- updated
At String - url String
- Unique URL to download the PAC file.
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.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
