StorageAccountCreateParameters interface
The parameters used when creating a storage account.
Properties
access |
Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. |
allow |
Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. |
allow |
Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. |
allowed |
Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. |
allow |
Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. |
azure |
Provides the identity based authentication settings for Azure Files. |
custom |
User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. |
default |
A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. |
dns |
Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. |
enable |
Enables extended group support with local users feature, if set to true |
enable |
Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. |
enable |
NFS 3.0 protocol support enabled if set to true. |
encryption | Encryption settings to be used for server-side encryption for the storage account. |
extended |
Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location |
identity | The identity of the resource. |
immutable |
The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default. |
is |
Account HierarchicalNamespace enabled if sets to true. |
is |
Enables local users feature, if set to true |
is |
Enables Secure File Transfer Protocol, if set to true |
key |
KeyPolicy assigned to the storage account. |
kind | Required. Indicates the type of storage account. |
large |
Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. |
location | Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. |
minimum |
Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. |
network |
Network rule set |
public |
Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'. |
routing |
Maintains information about the network routing choice opted by the user for data transfer |
sas |
SasPolicy assigned to the storage account. |
sku | Required. Gets or sets the SKU name. |
tags | Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. |
Property Details
accessTier
Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.
accessTier?: AccessTier
Property Value
allowBlobPublicAccess
Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.
allowBlobPublicAccess?: boolean
Property Value
boolean
allowCrossTenantReplication
Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default.
allowCrossTenantReplication?: boolean
Property Value
boolean
allowedCopyScope
Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.
allowedCopyScope?: string
Property Value
string
allowSharedKeyAccess
Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.
allowSharedKeyAccess?: boolean
Property Value
boolean
azureFilesIdentityBasedAuthentication
Provides the identity based authentication settings for Azure Files.
azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication
Property Value
customDomain
User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.
customDomain?: CustomDomain
Property Value
defaultToOAuthAuthentication
A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property.
defaultToOAuthAuthentication?: boolean
Property Value
boolean
dnsEndpointType
Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.
dnsEndpointType?: string
Property Value
string
enableExtendedGroups
Enables extended group support with local users feature, if set to true
enableExtendedGroups?: boolean
Property Value
boolean
enableHttpsTrafficOnly
Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.
enableHttpsTrafficOnly?: boolean
Property Value
boolean
enableNfsV3
NFS 3.0 protocol support enabled if set to true.
enableNfsV3?: boolean
Property Value
boolean
encryption
Encryption settings to be used for server-side encryption for the storage account.
encryption?: Encryption
Property Value
extendedLocation
Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location
extendedLocation?: ExtendedLocation
Property Value
identity
immutableStorageWithVersioning
The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default.
immutableStorageWithVersioning?: ImmutableStorageAccount
Property Value
isHnsEnabled
Account HierarchicalNamespace enabled if sets to true.
isHnsEnabled?: boolean
Property Value
boolean
isLocalUserEnabled
Enables local users feature, if set to true
isLocalUserEnabled?: boolean
Property Value
boolean
isSftpEnabled
Enables Secure File Transfer Protocol, if set to true
isSftpEnabled?: boolean
Property Value
boolean
keyPolicy
kind
Required. Indicates the type of storage account.
kind: string
Property Value
string
largeFileSharesState
Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.
largeFileSharesState?: string
Property Value
string
location
Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed.
location: string
Property Value
string
minimumTlsVersion
Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.
minimumTlsVersion?: string
Property Value
string
networkRuleSet
publicNetworkAccess
Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'.
publicNetworkAccess?: string
Property Value
string
routingPreference
Maintains information about the network routing choice opted by the user for data transfer
routingPreference?: RoutingPreference
Property Value
sasPolicy
sku
tags
Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.
tags?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}