pulumi_wasm_providers_azure_mini::storage::account

Struct AccountArgs

source
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 from Storage to StorageV2 will not trigger a force new on the storage account, it will only upgrade the existing storage account from Storage to StorageV2 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 kind StorageV2.

§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 the azure.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 the azure.storage.CustomerManagedKey resource, you will need to use ignore_changes on the customer_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 when account_kind is StorageV2 or when account_tier is Premium and account_kind is one of BlockBlobStorage or FileStorage.

§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 when account_tier is Standard or when account_tier is Premium and account_kind is BlockBlobStorage

§large_file_share_enabled: Output<Option<bool>>

Are Large File Shares Enabled? Defaults to false.

Note: Large File Shares are enabled by default when using an account_kind of FileStorage.

§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 when account_tier is Standard and account_kind is StorageV2, or account_tier is Premium and account_kind is BlockBlobStorage. Additionally, the is_hns_enabled is true and account_replication_type must be LRS or RAGRS.

§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 when account_tier is set to Standard and account_kind is set to either Storage or StorageV2.

§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 to true. More information on SFTP support can be found here. Defaults to false

§share_properties: Output<Option<AccountShareProperties>>

A share_properties block as defined below.

Note: share_properties can only be configured when either account_tier is Standard and account_kind is either Storage or StorageV2 - or when account_tier is Premium and account_kind is FileStorage.

§shared_access_key_enabled: Output<Option<bool>>§static_website: Output<Option<AccountStaticWebsite>>

A static_website block as defined below.

Note: static_website can only be set when the account_kind is set to StorageV2 or BlockBlobStorage.

Note: If static_website is specified, the service will automatically create a azure.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 and table_encryption_key_type cannot be set to Account when account_kind is set Storage

§tags: Output<Option<HashMap<String, String>>>

A mapping of tags to assign to the resource.

Implementations§

source§

impl AccountArgs

source

pub fn builder() -> AccountArgsBuilder

Create an instance of AccountArgs using the builder syntax

Trait Implementations§

source§

impl Clone for AccountArgs

source§

fn clone(&self) -> AccountArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.