azurerm_storage_account

Nivis Nix constructor for the azurerm_storage_account resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  account_replication_type,
  account_tier,
  location,
  resource_group_name,
  access_tier ? null,
  account_kind ? null,
  allow_nested_items_to_be_public ? null,
  allowed_copy_scope ? null,
  cross_tenant_replication_enabled ? null,
  default_to_oauth_authentication ? null,
  dns_endpoint_type ? null,
  edge_zone ? null,
  https_traffic_only_enabled ? null,
  id ? null,
  infrastructure_encryption_enabled ? null,
  is_hns_enabled ? null,
  large_file_share_enabled ? null,
  local_user_enabled ? null,
  min_tls_version ? null,
  cfg_name ? null,
  nfsv3_enabled ? null,
  provisioned_billing_model_version ? null,
  public_network_access ? null,
  public_network_access_enabled ? null,
  queue_encryption_key_type ? null,
  sftp_enabled ? null,
  shared_access_key_enabled ? null,
  smb_oauth_enabled ? null,
  table_encryption_key_type ? null,
  tags ? null,
  azure_files_authentication ? null,
  blob_properties ? null,
  custom_domain ? null,
  customer_managed_key ? null,
  identity ? null,
  immutability_policy ? null,
  network_rules ? null,
  routing ? null,
  sas_policy ? null,
  share_properties ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • account_replication_type
  • account_tier
  • location
  • resource_group_name
Optional arguments
  • access_tier (defaults to null)
  • account_kind (defaults to null)
  • allow_nested_items_to_be_public (defaults to null)
  • allowed_copy_scope (defaults to null)
  • cross_tenant_replication_enabled (defaults to null)
  • default_to_oauth_authentication (defaults to null)
  • dns_endpoint_type (defaults to null)
  • edge_zone (defaults to null)
  • https_traffic_only_enabled (defaults to null)
  • id (defaults to null)
  • infrastructure_encryption_enabled (defaults to null)
  • is_hns_enabled (defaults to null)
  • large_file_share_enabled (defaults to null)
  • local_user_enabled (defaults to null)
  • min_tls_version (defaults to null)
  • cfg_name (defaults to null)
  • nfsv3_enabled (defaults to null)
  • provisioned_billing_model_version (defaults to null)
  • public_network_access (defaults to null)
  • public_network_access_enabled (defaults to null)
  • queue_encryption_key_type (defaults to null)
  • sftp_enabled (defaults to null)
  • shared_access_key_enabled (defaults to null)
  • smb_oauth_enabled (defaults to null)
  • table_encryption_key_type (defaults to null)
  • tags (defaults to null)
  • azure_files_authentication (defaults to null)
  • blob_properties (defaults to null)
  • custom_domain (defaults to null)
  • customer_managed_key (defaults to null)
  • identity (defaults to null)
  • immutability_policy (defaults to null)
  • network_rules (defaults to null)
  • routing (defaults to null)
  • sas_policy (defaults to null)
  • share_properties (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • account_replication_type_migrating_to
  • account_replication_type_migration_in_progress
  • primary_access_key
  • primary_blob_connection_string
  • primary_blob_endpoint
  • primary_blob_host
  • primary_blob_internet_endpoint
  • primary_blob_internet_host
  • primary_blob_microsoft_endpoint
  • primary_blob_microsoft_host
  • primary_connection_string
  • primary_dfs_endpoint
  • primary_dfs_host
  • primary_dfs_internet_endpoint
  • primary_dfs_internet_host
  • primary_dfs_microsoft_endpoint
  • primary_dfs_microsoft_host
  • primary_file_endpoint
  • primary_file_host
  • primary_file_internet_endpoint
  • primary_file_internet_host
  • primary_file_microsoft_endpoint
  • primary_file_microsoft_host
  • primary_location
  • primary_queue_endpoint
  • primary_queue_host
  • primary_queue_microsoft_endpoint
  • primary_queue_microsoft_host
  • primary_table_endpoint
  • primary_table_host
  • primary_table_microsoft_endpoint
  • primary_table_microsoft_host
  • primary_web_endpoint
  • primary_web_host
  • primary_web_internet_endpoint
  • primary_web_internet_host
  • primary_web_microsoft_endpoint
  • primary_web_microsoft_host
  • secondary_access_key
  • secondary_blob_connection_string
  • secondary_blob_endpoint
  • secondary_blob_host
  • secondary_blob_internet_endpoint
  • secondary_blob_internet_host
  • secondary_blob_microsoft_endpoint
  • secondary_blob_microsoft_host
  • secondary_connection_string
  • secondary_dfs_endpoint
  • secondary_dfs_host
  • secondary_dfs_internet_endpoint
  • secondary_dfs_internet_host
  • secondary_dfs_microsoft_endpoint
  • secondary_dfs_microsoft_host
  • secondary_file_endpoint
  • secondary_file_host
  • secondary_file_internet_endpoint
  • secondary_file_internet_host
  • secondary_file_microsoft_endpoint
  • secondary_file_microsoft_host
  • secondary_location
  • secondary_queue_endpoint
  • secondary_queue_host
  • secondary_queue_microsoft_endpoint
  • secondary_queue_microsoft_host
  • secondary_table_endpoint
  • secondary_table_host
  • secondary_table_microsoft_endpoint
  • secondary_table_microsoft_host
  • secondary_web_endpoint
  • secondary_web_host
  • secondary_web_internet_endpoint
  • secondary_web_internet_host
  • secondary_web_microsoft_endpoint
  • secondary_web_microsoft_host
Example
azurerm_storage_account {
  name = "storage_account";
  account_replication_type = …;  # required
  account_tier = …;  # required
  location = …;  # required
  resource_group_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.