getStorageAccount

Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. Uses Azure REST API version 2022-09-01. Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01, 2024-01-01.

Return

The storage account.

Parameters

argument

null


suspend fun getStorageAccount(accountName: String, expand: String? = null, resourceGroupName: String): GetStorageAccountResult

Return

The storage account.

Parameters

accountName

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

expand

May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus.

resourceGroupName

The name of the resource group within the user's subscription. The name is case insensitive.

See also


Return

The storage account.

Parameters

argument

Builder for com.pulumi.azurenative.storage.kotlin.inputs.GetStorageAccountPlainArgs.

See also