import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Storage Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.storage.getAccount({ * name: "packerimages", * resourceGroupName: "packer-storage", * }); * export const storageAccountTier = example.then(example => example.accountTier); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Storage` - 2025-06-01 */ export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountArgs { /** * The minimum supported TLS version for this storage account. */ minTlsVersion?: string; /** * Specifies the name of the Storage Account */ name: string; /** * Specifies the name of the resource group the Storage Account is located in. */ resourceGroupName?: string; } /** * A collection of values returned by getAccount. */ export interface GetAccountResult { /** * The access tier for `BlobStorage` accounts. */ readonly accessTier: string; /** * The Kind of account. */ readonly accountKind: string; /** * The type of replication used for this storage account. */ readonly accountReplicationType: string; /** * The Tier of this storage account. */ readonly accountTier: string; /** * Can nested items in the storage account opt into allowing public access? */ readonly allowNestedItemsToBePublic: boolean; /** * A `azureFilesAuthentication` block as documented below. */ readonly azureFilesAuthentications: outputs.storage.GetAccountAzureFilesAuthentication[]; /** * supports the following: */ readonly customDomains: outputs.storage.GetAccountCustomDomain[]; /** * Which DNS endpoint type is used - either `Standard` or `AzureDnsZone`. */ readonly dnsEndpointType: string; /** * Is traffic only allowed via HTTPS? See [here](https://docs.microsoft.com/azure/storage/storage-require-secure-transfer/) for more information. */ readonly httpsTrafficOnlyEnabled: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as documented below. */ readonly identities: outputs.storage.GetAccountIdentity[]; /** * Is infrastructure encryption enabled? See [here](https://docs.microsoft.com/azure/storage/common/infrastructure-encryption-enable/) * for more information. */ readonly infrastructureEncryptionEnabled: boolean; /** * Is Hierarchical Namespace enabled? */ readonly isHnsEnabled: boolean; /** * The Azure location where the Storage Account exists */ readonly location: string; /** * The minimum supported TLS version for this storage account. */ readonly minTlsVersion?: string; /** * The Custom Domain Name used for the Storage Account. */ readonly name: string; /** * Is NFSv3 protocol enabled? */ readonly nfsv3Enabled: boolean; /** * The primary access key for the Storage Account. */ readonly primaryAccessKey: string; /** * The connection string associated with the primary blob location */ readonly primaryBlobConnectionString: string; /** * The endpoint URL for blob storage in the primary location. */ readonly primaryBlobEndpoint: string; /** * The hostname with port if applicable for blob storage in the primary location. */ readonly primaryBlobHost: string; /** * The internet routing endpoint URL for blob storage in the primary location. */ readonly primaryBlobInternetEndpoint: string; /** * The internet routing hostname with port if applicable for blob storage in the primary location. */ readonly primaryBlobInternetHost: string; /** * The microsoft routing endpoint URL for blob storage in the primary location. */ readonly primaryBlobMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for blob storage in the primary location. */ readonly primaryBlobMicrosoftHost: string; /** * The connection string associated with the primary location */ readonly primaryConnectionString: string; /** * The endpoint URL for DFS storage in the primary location. */ readonly primaryDfsEndpoint: string; /** * The hostname with port if applicable for DFS storage in the primary location. */ readonly primaryDfsHost: string; /** * The internet routing endpoint URL for DFS storage in the primary location. */ readonly primaryDfsInternetEndpoint: string; /** * The internet routing hostname with port if applicable for DFS storage in the primary location. */ readonly primaryDfsInternetHost: string; /** * The microsoft routing endpoint URL for DFS storage in the primary location. */ readonly primaryDfsMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for DFS storage in the primary location. */ readonly primaryDfsMicrosoftHost: string; /** * The endpoint URL for file storage in the primary location. */ readonly primaryFileEndpoint: string; /** * The hostname with port if applicable for file storage in the primary location. */ readonly primaryFileHost: string; /** * The internet routing endpoint URL for file storage in the primary location. */ readonly primaryFileInternetEndpoint: string; /** * The internet routing hostname with port if applicable for file storage in the primary location. */ readonly primaryFileInternetHost: string; /** * The microsoft routing endpoint URL for file storage in the primary location. */ readonly primaryFileMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for file storage in the primary location. */ readonly primaryFileMicrosoftHost: string; /** * The primary location of the Storage Account. */ readonly primaryLocation: string; /** * The endpoint URL for queue storage in the primary location. */ readonly primaryQueueEndpoint: string; /** * The hostname with port if applicable for queue storage in the primary location. */ readonly primaryQueueHost: string; /** * The microsoft routing endpoint URL for queue storage in the primary location. */ readonly primaryQueueMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for queue storage in the primary location. */ readonly primaryQueueMicrosoftHost: string; /** * The endpoint URL for table storage in the primary location. */ readonly primaryTableEndpoint: string; /** * The hostname with port if applicable for table storage in the primary location. */ readonly primaryTableHost: string; /** * The microsoft routing endpoint URL for table storage in the primary location. */ readonly primaryTableMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for table storage in the primary location. */ readonly primaryTableMicrosoftHost: string; /** * The endpoint URL for web storage in the primary location. */ readonly primaryWebEndpoint: string; /** * The hostname with port if applicable for web storage in the primary location. */ readonly primaryWebHost: string; /** * The internet routing endpoint URL for web storage in the primary location. */ readonly primaryWebInternetEndpoint: string; /** * The internet routing hostname with port if applicable for web storage in the primary location. */ readonly primaryWebInternetHost: string; /** * The microsoft routing endpoint URL for web storage in the primary location. */ readonly primaryWebMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for web storage in the primary location. */ readonly primaryWebMicrosoftHost: string; /** * The encryption key type of the queue. */ readonly queueEncryptionKeyType: string; readonly resourceGroupName?: string; /** * The secondary access key for the Storage Account. */ readonly secondaryAccessKey: string; /** * The connection string associated with the secondary blob location */ readonly secondaryBlobConnectionString: string; /** * The endpoint URL for blob storage in the secondary location. */ readonly secondaryBlobEndpoint: string; /** * The hostname with port if applicable for blob storage in the secondary location. */ readonly secondaryBlobHost: string; /** * The internet routing endpoint URL for blob storage in the secondary location. */ readonly secondaryBlobInternetEndpoint: string; /** * The internet routing hostname with port if applicable for blob storage in the secondary location. */ readonly secondaryBlobInternetHost: string; /** * The microsoft routing endpoint URL for blob storage in the secondary location. */ readonly secondaryBlobMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for blob storage in the secondary location. */ readonly secondaryBlobMicrosoftHost: string; /** * The connection string associated with the secondary location */ readonly secondaryConnectionString: string; /** * The endpoint URL for DFS storage in the secondary location. */ readonly secondaryDfsEndpoint: string; /** * The hostname with port if applicable for DFS storage in the secondary location. */ readonly secondaryDfsHost: string; /** * The internet routing endpoint URL for DFS storage in the secondary location. */ readonly secondaryDfsInternetEndpoint: string; /** * The internet routing hostname with port if applicable for DFS storage in the secondary location. */ readonly secondaryDfsInternetHost: string; /** * The microsoft routing endpoint URL for DFS storage in the secondary location. */ readonly secondaryDfsMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for DFS storage in the secondary location. */ readonly secondaryDfsMicrosoftHost: string; /** * The endpoint URL for file storage in the secondary location. */ readonly secondaryFileEndpoint: string; /** * The hostname with port if applicable for file storage in the secondary location. */ readonly secondaryFileHost: string; /** * The internet routing endpoint URL for file storage in the secondary location. */ readonly secondaryFileInternetEndpoint: string; /** * The internet routing hostname with port if applicable for file storage in the secondary location. */ readonly secondaryFileInternetHost: string; /** * The microsoft routing endpoint URL for file storage in the secondary location. */ readonly secondaryFileMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for file storage in the secondary location. */ readonly secondaryFileMicrosoftHost: string; /** * The secondary location of the Storage Account. */ readonly secondaryLocation: string; /** * The endpoint URL for queue storage in the secondary location. */ readonly secondaryQueueEndpoint: string; /** * The hostname with port if applicable for queue storage in the secondary location. */ readonly secondaryQueueHost: string; /** * The microsoft routing endpoint URL for queue storage in the secondary location. */ readonly secondaryQueueMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for queue storage in the secondary location. */ readonly secondaryQueueMicrosoftHost: string; /** * The endpoint URL for table storage in the secondary location. */ readonly secondaryTableEndpoint: string; /** * The hostname with port if applicable for table storage in the secondary location. */ readonly secondaryTableHost: string; /** * The microsoft routing endpoint URL for table storage in the secondary location. */ readonly secondaryTableMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for table storage in the secondary location. */ readonly secondaryTableMicrosoftHost: string; /** * The endpoint URL for web storage in the secondary location. */ readonly secondaryWebEndpoint: string; /** * The hostname with port if applicable for web storage in the secondary location. */ readonly secondaryWebHost: string; /** * The internet routing endpoint URL for web storage in the secondary location. */ readonly secondaryWebInternetEndpoint: string; /** * The internet routing hostname with port if applicable for web storage in the secondary location. */ readonly secondaryWebInternetHost: string; /** * The microsoft routing endpoint URL for web storage in the secondary location. */ readonly secondaryWebMicrosoftEndpoint: string; /** * The microsoft routing hostname with port if applicable for web storage in the secondary location. */ readonly secondaryWebMicrosoftHost: string; /** * The encryption key type of the table. */ readonly tableEncryptionKeyType: string; /** * A mapping of tags to assigned to the resource. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Storage Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.storage.getAccount({ * name: "packerimages", * resourceGroupName: "packer-storage", * }); * export const storageAccountTier = example.then(example => example.accountTier); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Storage` - 2025-06-01 */ export declare function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountOutputArgs { /** * The minimum supported TLS version for this storage account. */ minTlsVersion?: pulumi.Input; /** * Specifies the name of the Storage Account */ name: pulumi.Input; /** * Specifies the name of the resource group the Storage Account is located in. */ resourceGroupName?: pulumi.Input; }