Microsoft.Storage (stable:2024-01-01)

2025/02/06 • 104 new methods

BlobServices_List (new)
Description List blob services of storage account. It returns a collection of one object named default.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
defaultServiceVersion: string ,
deleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
isVersioningEnabled: boolean ,
automaticSnapshotPolicyEnabled: boolean ,
changeFeed:
{
enabled: boolean ,
retentionInDays: integer ,
}
,
restorePolicy:
{
enabled: boolean ,
days: integer ,
lastEnabledTime: string ,
minRestoreTime: string ,
}
,
containerDeleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
lastAccessTimeTrackingPolicy:
{
enable: boolean ,
name: enum ,
trackingGranularityInDays: integer ,
blobType:
[
string ,
]
,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
}
,
]
,
}
BlobServices_SetServiceProperties (new)
Description Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
BlobServicesName: string ,
parameters:
{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
defaultServiceVersion: string ,
deleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
isVersioningEnabled: boolean ,
automaticSnapshotPolicyEnabled: boolean ,
changeFeed:
{
enabled: boolean ,
retentionInDays: integer ,
}
,
restorePolicy:
{
enabled: boolean ,
days: integer ,
lastEnabledTime: string ,
minRestoreTime: string ,
}
,
containerDeleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
lastAccessTimeTrackingPolicy:
{
enable: boolean ,
name: enum ,
trackingGranularityInDays: integer ,
blobType:
[
string ,
]
,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
defaultServiceVersion: string ,
deleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
isVersioningEnabled: boolean ,
automaticSnapshotPolicyEnabled: boolean ,
changeFeed:
{
enabled: boolean ,
retentionInDays: integer ,
}
,
restorePolicy:
{
enabled: boolean ,
days: integer ,
lastEnabledTime: string ,
minRestoreTime: string ,
}
,
containerDeleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
lastAccessTimeTrackingPolicy:
{
enable: boolean ,
name: enum ,
trackingGranularityInDays: integer ,
blobType:
[
string ,
]
,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
}
BlobServices_GetServiceProperties (new)
Description Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
BlobServicesName: string ,
}

⚐ Response (200)

{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
defaultServiceVersion: string ,
deleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
isVersioningEnabled: boolean ,
automaticSnapshotPolicyEnabled: boolean ,
changeFeed:
{
enabled: boolean ,
retentionInDays: integer ,
}
,
restorePolicy:
{
enabled: boolean ,
days: integer ,
lastEnabledTime: string ,
minRestoreTime: string ,
}
,
containerDeleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
lastAccessTimeTrackingPolicy:
{
enable: boolean ,
name: enum ,
trackingGranularityInDays: integer ,
blobType:
[
string ,
]
,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
}
BlobContainers_List (new)
Description Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
$maxpagesize: string ,
$filter: string ,
$include: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
defaultEncryptionScope: string ,
denyEncryptionScopeOverride: boolean ,
publicAccess: enum ,
lastModifiedTime: string ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
metadata: object ,
immutabilityPolicy:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
etag: string ,
updateHistory:
[
{
update: enum ,
immutabilityPeriodSinceCreationInDays: integer ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
]
,
}
,
legalHold:
{
hasLegalHold: boolean ,
tags:
[
{
tag: string ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
}
,
]
,
protectedAppendWritesHistory:
{
allowProtectedAppendWritesAll: boolean ,
timestamp: string ,
}
,
}
,
hasLegalHold: boolean ,
hasImmutabilityPolicy: boolean ,
immutableStorageWithVersioning:
{
enabled: boolean ,
timeStamp: string ,
migrationState: enum ,
}
,
enableNfsV3RootSquash: boolean ,
enableNfsV3AllSquash: boolean ,
}
,
}
,
]
,
nextLink: string ,
}
BlobContainers_Create (new)
Description Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
blobContainer:
{
properties:
{
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
defaultEncryptionScope: string ,
denyEncryptionScopeOverride: boolean ,
publicAccess: enum ,
lastModifiedTime: string ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
metadata: object ,
immutabilityPolicy:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
etag: string ,
updateHistory:
[
{
update: enum ,
immutabilityPeriodSinceCreationInDays: integer ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
]
,
}
,
legalHold:
{
hasLegalHold: boolean ,
tags:
[
{
tag: string ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
}
,
]
,
protectedAppendWritesHistory:
{
allowProtectedAppendWritesAll: boolean ,
timestamp: string ,
}
,
}
,
hasLegalHold: boolean ,
hasImmutabilityPolicy: boolean ,
immutableStorageWithVersioning:
{
enabled: boolean ,
timeStamp: string ,
migrationState: enum ,
}
,
enableNfsV3RootSquash: boolean ,
enableNfsV3AllSquash: boolean ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
properties:
{
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
defaultEncryptionScope: string ,
denyEncryptionScopeOverride: boolean ,
publicAccess: enum ,
lastModifiedTime: string ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
metadata: object ,
immutabilityPolicy:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
etag: string ,
updateHistory:
[
{
update: enum ,
immutabilityPeriodSinceCreationInDays: integer ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
]
,
}
,
legalHold:
{
hasLegalHold: boolean ,
tags:
[
{
tag: string ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
}
,
]
,
protectedAppendWritesHistory:
{
allowProtectedAppendWritesAll: boolean ,
timestamp: string ,
}
,
}
,
hasLegalHold: boolean ,
hasImmutabilityPolicy: boolean ,
immutableStorageWithVersioning:
{
enabled: boolean ,
timeStamp: string ,
migrationState: enum ,
}
,
enableNfsV3RootSquash: boolean ,
enableNfsV3AllSquash: boolean ,
}
,
}

⚐ Response (200)

{
properties:
{
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
defaultEncryptionScope: string ,
denyEncryptionScopeOverride: boolean ,
publicAccess: enum ,
lastModifiedTime: string ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
metadata: object ,
immutabilityPolicy:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
etag: string ,
updateHistory:
[
{
update: enum ,
immutabilityPeriodSinceCreationInDays: integer ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
]
,
}
,
legalHold:
{
hasLegalHold: boolean ,
tags:
[
{
tag: string ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
}
,
]
,
protectedAppendWritesHistory:
{
allowProtectedAppendWritesAll: boolean ,
timestamp: string ,
}
,
}
,
hasLegalHold: boolean ,
hasImmutabilityPolicy: boolean ,
immutableStorageWithVersioning:
{
enabled: boolean ,
timeStamp: string ,
migrationState: enum ,
}
,
enableNfsV3RootSquash: boolean ,
enableNfsV3AllSquash: boolean ,
}
,
}
BlobContainers_Update (new)
Description Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
blobContainer:
{
properties:
{
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
defaultEncryptionScope: string ,
denyEncryptionScopeOverride: boolean ,
publicAccess: enum ,
lastModifiedTime: string ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
metadata: object ,
immutabilityPolicy:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
etag: string ,
updateHistory:
[
{
update: enum ,
immutabilityPeriodSinceCreationInDays: integer ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
]
,
}
,
legalHold:
{
hasLegalHold: boolean ,
tags:
[
{
tag: string ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
}
,
]
,
protectedAppendWritesHistory:
{
allowProtectedAppendWritesAll: boolean ,
timestamp: string ,
}
,
}
,
hasLegalHold: boolean ,
hasImmutabilityPolicy: boolean ,
immutableStorageWithVersioning:
{
enabled: boolean ,
timeStamp: string ,
migrationState: enum ,
}
,
enableNfsV3RootSquash: boolean ,
enableNfsV3AllSquash: boolean ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
defaultEncryptionScope: string ,
denyEncryptionScopeOverride: boolean ,
publicAccess: enum ,
lastModifiedTime: string ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
metadata: object ,
immutabilityPolicy:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
etag: string ,
updateHistory:
[
{
update: enum ,
immutabilityPeriodSinceCreationInDays: integer ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
]
,
}
,
legalHold:
{
hasLegalHold: boolean ,
tags:
[
{
tag: string ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
}
,
]
,
protectedAppendWritesHistory:
{
allowProtectedAppendWritesAll: boolean ,
timestamp: string ,
}
,
}
,
hasLegalHold: boolean ,
hasImmutabilityPolicy: boolean ,
immutableStorageWithVersioning:
{
enabled: boolean ,
timeStamp: string ,
migrationState: enum ,
}
,
enableNfsV3RootSquash: boolean ,
enableNfsV3AllSquash: boolean ,
}
,
}
BlobContainers_Get (new)
Description Gets properties of a specified container.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
defaultEncryptionScope: string ,
denyEncryptionScopeOverride: boolean ,
publicAccess: enum ,
lastModifiedTime: string ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
metadata: object ,
immutabilityPolicy:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
etag: string ,
updateHistory:
[
{
update: enum ,
immutabilityPeriodSinceCreationInDays: integer ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
]
,
}
,
legalHold:
{
hasLegalHold: boolean ,
tags:
[
{
tag: string ,
timestamp: string ,
objectIdentifier: string ,
tenantId: string ,
upn: string ,
}
,
]
,
protectedAppendWritesHistory:
{
allowProtectedAppendWritesAll: boolean ,
timestamp: string ,
}
,
}
,
hasLegalHold: boolean ,
hasImmutabilityPolicy: boolean ,
immutableStorageWithVersioning:
{
enabled: boolean ,
timeStamp: string ,
migrationState: enum ,
}
,
enableNfsV3RootSquash: boolean ,
enableNfsV3AllSquash: boolean ,
}
,
}
BlobContainers_Delete (new)
Description Deletes specified container under its account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}
BlobContainers_SetLegalHold (new)
Description Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
api-version: string ,
subscriptionId: string ,
LegalHold:
{
hasLegalHold: boolean ,
tags:
[
string ,
]
,
allowProtectedAppendWritesAll: boolean ,
}
,
}

⚐ Response (200)

{
hasLegalHold: boolean ,
tags:
[
string ,
]
,
allowProtectedAppendWritesAll: boolean ,
}
BlobContainers_ClearLegalHold (new)
Description Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
api-version: string ,
subscriptionId: string ,
LegalHold:
{
hasLegalHold: boolean ,
tags:
[
string ,
]
,
allowProtectedAppendWritesAll: boolean ,
}
,
}

⚐ Response (200)

{
hasLegalHold: boolean ,
tags:
[
string ,
]
,
allowProtectedAppendWritesAll: boolean ,
}
BlobContainers_CreateOrUpdateImmutabilityPolicy (new)
Description Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
immutabilityPolicyName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
}
,
If-Match: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
}
,
}
BlobContainers_GetImmutabilityPolicy (new)
Description Gets the existing immutability policy along with the corresponding ETag in response headers and body.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
immutabilityPolicyName: string ,
api-version: string ,
subscriptionId: string ,
If-Match: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
}
,
}
BlobContainers_DeleteImmutabilityPolicy (new)
Description Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
immutabilityPolicyName: string ,
api-version: string ,
subscriptionId: string ,
If-Match: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
}
,
}
BlobContainers_LockImmutabilityPolicy (new)
Description Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
api-version: string ,
subscriptionId: string ,
If-Match: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
}
,
}
BlobContainers_ExtendImmutabilityPolicy (new)
Description Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
}
,
If-Match: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
allowProtectedAppendWritesAll: boolean ,
}
,
}
,
}
BlobContainers_Lease (new)
Description The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
action: enum ,
leaseId: string ,
breakPeriod: integer ,
leaseDuration: integer ,
proposedLeaseId: string ,
}
,
}

⚐ Response (200)

{
leaseId: string ,
leaseTimeSeconds: string ,
}
BlobContainers_ObjectLevelWorm (new)
Description This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate
{
resourceGroupName: string ,
accountName: string ,
containerName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileServices_List (new)
Description List all file services in storage accounts
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
shareDeleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
protocolSettings:
{
smb:
{
multichannel:
{
enabled: boolean ,
}
,
versions: string ,
authenticationMethods: string ,
kerberosTicketEncryption: string ,
channelEncryption: string ,
}
,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileServices_SetServiceProperties (new)
Description Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
FileServicesName: string ,
parameters:
{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
shareDeleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
protocolSettings:
{
smb:
{
multichannel:
{
enabled: boolean ,
}
,
versions: string ,
authenticationMethods: string ,
kerberosTicketEncryption: string ,
channelEncryption: string ,
}
,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
shareDeleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
protocolSettings:
{
smb:
{
multichannel:
{
enabled: boolean ,
}
,
versions: string ,
authenticationMethods: string ,
kerberosTicketEncryption: string ,
channelEncryption: string ,
}
,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileServices_GetServiceProperties (new)
Description Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
FileServicesName: string ,
}

⚐ Response (200)

{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
shareDeleteRetentionPolicy:
{
enabled: boolean ,
days: integer ,
allowPermanentDelete: boolean ,
}
,
protocolSettings:
{
smb:
{
multichannel:
{
enabled: boolean ,
}
,
versions: string ,
authenticationMethods: string ,
kerberosTicketEncryption: string ,
channelEncryption: string ,
}
,
}
,
}
,
sku:
{
name: enum ,
tier: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileServices_ListServiceUsages (new)
Description Gets the usages of file service in storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
FileServicesName: string ,
$maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
storageAccountLimits:
{
maxFileShares: integer ,
maxProvisionedStorageGiB: integer ,
maxProvisionedIOPS: integer ,
maxProvisionedBandwidthMiBPerSec: integer ,
}
,
fileShareLimits:
{
minProvisionedStorageGiB: integer ,
maxProvisionedStorageGiB: integer ,
minProvisionedIOPS: integer ,
maxProvisionedIOPS: integer ,
minProvisionedBandwidthMiBPerSec: integer ,
maxProvisionedBandwidthMiBPerSec: integer ,
}
,
fileShareRecommendations:
{
baseIOPS: integer ,
ioScalar: number ,
baseBandwidthMiBPerSec: integer ,
bandwidthScalar: number ,
}
,
burstingConstants:
{
burstFloorIOPS: integer ,
burstIOScalar: number ,
burstTimeframeSeconds: integer ,
}
,
storageAccountUsage:
{
liveShares:
{
fileShareCount: integer ,
provisionedStorageGiB: integer ,
provisionedIOPS: integer ,
provisionedBandwidthMiBPerSec: integer ,
}
,
softDeletedShares:
{
fileShareCount: integer ,
provisionedStorageGiB: integer ,
provisionedIOPS: integer ,
provisionedBandwidthMiBPerSec: integer ,
}
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileServices_GetServiceUsage (new)
Description Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages/{fileServiceUsagesName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
FileServicesName: string ,
fileServiceUsagesName: string ,
}

⚐ Response (200)

{
properties:
{
storageAccountLimits:
{
maxFileShares: integer ,
maxProvisionedStorageGiB: integer ,
maxProvisionedIOPS: integer ,
maxProvisionedBandwidthMiBPerSec: integer ,
}
,
fileShareLimits:
{
minProvisionedStorageGiB: integer ,
maxProvisionedStorageGiB: integer ,
minProvisionedIOPS: integer ,
maxProvisionedIOPS: integer ,
minProvisionedBandwidthMiBPerSec: integer ,
maxProvisionedBandwidthMiBPerSec: integer ,
}
,
fileShareRecommendations:
{
baseIOPS: integer ,
ioScalar: number ,
baseBandwidthMiBPerSec: integer ,
bandwidthScalar: number ,
}
,
burstingConstants:
{
burstFloorIOPS: integer ,
burstIOScalar: number ,
burstTimeframeSeconds: integer ,
}
,
storageAccountUsage:
{
liveShares:
{
fileShareCount: integer ,
provisionedStorageGiB: integer ,
provisionedIOPS: integer ,
provisionedBandwidthMiBPerSec: integer ,
}
,
softDeletedShares:
{
fileShareCount: integer ,
provisionedStorageGiB: integer ,
provisionedIOPS: integer ,
provisionedBandwidthMiBPerSec: integer ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileShares_List (new)
Description Lists all shares.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
$maxpagesize: string ,
$filter: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
lastModifiedTime: string ,
metadata: object ,
shareQuota: integer ,
provisionedIops: integer ,
provisionedBandwidthMibps: integer ,
includedBurstIops: integer ,
maxBurstCreditsForIops: integer ,
nextAllowedQuotaDowngradeTime: string ,
nextAllowedProvisionedIopsDowngradeTime: string ,
nextAllowedProvisionedBandwidthDowngradeTime: string ,
enabledProtocols: enum ,
rootSquash: enum ,
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
accessTier: enum ,
accessTierChangeTime: string ,
accessTierStatus: string ,
shareUsageBytes: integer ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
snapshotTime: string ,
fileSharePaidBursting:
{
paidBurstingEnabled: boolean ,
paidBurstingMaxIops: integer ,
paidBurstingMaxBandwidthMibps: integer ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileShares_Create (new)
Description Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}
{
resourceGroupName: string ,
accountName: string ,
shareName: string ,
fileShare:
{
properties:
{
lastModifiedTime: string ,
metadata: object ,
shareQuota: integer ,
provisionedIops: integer ,
provisionedBandwidthMibps: integer ,
includedBurstIops: integer ,
maxBurstCreditsForIops: integer ,
nextAllowedQuotaDowngradeTime: string ,
nextAllowedProvisionedIopsDowngradeTime: string ,
nextAllowedProvisionedBandwidthDowngradeTime: string ,
enabledProtocols: enum ,
rootSquash: enum ,
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
accessTier: enum ,
accessTierChangeTime: string ,
accessTierStatus: string ,
shareUsageBytes: integer ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
snapshotTime: string ,
fileSharePaidBursting:
{
paidBurstingEnabled: boolean ,
paidBurstingMaxIops: integer ,
paidBurstingMaxBandwidthMibps: integer ,
}
,
}
,
}
,
$expand: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
properties:
{
lastModifiedTime: string ,
metadata: object ,
shareQuota: integer ,
provisionedIops: integer ,
provisionedBandwidthMibps: integer ,
includedBurstIops: integer ,
maxBurstCreditsForIops: integer ,
nextAllowedQuotaDowngradeTime: string ,
nextAllowedProvisionedIopsDowngradeTime: string ,
nextAllowedProvisionedBandwidthDowngradeTime: string ,
enabledProtocols: enum ,
rootSquash: enum ,
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
accessTier: enum ,
accessTierChangeTime: string ,
accessTierStatus: string ,
shareUsageBytes: integer ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
snapshotTime: string ,
fileSharePaidBursting:
{
paidBurstingEnabled: boolean ,
paidBurstingMaxIops: integer ,
paidBurstingMaxBandwidthMibps: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
metadata: object ,
shareQuota: integer ,
provisionedIops: integer ,
provisionedBandwidthMibps: integer ,
includedBurstIops: integer ,
maxBurstCreditsForIops: integer ,
nextAllowedQuotaDowngradeTime: string ,
nextAllowedProvisionedIopsDowngradeTime: string ,
nextAllowedProvisionedBandwidthDowngradeTime: string ,
enabledProtocols: enum ,
rootSquash: enum ,
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
accessTier: enum ,
accessTierChangeTime: string ,
accessTierStatus: string ,
shareUsageBytes: integer ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
snapshotTime: string ,
fileSharePaidBursting:
{
paidBurstingEnabled: boolean ,
paidBurstingMaxIops: integer ,
paidBurstingMaxBandwidthMibps: integer ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileShares_Update (new)
Description Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}
{
resourceGroupName: string ,
accountName: string ,
shareName: string ,
fileShare:
{
properties:
{
lastModifiedTime: string ,
metadata: object ,
shareQuota: integer ,
provisionedIops: integer ,
provisionedBandwidthMibps: integer ,
includedBurstIops: integer ,
maxBurstCreditsForIops: integer ,
nextAllowedQuotaDowngradeTime: string ,
nextAllowedProvisionedIopsDowngradeTime: string ,
nextAllowedProvisionedBandwidthDowngradeTime: string ,
enabledProtocols: enum ,
rootSquash: enum ,
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
accessTier: enum ,
accessTierChangeTime: string ,
accessTierStatus: string ,
shareUsageBytes: integer ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
snapshotTime: string ,
fileSharePaidBursting:
{
paidBurstingEnabled: boolean ,
paidBurstingMaxIops: integer ,
paidBurstingMaxBandwidthMibps: integer ,
}
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
metadata: object ,
shareQuota: integer ,
provisionedIops: integer ,
provisionedBandwidthMibps: integer ,
includedBurstIops: integer ,
maxBurstCreditsForIops: integer ,
nextAllowedQuotaDowngradeTime: string ,
nextAllowedProvisionedIopsDowngradeTime: string ,
nextAllowedProvisionedBandwidthDowngradeTime: string ,
enabledProtocols: enum ,
rootSquash: enum ,
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
accessTier: enum ,
accessTierChangeTime: string ,
accessTierStatus: string ,
shareUsageBytes: integer ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
snapshotTime: string ,
fileSharePaidBursting:
{
paidBurstingEnabled: boolean ,
paidBurstingMaxIops: integer ,
paidBurstingMaxBandwidthMibps: integer ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileShares_Get (new)
Description Gets properties of a specified share.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}
{
resourceGroupName: string ,
accountName: string ,
shareName: string ,
api-version: string ,
subscriptionId: string ,
$expand: string ,
x-ms-snapshot: string ,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
metadata: object ,
shareQuota: integer ,
provisionedIops: integer ,
provisionedBandwidthMibps: integer ,
includedBurstIops: integer ,
maxBurstCreditsForIops: integer ,
nextAllowedQuotaDowngradeTime: string ,
nextAllowedProvisionedIopsDowngradeTime: string ,
nextAllowedProvisionedBandwidthDowngradeTime: string ,
enabledProtocols: enum ,
rootSquash: enum ,
version: string ,
deleted: boolean ,
deletedTime: string ,
remainingRetentionDays: integer ,
accessTier: enum ,
accessTierChangeTime: string ,
accessTierStatus: string ,
shareUsageBytes: integer ,
leaseStatus: enum ,
leaseState: enum ,
leaseDuration: enum ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
snapshotTime: string ,
fileSharePaidBursting:
{
paidBurstingEnabled: boolean ,
paidBurstingMaxIops: integer ,
paidBurstingMaxBandwidthMibps: integer ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileShares_Delete (new)
Description Deletes specified share under its account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}
{
resourceGroupName: string ,
accountName: string ,
shareName: string ,
api-version: string ,
subscriptionId: string ,
x-ms-snapshot: string ,
$include: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileShares_Restore (new)
Description Restore a file share within a valid retention days if share soft delete is enabled
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore
{
resourceGroupName: string ,
accountName: string ,
shareName: string ,
deletedShare:
{
deletedShareName: string ,
deletedShareVersion: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FileShares_Lease (new)
Description The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/lease
{
resourceGroupName: string ,
accountName: string ,
shareName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
action: enum ,
leaseId: string ,
breakPeriod: integer ,
leaseDuration: integer ,
proposedLeaseId: string ,
}
,
x-ms-snapshot: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
leaseId: string ,
leaseTimeSeconds: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
NetworkSecurityPerimeterConfigurations_List (new)
Description Gets list of effective NetworkSecurityPerimeterConfiguration for storage account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
provisioningIssues:
[
{
name: string ,
properties:
{
issueType: enum ,
severity: enum ,
description: string ,
}
,
}
,
]
,
networkSecurityPerimeter:
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
resourceAssociation:
{
name: string ,
accessMode: enum ,
}
,
profile:
{
name: string ,
accessRulesVersion: number ,
accessRules:
[
{
name: string ,
properties:
{
direction: enum ,
addressPrefixes:
[
string ,
]
,
subscriptions:
[
{
id: string ,
}
,
]
,
networkSecurityPerimeters:
[
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
]
,
fullyQualifiedDomainNames:
[
string ,
]
,
}
,
}
,
]
,
diagnosticSettingsVersion: number ,
enabledLogCategories:
[
string ,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityPerimeterConfigurations_Get (new)
Description Gets effective NetworkSecurityPerimeterConfiguration for association
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
networkSecurityPerimeterConfigurationName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
provisioningIssues:
[
{
name: string ,
properties:
{
issueType: enum ,
severity: enum ,
description: string ,
}
,
}
,
]
,
networkSecurityPerimeter:
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
resourceAssociation:
{
name: string ,
accessMode: enum ,
}
,
profile:
{
name: string ,
accessRulesVersion: number ,
accessRules:
[
{
name: string ,
properties:
{
direction: enum ,
addressPrefixes:
[
string ,
]
,
subscriptions:
[
{
id: string ,
}
,
]
,
networkSecurityPerimeters:
[
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
]
,
fullyQualifiedDomainNames:
[
string ,
]
,
}
,
}
,
]
,
diagnosticSettingsVersion: number ,
enabledLogCategories:
[
string ,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityPerimeterConfigurations_Reconcile (new)
Description Refreshes any information about the association.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
networkSecurityPerimeterConfigurationName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
QueueServices_List (new)
Description List all queue services for the storage account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueueServices_SetServiceProperties (new)
Description Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
queueServiceName: string ,
parameters:
{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueueServices_GetServiceProperties (new)
Description Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
queueServiceName: string ,
}

⚐ Response (200)

{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Queue_Create (new)
Description Creates a new queue with the specified queue name, under the specified account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
queueName: string ,
queue:
{
properties:
{
metadata: object ,
approximateMessageCount: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
metadata: object ,
approximateMessageCount: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Queue_Update (new)
Description Creates a new queue with the specified queue name, under the specified account.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
queueName: string ,
queue:
{
properties:
{
metadata: object ,
approximateMessageCount: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
metadata: object ,
approximateMessageCount: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Queue_Get (new)
Description Gets the queue with the specified queue name, under the specified account if it exists.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
queueName: string ,
}

⚐ Response (200)

{
properties:
{
metadata: object ,
approximateMessageCount: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Queue_Delete (new)
Description Deletes the queue with the specified queue name, under the specified account if it exists.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
queueName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Queue_List (new)
Description Gets a list of all the queues under the specified storage account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
$maxpagesize: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
metadata: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (new)
Description Lists all of the available Storage Rest API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Storage/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties:
{
serviceSpecification:
{
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: string ,
dimensions:
[
{
name: string ,
displayName: string ,
}
,
]
,
aggregationType: string ,
fillGapWithZero: boolean ,
category: string ,
resourceIdDimensionNameOverride: string ,
}
,
]
,
}
,
}
,
}
,
]
,
}
Skus_List (new)
Description Lists the available SKUs supported by Microsoft.Storage for given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
name: enum ,
tier: enum ,
resourceType: string ,
kind: enum ,
locations:
[
string ,
]
,
capabilities:
[
{
name: string ,
value: string ,
}
,
]
,
restrictions:
[
{
type: string ,
values:
[
string ,
]
,
reasonCode: enum ,
}
,
]
,
}
,
]
,
}
StorageAccounts_CheckNameAvailability (new)
Description Checks that the storage account name is valid and is not already in use.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability
{
accountName:
{
name: string ,
type: enum ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}
StorageAccounts_Create (new)
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 ¶

⚼ 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 ,
}
,
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 ,
}
,
]
,
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 ,
}
,
supportsHttpsTrafficOnly: boolean ,
isSftpEnabled: boolean ,
isLocalUserEnabled: boolean ,
enableExtendedGroups: boolean ,
isHnsEnabled: boolean ,
largeFileSharesState: enum ,
routingPreference:
{
routingChoice: enum ,
publishMicrosoftEndpoints: boolean ,
publishInternetEndpoints: 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 ,
}
,
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 ,
}
,
}
,
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 ,
}
,
}
,
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 ,
}
,
supportsHttpsTrafficOnly: boolean ,
networkAcls:
{
bypass: enum ,
resourceAccessRules:
[
{
tenantId: string ,
resourceId: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
action: enum ,
state: enum ,
}
,
]
,
ipRules:
[
{
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 ,
}
,
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)

{}
StorageAccounts_Delete (new)
Description Deletes a storage account in Microsoft Azure.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}
StorageAccounts_GetProperties (new)
Description Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
$expand: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
}
,
kind: enum ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
extendedLocation:
{
name: string ,
type: 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 ,
}
,
}
,
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 ,
}
,
}
,
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 ,
}
,
supportsHttpsTrafficOnly: boolean ,
networkAcls:
{
bypass: enum ,
resourceAccessRules:
[
{
tenantId: string ,
resourceId: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
action: enum ,
state: enum ,
}
,
]
,
ipRules:
[
{
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 ,
}
,
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 ,
}
,
}
StorageAccounts_Update (new)
Description The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}
{
resourceGroupName: string ,
accountName: string ,
parameters:
{
sku:
{
name: enum ,
tier: enum ,
}
,
tags: object ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
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 ,
}
,
}
,
sasPolicy:
{
sasExpirationPeriod: string ,
expirationAction: enum ,
}
,
keyPolicy:
{
keyExpirationPeriodInDays: integer ,
}
,
accessTier: enum ,
azureFilesIdentityBasedAuthentication:
{
directoryServiceOptions: enum ,
activeDirectoryProperties:
{
domainName: string ,
netBiosDomainName: string ,
forestName: string ,
domainGuid: string ,
domainSid: string ,
azureStorageSid: string ,
samAccountName: string ,
accountType: enum ,
}
,
defaultSharePermission: enum ,
}
,
supportsHttpsTrafficOnly: boolean ,
isSftpEnabled: boolean ,
isLocalUserEnabled: boolean ,
enableExtendedGroups: boolean ,
networkAcls:
{
bypass: enum ,
resourceAccessRules:
[
{
tenantId: string ,
resourceId: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
action: enum ,
state: enum ,
}
,
]
,
ipRules:
[
{
value: string ,
action: enum ,
}
,
]
,
defaultAction: enum ,
}
,
largeFileSharesState: enum ,
routingPreference:
{
routingChoice: enum ,
publishMicrosoftEndpoints: boolean ,
publishInternetEndpoints: boolean ,
}
,
allowBlobPublicAccess: boolean ,
minimumTlsVersion: enum ,
allowSharedKeyAccess: boolean ,
allowCrossTenantReplication: boolean ,
defaultToOAuthAuthentication: boolean ,
publicNetworkAccess: enum ,
immutableStorageWithVersioning:
{
enabled: boolean ,
immutabilityPolicy:
{
immutabilityPeriodSinceCreationInDays: integer ,
state: enum ,
allowProtectedAppendWrites: boolean ,
}
,
}
,
allowedCopyScope: enum ,
dnsEndpointType: enum ,
}
,
kind: 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 ,
}
,
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 ,
}
,
}
,
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 ,
}
,
}
,
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 ,
}
,
supportsHttpsTrafficOnly: boolean ,
networkAcls:
{
bypass: enum ,
resourceAccessRules:
[
{
tenantId: string ,
resourceId: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
action: enum ,
state: enum ,
}
,
]
,
ipRules:
[
{
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 ,
}
,
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 ,
}
,
}
DeletedAccounts_List (new)
Description Lists deleted accounts under the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
storageAccountResourceId: string ,
location: string ,
restoreReference: string ,
creationTime: string ,
deletionTime: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
DeletedAccounts_Get (new)
Description Get properties of specified deleted account resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
{
deletedAccountName: string ,
location: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
storageAccountResourceId: string ,
location: string ,
restoreReference: string ,
creationTime: string ,
deletionTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
StorageAccounts_List (new)
Description Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: enum ,
}
,
kind: enum ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
extendedLocation:
{
name: string ,
type: 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 ,
}
,
}
,
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 ,
}
,
}
,
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 ,
}
,
supportsHttpsTrafficOnly: boolean ,
networkAcls:
{
bypass: enum ,
resourceAccessRules:
[
{
tenantId: string ,
resourceId: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
action: enum ,
state: enum ,
}
,
]
,
ipRules:
[
{
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 ,
}
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}
StorageAccounts_ListByResourceGroup (new)
Description Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: enum ,
}
,
kind: enum ,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
extendedLocation:
{
name: string ,
type: 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 ,
}
,
}
,
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 ,
}
,
}
,
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 ,
}
,
supportsHttpsTrafficOnly: boolean ,
networkAcls:
{
bypass: enum ,
resourceAccessRules:
[
{
tenantId: string ,
resourceId: string ,
}
,
]
,
virtualNetworkRules:
[
{
id: string ,
action: enum ,
state: enum ,
}
,
]
,
ipRules:
[
{
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 ,
}
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}
StorageAccounts_ListKeys (new)
Description Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
$expand: string ,
}

⚐ Response (200)

{
keys:
[
{
keyName: string ,
value: string ,
permissions: enum ,
creationTime: string ,
}
,
]
,
}
StorageAccounts_RegenerateKey (new)
Description Regenerates one of the access keys or Kerberos keys for the specified storage account.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey
{
resourceGroupName: string ,
accountName: string ,
regenerateKey:
{
keyName: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
keys:
[
{
keyName: string ,
value: string ,
permissions: enum ,
creationTime: string ,
}
,
]
,
}
Usages_ListByLocation (new)
Description Gets the current usage count and the limit for the resources of the location under the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages
{
api-version: string ,
subscriptionId: string ,
location: string ,
}

⚐ Response (200)

{
value:
[
{
unit: enum ,
currentValue: integer ,
limit: integer ,
name:
{
value: string ,
localizedValue: string ,
}
,
}
,
]
,
}
StorageAccounts_ListAccountSAS (new)
Description List SAS credentials of a storage account.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas
{
resourceGroupName: string ,
accountName: string ,
parameters:
{
signedServices: enum ,
signedResourceTypes: enum ,
signedPermission: enum ,
signedIp: string ,
signedProtocol: enum ,
signedStart: string ,
signedExpiry: string ,
keyToSign: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
accountSasToken: string ,
}
StorageAccounts_ListServiceSAS (new)
Description List service SAS credentials of a specific resource.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas
{
resourceGroupName: string ,
accountName: string ,
parameters:
{
canonicalizedResource: string ,
signedResource: enum ,
signedPermission: enum ,
signedIp: string ,
signedProtocol: enum ,
signedStart: string ,
signedExpiry: string ,
signedIdentifier: string ,
startPk: string ,
endPk: string ,
startRk: string ,
endRk: string ,
keyToSign: string ,
rscc: string ,
rscd: string ,
rsce: string ,
rscl: string ,
rsct: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
serviceSasToken: string ,
}
StorageAccounts_Failover (new)
Description A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
failoverType: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
StorageAccounts_HierarchicalNamespaceMigration (new)
Description Live Migration of storage account to enable Hns
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
requestType: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
StorageAccounts_AbortHierarchicalNamespaceMigration (new)
Description Abort live Migration of storage account to enable Hns
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
StorageAccounts_CustomerInitiatedMigration (new)
Description Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
properties:
{
targetSkuName: enum ,
migrationStatus: enum ,
migrationFailedReason: string ,
migrationFailedDetailedReason: string ,
}
,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageAccounts_GetCustomerInitiatedMigration (new)
Description Gets the status of the ongoing migration for the specified storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}
{
resourceGroupName: string ,
accountName: string ,
migrationName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
targetSkuName: enum ,
migrationStatus: enum ,
migrationFailedReason: string ,
migrationFailedDetailedReason: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageAccounts_RestoreBlobRanges (new)
Description Restore blobs in the specified blob ranges
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
timeToRestore: string ,
blobRanges:
[
{
startRange: string ,
endRange: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{
status: enum ,
failureReason: string ,
restoreId: string ,
parameters:
{
timeToRestore: string ,
blobRanges:
[
{
startRange: string ,
endRange: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
status: enum ,
failureReason: string ,
restoreId: string ,
parameters:
{
timeToRestore: string ,
blobRanges:
[
{
startRange: string ,
endRange: string ,
}
,
]
,
}
,
}
ManagementPolicies_Get (new)
Description Gets the managementpolicy associated with the specified storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
managementPolicyName: string ,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
policy:
{
rules:
[
{
enabled: boolean ,
name: string ,
type: enum ,
definition:
{
actions:
{
baseBlob:
{
tierToCool:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToCold:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToHot:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
delete:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
enableAutoTierToHotFromCool: boolean ,
}
,
snapshot:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
version:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
}
,
filters:
{
prefixMatch:
[
string ,
]
,
blobTypes:
[
string ,
]
,
blobIndexMatch:
[
{
name: string ,
op: string ,
value: string ,
}
,
]
,
}
,
}
,
}
,
]
,
}
,
}
,
}
ManagementPolicies_CreateOrUpdate (new)
Description Sets the managementpolicy to the specified storage account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
managementPolicyName: string ,
properties:
{
properties:
{
lastModifiedTime: string ,
policy:
{
rules:
[
{
enabled: boolean ,
name: string ,
type: enum ,
definition:
{
actions:
{
baseBlob:
{
tierToCool:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToCold:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToHot:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
delete:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
enableAutoTierToHotFromCool: boolean ,
}
,
snapshot:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
version:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
}
,
filters:
{
prefixMatch:
[
string ,
]
,
blobTypes:
[
string ,
]
,
blobIndexMatch:
[
{
name: string ,
op: string ,
value: string ,
}
,
]
,
}
,
}
,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
policy:
{
rules:
[
{
enabled: boolean ,
name: string ,
type: enum ,
definition:
{
actions:
{
baseBlob:
{
tierToCool:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToCold:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
tierToHot:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
delete:
{
daysAfterModificationGreaterThan: number ,
daysAfterLastAccessTimeGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
daysAfterCreationGreaterThan: number ,
}
,
enableAutoTierToHotFromCool: boolean ,
}
,
snapshot:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
version:
{
tierToCool:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToArchive:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToCold:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
tierToHot:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
delete:
{
daysAfterCreationGreaterThan: number ,
daysAfterLastTierChangeGreaterThan: number ,
}
,
}
,
}
,
filters:
{
prefixMatch:
[
string ,
]
,
blobTypes:
[
string ,
]
,
blobIndexMatch:
[
{
name: string ,
op: string ,
value: string ,
}
,
]
,
}
,
}
,
}
,
]
,
}
,
}
,
}
ManagementPolicies_Delete (new)
Description Deletes the managementpolicy associated with the specified storage account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
managementPolicyName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}
BlobInventoryPolicies_Get (new)
Description Gets the blob inventory policy associated with the specified storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
blobInventoryPolicyName: string ,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
policy:
{
enabled: boolean ,
destination: string ,
type: enum ,
rules:
[
{
enabled: boolean ,
name: string ,
destination: string ,
definition:
{
filters:
{
prefixMatch:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
blobTypes:
[
string ,
]
,
includeBlobVersions: boolean ,
includeSnapshots: boolean ,
includeDeleted: boolean ,
creationTime:
{
lastNDays: integer ,
}
,
}
,
format: enum ,
schedule: enum ,
objectType: enum ,
schemaFields:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BlobInventoryPolicies_CreateOrUpdate (new)
Description Sets the blob inventory policy to the specified storage account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
blobInventoryPolicyName: string ,
properties:
{
properties:
{
lastModifiedTime: string ,
policy:
{
enabled: boolean ,
destination: string ,
type: enum ,
rules:
[
{
enabled: boolean ,
name: string ,
destination: string ,
definition:
{
filters:
{
prefixMatch:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
blobTypes:
[
string ,
]
,
includeBlobVersions: boolean ,
includeSnapshots: boolean ,
includeDeleted: boolean ,
creationTime:
{
lastNDays: integer ,
}
,
}
,
format: enum ,
schedule: enum ,
objectType: enum ,
schemaFields:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
lastModifiedTime: string ,
policy:
{
enabled: boolean ,
destination: string ,
type: enum ,
rules:
[
{
enabled: boolean ,
name: string ,
destination: string ,
definition:
{
filters:
{
prefixMatch:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
blobTypes:
[
string ,
]
,
includeBlobVersions: boolean ,
includeSnapshots: boolean ,
includeDeleted: boolean ,
creationTime:
{
lastNDays: integer ,
}
,
}
,
format: enum ,
schedule: enum ,
objectType: enum ,
schemaFields:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BlobInventoryPolicies_Delete (new)
Description Deletes the blob inventory policy associated with the specified storage account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
blobInventoryPolicyName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BlobInventoryPolicies_List (new)
Description Gets the blob inventory policy associated with the specified storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
lastModifiedTime: string ,
policy:
{
enabled: boolean ,
destination: string ,
type: enum ,
rules:
[
{
enabled: boolean ,
name: string ,
destination: string ,
definition:
{
filters:
{
prefixMatch:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
blobTypes:
[
string ,
]
,
includeBlobVersions: boolean ,
includeSnapshots: boolean ,
includeDeleted: boolean ,
creationTime:
{
lastNDays: integer ,
}
,
}
,
format: enum ,
schedule: enum ,
objectType: enum ,
schemaFields:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateEndpointConnections_List (new)
Description List all the private endpoint connections associated with the storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}
PrivateEndpointConnections_Get (new)
Description Gets the specified private endpoint connection associated with the storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateEndpointConnections_Put (new)
Description Update the state of specified private endpoint connection associated with the storage account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
privateEndpointConnectionName: string ,
properties:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateEndpointConnections_Delete (new)
Description Deletes the specified private endpoint connection associated with the storage account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
PrivateLinkResources_ListByStorageAccount (new)
Description Gets the private link resources that need to be created for a storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
}
ObjectReplicationPolicies_List (new)
Description List the object replication policies associated with the storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policyId: string ,
enabledTime: string ,
sourceAccount: string ,
destinationAccount: string ,
rules:
[
{
ruleId: string ,
sourceContainer: string ,
destinationContainer: string ,
filters:
{
prefixMatch:
[
string ,
]
,
minCreationTime: string ,
}
,
}
,
]
,
metrics:
{
enabled: boolean ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ObjectReplicationPolicies_Get (new)
Description Get the object replication policy of the storage account by policy ID.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
objectReplicationPolicyId: string ,
}

⚐ Response (200)

{
properties:
{
policyId: string ,
enabledTime: string ,
sourceAccount: string ,
destinationAccount: string ,
rules:
[
{
ruleId: string ,
sourceContainer: string ,
destinationContainer: string ,
filters:
{
prefixMatch:
[
string ,
]
,
minCreationTime: string ,
}
,
}
,
]
,
metrics:
{
enabled: boolean ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ObjectReplicationPolicies_CreateOrUpdate (new)
Description Create or update the object replication policy of the storage account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
objectReplicationPolicyId: string ,
properties:
{
properties:
{
policyId: string ,
enabledTime: string ,
sourceAccount: string ,
destinationAccount: string ,
rules:
[
{
ruleId: string ,
sourceContainer: string ,
destinationContainer: string ,
filters:
{
prefixMatch:
[
string ,
]
,
minCreationTime: string ,
}
,
}
,
]
,
metrics:
{
enabled: boolean ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
policyId: string ,
enabledTime: string ,
sourceAccount: string ,
destinationAccount: string ,
rules:
[
{
ruleId: string ,
sourceContainer: string ,
destinationContainer: string ,
filters:
{
prefixMatch:
[
string ,
]
,
minCreationTime: string ,
}
,
}
,
]
,
metrics:
{
enabled: boolean ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
ObjectReplicationPolicies_Delete (new)
Description Deletes the object replication policy associated with the specified storage account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
objectReplicationPolicyId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
StorageAccounts_RevokeUserDelegationKeys (new)
Description Revoke user delegation keys.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}
LocalUsers_List (new)
Description List the local users associated with the storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
$maxpagesize: integer ,
$filter: string ,
$include: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
permissionScopes:
[
{
permissions: string ,
service: string ,
resourceName: string ,
}
,
]
,
homeDirectory: string ,
sshAuthorizedKeys:
[
{
description: string ,
key: string ,
}
,
]
,
sid: string ,
hasSharedKey: boolean ,
hasSshKey: boolean ,
hasSshPassword: boolean ,
userId: integer ,
groupId: integer ,
allowAclAuthorization: boolean ,
extendedGroups:
[
integer ,
]
,
isNFSv3Enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
LocalUsers_Get (new)
Description Get the local user of the storage account by username.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
username: string ,
}

⚐ Response (200)

{
properties:
{
permissionScopes:
[
{
permissions: string ,
service: string ,
resourceName: string ,
}
,
]
,
homeDirectory: string ,
sshAuthorizedKeys:
[
{
description: string ,
key: string ,
}
,
]
,
sid: string ,
hasSharedKey: boolean ,
hasSshKey: boolean ,
hasSshPassword: boolean ,
userId: integer ,
groupId: integer ,
allowAclAuthorization: boolean ,
extendedGroups:
[
integer ,
]
,
isNFSv3Enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
LocalUsers_CreateOrUpdate (new)
Description Create or update the properties of a local user associated with the storage account. Properties for NFSv3 enablement and extended groups cannot be set with other properties.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
username: string ,
properties:
{
properties:
{
permissionScopes:
[
{
permissions: string ,
service: string ,
resourceName: string ,
}
,
]
,
homeDirectory: string ,
sshAuthorizedKeys:
[
{
description: string ,
key: string ,
}
,
]
,
sid: string ,
hasSharedKey: boolean ,
hasSshKey: boolean ,
hasSshPassword: boolean ,
userId: integer ,
groupId: integer ,
allowAclAuthorization: boolean ,
extendedGroups:
[
integer ,
]
,
isNFSv3Enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
permissionScopes:
[
{
permissions: string ,
service: string ,
resourceName: string ,
}
,
]
,
homeDirectory: string ,
sshAuthorizedKeys:
[
{
description: string ,
key: string ,
}
,
]
,
sid: string ,
hasSharedKey: boolean ,
hasSshKey: boolean ,
hasSshPassword: boolean ,
userId: integer ,
groupId: integer ,
allowAclAuthorization: boolean ,
extendedGroups:
[
integer ,
]
,
isNFSv3Enabled: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
LocalUsers_Delete (new)
Description Deletes the local user associated with the specified storage account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
username: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
LocalUsers_ListKeys (new)
Description List SSH authorized keys and shared key of the local user.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
username: string ,
}

⚐ Response (200)

{
sshAuthorizedKeys:
[
{
description: string ,
key: string ,
}
,
]
,
sharedKey: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
LocalUsers_RegeneratePassword (new)
Description Regenerate the local user SSH password.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
username: string ,
}

⚐ Response (200)

{
sshPassword: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
EncryptionScopes_Put (new)
Description Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
encryptionScopeName: string ,
encryptionScope:
{
properties:
{
source: enum ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
keyVaultProperties:
{
keyUri: string ,
currentVersionedKeyIdentifier: string ,
lastKeyRotationTimestamp: string ,
}
,
requireInfrastructureEncryption: boolean ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
source: enum ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
keyVaultProperties:
{
keyUri: string ,
currentVersionedKeyIdentifier: string ,
lastKeyRotationTimestamp: string ,
}
,
requireInfrastructureEncryption: boolean ,
}
,
}

⚐ Response (200)

{
properties:
{
source: enum ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
keyVaultProperties:
{
keyUri: string ,
currentVersionedKeyIdentifier: string ,
lastKeyRotationTimestamp: string ,
}
,
requireInfrastructureEncryption: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
EncryptionScopes_Patch (new)
Description Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
encryptionScopeName: string ,
encryptionScope:
{
properties:
{
source: enum ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
keyVaultProperties:
{
keyUri: string ,
currentVersionedKeyIdentifier: string ,
lastKeyRotationTimestamp: string ,
}
,
requireInfrastructureEncryption: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
source: enum ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
keyVaultProperties:
{
keyUri: string ,
currentVersionedKeyIdentifier: string ,
lastKeyRotationTimestamp: string ,
}
,
requireInfrastructureEncryption: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
EncryptionScopes_Get (new)
Description Returns the properties for the specified encryption scope.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
encryptionScopeName: string ,
}

⚐ Response (200)

{
properties:
{
source: enum ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
keyVaultProperties:
{
keyUri: string ,
currentVersionedKeyIdentifier: string ,
lastKeyRotationTimestamp: string ,
}
,
requireInfrastructureEncryption: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
EncryptionScopes_List (new)
Description Lists all the encryption scopes available under the specified storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
$maxpagesize: integer ,
$filter: string ,
$include: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
source: enum ,
state: enum ,
creationTime: string ,
lastModifiedTime: string ,
keyVaultProperties:
{
keyUri: string ,
currentVersionedKeyIdentifier: string ,
lastKeyRotationTimestamp: string ,
}
,
requireInfrastructureEncryption: boolean ,
}
,
}
,
]
,
nextLink: string ,
}
StorageTaskAssignments_Create (new)
Description Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment 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 ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
parameters:
{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignments_Update (new)
Description Update storage task assignment properties
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
parameters:
{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignments_Get (new)
Description Get the storage task assignment properties
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignments_Delete (new)
Description Delete the storage task assignment sub-resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignments_List (new)
Description List all the storage task assignments in an account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
$maxpagesize: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
taskId: string ,
enabled: boolean ,
description: string ,
executionContext:
{
target:
{
prefix:
[
string ,
]
,
excludePrefix:
[
string ,
]
,
}
,
trigger:
{
type: enum ,
parameters:
{
startFrom: string ,
interval: integer ,
intervalUnit: enum ,
endBy: string ,
startOn: string ,
}
,
}
,
}
,
report:
{
prefix: string ,
}
,
provisioningState: enum ,
runStatus:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignmentsInstancesReport_List (new)
Description Fetch the report summary of all the storage task assignments and instances in an account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
$maxpagesize: integer ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StorageTaskAssignmentInstancesReport_List (new)
Description Fetch the report summary of a single storage task assignment's instances
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
storageTaskAssignmentName: string ,
$maxpagesize: integer ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
taskAssignmentId: string ,
storageAccountId: string ,
startTime: string ,
finishTime: string ,
objectsTargetedCount: string ,
objectsOperatedOnCount: string ,
objectFailedCount: string ,
objectsSucceededCount: string ,
runStatusError: string ,
runStatusEnum: enum ,
summaryReportPath: string ,
taskId: string ,
taskVersion: string ,
runResult: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TableServices_List (new)
Description List all table services for the storage account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
TableServices_SetServiceProperties (new)
Description Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
tableServiceName: string ,
parameters:
{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
TableServices_GetServiceProperties (new)
Description Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
tableServiceName: string ,
}

⚐ Response (200)

{
properties:
{
cors:
{
corsRules:
[
{
allowedOrigins:
[
string ,
]
,
allowedMethods:
[
string ,
]
,
maxAgeInSeconds: integer ,
exposedHeaders:
[
string ,
]
,
allowedHeaders:
[
string ,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Table_Create (new)
Description Creates a new table with the specified table name, under the specified account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}
{
resourceGroupName: string ,
accountName: string ,
parameters:
{
properties:
{
tableName: string ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
tableName: string ,
}

⚐ Response (200)

{
properties:
{
tableName: string ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Table_Update (new)
Description Creates a new table with the specified table name, under the specified account.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}
{
resourceGroupName: string ,
accountName: string ,
parameters:
{
properties:
{
tableName: string ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
}
,
}
,
api-version: string ,
subscriptionId: string ,
tableName: string ,
}

⚐ Response (200)

{
properties:
{
tableName: string ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Table_Get (new)
Description Gets the table with the specified table name, under the specified account if it exists.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
tableName: string ,
}

⚐ Response (200)

{
properties:
{
tableName: string ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Table_Delete (new)
Description Deletes the table with the specified table name, under the specified account if it exists.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
tableName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Table_List (new)
Description Gets a list of all the tables under the specified storage account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
tableName: string ,
signedIdentifiers:
[
{
id: string ,
accessPolicy:
{
startTime: string ,
expiryTime: string ,
permission: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}