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>
impl<S: State> AccountArgsBuilder<S>
sourcepub fn build_struct(self) -> AccountArgswhere
S: IsComplete,
pub fn build_struct(self) -> AccountArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn access_tier(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetAccessTier<S>>where
S::AccessTier: IsUnset,
pub fn access_tier(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetAccessTier<S>>where
S::AccessTier: IsUnset,
sourcepub fn maybe_access_tier(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetAccessTier<S>>where
S::AccessTier: IsUnset,
pub fn maybe_access_tier(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetAccessTier<S>>where
S::AccessTier: IsUnset,
sourcepub fn account_kind(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetAccountKind<S>>where
S::AccountKind: IsUnset,
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 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.
sourcepub fn maybe_account_kind(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetAccountKind<S>>where
S::AccountKind: IsUnset,
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 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.
sourcepub fn account_replication_type(
self,
value: impl Into<Output<String>>,
) -> AccountArgsBuilder<SetAccountReplicationType<S>>where
S::AccountReplicationType: IsUnset,
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.
sourcepub fn account_tier(
self,
value: impl Into<Output<String>>,
) -> AccountArgsBuilder<SetAccountTier<S>>where
S::AccountTier: IsUnset,
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 kindStorageV2
.
sourcepub fn allow_nested_items_to_be_public(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetAllowNestedItemsToBePublic<S>>where
S::AllowNestedItemsToBePublic: IsUnset,
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.
sourcepub fn maybe_allow_nested_items_to_be_public(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetAllowNestedItemsToBePublic<S>>where
S::AllowNestedItemsToBePublic: IsUnset,
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.
sourcepub fn allowed_copy_scope(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetAllowedCopyScope<S>>where
S::AllowedCopyScope: IsUnset,
pub fn allowed_copy_scope(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetAllowedCopyScope<S>>where
S::AllowedCopyScope: IsUnset,
sourcepub fn maybe_allowed_copy_scope(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetAllowedCopyScope<S>>where
S::AllowedCopyScope: IsUnset,
pub fn maybe_allowed_copy_scope(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetAllowedCopyScope<S>>where
S::AllowedCopyScope: IsUnset,
sourcepub fn azure_files_authentication(
self,
value: impl Into<Output<Option<AccountAzureFilesAuthentication>>>,
) -> AccountArgsBuilder<SetAzureFilesAuthentication<S>>where
S::AzureFilesAuthentication: IsUnset,
pub fn azure_files_authentication(
self,
value: impl Into<Output<Option<AccountAzureFilesAuthentication>>>,
) -> AccountArgsBuilder<SetAzureFilesAuthentication<S>>where
S::AzureFilesAuthentication: IsUnset,
sourcepub fn maybe_azure_files_authentication(
self,
value: Option<impl Into<Output<Option<AccountAzureFilesAuthentication>>>>,
) -> AccountArgsBuilder<SetAzureFilesAuthentication<S>>where
S::AzureFilesAuthentication: IsUnset,
pub fn maybe_azure_files_authentication(
self,
value: Option<impl Into<Output<Option<AccountAzureFilesAuthentication>>>>,
) -> AccountArgsBuilder<SetAzureFilesAuthentication<S>>where
S::AzureFilesAuthentication: IsUnset,
sourcepub fn blob_properties(
self,
value: impl Into<Output<Option<AccountBlobProperties>>>,
) -> AccountArgsBuilder<SetBlobProperties<S>>where
S::BlobProperties: IsUnset,
pub fn blob_properties(
self,
value: impl Into<Output<Option<AccountBlobProperties>>>,
) -> AccountArgsBuilder<SetBlobProperties<S>>where
S::BlobProperties: IsUnset,
sourcepub fn maybe_blob_properties(
self,
value: Option<impl Into<Output<Option<AccountBlobProperties>>>>,
) -> AccountArgsBuilder<SetBlobProperties<S>>where
S::BlobProperties: IsUnset,
pub fn maybe_blob_properties(
self,
value: Option<impl Into<Output<Option<AccountBlobProperties>>>>,
) -> AccountArgsBuilder<SetBlobProperties<S>>where
S::BlobProperties: IsUnset,
sourcepub fn cross_tenant_replication_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetCrossTenantReplicationEnabled<S>>where
S::CrossTenantReplicationEnabled: IsUnset,
pub fn cross_tenant_replication_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetCrossTenantReplicationEnabled<S>>where
S::CrossTenantReplicationEnabled: IsUnset,
sourcepub fn maybe_cross_tenant_replication_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetCrossTenantReplicationEnabled<S>>where
S::CrossTenantReplicationEnabled: IsUnset,
pub fn maybe_cross_tenant_replication_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetCrossTenantReplicationEnabled<S>>where
S::CrossTenantReplicationEnabled: IsUnset,
sourcepub fn custom_domain(
self,
value: impl Into<Output<Option<AccountCustomDomain>>>,
) -> AccountArgsBuilder<SetCustomDomain<S>>where
S::CustomDomain: IsUnset,
pub fn custom_domain(
self,
value: impl Into<Output<Option<AccountCustomDomain>>>,
) -> AccountArgsBuilder<SetCustomDomain<S>>where
S::CustomDomain: IsUnset,
sourcepub fn maybe_custom_domain(
self,
value: Option<impl Into<Output<Option<AccountCustomDomain>>>>,
) -> AccountArgsBuilder<SetCustomDomain<S>>where
S::CustomDomain: IsUnset,
pub fn maybe_custom_domain(
self,
value: Option<impl Into<Output<Option<AccountCustomDomain>>>>,
) -> AccountArgsBuilder<SetCustomDomain<S>>where
S::CustomDomain: IsUnset,
sourcepub fn customer_managed_key(
self,
value: impl Into<Output<Option<AccountCustomerManagedKey>>>,
) -> AccountArgsBuilder<SetCustomerManagedKey<S>>where
S::CustomerManagedKey: IsUnset,
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 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.
sourcepub fn maybe_customer_managed_key(
self,
value: Option<impl Into<Output<Option<AccountCustomerManagedKey>>>>,
) -> AccountArgsBuilder<SetCustomerManagedKey<S>>where
S::CustomerManagedKey: IsUnset,
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 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.
sourcepub fn default_to_oauth_authentication(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetDefaultToOauthAuthentication<S>>where
S::DefaultToOauthAuthentication: IsUnset,
pub fn default_to_oauth_authentication(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetDefaultToOauthAuthentication<S>>where
S::DefaultToOauthAuthentication: IsUnset,
sourcepub fn maybe_default_to_oauth_authentication(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetDefaultToOauthAuthentication<S>>where
S::DefaultToOauthAuthentication: IsUnset,
pub fn maybe_default_to_oauth_authentication(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetDefaultToOauthAuthentication<S>>where
S::DefaultToOauthAuthentication: IsUnset,
sourcepub fn dns_endpoint_type(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetDnsEndpointType<S>>where
S::DnsEndpointType: IsUnset,
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"
.
sourcepub fn maybe_dns_endpoint_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetDnsEndpointType<S>>where
S::DnsEndpointType: IsUnset,
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"
.
sourcepub fn edge_zone(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetEdgeZone<S>>where
S::EdgeZone: IsUnset,
pub fn edge_zone(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetEdgeZone<S>>where
S::EdgeZone: IsUnset,
sourcepub fn maybe_edge_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetEdgeZone<S>>where
S::EdgeZone: IsUnset,
pub fn maybe_edge_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetEdgeZone<S>>where
S::EdgeZone: IsUnset,
sourcepub fn https_traffic_only_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetHttpsTrafficOnlyEnabled<S>>where
S::HttpsTrafficOnlyEnabled: IsUnset,
pub fn https_traffic_only_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetHttpsTrafficOnlyEnabled<S>>where
S::HttpsTrafficOnlyEnabled: IsUnset,
sourcepub fn maybe_https_traffic_only_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetHttpsTrafficOnlyEnabled<S>>where
S::HttpsTrafficOnlyEnabled: IsUnset,
pub fn maybe_https_traffic_only_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetHttpsTrafficOnlyEnabled<S>>where
S::HttpsTrafficOnlyEnabled: IsUnset,
sourcepub fn identity(
self,
value: impl Into<Output<Option<AccountIdentity>>>,
) -> AccountArgsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
pub fn identity(
self,
value: impl Into<Output<Option<AccountIdentity>>>,
) -> AccountArgsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
sourcepub fn maybe_identity(
self,
value: Option<impl Into<Output<Option<AccountIdentity>>>>,
) -> AccountArgsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
pub fn maybe_identity(
self,
value: Option<impl Into<Output<Option<AccountIdentity>>>>,
) -> AccountArgsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
sourcepub fn immutability_policy(
self,
value: impl Into<Output<Option<AccountImmutabilityPolicy>>>,
) -> AccountArgsBuilder<SetImmutabilityPolicy<S>>where
S::ImmutabilityPolicy: IsUnset,
pub fn immutability_policy(
self,
value: impl Into<Output<Option<AccountImmutabilityPolicy>>>,
) -> AccountArgsBuilder<SetImmutabilityPolicy<S>>where
S::ImmutabilityPolicy: IsUnset,
sourcepub fn maybe_immutability_policy(
self,
value: Option<impl Into<Output<Option<AccountImmutabilityPolicy>>>>,
) -> AccountArgsBuilder<SetImmutabilityPolicy<S>>where
S::ImmutabilityPolicy: IsUnset,
pub fn maybe_immutability_policy(
self,
value: Option<impl Into<Output<Option<AccountImmutabilityPolicy>>>>,
) -> AccountArgsBuilder<SetImmutabilityPolicy<S>>where
S::ImmutabilityPolicy: IsUnset,
sourcepub fn infrastructure_encryption_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetInfrastructureEncryptionEnabled<S>>where
S::InfrastructureEncryptionEnabled: IsUnset,
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
whenaccount_kind
isStorageV2
or whenaccount_tier
isPremium
andaccount_kind
is one ofBlockBlobStorage
orFileStorage
.
sourcepub fn maybe_infrastructure_encryption_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetInfrastructureEncryptionEnabled<S>>where
S::InfrastructureEncryptionEnabled: IsUnset,
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
whenaccount_kind
isStorageV2
or whenaccount_tier
isPremium
andaccount_kind
is one ofBlockBlobStorage
orFileStorage
.
sourcepub fn is_hns_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetIsHnsEnabled<S>>where
S::IsHnsEnabled: IsUnset,
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
whenaccount_tier
isStandard
or whenaccount_tier
isPremium
andaccount_kind
isBlockBlobStorage
sourcepub fn maybe_is_hns_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetIsHnsEnabled<S>>where
S::IsHnsEnabled: IsUnset,
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
whenaccount_tier
isStandard
or whenaccount_tier
isPremium
andaccount_kind
isBlockBlobStorage
sourcepub fn local_user_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetLocalUserEnabled<S>>where
S::LocalUserEnabled: IsUnset,
pub fn local_user_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetLocalUserEnabled<S>>where
S::LocalUserEnabled: IsUnset,
sourcepub fn maybe_local_user_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetLocalUserEnabled<S>>where
S::LocalUserEnabled: IsUnset,
pub fn maybe_local_user_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetLocalUserEnabled<S>>where
S::LocalUserEnabled: IsUnset,
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn min_tls_version(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetMinTlsVersion<S>>where
S::MinTlsVersion: IsUnset,
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.
sourcepub fn maybe_min_tls_version(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetMinTlsVersion<S>>where
S::MinTlsVersion: IsUnset,
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.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetName<S>>where
S::Name: IsUnset,
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.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetName<S>>where
S::Name: IsUnset,
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.
sourcepub fn network_rules(
self,
value: impl Into<Output<Option<AccountNetworkRules>>>,
) -> AccountArgsBuilder<SetNetworkRules<S>>where
S::NetworkRules: IsUnset,
pub fn network_rules(
self,
value: impl Into<Output<Option<AccountNetworkRules>>>,
) -> AccountArgsBuilder<SetNetworkRules<S>>where
S::NetworkRules: IsUnset,
sourcepub fn maybe_network_rules(
self,
value: Option<impl Into<Output<Option<AccountNetworkRules>>>>,
) -> AccountArgsBuilder<SetNetworkRules<S>>where
S::NetworkRules: IsUnset,
pub fn maybe_network_rules(
self,
value: Option<impl Into<Output<Option<AccountNetworkRules>>>>,
) -> AccountArgsBuilder<SetNetworkRules<S>>where
S::NetworkRules: IsUnset,
sourcepub fn nfsv3_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetNfsv3Enabled<S>>where
S::Nfsv3Enabled: IsUnset,
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
whenaccount_tier
isStandard
andaccount_kind
isStorageV2
, oraccount_tier
isPremium
andaccount_kind
isBlockBlobStorage
. Additionally, theis_hns_enabled
istrue
andaccount_replication_type
must beLRS
orRAGRS
.
sourcepub fn maybe_nfsv3_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetNfsv3Enabled<S>>where
S::Nfsv3Enabled: IsUnset,
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
whenaccount_tier
isStandard
andaccount_kind
isStorageV2
, oraccount_tier
isPremium
andaccount_kind
isBlockBlobStorage
. Additionally, theis_hns_enabled
istrue
andaccount_replication_type
must beLRS
orRAGRS
.
sourcepub fn public_network_access_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetPublicNetworkAccessEnabled<S>>where
S::PublicNetworkAccessEnabled: IsUnset,
pub fn public_network_access_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetPublicNetworkAccessEnabled<S>>where
S::PublicNetworkAccessEnabled: IsUnset,
sourcepub fn maybe_public_network_access_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetPublicNetworkAccessEnabled<S>>where
S::PublicNetworkAccessEnabled: IsUnset,
pub fn maybe_public_network_access_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetPublicNetworkAccessEnabled<S>>where
S::PublicNetworkAccessEnabled: IsUnset,
sourcepub fn queue_encryption_key_type(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetQueueEncryptionKeyType<S>>where
S::QueueEncryptionKeyType: IsUnset,
pub fn queue_encryption_key_type(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetQueueEncryptionKeyType<S>>where
S::QueueEncryptionKeyType: IsUnset,
sourcepub fn maybe_queue_encryption_key_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetQueueEncryptionKeyType<S>>where
S::QueueEncryptionKeyType: IsUnset,
pub fn maybe_queue_encryption_key_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetQueueEncryptionKeyType<S>>where
S::QueueEncryptionKeyType: IsUnset,
sourcepub fn queue_properties(
self,
value: impl Into<Output<Option<AccountQueueProperties>>>,
) -> AccountArgsBuilder<SetQueueProperties<S>>where
S::QueueProperties: IsUnset,
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 whenaccount_tier
is set toStandard
andaccount_kind
is set to eitherStorage
orStorageV2
.
sourcepub fn maybe_queue_properties(
self,
value: Option<impl Into<Output<Option<AccountQueueProperties>>>>,
) -> AccountArgsBuilder<SetQueueProperties<S>>where
S::QueueProperties: IsUnset,
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 whenaccount_tier
is set toStandard
andaccount_kind
is set to eitherStorage
orStorageV2
.
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> AccountArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
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.
sourcepub fn routing(
self,
value: impl Into<Output<Option<AccountRouting>>>,
) -> AccountArgsBuilder<SetRouting<S>>where
S::Routing: IsUnset,
pub fn routing(
self,
value: impl Into<Output<Option<AccountRouting>>>,
) -> AccountArgsBuilder<SetRouting<S>>where
S::Routing: IsUnset,
sourcepub fn maybe_routing(
self,
value: Option<impl Into<Output<Option<AccountRouting>>>>,
) -> AccountArgsBuilder<SetRouting<S>>where
S::Routing: IsUnset,
pub fn maybe_routing(
self,
value: Option<impl Into<Output<Option<AccountRouting>>>>,
) -> AccountArgsBuilder<SetRouting<S>>where
S::Routing: IsUnset,
sourcepub fn sas_policy(
self,
value: impl Into<Output<Option<AccountSasPolicy>>>,
) -> AccountArgsBuilder<SetSasPolicy<S>>where
S::SasPolicy: IsUnset,
pub fn sas_policy(
self,
value: impl Into<Output<Option<AccountSasPolicy>>>,
) -> AccountArgsBuilder<SetSasPolicy<S>>where
S::SasPolicy: IsUnset,
sourcepub fn maybe_sas_policy(
self,
value: Option<impl Into<Output<Option<AccountSasPolicy>>>>,
) -> AccountArgsBuilder<SetSasPolicy<S>>where
S::SasPolicy: IsUnset,
pub fn maybe_sas_policy(
self,
value: Option<impl Into<Output<Option<AccountSasPolicy>>>>,
) -> AccountArgsBuilder<SetSasPolicy<S>>where
S::SasPolicy: IsUnset,
sourcepub fn sftp_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> AccountArgsBuilder<SetSftpEnabled<S>>where
S::SftpEnabled: IsUnset,
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 totrue
. More information on SFTP support can be found here. Defaults tofalse
sourcepub fn maybe_sftp_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> AccountArgsBuilder<SetSftpEnabled<S>>where
S::SftpEnabled: IsUnset,
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 totrue
. More information on SFTP support can be found here. Defaults tofalse
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 eitheraccount_tier
isStandard
andaccount_kind
is eitherStorage
orStorageV2
- or whenaccount_tier
isPremium
andaccount_kind
isFileStorage
.
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 eitheraccount_tier
isStandard
andaccount_kind
is eitherStorage
orStorageV2
- or whenaccount_tier
isPremium
andaccount_kind
isFileStorage
.
sourcepub fn static_website(
self,
value: impl Into<Output<Option<AccountStaticWebsite>>>,
) -> AccountArgsBuilder<SetStaticWebsite<S>>where
S::StaticWebsite: IsUnset,
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 theaccount_kind
is set toStorageV2
orBlockBlobStorage
.
Note: If
static_website
is specified, the service will automatically create aazure.storage.Container
named$web
.
sourcepub fn maybe_static_website(
self,
value: Option<impl Into<Output<Option<AccountStaticWebsite>>>>,
) -> AccountArgsBuilder<SetStaticWebsite<S>>where
S::StaticWebsite: IsUnset,
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 theaccount_kind
is set toStorageV2
orBlockBlobStorage
.
Note: If
static_website
is specified, the service will automatically create aazure.storage.Container
named$web
.
sourcepub fn table_encryption_key_type(
self,
value: impl Into<Output<Option<String>>>,
) -> AccountArgsBuilder<SetTableEncryptionKeyType<S>>where
S::TableEncryptionKeyType: IsUnset,
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
andtable_encryption_key_type
cannot be set toAccount
whenaccount_kind
is setStorage
sourcepub fn maybe_table_encryption_key_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> AccountArgsBuilder<SetTableEncryptionKeyType<S>>where
S::TableEncryptionKeyType: IsUnset,
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
andtable_encryption_key_type
cannot be set toAccount
whenaccount_kind
is setStorage