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 exampleZeroTrustDexRule = cloudflare.getZeroTrustDexRule({
accountId: "01a7362d577a6c3019a474fd6f485823",
ruleId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dex_rule = cloudflare.get_zero_trust_dex_rule(account_id="01a7362d577a6c3019a474fd6f485823",
rule_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
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.LookupZeroTrustDexRule(ctx, &cloudflare.LookupZeroTrustDexRuleArgs{
AccountId: "01a7362d577a6c3019a474fd6f485823",
RuleId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
}, 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 exampleZeroTrustDexRule = Cloudflare.GetZeroTrustDexRule.Invoke(new()
{
AccountId = "01a7362d577a6c3019a474fd6f485823",
RuleId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
});
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.GetZeroTrustDexRuleArgs;
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 exampleZeroTrustDexRule = CloudflareFunctions.getZeroTrustDexRule(GetZeroTrustDexRuleArgs.builder()
.accountId("01a7362d577a6c3019a474fd6f485823")
.ruleId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
.build());
}
}
variables:
exampleZeroTrustDexRule:
fn::invoke:
function: cloudflare:getZeroTrustDexRule
arguments:
accountId: 01a7362d577a6c3019a474fd6f485823
ruleId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
Using getZeroTrustDexRule
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 getZeroTrustDexRule(args: GetZeroTrustDexRuleArgs, opts?: InvokeOptions): Promise<GetZeroTrustDexRuleResult>
function getZeroTrustDexRuleOutput(args: GetZeroTrustDexRuleOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDexRuleResult>def get_zero_trust_dex_rule(account_id: Optional[str] = None,
rule_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustDexRuleResult
def get_zero_trust_dex_rule_output(account_id: Optional[pulumi.Input[str]] = None,
rule_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDexRuleResult]func LookupZeroTrustDexRule(ctx *Context, args *LookupZeroTrustDexRuleArgs, opts ...InvokeOption) (*LookupZeroTrustDexRuleResult, error)
func LookupZeroTrustDexRuleOutput(ctx *Context, args *LookupZeroTrustDexRuleOutputArgs, opts ...InvokeOption) LookupZeroTrustDexRuleResultOutput> Note: This function is named LookupZeroTrustDexRule in the Go SDK.
public static class GetZeroTrustDexRule
{
public static Task<GetZeroTrustDexRuleResult> InvokeAsync(GetZeroTrustDexRuleArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDexRuleResult> Invoke(GetZeroTrustDexRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustDexRuleResult> getZeroTrustDexRule(GetZeroTrustDexRuleArgs args, InvokeOptions options)
public static Output<GetZeroTrustDexRuleResult> getZeroTrustDexRule(GetZeroTrustDexRuleArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDexRule:getZeroTrustDexRule
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - rule_
id str - API Resource UUID tag.
getZeroTrustDexRule Result
The following output properties are available:
- Account
Id string - Created
At string - Description string
- Id string
- API Resource UUID tag.
- Match string
- Name string
- Rule
Id string - API Resource UUID tag.
- Targeted
Tests List<GetZero Trust Dex Rule Targeted Test> - Updated
At string
- Account
Id string - Created
At string - Description string
- Id string
- API Resource UUID tag.
- Match string
- Name string
- Rule
Id string - API Resource UUID tag.
- Targeted
Tests []GetZero Trust Dex Rule Targeted Test - Updated
At string
- account
Id String - created
At String - description String
- id String
- API Resource UUID tag.
- match String
- name String
- rule
Id String - API Resource UUID tag.
- targeted
Tests List<GetZero Trust Dex Rule Targeted Test> - updated
At String
- account
Id string - created
At string - description string
- id string
- API Resource UUID tag.
- match string
- name string
- rule
Id string - API Resource UUID tag.
- targeted
Tests GetZero Trust Dex Rule Targeted Test[] - updated
At string
- account_
id str - created_
at str - description str
- id str
- API Resource UUID tag.
- match str
- name str
- rule_
id str - API Resource UUID tag.
- targeted_
tests Sequence[GetZero Trust Dex Rule Targeted Test] - updated_
at str
- account
Id String - created
At String - description String
- id String
- API Resource UUID tag.
- match String
- name String
- rule
Id String - API Resource UUID tag.
- targeted
Tests List<Property Map> - updated
At String
Supporting Types
GetZeroTrustDexRuleTargetedTest
- Data
Get
Zero Trust Dex Rule Targeted Test Data - The configuration object which contains the details for the WARP client to conduct the test.
- Enabled bool
- Name string
- Test
Id string
- Data
Get
Zero Trust Dex Rule Targeted Test Data - The configuration object which contains the details for the WARP client to conduct the test.
- Enabled bool
- Name string
- Test
Id string
- data
Get
Zero Trust Dex Rule Targeted Test Data - The configuration object which contains the details for the WARP client to conduct the test.
- enabled Boolean
- name String
- test
Id String
- data
Get
Zero Trust Dex Rule Targeted Test Data - The configuration object which contains the details for the WARP client to conduct the test.
- enabled boolean
- name string
- test
Id string
- data
Get
Zero Trust Dex Rule Targeted Test Data - The configuration object which contains the details for the WARP client to conduct the test.
- enabled bool
- name str
- test_
id str
- data Property Map
- The configuration object which contains the details for the WARP client to conduct the test.
- enabled Boolean
- name String
- test
Id String
GetZeroTrustDexRuleTargetedTestData
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
