| Description | : Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "StorageAccounts_Create",
"$parameters": {
"parameters": {
"$properties": {
"properties": [
{
"networkAcls": [
{
"ipRules": {
"$properties": [
{
"#name": "value",
"Description": {
"new": "Specifies the IP or IP range in CIDR format.",
"old": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."
}
}
]
}
},
{
"@added_37ffb16739bc4b04a6914b2cf042d8f1": {
"#name": "ipv6Rules",
"Description": "Sets the IPv6 ACL rules.",
"Required": false,
"Type": "array",
"$items": {
"Description": "IPv6 rule with specific IP or IP range in CIDR format.",
"Type": "object",
"$properties": [
{
"#name": "value",
"Description": "Specifies the IP or IP range in CIDR format.",
"Required": true,
"Type": "string"
},
{
"#name": "action",
"Description": "The action of IP ACL rule.",
"Enum": [
[
"Allow",
""
]
],
"Required": false,
"Type": "string"
}
]
}
}
}
]
},
{
"@added_31749047ee204ee49e4680acf9474960": {
"#name": "dualStackEndpointPreference",
"Description": "Maintains information about the Internet protocol opted by the user.",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "publishIpv6Endpoint",
"Description": "A boolean flag which indicates whether IPv6 storage endpoints are to be published.",
"Required": false,
"Type": "boolean"
}
]
}
},
{
"@removed_632cdc94702e4958943b468694e185be": {
"#name": "deletedAccountCreationTime",
"Description": "Creation time of the deleted account. This property should only be provided while requesting deleted storage account recovery.",
"Format": "date-time",
"Required": false,
"Type": "string"
}
}
]
}
}
},
"$responses": {
"200": {
"$properties": {
"properties": [
{
"primaryEndpoints": [
{
"@added_eacb0037163a448cadc2b53d8869969f": {
"#name": "ipv6Endpoints",
"Description": "Gets the IPv6 storage endpoints.",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "blob",
"Description": "Gets the blob endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "queue",
"Description": "Gets the queue endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "table",
"Description": "Gets the table endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "file",
"Description": "Gets the file endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "web",
"Description": "Gets the web endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "dfs",
"Description": "Gets the dfs endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "microsoftEndpoints",
"Description": "Gets the microsoft routing storage endpoints.",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "blob",
"Description": "Gets the blob endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "queue",
"Description": "Gets the queue endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "table",
"Description": "Gets the table endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "file",
"Description": "Gets the file endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "web",
"Description": "Gets the web endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "dfs",
"Description": "Gets the dfs endpoint.",
"Required": false,
"Type": "string"
}
]
},
{
"#name": "internetEndpoints",
"Description": "Gets the internet routing storage endpoints",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "blob",
"Description": "Gets the blob endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "file",
"Description": "Gets the file endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "web",
"Description": "Gets the web endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "dfs",
"Description": "Gets the dfs endpoint.",
"Required": false,
"Type": "string"
}
]
}
]
}
}
]
},
{
"secondaryEndpoints": [
{
"@added_305f9e3ac15c448593e4423fb6a6c139": {
"#name": "ipv6Endpoints",
"Description": "Gets the IPv6 storage endpoints.",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "blob",
"Description": "Gets the blob endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "queue",
"Description": "Gets the queue endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "table",
"Description": "Gets the table endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "file",
"Description": "Gets the file endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "web",
"Description": "Gets the web endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "dfs",
"Description": "Gets the dfs endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "microsoftEndpoints",
"Description": "Gets the microsoft routing storage endpoints.",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "blob",
"Description": "Gets the blob endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "queue",
"Description": "Gets the queue endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "table",
"Description": "Gets the table endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "file",
"Description": "Gets the file endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "web",
"Description": "Gets the web endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "dfs",
"Description": "Gets the dfs endpoint.",
"Required": false,
"Type": "string"
}
]
},
{
"#name": "internetEndpoints",
"Description": "Gets the internet routing storage endpoints",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "blob",
"Description": "Gets the blob endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "file",
"Description": "Gets the file endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "web",
"Description": "Gets the web endpoint.",
"Required": false,
"Type": "string"
},
{
"#name": "dfs",
"Description": "Gets the dfs endpoint.",
"Required": false,
"Type": "string"
}
]
}
]
}
}
]
},
{
"networkAcls": [
{
"ipRules": {
"$properties": [
{
"#name": "value",
"Description": {
"new": "Specifies the IP or IP range in CIDR format.",
"old": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."
}
}
]
}
},
{
"@added_0871893f06f949ce9874a0f8de1cdf59": {
"#name": "ipv6Rules",
"Description": "Sets the IPv6 ACL rules.",
"Required": false,
"Type": "array",
"$items": {
"Description": "IPv6 rule with specific IP or IP range in CIDR format.",
"Type": "object",
"$properties": [
{
"#name": "value",
"Description": "Specifies the IP or IP range in CIDR format.",
"Required": true,
"Type": "string"
},
{
"#name": "action",
"Description": "The action of IP ACL rule.",
"Enum": [
[
"Allow",
""
]
],
"Required": false,
"Type": "string"
}
]
}
}
}
]
},
{
"@added_bcd3596c39fa4a8f9ffdfc9272302834": {
"#name": "dualStackEndpointPreference",
"Description": "Maintains information about the Internet protocol opted by the user.",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "publishIpv6Endpoint",
"Description": "A boolean flag which indicates whether IPv6 storage endpoints are to be published.",
"Required": false,
"Type": "boolean"
}
]
}
}
]
}
}
}
}
⚼ Request
PUT:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}
{
resourceGroupName:
string
,
accountName:
string
,
parameters:
{
,
sku:
{
,
name:
enum
,
tier:
enum
,
}
kind:
enum
,
location:
string
,
extendedLocation:
{
,
name:
string
,
type:
enum
,
}
zones:
[
,
string
,
]
placement:
{
,
zonePlacementPolicy:
enum
,
}
tags:
object
,
identity:
{
,
principalId:
string
,
tenantId:
string
,
type:
enum
,
userAssignedIdentities:
object
,
}
properties:
}
{
,
allowedCopyScope:
enum
,
publicNetworkAccess:
enum
,
sasPolicy:
{
,
sasExpirationPeriod:
string
,
expirationAction:
enum
,
}
keyPolicy:
{
,
keyExpirationPeriodInDays:
integer
,
}
customDomain:
{
,
name:
string
,
useSubDomainName:
boolean
,
}
encryption:
{
,
services:
{
,
blob:
{
,
enabled:
boolean
,
lastEnabledTime:
string
,
keyType:
enum
,
}
file:
{
,
enabled:
boolean
,
lastEnabledTime:
string
,
keyType:
enum
,
}
table:
{
,
enabled:
boolean
,
lastEnabledTime:
string
,
keyType:
enum
,
}
queue:
}
{
,
enabled:
boolean
,
lastEnabledTime:
string
,
keyType:
enum
,
}
keySource:
enum
,
requireInfrastructureEncryption:
boolean
,
keyvaultproperties:
{
,
keyname:
string
,
keyversion:
string
,
keyvaulturi:
string
,
currentVersionedKeyIdentifier:
string
,
lastKeyRotationTimestamp:
string
,
currentVersionedKeyExpirationTimestamp:
string
,
}
identity:
}
{
,
userAssignedIdentity:
string
,
federatedIdentityClientId:
string
,
}
networkAcls:
{
,
bypass:
enum
,
resourceAccessRules:
[
]
,
{
,
tenantId:
string
,
resourceId:
string
,
}
virtualNetworkRules:
[
]
,
{
,
id:
string
,
action:
enum
,
state:
enum
,
}
ipRules:
[
]
,
{
,
value:
string
,
action:
enum
,
}
ipv6Rules:
[
]
,
{
,
value:
string
,
action:
enum
,
}
defaultAction:
enum
,
}
accessTier:
enum
,
azureFilesIdentityBasedAuthentication:
{
,
directoryServiceOptions:
enum
,
activeDirectoryProperties:
{
,
domainName:
string
,
netBiosDomainName:
string
,
forestName:
string
,
domainGuid:
string
,
domainSid:
string
,
azureStorageSid:
string
,
samAccountName:
string
,
accountType:
enum
,
}
defaultSharePermission:
enum
,
smbOAuthSettings:
}
{
,
isSmbOAuthEnabled:
boolean
,
}
supportsHttpsTrafficOnly:
boolean
,
isSftpEnabled:
boolean
,
isLocalUserEnabled:
boolean
,
enableExtendedGroups:
boolean
,
isHnsEnabled:
boolean
,
largeFileSharesState:
enum
,
routingPreference:
{
,
routingChoice:
enum
,
publishMicrosoftEndpoints:
boolean
,
publishInternetEndpoints:
boolean
,
}
dualStackEndpointPreference:
{
,
publishIpv6Endpoint:
boolean
,
}
allowBlobPublicAccess:
boolean
,
minimumTlsVersion:
enum
,
allowSharedKeyAccess:
boolean
,
isNfsV3Enabled:
boolean
,
allowCrossTenantReplication:
boolean
,
defaultToOAuthAuthentication:
boolean
,
immutableStorageWithVersioning:
{
,
enabled:
boolean
,
immutabilityPolicy:
}
{
,
immutabilityPeriodSinceCreationInDays:
integer
,
state:
enum
,
allowProtectedAppendWrites:
boolean
,
}
dnsEndpointType:
enum
,
}
api-version:
string
,
subscriptionId:
string
,
}
⚐ Response (200)
{
sku:
{
,
name:
enum
,
tier:
enum
,
}
kind:
enum
,
identity:
{
,
principalId:
string
,
tenantId:
string
,
type:
enum
,
userAssignedIdentities:
object
,
}
extendedLocation:
{
,
name:
string
,
type:
enum
,
}
zones:
[
,
string
,
]
placement:
{
,
zonePlacementPolicy:
enum
,
}
properties:
}
{
,
provisioningState:
enum
,
primaryEndpoints:
{
,
blob:
string
,
queue:
string
,
table:
string
,
file:
string
,
web:
string
,
dfs:
string
,
microsoftEndpoints:
{
,
blob:
string
,
queue:
string
,
table:
string
,
file:
string
,
web:
string
,
dfs:
string
,
}
internetEndpoints:
{
,
blob:
string
,
file:
string
,
web:
string
,
dfs:
string
,
}
ipv6Endpoints:
}
{
,
blob:
string
,
queue:
string
,
table:
string
,
file:
string
,
web:
string
,
dfs:
string
,
microsoftEndpoints:
{
,
blob:
string
,
queue:
string
,
table:
string
,
file:
string
,
web:
string
,
dfs:
string
,
}
internetEndpoints:
}
{
,
blob:
string
,
file:
string
,
web:
string
,
dfs:
string
,
}
primaryLocation:
string
,
statusOfPrimary:
enum
,
lastGeoFailoverTime:
string
,
secondaryLocation:
string
,
statusOfSecondary:
enum
,
creationTime:
string
,
customDomain:
{
,
name:
string
,
useSubDomainName:
boolean
,
}
sasPolicy:
{
,
sasExpirationPeriod:
string
,
expirationAction:
enum
,
}
keyPolicy:
{
,
keyExpirationPeriodInDays:
integer
,
}
keyCreationTime:
{
,
key1:
string
,
key2:
string
,
}
secondaryEndpoints:
{
,
blob:
string
,
queue:
string
,
table:
string
,
file:
string
,
web:
string
,
dfs:
string
,
microsoftEndpoints:
{
,
blob:
string
,
queue:
string
,
table:
string
,
file:
string
,
web:
string
,
dfs:
string
,
}
internetEndpoints:
{
,
blob:
string
,
file:
string
,
web:
string
,
dfs:
string
,
}
ipv6Endpoints:
}
{
,
blob:
string
,
queue:
string
,
table:
string
,
file:
string
,
web:
string
,
dfs:
string
,
microsoftEndpoints:
{
,
blob:
string
,
queue:
string
,
table:
string
,
file:
string
,
web:
string
,
dfs:
string
,
}
internetEndpoints:
}
{
,
blob:
string
,
file:
string
,
web:
string
,
dfs:
string
,
}
encryption:
{
,
services:
{
,
blob:
{
,
enabled:
boolean
,
lastEnabledTime:
string
,
keyType:
enum
,
}
file:
{
,
enabled:
boolean
,
lastEnabledTime:
string
,
keyType:
enum
,
}
table:
{
,
enabled:
boolean
,
lastEnabledTime:
string
,
keyType:
enum
,
}
queue:
}
{
,
enabled:
boolean
,
lastEnabledTime:
string
,
keyType:
enum
,
}
keySource:
enum
,
requireInfrastructureEncryption:
boolean
,
keyvaultproperties:
{
,
keyname:
string
,
keyversion:
string
,
keyvaulturi:
string
,
currentVersionedKeyIdentifier:
string
,
lastKeyRotationTimestamp:
string
,
currentVersionedKeyExpirationTimestamp:
string
,
}
identity:
}
{
,
userAssignedIdentity:
string
,
federatedIdentityClientId:
string
,
}
accessTier:
enum
,
azureFilesIdentityBasedAuthentication:
{
,
directoryServiceOptions:
enum
,
activeDirectoryProperties:
{
,
domainName:
string
,
netBiosDomainName:
string
,
forestName:
string
,
domainGuid:
string
,
domainSid:
string
,
azureStorageSid:
string
,
samAccountName:
string
,
accountType:
enum
,
}
defaultSharePermission:
enum
,
smbOAuthSettings:
}
{
,
isSmbOAuthEnabled:
boolean
,
}
supportsHttpsTrafficOnly:
boolean
,
networkAcls:
{
,
bypass:
enum
,
resourceAccessRules:
[
]
,
{
,
tenantId:
string
,
resourceId:
string
,
}
virtualNetworkRules:
[
]
,
{
,
id:
string
,
action:
enum
,
state:
enum
,
}
ipRules:
[
]
,
{
,
value:
string
,
action:
enum
,
}
ipv6Rules:
[
]
,
{
,
value:
string
,
action:
enum
,
}
defaultAction:
enum
,
}
isSftpEnabled:
boolean
,
isLocalUserEnabled:
boolean
,
enableExtendedGroups:
boolean
,
isHnsEnabled:
boolean
,
geoReplicationStats:
{
,
status:
enum
,
lastSyncTime:
string
,
canFailover:
boolean
,
canPlannedFailover:
boolean
,
postFailoverRedundancy:
enum
,
postPlannedFailoverRedundancy:
enum
,
}
failoverInProgress:
boolean
,
largeFileSharesState:
enum
,
privateEndpointConnections:
[
]
,
{
,
properties:
}
{
,
privateEndpoint:
{
,
id:
string
,
}
privateLinkServiceConnectionState:
{
,
status:
enum
,
description:
string
,
actionRequired:
string
,
}
provisioningState:
enum
,
}
routingPreference:
{
,
routingChoice:
enum
,
publishMicrosoftEndpoints:
boolean
,
publishInternetEndpoints:
boolean
,
}
dualStackEndpointPreference:
{
,
publishIpv6Endpoint:
boolean
,
}
blobRestoreStatus:
{
,
status:
enum
,
failureReason:
string
,
restoreId:
string
,
parameters:
}
{
,
timeToRestore:
string
,
blobRanges:
}
[
]
,
{
,
startRange:
string
,
endRange:
string
,
}
allowBlobPublicAccess:
boolean
,
minimumTlsVersion:
enum
,
allowSharedKeyAccess:
boolean
,
isNfsV3Enabled:
boolean
,
allowCrossTenantReplication:
boolean
,
defaultToOAuthAuthentication:
boolean
,
publicNetworkAccess:
enum
,
immutableStorageWithVersioning:
{
,
enabled:
boolean
,
immutabilityPolicy:
}
{
,
immutabilityPeriodSinceCreationInDays:
integer
,
state:
enum
,
allowProtectedAppendWrites:
boolean
,
}
allowedCopyScope:
enum
,
storageAccountSkuConversionStatus:
{
,
skuConversionStatus:
enum
,
targetSkuName:
enum
,
startTime:
string
,
endTime:
string
,
}
dnsEndpointType:
enum
,
isSkuConversionBlocked:
boolean
,
accountMigrationInProgress:
boolean
,
}
⚐ Response (202)
{}