pub struct AccountResult {Show 110 fields
pub access_tier: Output<String>,
pub account_kind: Output<Option<String>>,
pub account_replication_type: Output<String>,
pub account_tier: Output<String>,
pub allow_nested_items_to_be_public: Output<Option<bool>>,
pub allowed_copy_scope: Output<Option<String>>,
pub azure_files_authentication: Output<Option<AccountAzureFilesAuthentication>>,
pub blob_properties: Output<AccountBlobProperties>,
pub cross_tenant_replication_enabled: Output<Option<bool>>,
pub custom_domain: Output<Option<AccountCustomDomain>>,
pub customer_managed_key: Output<Option<AccountCustomerManagedKey>>,
pub default_to_oauth_authentication: Output<Option<bool>>,
pub dns_endpoint_type: Output<Option<String>>,
pub edge_zone: Output<Option<String>>,
pub https_traffic_only_enabled: Output<Option<bool>>,
pub identity: Output<Option<AccountIdentity>>,
pub immutability_policy: Output<Option<AccountImmutabilityPolicy>>,
pub infrastructure_encryption_enabled: Output<Option<bool>>,
pub is_hns_enabled: Output<Option<bool>>,
pub large_file_share_enabled: Output<bool>,
pub local_user_enabled: Output<Option<bool>>,
pub location: Output<String>,
pub min_tls_version: Output<Option<String>>,
pub name: Output<String>,
pub network_rules: Output<AccountNetworkRules>,
pub nfsv3_enabled: Output<Option<bool>>,
pub primary_access_key: Output<String>,
pub primary_blob_connection_string: Output<String>,
pub primary_blob_endpoint: Output<String>,
pub primary_blob_host: Output<String>,
pub primary_blob_internet_endpoint: Output<String>,
pub primary_blob_internet_host: Output<String>,
pub primary_blob_microsoft_endpoint: Output<String>,
pub primary_blob_microsoft_host: Output<String>,
pub primary_connection_string: Output<String>,
pub primary_dfs_endpoint: Output<String>,
pub primary_dfs_host: Output<String>,
pub primary_dfs_internet_endpoint: Output<String>,
pub primary_dfs_internet_host: Output<String>,
pub primary_dfs_microsoft_endpoint: Output<String>,
pub primary_dfs_microsoft_host: Output<String>,
pub primary_file_endpoint: Output<String>,
pub primary_file_host: Output<String>,
pub primary_file_internet_endpoint: Output<String>,
pub primary_file_internet_host: Output<String>,
pub primary_file_microsoft_endpoint: Output<String>,
pub primary_file_microsoft_host: Output<String>,
pub primary_location: Output<String>,
pub primary_queue_endpoint: Output<String>,
pub primary_queue_host: Output<String>,
pub primary_queue_microsoft_endpoint: Output<String>,
pub primary_queue_microsoft_host: Output<String>,
pub primary_table_endpoint: Output<String>,
pub primary_table_host: Output<String>,
pub primary_table_microsoft_endpoint: Output<String>,
pub primary_table_microsoft_host: Output<String>,
pub primary_web_endpoint: Output<String>,
pub primary_web_host: Output<String>,
pub primary_web_internet_endpoint: Output<String>,
pub primary_web_internet_host: Output<String>,
pub primary_web_microsoft_endpoint: Output<String>,
pub primary_web_microsoft_host: Output<String>,
pub public_network_access_enabled: Output<Option<bool>>,
pub queue_encryption_key_type: Output<Option<String>>,
pub queue_properties: Output<AccountQueueProperties>,
pub resource_group_name: Output<String>,
pub routing: Output<AccountRouting>,
pub sas_policy: Output<Option<AccountSasPolicy>>,
pub secondary_access_key: Output<String>,
pub secondary_blob_connection_string: Output<String>,
pub secondary_blob_endpoint: Output<String>,
pub secondary_blob_host: Output<String>,
pub secondary_blob_internet_endpoint: Output<String>,
pub secondary_blob_internet_host: Output<String>,
pub secondary_blob_microsoft_endpoint: Output<String>,
pub secondary_blob_microsoft_host: Output<String>,
pub secondary_connection_string: Output<String>,
pub secondary_dfs_endpoint: Output<String>,
pub secondary_dfs_host: Output<String>,
pub secondary_dfs_internet_endpoint: Output<String>,
pub secondary_dfs_internet_host: Output<String>,
pub secondary_dfs_microsoft_endpoint: Output<String>,
pub secondary_dfs_microsoft_host: Output<String>,
pub secondary_file_endpoint: Output<String>,
pub secondary_file_host: Output<String>,
pub secondary_file_internet_endpoint: Output<String>,
pub secondary_file_internet_host: Output<String>,
pub secondary_file_microsoft_endpoint: Output<String>,
pub secondary_file_microsoft_host: Output<String>,
pub secondary_location: Output<String>,
pub secondary_queue_endpoint: Output<String>,
pub secondary_queue_host: Output<String>,
pub secondary_queue_microsoft_endpoint: Output<String>,
pub secondary_queue_microsoft_host: Output<String>,
pub secondary_table_endpoint: Output<String>,
pub secondary_table_host: Output<String>,
pub secondary_table_microsoft_endpoint: Output<String>,
pub secondary_table_microsoft_host: Output<String>,
pub secondary_web_endpoint: Output<String>,
pub secondary_web_host: Output<String>,
pub secondary_web_internet_endpoint: Output<String>,
pub secondary_web_internet_host: Output<String>,
pub secondary_web_microsoft_endpoint: Output<String>,
pub secondary_web_microsoft_host: Output<String>,
pub sftp_enabled: Output<Option<bool>>,
pub share_properties: Output<AccountShareProperties>,
pub shared_access_key_enabled: Output<Option<bool>>,
pub static_website: Output<AccountStaticWebsite>,
pub table_encryption_key_type: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§access_tier: Output<String>
Defines the access tier for BlobStorage
, FileStorage
and StorageV2
accounts. Valid options are Hot
and Cool
, defaults to Hot
.
account_kind: Output<Option<String>>
Defines the Kind of account. Valid options are BlobStorage
, BlockBlobStorage
, FileStorage
, Storage
and StorageV2
. Defaults to StorageV2
.
Note: Changing the
account_kind
value fromStorage
toStorageV2
will not trigger a force new on the storage account, it will only upgrade the existing storage account fromStorage
toStorageV2
keeping the existing storage account in place.
account_replication_type: Output<String>
Defines the type of replication to use for this storage account. Valid options are LRS
, GRS
, RAGRS
, ZRS
, GZRS
and RAGZRS
. Changing this forces a new resource to be created when types LRS
, GRS
and RAGRS
are changed to ZRS
, GZRS
or RAGZRS
and vice versa.
account_tier: Output<String>
Defines the Tier to use for this storage account. Valid options are Standard
and Premium
. For BlockBlobStorage
and FileStorage
accounts only Premium
is valid. Changing this forces a new resource to be created.
Note: Blobs with a tier of
Premium
are of account kindStorageV2
.
allow_nested_items_to_be_public: Output<Option<bool>>
Allow or disallow nested items within this Account to opt into being public. Defaults to true
.
Note: At this time
allow_nested_items_to_be_public
is only supported in the Public Cloud, China Cloud, and US Government Cloud.
allowed_copy_scope: Output<Option<String>>
Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. Possible values are AAD
and PrivateLink
.
azure_files_authentication: Output<Option<AccountAzureFilesAuthentication>>
A azure_files_authentication
block as defined below.
blob_properties: Output<AccountBlobProperties>
A blob_properties
block as defined below.
cross_tenant_replication_enabled: Output<Option<bool>>
Should cross Tenant replication be enabled? Defaults to false
.
custom_domain: Output<Option<AccountCustomDomain>>
A custom_domain
block as documented below.
customer_managed_key: Output<Option<AccountCustomerManagedKey>>
A customer_managed_key
block as documented below.
Note: It’s possible to define a Customer Managed Key both within either the
customer_managed_key
block or by using theazure.storage.CustomerManagedKey
resource. However, it’s not possible to use both methods to manage a Customer Managed Key for a Storage Account, since these will conflict. When using theazure.storage.CustomerManagedKey
resource, you will need to useignore_changes
on thecustomer_managed_key
block.
default_to_oauth_authentication: Output<Option<bool>>
Default to Azure Active Directory authorization in the Azure portal when accessing the Storage Account. The default value is false
dns_endpoint_type: Output<Option<String>>
Specifies which DNS endpoint type to use. Possible values are Standard
and AzureDnsZone
. Defaults to Standard
. Changing this forces a new resource to be created.
Note: Azure DNS zone support requires
PartitionedDns
feature to be enabled. To enable this feature for your subscription, use the following command:az feature register --namespace "Microsoft.Storage" --name "PartitionedDns"
.
edge_zone: Output<Option<String>>
Specifies the Edge Zone within the Azure Region where this Storage Account should exist. Changing this forces a new Storage Account to be created.
https_traffic_only_enabled: Output<Option<bool>>
Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to true
.
identity: Output<Option<AccountIdentity>>
An identity
block as defined below.
immutability_policy: Output<Option<AccountImmutabilityPolicy>>
An immutability_policy
block as defined below. Changing this forces a new resource to be created.
infrastructure_encryption_enabled: Output<Option<bool>>
Is infrastructure encryption enabled? Changing this forces a new resource to be created. Defaults to false
.
Note: This can only be
true
whenaccount_kind
isStorageV2
or whenaccount_tier
isPremium
andaccount_kind
is one ofBlockBlobStorage
orFileStorage
.
is_hns_enabled: Output<Option<bool>>
Is Hierarchical Namespace enabled? This can be used with Azure Data Lake Storage Gen 2 (see here for more information). Changing this forces a new resource to be created.
Note: This can only be
true
whenaccount_tier
isStandard
or whenaccount_tier
isPremium
andaccount_kind
isBlockBlobStorage
Are Large File Shares Enabled? Defaults to false
.
Note: Large File Shares are enabled by default when using an
account_kind
ofFileStorage
.
local_user_enabled: Output<Option<bool>>
Is Local User Enabled? Defaults to true
.
location: Output<String>
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
min_tls_version: Output<Option<String>>
The minimum supported TLS version for the storage account. Possible values are TLS1_0
, TLS1_1
, and TLS1_2
. Defaults to TLS1_2
for new storage accounts.
Note: At this time
min_tls_version
is only supported in the Public Cloud, China Cloud, and US Government Cloud.
name: Output<String>
Specifies the name of the storage account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created. This must be unique across the entire Azure service, not just within the resource group.
network_rules: Output<AccountNetworkRules>
A network_rules
block as documented below.
nfsv3_enabled: Output<Option<bool>>
Is NFSv3 protocol enabled? Changing this forces a new resource to be created. Defaults to false
.
Note: This can only be
true
whenaccount_tier
isStandard
andaccount_kind
isStorageV2
, oraccount_tier
isPremium
andaccount_kind
isBlockBlobStorage
. Additionally, theis_hns_enabled
istrue
andaccount_replication_type
must beLRS
orRAGRS
.
primary_access_key: Output<String>
The primary access key for the storage account.
primary_blob_connection_string: Output<String>
The connection string associated with the primary blob location.
primary_blob_endpoint: Output<String>
The endpoint URL for blob storage in the primary location.
primary_blob_host: Output<String>
The hostname with port if applicable for blob storage in the primary location.
primary_blob_internet_endpoint: Output<String>
The internet routing endpoint URL for blob storage in the primary location.
primary_blob_internet_host: Output<String>
The internet routing hostname with port if applicable for blob storage in the primary location.
primary_blob_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for blob storage in the primary location.
primary_blob_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for blob storage in the primary location.
primary_connection_string: Output<String>
The connection string associated with the primary location.
primary_dfs_endpoint: Output<String>
The endpoint URL for DFS storage in the primary location.
primary_dfs_host: Output<String>
The hostname with port if applicable for DFS storage in the primary location.
primary_dfs_internet_endpoint: Output<String>
The internet routing endpoint URL for DFS storage in the primary location.
primary_dfs_internet_host: Output<String>
The internet routing hostname with port if applicable for DFS storage in the primary location.
primary_dfs_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for DFS storage in the primary location.
primary_dfs_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for DFS storage in the primary location.
primary_file_endpoint: Output<String>
The endpoint URL for file storage in the primary location.
primary_file_host: Output<String>
The hostname with port if applicable for file storage in the primary location.
primary_file_internet_endpoint: Output<String>
The internet routing endpoint URL for file storage in the primary location.
primary_file_internet_host: Output<String>
The internet routing hostname with port if applicable for file storage in the primary location.
primary_file_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for file storage in the primary location.
primary_file_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for file storage in the primary location.
primary_location: Output<String>
The primary location of the storage account.
primary_queue_endpoint: Output<String>
The endpoint URL for queue storage in the primary location.
primary_queue_host: Output<String>
The hostname with port if applicable for queue storage in the primary location.
primary_queue_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for queue storage in the primary location.
primary_queue_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for queue storage in the primary location.
primary_table_endpoint: Output<String>
The endpoint URL for table storage in the primary location.
primary_table_host: Output<String>
The hostname with port if applicable for table storage in the primary location.
primary_table_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for table storage in the primary location.
primary_table_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for table storage in the primary location.
primary_web_endpoint: Output<String>
The endpoint URL for web storage in the primary location.
primary_web_host: Output<String>
The hostname with port if applicable for web storage in the primary location.
primary_web_internet_endpoint: Output<String>
The internet routing endpoint URL for web storage in the primary location.
primary_web_internet_host: Output<String>
The internet routing hostname with port if applicable for web storage in the primary location.
primary_web_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for web storage in the primary location.
primary_web_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for web storage in the primary location.
public_network_access_enabled: Output<Option<bool>>
Whether the public network access is enabled? Defaults to true
.
queue_encryption_key_type: Output<Option<String>>
The encryption type of the queue service. Possible values are Service
and Account
. Changing this forces a new resource to be created. Default value is Service
.
queue_properties: Output<AccountQueueProperties>
A queue_properties
block as defined below.
Note:
queue_properties
can only be configured whenaccount_tier
is set toStandard
andaccount_kind
is set to eitherStorage
orStorageV2
.
resource_group_name: Output<String>
The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.
routing: Output<AccountRouting>
A routing
block as defined below.
sas_policy: Output<Option<AccountSasPolicy>>
A sas_policy
block as defined below.
secondary_access_key: Output<String>
The secondary access key for the storage account.
secondary_blob_connection_string: Output<String>
The connection string associated with the secondary blob location.
secondary_blob_endpoint: Output<String>
The endpoint URL for blob storage in the secondary location.
secondary_blob_host: Output<String>
The hostname with port if applicable for blob storage in the secondary location.
secondary_blob_internet_endpoint: Output<String>
The internet routing endpoint URL for blob storage in the secondary location.
secondary_blob_internet_host: Output<String>
The internet routing hostname with port if applicable for blob storage in the secondary location.
secondary_blob_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for blob storage in the secondary location.
secondary_blob_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for blob storage in the secondary location.
secondary_connection_string: Output<String>
The connection string associated with the secondary location.
secondary_dfs_endpoint: Output<String>
The endpoint URL for DFS storage in the secondary location.
secondary_dfs_host: Output<String>
The hostname with port if applicable for DFS storage in the secondary location.
secondary_dfs_internet_endpoint: Output<String>
The internet routing endpoint URL for DFS storage in the secondary location.
secondary_dfs_internet_host: Output<String>
The internet routing hostname with port if applicable for DFS storage in the secondary location.
secondary_dfs_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for DFS storage in the secondary location.
secondary_dfs_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for DFS storage in the secondary location.
secondary_file_endpoint: Output<String>
The endpoint URL for file storage in the secondary location.
secondary_file_host: Output<String>
The hostname with port if applicable for file storage in the secondary location.
secondary_file_internet_endpoint: Output<String>
The internet routing endpoint URL for file storage in the secondary location.
secondary_file_internet_host: Output<String>
The internet routing hostname with port if applicable for file storage in the secondary location.
secondary_file_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for file storage in the secondary location.
secondary_file_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for file storage in the secondary location.
secondary_location: Output<String>
The secondary location of the storage account.
secondary_queue_endpoint: Output<String>
The endpoint URL for queue storage in the secondary location.
secondary_queue_host: Output<String>
The hostname with port if applicable for queue storage in the secondary location.
secondary_queue_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for queue storage in the secondary location.
secondary_queue_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for queue storage in the secondary location.
secondary_table_endpoint: Output<String>
The endpoint URL for table storage in the secondary location.
secondary_table_host: Output<String>
The hostname with port if applicable for table storage in the secondary location.
secondary_table_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for table storage in the secondary location.
secondary_table_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for table storage in the secondary location.
secondary_web_endpoint: Output<String>
The endpoint URL for web storage in the secondary location.
secondary_web_host: Output<String>
The hostname with port if applicable for web storage in the secondary location.
secondary_web_internet_endpoint: Output<String>
The internet routing endpoint URL for web storage in the secondary location.
secondary_web_internet_host: Output<String>
The internet routing hostname with port if applicable for web storage in the secondary location.
secondary_web_microsoft_endpoint: Output<String>
The microsoft routing endpoint URL for web storage in the secondary location.
secondary_web_microsoft_host: Output<String>
The microsoft routing hostname with port if applicable for web storage in the secondary location.
sftp_enabled: Output<Option<bool>>
Boolean, enable SFTP for the storage account
Note: SFTP support requires
is_hns_enabled
set totrue
. More information on SFTP support can be found here. Defaults tofalse
A share_properties
block as defined below.
Note:
share_properties
can only be configured when eitheraccount_tier
isStandard
andaccount_kind
is eitherStorage
orStorageV2
- or whenaccount_tier
isPremium
andaccount_kind
isFileStorage
.
static_website: Output<AccountStaticWebsite>
A static_website
block as defined below.
Note:
static_website
can only be set when theaccount_kind
is set toStorageV2
orBlockBlobStorage
.
Note: If
static_website
is specified, the service will automatically create aazure.storage.Container
named$web
.
table_encryption_key_type: Output<Option<String>>
The encryption type of the table service. Possible values are Service
and Account
. Changing this forces a new resource to be created. Default value is Service
.
Note:
queue_encryption_key_type
andtable_encryption_key_type
cannot be set toAccount
whenaccount_kind
is setStorage
A mapping of tags to assign to the resource.