NAME
Azure::SDK::Storage::Queues - Azure Queue Storage client
SYNOPSIS
my $client = Azure::SDK::Storage::Queues->new(
connection_string => $ENV{QUEUES_CONNECTIONSTRING},
);
$client->create_queue('jobs', if_not_exists => 1);
my $sent = $client->send_message('jobs', 'work item');
my $messages = $client->receive_messages('jobs', visibility_timeout => 30);
DESCRIPTION
Provides Queue lifecycle, property and metadata access, lazy listing, and message send/peek/receive/update/delete/clear operations through Azure::SDK::Core. Shared Key signing or precomputed SAS application runs on every pipeline try. Message delivery is at least once; callers must tolerate a message becoming visible again and must delete with the latest pop receipt.
CONSTRUCTOR
Accepts connection_string containing AccountKey or SharedAccessSignature, or endpoint with a Azure::SDK::Core::Credential::Sas. A SAS-bearing service endpoint is also accepted. Do not combine these inputs. Optional options must be an Azure::SDK::Core::ClientOptions.
PAGING
list_queues returns one Azure::SDK::Storage::Queues::QueuePage. list_queues_pager returns a lazy Azure::SDK::Core::Pager. max_results controls each service request, not the total traversal size.
CONDITIONAL DELETION
delete_queue($queue, if_exists => 1) returns undef when the service reports QueueNotFound. A successful deletion still returns a response with status 204; the option does not discard successful responses. Azure queue deletion is asynchronous, so acceptance does not mean the name is immediately available for reuse.
SEE ALSO
Azure::SDK::Storage::Queues::Message, Azure::SDK::Storage::Queues::QueueProperties, Azure::SDK::Storage::Queues::ConnectionString, Azure::SDK::Core