pulumi_wasm_providers_azure_mini::storage::account

Struct AccountArgsBuilder

source
pub struct AccountArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build_struct().

Implementations§

source§

impl<S: State> AccountArgsBuilder<S>

source

pub fn build_struct(self) -> AccountArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn access_tier( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetAccessTier<S>>
where S::AccessTier: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Defines the access tier for BlobStorage, FileStorage and StorageV2 accounts. Valid options are Hot and Cool, defaults to Hot.

source

pub fn maybe_access_tier( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetAccessTier<S>>
where S::AccessTier: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Defines the access tier for BlobStorage, FileStorage and StorageV2 accounts. Valid options are Hot and Cool, defaults to Hot.

source

pub fn account_kind( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetAccountKind<S>>
where S::AccountKind: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn maybe_account_kind( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetAccountKind<S>>
where S::AccountKind: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn account_replication_type( self, value: impl Into<Output<String>>, ) -> AccountArgsBuilder<SetAccountReplicationType<S>>
where S::AccountReplicationType: IsUnset,

Required.

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.

source

pub fn account_tier( self, value: impl Into<Output<String>>, ) -> AccountArgsBuilder<SetAccountTier<S>>
where S::AccountTier: IsUnset,

Required.

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.

source

pub fn allow_nested_items_to_be_public( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetAllowNestedItemsToBePublic<S>>
where S::AllowNestedItemsToBePublic: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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.

source

pub fn maybe_allow_nested_items_to_be_public( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetAllowNestedItemsToBePublic<S>>
where S::AllowNestedItemsToBePublic: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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.

source

pub fn allowed_copy_scope( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetAllowedCopyScope<S>>
where S::AllowedCopyScope: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn maybe_allowed_copy_scope( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetAllowedCopyScope<S>>
where S::AllowedCopyScope: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn azure_files_authentication( self, value: impl Into<Output<Option<AccountAzureFilesAuthentication>>>, ) -> AccountArgsBuilder<SetAzureFilesAuthentication<S>>
where S::AzureFilesAuthentication: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountAzureFilesAuthentication>,
> as Default>::default()

A azure_files_authentication block as defined below.

source

pub fn maybe_azure_files_authentication( self, value: Option<impl Into<Output<Option<AccountAzureFilesAuthentication>>>>, ) -> AccountArgsBuilder<SetAzureFilesAuthentication<S>>
where S::AzureFilesAuthentication: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountAzureFilesAuthentication>,
> as Default>::default()

A azure_files_authentication block as defined below.

source

pub fn blob_properties( self, value: impl Into<Output<Option<AccountBlobProperties>>>, ) -> AccountArgsBuilder<SetBlobProperties<S>>
where S::BlobProperties: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountBlobProperties>,
> as Default>::default()

A blob_properties block as defined below.

source

pub fn maybe_blob_properties( self, value: Option<impl Into<Output<Option<AccountBlobProperties>>>>, ) -> AccountArgsBuilder<SetBlobProperties<S>>
where S::BlobProperties: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountBlobProperties>,
> as Default>::default()

A blob_properties block as defined below.

source

pub fn cross_tenant_replication_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetCrossTenantReplicationEnabled<S>>
where S::CrossTenantReplicationEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Should cross Tenant replication be enabled? Defaults to false.

source

pub fn maybe_cross_tenant_replication_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetCrossTenantReplicationEnabled<S>>
where S::CrossTenantReplicationEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Should cross Tenant replication be enabled? Defaults to false.

source

pub fn custom_domain( self, value: impl Into<Output<Option<AccountCustomDomain>>>, ) -> AccountArgsBuilder<SetCustomDomain<S>>
where S::CustomDomain: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountCustomDomain>,
> as Default>::default()

A custom_domain block as documented below.

source

pub fn maybe_custom_domain( self, value: Option<impl Into<Output<Option<AccountCustomDomain>>>>, ) -> AccountArgsBuilder<SetCustomDomain<S>>
where S::CustomDomain: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountCustomDomain>,
> as Default>::default()

A custom_domain block as documented below.

source

pub fn customer_managed_key( self, value: impl Into<Output<Option<AccountCustomerManagedKey>>>, ) -> AccountArgsBuilder<SetCustomerManagedKey<S>>
where S::CustomerManagedKey: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountCustomerManagedKey>,
> as Default>::default()

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.

source

pub fn maybe_customer_managed_key( self, value: Option<impl Into<Output<Option<AccountCustomerManagedKey>>>>, ) -> AccountArgsBuilder<SetCustomerManagedKey<S>>
where S::CustomerManagedKey: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountCustomerManagedKey>,
> as Default>::default()

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.

source

pub fn default_to_oauth_authentication( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetDefaultToOauthAuthentication<S>>
where S::DefaultToOauthAuthentication: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Default to Azure Active Directory authorization in the Azure portal when accessing the Storage Account. The default value is false

source

pub fn maybe_default_to_oauth_authentication( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetDefaultToOauthAuthentication<S>>
where S::DefaultToOauthAuthentication: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Default to Azure Active Directory authorization in the Azure portal when accessing the Storage Account. The default value is false

source

pub fn dns_endpoint_type( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetDnsEndpointType<S>>
where S::DnsEndpointType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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".

source

pub fn maybe_dns_endpoint_type( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetDnsEndpointType<S>>
where S::DnsEndpointType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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".

source

pub fn edge_zone( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetEdgeZone<S>>
where S::EdgeZone: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Specifies the Edge Zone within the Azure Region where this Storage Account should exist. Changing this forces a new Storage Account to be created.

source

pub fn maybe_edge_zone( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetEdgeZone<S>>
where S::EdgeZone: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Specifies the Edge Zone within the Azure Region where this Storage Account should exist. Changing this forces a new Storage Account to be created.

source

pub fn https_traffic_only_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetHttpsTrafficOnlyEnabled<S>>
where S::HttpsTrafficOnlyEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to true.

source

pub fn maybe_https_traffic_only_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetHttpsTrafficOnlyEnabled<S>>
where S::HttpsTrafficOnlyEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Boolean flag which forces HTTPS if enabled, see here for more information. Defaults to true.

source

pub fn identity( self, value: impl Into<Output<Option<AccountIdentity>>>, ) -> AccountArgsBuilder<SetIdentity<S>>
where S::Identity: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountIdentity>,
> as Default>::default()

An identity block as defined below.

source

pub fn maybe_identity( self, value: Option<impl Into<Output<Option<AccountIdentity>>>>, ) -> AccountArgsBuilder<SetIdentity<S>>
where S::Identity: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountIdentity>,
> as Default>::default()

An identity block as defined below.

source

pub fn immutability_policy( self, value: impl Into<Output<Option<AccountImmutabilityPolicy>>>, ) -> AccountArgsBuilder<SetImmutabilityPolicy<S>>
where S::ImmutabilityPolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountImmutabilityPolicy>,
> as Default>::default()

An immutability_policy block as defined below. Changing this forces a new resource to be created.

source

pub fn maybe_immutability_policy( self, value: Option<impl Into<Output<Option<AccountImmutabilityPolicy>>>>, ) -> AccountArgsBuilder<SetImmutabilityPolicy<S>>
where S::ImmutabilityPolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountImmutabilityPolicy>,
> as Default>::default()

An immutability_policy block as defined below. Changing this forces a new resource to be created.

source

pub fn infrastructure_encryption_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetInfrastructureEncryptionEnabled<S>>
where S::InfrastructureEncryptionEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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.

source

pub fn maybe_infrastructure_encryption_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetInfrastructureEncryptionEnabled<S>>
where S::InfrastructureEncryptionEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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.

source

pub fn is_hns_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetIsHnsEnabled<S>>
where S::IsHnsEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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

source

pub fn maybe_is_hns_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetIsHnsEnabled<S>>
where S::IsHnsEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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

source

pub fn large_file_share_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetLargeFileShareEnabled<S>>
where S::LargeFileShareEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Are Large File Shares Enabled? Defaults to false.

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

source

pub fn maybe_large_file_share_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetLargeFileShareEnabled<S>>
where S::LargeFileShareEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Are Large File Shares Enabled? Defaults to false.

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

source

pub fn local_user_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetLocalUserEnabled<S>>
where S::LocalUserEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Is Local User Enabled? Defaults to true.

source

pub fn maybe_local_user_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetLocalUserEnabled<S>>
where S::LocalUserEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Is Local User Enabled? Defaults to true.

source

pub fn location( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetLocation<S>>
where S::Location: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

source

pub fn maybe_location( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetLocation<S>>
where S::Location: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

source

pub fn min_tls_version( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetMinTlsVersion<S>>
where S::MinTlsVersion: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn maybe_min_tls_version( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetMinTlsVersion<S>>
where S::MinTlsVersion: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn name( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn maybe_name( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn network_rules( self, value: impl Into<Output<Option<AccountNetworkRules>>>, ) -> AccountArgsBuilder<SetNetworkRules<S>>
where S::NetworkRules: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountNetworkRules>,
> as Default>::default()

A network_rules block as documented below.

source

pub fn maybe_network_rules( self, value: Option<impl Into<Output<Option<AccountNetworkRules>>>>, ) -> AccountArgsBuilder<SetNetworkRules<S>>
where S::NetworkRules: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountNetworkRules>,
> as Default>::default()

A network_rules block as documented below.

source

pub fn nfsv3_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetNfsv3Enabled<S>>
where S::Nfsv3Enabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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.

source

pub fn maybe_nfsv3_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetNfsv3Enabled<S>>
where S::Nfsv3Enabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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.

source

pub fn public_network_access_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetPublicNetworkAccessEnabled<S>>
where S::PublicNetworkAccessEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether the public network access is enabled? Defaults to true.

source

pub fn maybe_public_network_access_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetPublicNetworkAccessEnabled<S>>
where S::PublicNetworkAccessEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether the public network access is enabled? Defaults to true.

source

pub fn queue_encryption_key_type( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetQueueEncryptionKeyType<S>>
where S::QueueEncryptionKeyType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn maybe_queue_encryption_key_type( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetQueueEncryptionKeyType<S>>
where S::QueueEncryptionKeyType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn queue_properties( self, value: impl Into<Output<Option<AccountQueueProperties>>>, ) -> AccountArgsBuilder<SetQueueProperties<S>>
where S::QueueProperties: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountQueueProperties>,
> as Default>::default()

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.

source

pub fn maybe_queue_properties( self, value: Option<impl Into<Output<Option<AccountQueueProperties>>>>, ) -> AccountArgsBuilder<SetQueueProperties<S>>
where S::QueueProperties: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountQueueProperties>,
> as Default>::default()

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.

source

pub fn resource_group_name( self, value: impl Into<Output<String>>, ) -> AccountArgsBuilder<SetResourceGroupName<S>>
where S::ResourceGroupName: IsUnset,

Required.

The name of the resource group in which to create the storage account. Changing this forces a new resource to be created.

source

pub fn routing( self, value: impl Into<Output<Option<AccountRouting>>>, ) -> AccountArgsBuilder<SetRouting<S>>
where S::Routing: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountRouting>,
> as Default>::default()

A routing block as defined below.

source

pub fn maybe_routing( self, value: Option<impl Into<Output<Option<AccountRouting>>>>, ) -> AccountArgsBuilder<SetRouting<S>>
where S::Routing: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountRouting>,
> as Default>::default()

A routing block as defined below.

source

pub fn sas_policy( self, value: impl Into<Output<Option<AccountSasPolicy>>>, ) -> AccountArgsBuilder<SetSasPolicy<S>>
where S::SasPolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountSasPolicy>,
> as Default>::default()

A sas_policy block as defined below.

source

pub fn maybe_sas_policy( self, value: Option<impl Into<Output<Option<AccountSasPolicy>>>>, ) -> AccountArgsBuilder<SetSasPolicy<S>>
where S::SasPolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountSasPolicy>,
> as Default>::default()

A sas_policy block as defined below.

source

pub fn sftp_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetSftpEnabled<S>>
where S::SftpEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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

source

pub fn maybe_sftp_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetSftpEnabled<S>>
where S::SftpEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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

source

pub fn share_properties( self, value: impl Into<Output<Option<AccountShareProperties>>>, ) -> AccountArgsBuilder<SetShareProperties<S>>
where S::ShareProperties: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountShareProperties>,
> as Default>::default()

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.

source

pub fn maybe_share_properties( self, value: Option<impl Into<Output<Option<AccountShareProperties>>>>, ) -> AccountArgsBuilder<SetShareProperties<S>>
where S::ShareProperties: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountShareProperties>,
> as Default>::default()

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.

source

pub fn shared_access_key_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> AccountArgsBuilder<SetSharedAccessKeyEnabled<S>>
where S::SharedAccessKeyEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

source

pub fn maybe_shared_access_key_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> AccountArgsBuilder<SetSharedAccessKeyEnabled<S>>
where S::SharedAccessKeyEnabled: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

source

pub fn static_website( self, value: impl Into<Output<Option<AccountStaticWebsite>>>, ) -> AccountArgsBuilder<SetStaticWebsite<S>>
where S::StaticWebsite: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountStaticWebsite>,
> as Default>::default()

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.

source

pub fn maybe_static_website( self, value: Option<impl Into<Output<Option<AccountStaticWebsite>>>>, ) -> AccountArgsBuilder<SetStaticWebsite<S>>
where S::StaticWebsite: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::storage::AccountStaticWebsite>,
> as Default>::default()

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.

source

pub fn table_encryption_key_type( self, value: impl Into<Output<Option<String>>>, ) -> AccountArgsBuilder<SetTableEncryptionKeyType<S>>
where S::TableEncryptionKeyType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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

source

pub fn maybe_table_encryption_key_type( self, value: Option<impl Into<Output<Option<String>>>>, ) -> AccountArgsBuilder<SetTableEncryptionKeyType<S>>
where S::TableEncryptionKeyType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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

source

pub fn tags( self, value: impl Into<Output<Option<HashMap<String, String>>>>, ) -> AccountArgsBuilder<SetTags<S>>
where S::Tags: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<std::collections::HashMap<String, String>>,
> as Default>::default()

A mapping of tags to assign to the resource.

source

pub fn maybe_tags( self, value: Option<impl Into<Output<Option<HashMap<String, String>>>>>, ) -> AccountArgsBuilder<SetTags<S>>
where S::Tags: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<std::collections::HashMap<String, String>>,
> as Default>::default()

A mapping of tags to assign to the resource.

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> 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, 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.