pub struct AccountArgs {Show 38 fields
pub access_tier: Output<Option<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<Option<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<Option<bool>>,
pub local_user_enabled: Output<Option<bool>>,
pub location: Output<Option<String>>,
pub min_tls_version: Output<Option<String>>,
pub name: Output<Option<String>>,
pub network_rules: Output<Option<AccountNetworkRules>>,
pub nfsv3_enabled: Output<Option<bool>>,
pub public_network_access_enabled: Output<Option<bool>>,
pub queue_encryption_key_type: Output<Option<String>>,
pub queue_properties: Output<Option<AccountQueueProperties>>,
pub resource_group_name: Output<String>,
pub routing: Output<Option<AccountRouting>>,
pub sas_policy: Output<Option<AccountSasPolicy>>,
pub sftp_enabled: Output<Option<bool>>,
pub share_properties: Output<Option<AccountShareProperties>>,
pub shared_access_key_enabled: Output<Option<bool>>,
pub static_website: Output<Option<AccountStaticWebsite>>,
pub table_encryption_key_type: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§access_tier: Output<Option<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<Option<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<Option<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<Option<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<Option<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
.
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<Option<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<Option<AccountRouting>>
A routing
block as defined below.
sas_policy: Output<Option<AccountSasPolicy>>
A sas_policy
block as defined below.
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<Option<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.
Implementations§
source§impl AccountArgs
impl AccountArgs
sourcepub fn builder() -> AccountArgsBuilder
pub fn builder() -> AccountArgsBuilder
Create an instance of AccountArgs
using the builder syntax
Trait Implementations§
source§impl Clone for AccountArgs
impl Clone for AccountArgs
source§fn clone(&self) -> AccountArgs
fn clone(&self) -> AccountArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for AccountArgs
impl RefUnwindSafe for AccountArgs
impl Send for AccountArgs
impl Sync for AccountArgs
impl Unpin for AccountArgs
impl UnwindSafe for AccountArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)