import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Storage Queue. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.storage.getQueue({ * name: "example-queue-name", * storageAccountName: "example-storage-account-name", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Storage` - 2025-06-01 */ export declare function getQueue(args: GetQueueArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getQueue. */ export interface GetQueueArgs { /** * A mapping of MetaData for this Queue. */ metadata?: { [key: string]: string; }; /** * The name of the Queue. */ name: string; /** * The name of the Storage Account where the Queue exists. This property will become Required in version 5.0 of the Provider. * * > **Note:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API. */ storageAccountId?: string; /** * The name of the Storage Account where the Queue exists. This property is deprecated in favour of `storageAccountId`. * * @deprecated the `storageAccountName` property has been deprecated in favour of `storageAccountId` and will be removed in version 5.0 of the Provider. */ storageAccountName?: string; } /** * A collection of values returned by getQueue. */ export interface GetQueueResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A mapping of MetaData for this Queue. */ readonly metadata: { [key: string]: string; }; readonly name: string; /** * The Resource Manager ID of this Storage Queue. * * @deprecated the `resourceManagerId` property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider. */ readonly resourceManagerId: string; readonly storageAccountId?: string; /** * @deprecated the `storageAccountName` property has been deprecated in favour of `storageAccountId` and will be removed in version 5.0 of the Provider. */ readonly storageAccountName?: string; /** * The data plane URL of the Storage Queue in the format of `/`. E.g. `https://example.queue.core.windows.net/queue1`. */ readonly url: string; } /** * Use this data source to access information about an existing Storage Queue. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.storage.getQueue({ * name: "example-queue-name", * storageAccountName: "example-storage-account-name", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Storage` - 2025-06-01 */ export declare function getQueueOutput(args: GetQueueOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getQueue. */ export interface GetQueueOutputArgs { /** * A mapping of MetaData for this Queue. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The name of the Queue. */ name: pulumi.Input; /** * The name of the Storage Account where the Queue exists. This property will become Required in version 5.0 of the Provider. * * > **Note:** One of `storageAccountName` or `storageAccountId` must be specified. When specifying `storageAccountId` the resource will use the Resource Manager API, rather than the Data Plane API. */ storageAccountId?: pulumi.Input; /** * The name of the Storage Account where the Queue exists. This property is deprecated in favour of `storageAccountId`. * * @deprecated the `storageAccountName` property has been deprecated in favour of `storageAccountId` and will be removed in version 5.0 of the Provider. */ storageAccountName?: pulumi.Input; }