Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleWaitingRoomRules = cloudflare.getWaitingRoomRules({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
waitingRoomId: "699d98642c564d2e855e9661899b7252",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_waiting_room_rules = cloudflare.get_waiting_room_rules(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_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.LookupWaitingRoomRules(ctx, &cloudflare.LookupWaitingRoomRulesArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
WaitingRoomId: "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 exampleWaitingRoomRules = Cloudflare.GetWaitingRoomRules.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
WaitingRoomId = "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.GetWaitingRoomRulesArgs;
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 exampleWaitingRoomRules = CloudflareFunctions.getWaitingRoomRules(GetWaitingRoomRulesArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.waitingRoomId("699d98642c564d2e855e9661899b7252")
.build());
}
}
variables:
exampleWaitingRoomRules:
fn::invoke:
function: cloudflare:getWaitingRoomRules
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
waitingRoomId: 699d98642c564d2e855e9661899b7252
Using getWaitingRoomRules
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 getWaitingRoomRules(args: GetWaitingRoomRulesArgs, opts?: InvokeOptions): Promise<GetWaitingRoomRulesResult>
function getWaitingRoomRulesOutput(args: GetWaitingRoomRulesOutputArgs, opts?: InvokeOptions): Output<GetWaitingRoomRulesResult>def get_waiting_room_rules(waiting_room_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWaitingRoomRulesResult
def get_waiting_room_rules_output(waiting_room_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWaitingRoomRulesResult]func LookupWaitingRoomRules(ctx *Context, args *LookupWaitingRoomRulesArgs, opts ...InvokeOption) (*LookupWaitingRoomRulesResult, error)
func LookupWaitingRoomRulesOutput(ctx *Context, args *LookupWaitingRoomRulesOutputArgs, opts ...InvokeOption) LookupWaitingRoomRulesResultOutput> Note: This function is named LookupWaitingRoomRules in the Go SDK.
public static class GetWaitingRoomRules
{
public static Task<GetWaitingRoomRulesResult> InvokeAsync(GetWaitingRoomRulesArgs args, InvokeOptions? opts = null)
public static Output<GetWaitingRoomRulesResult> Invoke(GetWaitingRoomRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWaitingRoomRulesResult> getWaitingRoomRules(GetWaitingRoomRulesArgs args, InvokeOptions options)
public static Output<GetWaitingRoomRulesResult> getWaitingRoomRules(GetWaitingRoomRulesArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getWaitingRoomRules:getWaitingRoomRules
arguments:
# arguments dictionaryThe following arguments are supported:
- Waiting
Room stringId - Zone
Id string - Identifier.
- Waiting
Room stringId - Zone
Id string - Identifier.
- waiting
Room StringId - zone
Id String - Identifier.
- waiting
Room stringId - zone
Id string - Identifier.
- waiting_
room_ strid - zone_
id str - Identifier.
- waiting
Room StringId - zone
Id String - Identifier.
getWaitingRoomRules Result
The following output properties are available:
- Action string
- The action to take when the expression matches. Available values: "bypasswaitingroom".
- Description string
- The description of the rule.
- Enabled bool
- When set to true, the rule is enabled.
- Expression string
- Criteria defining when there is a match for the current rule.
- Id string
- The ID of this resource.
- Last
Updated string - Version string
- The version of the rule.
- Waiting
Room stringId - Zone
Id string - Identifier.
- Action string
- The action to take when the expression matches. Available values: "bypasswaitingroom".
- Description string
- The description of the rule.
- Enabled bool
- When set to true, the rule is enabled.
- Expression string
- Criteria defining when there is a match for the current rule.
- Id string
- The ID of this resource.
- Last
Updated string - Version string
- The version of the rule.
- Waiting
Room stringId - Zone
Id string - Identifier.
- action String
- The action to take when the expression matches. Available values: "bypasswaitingroom".
- description String
- The description of the rule.
- enabled Boolean
- When set to true, the rule is enabled.
- expression String
- Criteria defining when there is a match for the current rule.
- id String
- The ID of this resource.
- last
Updated String - version String
- The version of the rule.
- waiting
Room StringId - zone
Id String - Identifier.
- action string
- The action to take when the expression matches. Available values: "bypasswaitingroom".
- description string
- The description of the rule.
- enabled boolean
- When set to true, the rule is enabled.
- expression string
- Criteria defining when there is a match for the current rule.
- id string
- The ID of this resource.
- last
Updated string - version string
- The version of the rule.
- waiting
Room stringId - zone
Id string - Identifier.
- action str
- The action to take when the expression matches. Available values: "bypasswaitingroom".
- description str
- The description of the rule.
- enabled bool
- When set to true, the rule is enabled.
- expression str
- Criteria defining when there is a match for the current rule.
- id str
- The ID of this resource.
- last_
updated str - version str
- The version of the rule.
- waiting_
room_ strid - zone_
id str - Identifier.
- action String
- The action to take when the expression matches. Available values: "bypasswaitingroom".
- description String
- The description of the rule.
- enabled Boolean
- When set to true, the rule is enabled.
- expression String
- Criteria defining when there is a match for the current rule.
- id String
- The ID of this resource.
- last
Updated String - version String
- The version of the rule.
- waiting
Room StringId - zone
Id String - Identifier.
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.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
