Cloudflare v6.10.1 published on Wednesday, Oct 22, 2025 by Pulumi
cloudflare.getQueues
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleQueues = cloudflare.getQueues({
    accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_queues = cloudflare.get_queues(account_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.LookupQueues(ctx, &cloudflare.LookupQueuesArgs{
			AccountId: "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 exampleQueues = Cloudflare.GetQueues.Invoke(new()
    {
        AccountId = "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.GetQueuesArgs;
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 exampleQueues = CloudflareFunctions.getQueues(GetQueuesArgs.builder()
            .accountId("023e105f4ecef8ad9ca31a8372d0c353")
            .build());
    }
}
variables:
  exampleQueues:
    fn::invoke:
      function: cloudflare:getQueues
      arguments:
        accountId: 023e105f4ecef8ad9ca31a8372d0c353
Using getQueues
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 getQueues(args: GetQueuesArgs, opts?: InvokeOptions): Promise<GetQueuesResult>
function getQueuesOutput(args: GetQueuesOutputArgs, opts?: InvokeOptions): Output<GetQueuesResult>def get_queues(account_id: Optional[str] = None,
               max_items: Optional[int] = None,
               opts: Optional[InvokeOptions] = None) -> GetQueuesResult
def get_queues_output(account_id: Optional[pulumi.Input[str]] = None,
               max_items: Optional[pulumi.Input[int]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetQueuesResult]func LookupQueues(ctx *Context, args *LookupQueuesArgs, opts ...InvokeOption) (*LookupQueuesResult, error)
func LookupQueuesOutput(ctx *Context, args *LookupQueuesOutputArgs, opts ...InvokeOption) LookupQueuesResultOutput> Note: This function is named LookupQueues in the Go SDK.
public static class GetQueues 
{
    public static Task<GetQueuesResult> InvokeAsync(GetQueuesArgs args, InvokeOptions? opts = null)
    public static Output<GetQueuesResult> Invoke(GetQueuesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetQueuesResult> getQueues(GetQueuesArgs args, InvokeOptions options)
public static Output<GetQueuesResult> getQueues(GetQueuesArgs args, InvokeOptions options)
fn::invoke:
  function: cloudflare:index/getQueues:getQueues
  arguments:
    # arguments dictionaryThe following arguments are supported:
- account_id str
- A Resource identifier.
- max_items int
- Max items to fetch, default: 1000
getQueues Result
The following output properties are available:
- AccountId string
- A Resource identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<GetQueues Result> 
- The items returned by the data source
- MaxItems int
- Max items to fetch, default: 1000
- AccountId string
- A Resource identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]GetQueues Result 
- The items returned by the data source
- MaxItems int
- Max items to fetch, default: 1000
- accountId String
- A Resource identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<GetQueues Result> 
- The items returned by the data source
- maxItems Integer
- Max items to fetch, default: 1000
- accountId string
- A Resource identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- results
GetQueues Result[] 
- The items returned by the data source
- maxItems number
- Max items to fetch, default: 1000
- account_id str
- A Resource identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[GetQueues Result] 
- The items returned by the data source
- max_items int
- Max items to fetch, default: 1000
- accountId String
- A Resource identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- maxItems Number
- Max items to fetch, default: 1000
Supporting Types
GetQueuesResult  
- Consumers
List<GetQueues Result Consumer> 
- ConsumersTotal doubleCount 
- CreatedOn string
- ModifiedOn string
- Producers
List<GetQueues Result Producer> 
- ProducersTotal doubleCount 
- QueueId string
- QueueName string
- Settings
GetQueues Result Settings 
- Consumers
[]GetQueues Result Consumer 
- ConsumersTotal float64Count 
- CreatedOn string
- ModifiedOn string
- Producers
[]GetQueues Result Producer 
- ProducersTotal float64Count 
- QueueId string
- QueueName string
- Settings
GetQueues Result Settings 
- consumers
List<GetQueues Result Consumer> 
- consumersTotal DoubleCount 
- createdOn String
- modifiedOn String
- producers
List<GetQueues Result Producer> 
- producersTotal DoubleCount 
- queueId String
- queueName String
- settings
GetQueues Result Settings 
- consumers
GetQueues Result Consumer[] 
- consumersTotal numberCount 
- createdOn string
- modifiedOn string
- producers
GetQueues Result Producer[] 
- producersTotal numberCount 
- queueId string
- queueName string
- settings
GetQueues Result Settings 
- consumers List<Property Map>
- consumersTotal NumberCount 
- createdOn String
- modifiedOn String
- producers List<Property Map>
- producersTotal NumberCount 
- queueId String
- queueName String
- settings Property Map
GetQueuesResultConsumer   
- ConsumerId string
- A Resource identifier.
- CreatedOn string
- QueueId string
- A Resource identifier.
- Script string
- Name of a Worker
- ScriptName string
- Name of a Worker
- Settings
GetQueues Result 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".
- ConsumerId string
- A Resource identifier.
- CreatedOn string
- QueueId string
- A Resource identifier.
- Script string
- Name of a Worker
- ScriptName string
- Name of a Worker
- Settings
GetQueues Result 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".
- consumerId String
- A Resource identifier.
- createdOn String
- queueId String
- A Resource identifier.
- script String
- Name of a Worker
- scriptName String
- Name of a Worker
- settings
GetQueues Result 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".
- consumerId string
- A Resource identifier.
- createdOn string
- queueId string
- A Resource identifier.
- script string
- Name of a Worker
- scriptName string
- Name of a Worker
- settings
GetQueues Result 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
GetQueues Result 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".
- consumerId String
- A Resource identifier.
- createdOn String
- queueId String
- A Resource identifier.
- script String
- Name of a Worker
- scriptName 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".
GetQueuesResultConsumerSettings    
- BatchSize double
- The maximum number of messages to include in a batch.
- MaxConcurrency double
- Maximum number of concurrent consumers that may consume from this Queue. Set to nullto automatically opt in to the platform's maximum (recommended).
- MaxRetries double
- The maximum number of retries
- MaxWait doubleTime Ms 
- The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- RetryDelay double
- The number of seconds to delay before making the message available for another attempt.
- VisibilityTimeout doubleMs 
- The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
- BatchSize float64
- The maximum number of messages to include in a batch.
- MaxConcurrency float64
- Maximum number of concurrent consumers that may consume from this Queue. Set to nullto automatically opt in to the platform's maximum (recommended).
- MaxRetries float64
- The maximum number of retries
- MaxWait float64Time Ms 
- The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- RetryDelay float64
- The number of seconds to delay before making the message available for another attempt.
- VisibilityTimeout float64Ms 
- The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
- batchSize Double
- The maximum number of messages to include in a batch.
- maxConcurrency Double
- Maximum number of concurrent consumers that may consume from this Queue. Set to nullto automatically opt in to the platform's maximum (recommended).
- maxRetries Double
- The maximum number of retries
- maxWait DoubleTime Ms 
- The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- retryDelay Double
- The number of seconds to delay before making the message available for another attempt.
- visibilityTimeout DoubleMs 
- The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
- batchSize number
- The maximum number of messages to include in a batch.
- maxConcurrency number
- Maximum number of concurrent consumers that may consume from this Queue. Set to nullto automatically opt in to the platform's maximum (recommended).
- maxRetries number
- The maximum number of retries
- maxWait numberTime Ms 
- The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- retryDelay number
- The number of seconds to delay before making the message available for another attempt.
- visibilityTimeout 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.
- batchSize Number
- The maximum number of messages to include in a batch.
- maxConcurrency Number
- Maximum number of concurrent consumers that may consume from this Queue. Set to nullto automatically opt in to the platform's maximum (recommended).
- maxRetries Number
- The maximum number of retries
- maxWait NumberTime Ms 
- The number of milliseconds to wait for a batch to fill up before attempting to deliver it
- retryDelay Number
- The number of seconds to delay before making the message available for another attempt.
- visibilityTimeout NumberMs 
- The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.
GetQueuesResultProducer   
- BucketName 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".
- BucketName 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".
- bucketName 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".
- bucketName 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".
- bucketName 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".
GetQueuesResultSettings   
- DeliveryDelay double
- Number of seconds to delay delivery of all messages to consumers.
- DeliveryPaused bool
- Indicates if message delivery to consumers is currently paused.
- MessageRetention doublePeriod 
- Number of seconds after which an unconsumed message will be delayed.
- DeliveryDelay float64
- Number of seconds to delay delivery of all messages to consumers.
- DeliveryPaused bool
- Indicates if message delivery to consumers is currently paused.
- MessageRetention float64Period 
- Number of seconds after which an unconsumed message will be delayed.
- deliveryDelay Double
- Number of seconds to delay delivery of all messages to consumers.
- deliveryPaused Boolean
- Indicates if message delivery to consumers is currently paused.
- messageRetention DoublePeriod 
- Number of seconds after which an unconsumed message will be delayed.
- deliveryDelay number
- Number of seconds to delay delivery of all messages to consumers.
- deliveryPaused boolean
- Indicates if message delivery to consumers is currently paused.
- messageRetention 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.
- deliveryDelay Number
- Number of seconds to delay delivery of all messages to consumers.
- deliveryPaused Boolean
- Indicates if message delivery to consumers is currently paused.
- messageRetention 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.
