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 exampleQueue = cloudflare.getQueue({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
queueId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_queue = cloudflare.get_queue(account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353")
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.LookupQueue(ctx, &cloudflare.LookupQueueArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
QueueId: "023e105f4ecef8ad9ca31a8372d0c353",
}, 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 exampleQueue = Cloudflare.GetQueue.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
QueueId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
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.GetQueueArgs;
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 exampleQueue = CloudflareFunctions.getQueue(GetQueueArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.queueId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleQueue:
fn::invoke:
function: cloudflare:getQueue
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
queueId: 023e105f4ecef8ad9ca31a8372d0c353
Using getQueue
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 getQueue(args: GetQueueArgs, opts?: InvokeOptions): Promise<GetQueueResult>
function getQueueOutput(args: GetQueueOutputArgs, opts?: InvokeOptions): Output<GetQueueResult>def get_queue(account_id: Optional[str] = None,
queue_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQueueResult
def get_queue_output(account_id: Optional[pulumi.Input[str]] = None,
queue_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetQueueResult]func LookupQueue(ctx *Context, args *LookupQueueArgs, opts ...InvokeOption) (*LookupQueueResult, error)
func LookupQueueOutput(ctx *Context, args *LookupQueueOutputArgs, opts ...InvokeOption) LookupQueueResultOutput> Note: This function is named LookupQueue in the Go SDK.
public static class GetQueue
{
public static Task<GetQueueResult> InvokeAsync(GetQueueArgs args, InvokeOptions? opts = null)
public static Output<GetQueueResult> Invoke(GetQueueInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetQueueResult> getQueue(GetQueueArgs args, InvokeOptions options)
public static Output<GetQueueResult> getQueue(GetQueueArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getQueue:getQueue
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - A Resource identifier.
- queue_
id str - A Resource identifier.
getQueue Result
The following output properties are available:
- Account
Id string - A Resource identifier.
- Consumers
List<Get
Queue Consumer> - Consumers
Total doubleCount - Created
On string - Id string
- A Resource identifier.
- Modified
On string - Producers
List<Get
Queue Producer> - Producers
Total doubleCount - Queue
Id string - A Resource identifier.
- Queue
Name string - Settings
Get
Queue Settings
- Account
Id string - A Resource identifier.
- Consumers
[]Get
Queue Consumer Type - Consumers
Total float64Count - Created
On string - Id string
- A Resource identifier.
- Modified
On string - Producers
[]Get
Queue Producer - Producers
Total float64Count - Queue
Id string - A Resource identifier.
- Queue
Name string - Settings
Get
Queue Settings
- account
Id String - A Resource identifier.
- consumers
List<Get
Queue Consumer> - consumers
Total DoubleCount - created
On String - id String
- A Resource identifier.
- modified
On String - producers
List<Get
Queue Producer> - producers
Total DoubleCount - queue
Id String - A Resource identifier.
- queue
Name String - settings
Get
Queue Settings
- account
Id string - A Resource identifier.
- consumers
Get
Queue Consumer[] - consumers
Total numberCount - created
On string - id string
- A Resource identifier.
- modified
On string - producers
Get
Queue Producer[] - producers
Total numberCount - queue
Id string - A Resource identifier.
- queue
Name string - settings
Get
Queue Settings
- account_
id str - A Resource identifier.
- consumers
Sequence[Get
Queue Consumer] - consumers_
total_ floatcount - created_
on str - id str
- A Resource identifier.
- modified_
on str - producers
Sequence[Get
Queue Producer] - producers_
total_ floatcount - queue_
id str - A Resource identifier.
- queue_
name str - settings
Get
Queue Settings
- account
Id String - A Resource identifier.
- consumers List<Property Map>
- consumers
Total NumberCount - created
On String - id String
- A Resource identifier.
- modified
On String - producers List<Property Map>
- producers
Total NumberCount - queue
Id String - A Resource identifier.
- queue
Name String - settings Property Map
Supporting Types
GetQueueConsumer
- Consumer
Id string - A Resource identifier.
- Created
On string - Queue
Id string - A Resource identifier.
- Script string
- Name of a Worker
- Script
Name string - Name of a Worker
- Settings
Get
Queue Consumer Settings - Type string
- Available values: "worker", <span pulumi-lang-nodejs=""httpPull"" pulumi-lang-dotnet=""HttpPull"" pulumi-lang-go=""httpPull"" pulumi-lang-python=""http_pull"" pulumi-lang-yaml=""httpPull"" pulumi-lang-java=""httpPull"">"http_pull".
- Consumer
Id string - A Resource identifier.
- Created
On string - Queue
Id string - A Resource identifier.
- Script string
- Name of a Worker
- Script
Name string - Name of a Worker
- Settings
Get
Queue Consumer Settings - Type string
- Available values: "worker", <span pulumi-lang-nodejs=""httpPull"" pulumi-lang-dotnet=""HttpPull"" pulumi-lang-go=""httpPull"" pulumi-lang-python=""http_pull"" pulumi-lang-yaml=""httpPull"" pulumi-lang-java=""httpPull"">"http_pull".
- consumer
Id String - A Resource identifier.
- created
On String - queue
Id String - A Resource identifier.
- script String
- Name of a Worker
- script
Name String - Name of a Worker
- settings
Get
Queue Consumer Settings - type String
- Available values: "worker", <span pulumi-lang-nodejs=""httpPull"" pulumi-lang-dotnet=""HttpPull"" pulumi-lang-go=""httpPull"" pulumi-lang-python=""http_pull"" pulumi-lang-yaml=""httpPull"" pulumi-lang-java=""httpPull"">"http_pull".
- consumer
Id string - A Resource identifier.
- created
On string - queue
Id string - A Resource identifier.
- script string
- Name of a Worker
- script
Name string - Name of a Worker
- settings
Get
Queue Consumer Settings - type string
- Available values: "worker", <span pulumi-lang-nodejs=""httpPull"" pulumi-lang-dotnet=""HttpPull"" pulumi-lang-go=""httpPull"" pulumi-lang-python=""http_pull"" pulumi-lang-yaml=""httpPull"" pulumi-lang-java=""httpPull"">"http_pull".
- consumer_
id str - A Resource identifier.
- created_
on str - queue_
id str - A Resource identifier.
- script str
- Name of a Worker
- script_
name str - Name of a Worker
- settings
Get
Queue Consumer Settings - type str
- Available values: "worker", <span pulumi-lang-nodejs=""httpPull"" pulumi-lang-dotnet=""HttpPull"" pulumi-lang-go=""httpPull"" pulumi-lang-python=""http_pull"" pulumi-lang-yaml=""httpPull"" pulumi-lang-java=""httpPull"">"http_pull".
- consumer
Id String - A Resource identifier.
- created
On String - queue
Id String - A Resource identifier.
- script String
- Name of a Worker
- script
Name String - Name of a Worker
- settings Property Map
- type String
- Available values: "worker", <span pulumi-lang-nodejs=""httpPull"" pulumi-lang-dotnet=""HttpPull"" pulumi-lang-go=""httpPull"" pulumi-lang-python=""http_pull"" pulumi-lang-yaml=""httpPull"" pulumi-lang-java=""httpPull"">"http_pull".
GetQueueConsumerSettings
- Batch
Size double - The maximum number of messages to include in a batch.
- Max
Concurrency double - Maximum number of concurrent consumers that may consume from this Queue. Set to
nullto automatically opt in to the platform's maximum (recommended). - Max
Retries double - The maximum number of retries
- Max
Wait doubleTime Ms - The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- Retry
Delay double - The number of seconds to delay before making the message available for another attempt.
- Visibility
Timeout doubleMs - The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
- Batch
Size float64 - The maximum number of messages to include in a batch.
- Max
Concurrency float64 - Maximum number of concurrent consumers that may consume from this Queue. Set to
nullto automatically opt in to the platform's maximum (recommended). - Max
Retries float64 - The maximum number of retries
- Max
Wait float64Time Ms - The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- Retry
Delay float64 - The number of seconds to delay before making the message available for another attempt.
- Visibility
Timeout float64Ms - The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
- batch
Size Double - The maximum number of messages to include in a batch.
- max
Concurrency Double - Maximum number of concurrent consumers that may consume from this Queue. Set to
nullto automatically opt in to the platform's maximum (recommended). - max
Retries Double - The maximum number of retries
- max
Wait DoubleTime Ms - The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- retry
Delay Double - The number of seconds to delay before making the message available for another attempt.
- visibility
Timeout DoubleMs - The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
- batch
Size number - The maximum number of messages to include in a batch.
- max
Concurrency number - Maximum number of concurrent consumers that may consume from this Queue. Set to
nullto automatically opt in to the platform's maximum (recommended). - max
Retries number - The maximum number of retries
- max
Wait numberTime Ms - The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- retry
Delay number - The number of seconds to delay before making the message available for another attempt.
- visibility
Timeout numberMs - The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
- batch_
size float - The maximum number of messages to include in a batch.
- max_
concurrency float - Maximum number of concurrent consumers that may consume from this Queue. Set to
nullto automatically opt in to the platform's maximum (recommended). - max_
retries float - The maximum number of retries
- max_
wait_ floattime_ ms - The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- retry_
delay float - The number of seconds to delay before making the message available for another attempt.
- visibility_
timeout_ floatms - The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
- batch
Size Number - The maximum number of messages to include in a batch.
- max
Concurrency Number - Maximum number of concurrent consumers that may consume from this Queue. Set to
nullto automatically opt in to the platform's maximum (recommended). - max
Retries Number - The maximum number of retries
- max
Wait NumberTime Ms - The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- retry
Delay Number - The number of seconds to delay before making the message available for another attempt.
- visibility
Timeout NumberMs - The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
GetQueueProducer
- Bucket
Name string - Script string
- Type string
- Available values: "worker", <span pulumi-lang-nodejs=""r2Bucket"" pulumi-lang-dotnet=""R2Bucket"" pulumi-lang-go=""r2Bucket"" pulumi-lang-python=""r2_bucket"" pulumi-lang-yaml=""r2Bucket"" pulumi-lang-java=""r2Bucket"">"r2_bucket".
- Bucket
Name string - Script string
- Type string
- Available values: "worker", <span pulumi-lang-nodejs=""r2Bucket"" pulumi-lang-dotnet=""R2Bucket"" pulumi-lang-go=""r2Bucket"" pulumi-lang-python=""r2_bucket"" pulumi-lang-yaml=""r2Bucket"" pulumi-lang-java=""r2Bucket"">"r2_bucket".
- bucket
Name String - script String
- type String
- Available values: "worker", <span pulumi-lang-nodejs=""r2Bucket"" pulumi-lang-dotnet=""R2Bucket"" pulumi-lang-go=""r2Bucket"" pulumi-lang-python=""r2_bucket"" pulumi-lang-yaml=""r2Bucket"" pulumi-lang-java=""r2Bucket"">"r2_bucket".
- bucket
Name string - script string
- type string
- Available values: "worker", <span pulumi-lang-nodejs=""r2Bucket"" pulumi-lang-dotnet=""R2Bucket"" pulumi-lang-go=""r2Bucket"" pulumi-lang-python=""r2_bucket"" pulumi-lang-yaml=""r2Bucket"" pulumi-lang-java=""r2Bucket"">"r2_bucket".
- bucket_
name str - script str
- type str
- Available values: "worker", <span pulumi-lang-nodejs=""r2Bucket"" pulumi-lang-dotnet=""R2Bucket"" pulumi-lang-go=""r2Bucket"" pulumi-lang-python=""r2_bucket"" pulumi-lang-yaml=""r2Bucket"" pulumi-lang-java=""r2Bucket"">"r2_bucket".
- bucket
Name String - script String
- type String
- Available values: "worker", <span pulumi-lang-nodejs=""r2Bucket"" pulumi-lang-dotnet=""R2Bucket"" pulumi-lang-go=""r2Bucket"" pulumi-lang-python=""r2_bucket"" pulumi-lang-yaml=""r2Bucket"" pulumi-lang-java=""r2Bucket"">"r2_bucket".
GetQueueSettings
- Delivery
Delay double - Number of seconds to delay delivery of all messages to consumers.
- Delivery
Paused bool - Indicates if message delivery to consumers is currently paused.
- Message
Retention doublePeriod - Number of seconds after which an unconsumed message will be delayed.
- Delivery
Delay float64 - Number of seconds to delay delivery of all messages to consumers.
- Delivery
Paused bool - Indicates if message delivery to consumers is currently paused.
- Message
Retention float64Period - Number of seconds after which an unconsumed message will be delayed.
- delivery
Delay Double - Number of seconds to delay delivery of all messages to consumers.
- delivery
Paused Boolean - Indicates if message delivery to consumers is currently paused.
- message
Retention DoublePeriod - Number of seconds after which an unconsumed message will be delayed.
- delivery
Delay number - Number of seconds to delay delivery of all messages to consumers.
- delivery
Paused boolean - Indicates if message delivery to consumers is currently paused.
- message
Retention numberPeriod - Number of seconds after which an unconsumed message will be delayed.
- delivery_
delay float - Number of seconds to delay delivery of all messages to consumers.
- delivery_
paused bool - Indicates if message delivery to consumers is currently paused.
- message_
retention_ floatperiod - Number of seconds after which an unconsumed message will be delayed.
- delivery
Delay Number - Number of seconds to delay delivery of all messages to consumers.
- delivery
Paused Boolean - Indicates if message delivery to consumers is currently paused.
- message
Retention NumberPeriod - Number of seconds after which an unconsumed message will be delayed.
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
