Table: azure_storage_queue - Query Azure Storage Queues using SQL
Azure Storage Queues is a service in Microsoft Azure that provides reliable messaging between and within services. It allows for asynchronous message queuing between application components, whether they are running in the cloud, on the desktop, on-premises, or on mobile devices. Azure Storage Queues simplifies the development of large-scale distributed applications, providing a loosely coupled architecture for improved scalability and reliability.
Table Usage Guide
The azure_storage_queue
table provides insights into Azure Storage Queues within Microsoft Azure. As a developer or system administrator, you can explore queue-specific details through this table, including metadata, message count, and status. Utilize it to uncover information about queues, such as those with high message counts, and to monitor the status of queues for improved scalability and reliability.
Examples
List of queues and their corresponding storage accounts
Explore which Azure storage queues are linked to specific storage accounts and understand their geographical distribution. This can help in managing resources and optimizing storage strategies.
select name as queue_name, storage_account_name, regionfrom azure_storage_queue;
select name as queue_name, storage_account_name, regionfrom azure_storage_queue;
List of storage queues without owner tag key
Determine the areas in which Azure application security groups lack an 'owner' tag key. This helps to identify resources that may not be properly managed or tracked.
select name, tagsfrom azure_application_security_groupwhere not tags :: JSONB ? 'owner';
select name, tagsfrom azure_application_security_groupwhere json_extract(tags, '$.owner') is null;
Schema for azure_storage_queue
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
akas | jsonb | Array of globally unique identifier strings (also known as) for the resource. | |
cloud_environment | text | The Azure Cloud Environment. | |
id | text | Contains ID to identify a queue uniquely. | |
metadata | jsonb | A name-value pair that represents queue metadata. | |
name | text | = | The friendly name that identifies the queue. |
region | text | The Azure region/location in which the resource is located. | |
resource_group | text | = | The resource group which holds this resource. |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
storage_account_name | text | = | An unique read-only string that changes whenever the resource is updated. |
subscription_id | text | =, !=, ~~, ~~*, !~~, !~~* | The Azure Subscription ID in which the resource is located. |
title | text | Title of the resource. | |
type | text | Type of the resource. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- azure
You can pass the configuration to the command with the --config
argument:
steampipe_export_azure --config '<your_config>' azure_storage_queue