From c8d8cabf17d0c8501e1c5677f196d8a93e8d41b4 Mon Sep 17 00:00:00 2001 From: Ujjawal Jain Date: Tue, 16 Dec 2025 22:21:06 +0530 Subject: [PATCH 1/6] Add StorageConnectors and StorageDataShares with 2025-08-01 version --- .../Storage.Management/StorageConnector.tsp | 80 + .../Storage.Management/StorageDataShare.tsp | 65 + .../BlobContainersClearLegalHold.json | 27 + .../2025-08-01/BlobContainersDelete.json | 16 + ...lobContainersDeleteImmutabilityPolicy.json | 28 + ...lobContainersExtendImmutabilityPolicy.json | 32 + .../2025-08-01/BlobContainersGet.json | 83 + .../BlobContainersGetImmutabilityPolicy.json | 28 + ...sGetWithAllowProtectedAppendWritesAll.json | 91 + .../BlobContainersLease_Acquire.json | 26 + .../2025-08-01/BlobContainersLease_Break.json | 26 + .../2025-08-01/BlobContainersList.json | 48 + .../BlobContainersLockImmutabilityPolicy.json | 27 + .../2025-08-01/BlobContainersPatch.json | 37 + .../2025-08-01/BlobContainersPut.json | 29 + ...obContainersPutDefaultEncryptionScope.json | 42 + .../BlobContainersPutImmutabilityPolicy.json | 34 + ...tyPolicyAllowProtectedAppendWritesAll.json | 34 + .../BlobContainersPutObjectLevelWorm.json | 45 + .../BlobContainersSetLegalHold.json | 31 + ...egalHoldAllowProtectedAppendWritesAll.json | 33 + .../2025-08-01/BlobRangesRestore.json | 66 + .../examples/2025-08-01/BlobServicesGet.json | 98 + .../examples/2025-08-01/BlobServicesList.json | 101 + .../examples/2025-08-01/BlobServicesPut.json | 173 + .../BlobServicesPutAllowPermanentDelete.json | 39 + ...ervicesPutLastAccessTimeBasedTracking.json | 43 + .../2025-08-01/DeletedAccountGet.json | 27 + .../2025-08-01/DeletedAccountList.json | 41 + .../2025-08-01/DeletedBlobContainersList.json | 52 + .../2025-08-01/DeletedFileSharesList.json | 44 + .../examples/2025-08-01/FileServicesGet.json | 88 + .../2025-08-01/FileServicesGetUsage.json | 63 + .../examples/2025-08-01/FileServicesList.json | 91 + .../2025-08-01/FileServicesListUsages.json | 66 + .../examples/2025-08-01/FileServicesPut.json | 153 + ...FileServicesPut_EnableSMBMultichannel.json | 45 + ...leServicesPut_EnableSecureSmbFeatures.json | 47 + ...rvicesPut_EncryptionInTransitRequired.json | 55 + .../2025-08-01/FileShareAclsPatch.json | 47 + .../2025-08-01/FileShareSnapshotsList.json | 41 + .../examples/2025-08-01/FileSharesDelete.json | 16 + .../examples/2025-08-01/FileSharesGet.json | 26 + .../FileSharesGet_PaidBursting.json | 31 + .../FileSharesGet_ProvisionedV2.json | 33 + .../2025-08-01/FileSharesGet_Stats.json | 28 + .../2025-08-01/FileSharesLease_Acquire.json | 26 + .../2025-08-01/FileSharesLease_Break.json | 26 + .../examples/2025-08-01/FileSharesList.json | 40 + .../FileSharesList_PaidBursting.json | 50 + .../FileSharesList_ProvisionedV2.json | 54 + .../examples/2025-08-01/FileSharesPatch.json | 33 + .../FileSharesPatch_PaidBursting.json | 37 + .../FileSharesPatch_ProvisionedV2.json | 38 + .../examples/2025-08-01/FileSharesPut.json | 29 + .../2025-08-01/FileSharesPut_AccessTier.json | 39 + .../2025-08-01/FileSharesPut_NFS.json | 39 + .../FileSharesPut_PaidBursting.json | 51 + .../FileSharesPut_ProvisionedV2.json | 49 + .../2025-08-01/FileSharesRestore.json | 19 + .../examples/2025-08-01/LocalUserCreate.json | 72 + .../LocalUserCreateNFSv3Enabled.json | 62 + .../examples/2025-08-01/LocalUserDelete.json | 16 + .../examples/2025-08-01/LocalUserGet.json | 49 + .../2025-08-01/LocalUserListKeys.json | 25 + .../LocalUserRegeneratePassword.json | 19 + .../examples/2025-08-01/LocalUserUpdate.json | 53 + .../examples/2025-08-01/LocalUsersList.json | 68 + .../LocalUsersListNFSv3Enabled.json | 80 + ...workSecurityPerimeterConfigurationGet.json | 64 + ...orkSecurityPerimeterConfigurationList.json | 56 + ...curityPerimeterConfigurationReconcile.json | 18 + .../2025-08-01/NfsV3AccountCreate.json | 65 + .../ObjectLevelWormContainerMigration.json | 21 + .../examples/2025-08-01/OperationsList.json | 475 + .../2025-08-01/QueueOperationDelete.json | 15 + .../2025-08-01/QueueOperationGet.json | 27 + .../2025-08-01/QueueOperationList.json | 42 + .../2025-08-01/QueueOperationPatch.json | 22 + .../2025-08-01/QueueOperationPut.json | 22 + .../QueueOperationPutWithMetadata.json | 35 + .../examples/2025-08-01/QueueServicesGet.json | 84 + .../2025-08-01/QueueServicesList.json | 87 + .../examples/2025-08-01/QueueServicesPut.json | 149 + .../examples/2025-08-01/SKUList.json | 6456 +++++++ .../2025-08-01/SKUListWithLocationInfo.json | 54 + ...ntAbortHierarchicalNamespaceMigration.json | 18 + .../StorageAccountCheckNameAvailability.json | 19 + .../2025-08-01/StorageAccountCreate.json | 157 + ...ageAccountCreateAllowedCopyScopeToAAD.json | 146 + ...ntCreateAllowedCopyScopeToPrivateLink.json | 146 + ...ountCreateDisallowPublicNetworkAccess.json | 150 + ...ntCreateDnsEndpointTypeToAzureDnsZone.json | 153 + ...ccountCreateDnsEndpointTypeToStandard.json | 153 + ...ccountCreateEnablePublicNetworkAccess.json | 150 + ...eObjectReplicationPolicyOnDestination.json | 69 + ...CreateObjectReplicationPolicyOnSource.json | 73 + ...eAccountCreatePremiumBlockBlobStorage.json | 91 + ...UserAssignedEncryptionIdentityWithCMK.json | 120 + ...IdentityWithFederatedIdentityClientId.json | 122 + ...geAccountCreateWithImmutabilityPolicy.json | 72 + .../StorageAccountCreate_placement.json | 160 + .../StorageAccountCreate_zones.json | 157 + .../2025-08-01/StorageAccountDelete.json | 15 + ...orageAccountDeleteBlobInventoryPolicy.json | 16 + .../StorageAccountDeleteManagementPolicy.json | 16 + ...eAccountDeleteObjectReplicationPolicy.json | 16 + ...ccountDeletePrivateEndpointConnection.json | 16 + .../2025-08-01/StorageAccountEnableAD.json | 77 + .../2025-08-01/StorageAccountEnableCMK.json | 96 + .../StorageAccountEnableSmbOAuth.json | 63 + .../StorageAccountEncryptionScopeList.json | 45 + .../2025-08-01/StorageAccountFailover.json | 19 + .../StorageAccountFailoverPlanned.json | 20 + ...ageAccountGetAsyncSkuConversionStatus.json | 36 + .../StorageAccountGetBlobInventoryPolicy.json | 67 + .../StorageAccountGetEncryptionScope.json | 27 + .../StorageAccountGetManagementPolicy.json | 61 + .../StorageAccountGetMigrationFailed.json | 27 + .../StorageAccountGetMigrationInProgress.json | 25 + ...rageAccountGetObjectReplicationPolicy.json | 55 + ...geAccountGetPrivateEndpointConnection.json | 32 + .../StorageAccountGetProperties.json | 108 + ...StorageAccountGetPropertiesCMKEnabled.json | 106 + ...GetPropertiesCMKVersionExpirationTime.json | 107 + ...esGeoReplicationStatscanFailoverFalse.json | 109 + ...iesGeoReplicationStatscanFailoverTrue.json | 109 + ...AccountHierarchicalNamespaceMigration.json | 19 + .../StorageAccountLeverageIPv6Ability.json | 87 + .../2025-08-01/StorageAccountList.json | 315 + .../StorageAccountListAccountSAS.json | 27 + ...StorageAccountListBlobInventoryPolicy.json | 70 + .../StorageAccountListByResourceGroup.json | 80 + .../2025-08-01/StorageAccountListKeys.json | 29 + .../StorageAccountListLocationUsage.json | 26 + ...eAccountListObjectReplicationPolicies.json | 43 + ...AccountListPrivateEndpointConnections.json | 51 + ...torageAccountListPrivateLinkResources.json | 103 + .../StorageAccountListServiceSAS.json | 24 + .../StorageAccountPatchEncryptionScope.json | 40 + .../StorageAccountPostMigration.json | 24 + .../StorageAccountPutEncryptionScope.json | 41 + ...tionScopeWithInfrastructureEncryption.json | 47 + ...geAccountPutPrivateEndpointConnection.json | 40 + .../StorageAccountRegenerateKerbKey.json | 37 + .../StorageAccountRegenerateKey.json | 32 + ...torageAccountRevokeUserDelegationKeys.json | 13 + .../StorageAccountSetBlobInventoryPolicy.json | 162 + ...ncludeDeleteAndNewSchemaForHnsAccount.json | 199 + ...udeDeleteAndNewSchemaForNonHnsAccount.json | 197 + .../StorageAccountSetManagementPolicy.json | 182 + ...untSetManagementPolicyColdTierActions.json | 130 + ...anagementPolicyForBlockAndAppendBlobs.json | 102 + ...ountSetManagementPolicyHotTierActions.json | 100 + ...anagementPolicyWithSnapshotAndVersion.json | 136 + ...licy_BaseBlobDaysAfterCreationActions.json | 92 + ...Policy_LastAccessTimeBasedBlobActions.json | 104 + ...ementPolicy_LastTierChangeTimeActions.json | 118 + .../2025-08-01/StorageAccountUpdate.json | 162 + ...ageAccountUpdateAllowedCopyScopeToAAD.json | 151 + ...countUpdateDisablePublicNetworkAccess.json | 151 + ...eObjectReplicationPolicyOnDestination.json | 79 + ...UpdateObjectReplicationPolicyOnSource.json | 81 + ...UserAssignedEncryptionIdentityWithCMK.json | 118 + ...IdentityWithFederatedIdentityClientId.json | 120 + ...geAccountUpdateWithImmutabilityPolicy.json | 52 + .../StorageAccountUpdate_placement.json | 165 + .../StorageAccountUpdate_zones.json | 162 + .../StorageConnectors_Create.json | 86 + .../StorageConnectors_Delete.json | 22 + .../StorageConnectors_Get.json | 40 + ...torageConnectors_ListByStorageAccount.json | 68 + ...rageConnectors_TestExistingConnection.json | 30 + .../StorageConnectors_Update.json | 59 + .../StorageDataShares_Create.json | 86 + .../StorageDataShares_Delete.json | 22 + .../StorageDataShares_Get.json | 40 + ...torageDataShares_ListByStorageAccount.json | 68 + .../StorageDataShares_Update.json | 66 + .../2025-08-01/TableOperationDelete.json | 15 + .../2025-08-01/TableOperationGet.json | 24 + .../2025-08-01/TableOperationList.json | 36 + .../2025-08-01/TableOperationPatch.json | 24 + .../2025-08-01/TableOperationPut.json | 24 + .../TableOperationPutOrPatchAcls.json | 64 + ...bleOperationPutOrPatchAclsTableCreate.json | 64 + .../examples/2025-08-01/TableServicesGet.json | 84 + .../2025-08-01/TableServicesList.json | 87 + .../examples/2025-08-01/TableServicesPut.json | 149 + .../DeleteStorageTaskAssignment.json | 19 + .../GetStorageTaskAssignment.json | 44 + .../PatchStorageTaskAssignment.json | 73 + .../PutStorageTaskAssignment.json | 105 + ...orageTaskAssignmentRequiredProperties.json | 84 + ...eTaskAssignmentInstancesReportSummary.json | 61 + .../ListStorageTaskAssignmentsForAccount.json | 76 + ...TaskAssignmentsInstancesReportSummary.json | 60 + .../storage/Storage.Management/main.tsp | 7 + .../storage/Storage.Management/models.tsp | 360 + specification/storage/cspell.yaml | 2 + .../stable/2025-06-01/openapi.json | 2012 +- .../BlobContainersClearLegalHold.json | 27 + .../examples/BlobContainersDelete.json | 16 + ...lobContainersDeleteImmutabilityPolicy.json | 28 + ...lobContainersExtendImmutabilityPolicy.json | 32 + .../examples/BlobContainersGet.json | 83 + .../BlobContainersGetImmutabilityPolicy.json | 28 + ...sGetWithAllowProtectedAppendWritesAll.json | 91 + .../examples/BlobContainersLease_Acquire.json | 26 + .../examples/BlobContainersLease_Break.json | 26 + .../examples/BlobContainersList.json | 48 + .../BlobContainersLockImmutabilityPolicy.json | 27 + .../examples/BlobContainersPatch.json | 37 + .../examples/BlobContainersPut.json | 29 + ...obContainersPutDefaultEncryptionScope.json | 42 + .../BlobContainersPutImmutabilityPolicy.json | 34 + ...tyPolicyAllowProtectedAppendWritesAll.json | 34 + .../BlobContainersPutObjectLevelWorm.json | 45 + .../examples/BlobContainersSetLegalHold.json | 31 + ...egalHoldAllowProtectedAppendWritesAll.json | 33 + .../examples/BlobRangesRestore.json | 66 + .../2025-08-01/examples/BlobServicesGet.json | 98 + .../2025-08-01/examples/BlobServicesList.json | 101 + .../2025-08-01/examples/BlobServicesPut.json | 173 + .../BlobServicesPutAllowPermanentDelete.json | 39 + ...ervicesPutLastAccessTimeBasedTracking.json | 43 + .../examples/DeletedAccountGet.json | 27 + .../examples/DeletedAccountList.json | 41 + .../examples/DeletedBlobContainersList.json | 52 + .../examples/DeletedFileSharesList.json | 44 + .../2025-08-01/examples/FileServicesGet.json | 88 + .../examples/FileServicesGetUsage.json | 63 + .../2025-08-01/examples/FileServicesList.json | 91 + .../examples/FileServicesListUsages.json | 66 + .../2025-08-01/examples/FileServicesPut.json | 153 + ...FileServicesPut_EnableSMBMultichannel.json | 45 + ...leServicesPut_EnableSecureSmbFeatures.json | 47 + ...rvicesPut_EncryptionInTransitRequired.json | 55 + .../examples/FileShareAclsPatch.json | 47 + .../examples/FileShareSnapshotsList.json | 41 + .../2025-08-01/examples/FileSharesDelete.json | 16 + .../2025-08-01/examples/FileSharesGet.json | 26 + .../examples/FileSharesGet_PaidBursting.json | 31 + .../examples/FileSharesGet_ProvisionedV2.json | 33 + .../examples/FileSharesGet_Stats.json | 28 + .../examples/FileSharesLease_Acquire.json | 26 + .../examples/FileSharesLease_Break.json | 26 + .../2025-08-01/examples/FileSharesList.json | 40 + .../examples/FileSharesList_PaidBursting.json | 50 + .../FileSharesList_ProvisionedV2.json | 54 + .../2025-08-01/examples/FileSharesPatch.json | 33 + .../FileSharesPatch_PaidBursting.json | 37 + .../FileSharesPatch_ProvisionedV2.json | 38 + .../2025-08-01/examples/FileSharesPut.json | 29 + .../examples/FileSharesPut_AccessTier.json | 39 + .../examples/FileSharesPut_NFS.json | 39 + .../examples/FileSharesPut_PaidBursting.json | 51 + .../examples/FileSharesPut_ProvisionedV2.json | 49 + .../examples/FileSharesRestore.json | 19 + .../2025-08-01/examples/LocalUserCreate.json | 72 + .../examples/LocalUserCreateNFSv3Enabled.json | 62 + .../2025-08-01/examples/LocalUserDelete.json | 16 + .../2025-08-01/examples/LocalUserGet.json | 49 + .../examples/LocalUserListKeys.json | 25 + .../examples/LocalUserRegeneratePassword.json | 19 + .../2025-08-01/examples/LocalUserUpdate.json | 53 + .../2025-08-01/examples/LocalUsersList.json | 68 + .../examples/LocalUsersListNFSv3Enabled.json | 80 + ...workSecurityPerimeterConfigurationGet.json | 64 + ...orkSecurityPerimeterConfigurationList.json | 56 + ...curityPerimeterConfigurationReconcile.json | 18 + .../examples/NfsV3AccountCreate.json | 65 + .../ObjectLevelWormContainerMigration.json | 21 + .../2025-08-01/examples/OperationsList.json | 475 + .../examples/QueueOperationDelete.json | 15 + .../examples/QueueOperationGet.json | 27 + .../examples/QueueOperationList.json | 42 + .../examples/QueueOperationPatch.json | 22 + .../examples/QueueOperationPut.json | 22 + .../QueueOperationPutWithMetadata.json | 35 + .../2025-08-01/examples/QueueServicesGet.json | 84 + .../examples/QueueServicesList.json | 87 + .../2025-08-01/examples/QueueServicesPut.json | 149 + .../stable/2025-08-01/examples/SKUList.json | 6456 +++++++ .../examples/SKUListWithLocationInfo.json | 54 + ...ntAbortHierarchicalNamespaceMigration.json | 18 + .../StorageAccountCheckNameAvailability.json | 19 + .../examples/StorageAccountCreate.json | 157 + ...ageAccountCreateAllowedCopyScopeToAAD.json | 146 + ...ntCreateAllowedCopyScopeToPrivateLink.json | 146 + ...ountCreateDisallowPublicNetworkAccess.json | 150 + ...ntCreateDnsEndpointTypeToAzureDnsZone.json | 153 + ...ccountCreateDnsEndpointTypeToStandard.json | 153 + ...ccountCreateEnablePublicNetworkAccess.json | 150 + ...eObjectReplicationPolicyOnDestination.json | 69 + ...CreateObjectReplicationPolicyOnSource.json | 73 + ...eAccountCreatePremiumBlockBlobStorage.json | 91 + ...UserAssignedEncryptionIdentityWithCMK.json | 120 + ...IdentityWithFederatedIdentityClientId.json | 122 + ...geAccountCreateWithImmutabilityPolicy.json | 72 + .../StorageAccountCreate_placement.json | 160 + .../examples/StorageAccountCreate_zones.json | 157 + .../examples/StorageAccountDelete.json | 15 + ...orageAccountDeleteBlobInventoryPolicy.json | 16 + .../StorageAccountDeleteManagementPolicy.json | 16 + ...eAccountDeleteObjectReplicationPolicy.json | 16 + ...ccountDeletePrivateEndpointConnection.json | 16 + .../examples/StorageAccountEnableAD.json | 77 + .../examples/StorageAccountEnableCMK.json | 96 + .../StorageAccountEnableSmbOAuth.json | 63 + .../StorageAccountEncryptionScopeList.json | 45 + .../examples/StorageAccountFailover.json | 19 + .../StorageAccountFailoverPlanned.json | 20 + ...ageAccountGetAsyncSkuConversionStatus.json | 36 + .../StorageAccountGetBlobInventoryPolicy.json | 67 + .../StorageAccountGetEncryptionScope.json | 27 + .../StorageAccountGetManagementPolicy.json | 61 + .../StorageAccountGetMigrationFailed.json | 27 + .../StorageAccountGetMigrationInProgress.json | 25 + ...rageAccountGetObjectReplicationPolicy.json | 55 + ...geAccountGetPrivateEndpointConnection.json | 32 + .../examples/StorageAccountGetProperties.json | 108 + ...StorageAccountGetPropertiesCMKEnabled.json | 106 + ...GetPropertiesCMKVersionExpirationTime.json | 107 + ...esGeoReplicationStatscanFailoverFalse.json | 109 + ...iesGeoReplicationStatscanFailoverTrue.json | 109 + ...AccountHierarchicalNamespaceMigration.json | 19 + .../StorageAccountLeverageIPv6Ability.json | 87 + .../examples/StorageAccountList.json | 315 + .../StorageAccountListAccountSAS.json | 27 + ...StorageAccountListBlobInventoryPolicy.json | 70 + .../StorageAccountListByResourceGroup.json | 80 + .../examples/StorageAccountListKeys.json | 29 + .../StorageAccountListLocationUsage.json | 26 + ...eAccountListObjectReplicationPolicies.json | 43 + ...AccountListPrivateEndpointConnections.json | 51 + ...torageAccountListPrivateLinkResources.json | 103 + .../StorageAccountListServiceSAS.json | 24 + .../StorageAccountPatchEncryptionScope.json | 40 + .../examples/StorageAccountPostMigration.json | 24 + .../StorageAccountPutEncryptionScope.json | 41 + ...tionScopeWithInfrastructureEncryption.json | 47 + ...geAccountPutPrivateEndpointConnection.json | 40 + .../StorageAccountRegenerateKerbKey.json | 37 + .../examples/StorageAccountRegenerateKey.json | 32 + ...torageAccountRevokeUserDelegationKeys.json | 13 + .../StorageAccountSetBlobInventoryPolicy.json | 162 + ...ncludeDeleteAndNewSchemaForHnsAccount.json | 199 + ...udeDeleteAndNewSchemaForNonHnsAccount.json | 197 + .../StorageAccountSetManagementPolicy.json | 182 + ...untSetManagementPolicyColdTierActions.json | 130 + ...anagementPolicyForBlockAndAppendBlobs.json | 102 + ...ountSetManagementPolicyHotTierActions.json | 100 + ...anagementPolicyWithSnapshotAndVersion.json | 136 + ...licy_BaseBlobDaysAfterCreationActions.json | 92 + ...Policy_LastAccessTimeBasedBlobActions.json | 104 + ...ementPolicy_LastTierChangeTimeActions.json | 118 + .../examples/StorageAccountUpdate.json | 162 + ...ageAccountUpdateAllowedCopyScopeToAAD.json | 151 + ...countUpdateDisablePublicNetworkAccess.json | 151 + ...eObjectReplicationPolicyOnDestination.json | 79 + ...UpdateObjectReplicationPolicyOnSource.json | 81 + ...UserAssignedEncryptionIdentityWithCMK.json | 118 + ...IdentityWithFederatedIdentityClientId.json | 120 + ...geAccountUpdateWithImmutabilityPolicy.json | 52 + .../StorageAccountUpdate_placement.json | 165 + .../examples/StorageAccountUpdate_zones.json | 162 + .../StorageConnectors_Create.json | 86 + .../StorageConnectors_Delete.json | 22 + .../StorageConnectors_Get.json | 40 + ...torageConnectors_ListByStorageAccount.json | 68 + ...rageConnectors_TestExistingConnection.json | 30 + .../StorageConnectors_Update.json | 59 + .../StorageDataShares_Create.json | 86 + .../StorageDataShares_Delete.json | 22 + .../StorageDataShares_Get.json | 40 + ...torageDataShares_ListByStorageAccount.json | 68 + .../StorageDataShares_Update.json | 66 + .../examples/TableOperationDelete.json | 15 + .../examples/TableOperationGet.json | 24 + .../examples/TableOperationList.json | 36 + .../examples/TableOperationPatch.json | 24 + .../examples/TableOperationPut.json | 24 + .../TableOperationPutOrPatchAcls.json | 64 + ...bleOperationPutOrPatchAclsTableCreate.json | 64 + .../2025-08-01/examples/TableServicesGet.json | 84 + .../examples/TableServicesList.json | 87 + .../2025-08-01/examples/TableServicesPut.json | 149 + .../DeleteStorageTaskAssignment.json | 19 + .../GetStorageTaskAssignment.json | 44 + .../PatchStorageTaskAssignment.json | 73 + .../PutStorageTaskAssignment.json | 105 + ...orageTaskAssignmentRequiredProperties.json | 84 + ...eTaskAssignmentInstancesReportSummary.json | 61 + .../ListStorageTaskAssignmentsForAccount.json | 76 + ...TaskAssignmentsInstancesReportSummary.json | 60 + .../stable/2025-08-01/openapi.json | 15870 ++++++++++++++++ 397 files changed, 57542 insertions(+), 278 deletions(-) create mode 100644 specification/storage/Storage.Management/StorageConnector.tsp create mode 100644 specification/storage/Storage.Management/StorageDataShare.tsp create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersClearLegalHold.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersDelete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersDeleteImmutabilityPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersExtendImmutabilityPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGetImmutabilityPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLease_Acquire.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLease_Break.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLockImmutabilityPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPatch.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPut.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutDefaultEncryptionScope.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutImmutabilityPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutObjectLevelWorm.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersSetLegalHold.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobRangesRestore.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobServicesGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobServicesList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPut.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPutAllowPermanentDelete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPutLastAccessTimeBasedTracking.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/DeletedAccountGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/DeletedAccountList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/DeletedBlobContainersList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/DeletedFileSharesList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileServicesGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileServicesGetUsage.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileServicesList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileServicesListUsages.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EnableSMBMultichannel.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EnableSecureSmbFeatures.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EncryptionInTransitRequired.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileShareAclsPatch.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileShareSnapshotsList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesDelete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_PaidBursting.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_ProvisionedV2.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_Stats.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesLease_Acquire.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesLease_Break.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesList_PaidBursting.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesList_ProvisionedV2.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch_PaidBursting.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch_ProvisionedV2.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_AccessTier.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_NFS.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_PaidBursting.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_ProvisionedV2.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/FileSharesRestore.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUserCreate.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUserCreateNFSv3Enabled.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUserDelete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUserGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUserListKeys.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUserRegeneratePassword.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUserUpdate.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUsersList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/LocalUsersListNFSv3Enabled.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationReconcile.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/NfsV3AccountCreate.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/ObjectLevelWormContainerMigration.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/OperationsList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueOperationDelete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueOperationGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueOperationList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPatch.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPut.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPutWithMetadata.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueServicesGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueServicesList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/QueueServicesPut.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/SKUList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/SKUListWithLocationInfo.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountAbortHierarchicalNamespaceMigration.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCheckNameAvailability.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateAllowedCopyScopeToAAD.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDisallowPublicNetworkAccess.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDnsEndpointTypeToStandard.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateEnablePublicNetworkAccess.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateObjectReplicationPolicyOnSource.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreatePremiumBlockBlobStorage.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateWithImmutabilityPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate_placement.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate_zones.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDelete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteBlobInventoryPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteManagementPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteObjectReplicationPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeletePrivateEndpointConnection.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableAD.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableCMK.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableSmbOAuth.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEncryptionScopeList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountFailover.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountFailoverPlanned.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetAsyncSkuConversionStatus.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetBlobInventoryPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetEncryptionScope.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetManagementPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetMigrationFailed.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetMigrationInProgress.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetObjectReplicationPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPrivateEndpointConnection.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetProperties.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesCMKEnabled.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountHierarchicalNamespaceMigration.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountLeverageIPv6Ability.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListAccountSAS.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListBlobInventoryPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListByResourceGroup.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListKeys.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListLocationUsage.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListObjectReplicationPolicies.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListPrivateEndpointConnections.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListPrivateLinkResources.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListServiceSAS.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPatchEncryptionScope.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPostMigration.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutEncryptionScope.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutPrivateEndpointConnection.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRegenerateKerbKey.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRegenerateKey.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRevokeUserDelegationKeys.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyColdTierActions.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyHotTierActions.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateAllowedCopyScopeToAAD.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateDisablePublicNetworkAccess.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateWithImmutabilityPolicy.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate_placement.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate_zones.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Create.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Delete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Get.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Update.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Create.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Delete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Get.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Update.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableOperationDelete.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableOperationGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableOperationList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableOperationPatch.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableOperationPut.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableOperationPutOrPatchAcls.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableOperationPutOrPatchAclsTableCreate.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableServicesGet.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableServicesList.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/TableServicesPut.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json create mode 100644 specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersClearLegalHold.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersDelete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersDeleteImmutabilityPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersExtendImmutabilityPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGetImmutabilityPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLease_Acquire.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLease_Break.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLockImmutabilityPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPatch.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPut.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutDefaultEncryptionScope.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutImmutabilityPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutObjectLevelWorm.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersSetLegalHold.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobRangesRestore.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPut.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPutAllowPermanentDelete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedAccountGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedAccountList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedBlobContainersList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedFileSharesList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesGetUsage.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesListUsages.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EnableSMBMultichannel.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EnableSecureSmbFeatures.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EncryptionInTransitRequired.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileShareAclsPatch.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileShareSnapshotsList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesDelete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_PaidBursting.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_ProvisionedV2.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_Stats.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesLease_Acquire.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesLease_Break.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList_PaidBursting.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList_ProvisionedV2.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch_PaidBursting.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch_ProvisionedV2.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_AccessTier.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_NFS.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_PaidBursting.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_ProvisionedV2.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesRestore.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserCreate.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserCreateNFSv3Enabled.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserDelete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserListKeys.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserRegeneratePassword.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserUpdate.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUsersList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUsersListNFSv3Enabled.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NfsV3AccountCreate.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/ObjectLevelWormContainerMigration.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/OperationsList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationDelete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPatch.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPut.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPutWithMetadata.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesPut.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/SKUList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/SKUListWithLocationInfo.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCheckNameAvailability.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateWithImmutabilityPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate_placement.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate_zones.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDelete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteBlobInventoryPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteManagementPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteObjectReplicationPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeletePrivateEndpointConnection.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableAD.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableCMK.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableSmbOAuth.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEncryptionScopeList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountFailover.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountFailoverPlanned.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetAsyncSkuConversionStatus.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetBlobInventoryPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetEncryptionScope.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetManagementPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetMigrationFailed.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetMigrationInProgress.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetObjectReplicationPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPrivateEndpointConnection.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetProperties.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesCMKEnabled.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountHierarchicalNamespaceMigration.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountLeverageIPv6Ability.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListAccountSAS.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListBlobInventoryPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListByResourceGroup.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListKeys.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListLocationUsage.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListObjectReplicationPolicies.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListPrivateEndpointConnections.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListPrivateLinkResources.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListServiceSAS.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPatchEncryptionScope.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPostMigration.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutEncryptionScope.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutPrivateEndpointConnection.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRegenerateKerbKey.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRegenerateKey.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRevokeUserDelegationKeys.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyColdTierActions.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyHotTierActions.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate_placement.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate_zones.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Create.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Delete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Get.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Update.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Create.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Delete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Get.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Update.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationDelete.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPatch.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPut.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPutOrPatchAcls.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPutOrPatchAclsTableCreate.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesGet.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesList.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesPut.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/openapi.json diff --git a/specification/storage/Storage.Management/StorageConnector.tsp b/specification/storage/Storage.Management/StorageConnector.tsp new file mode 100644 index 000000000000..c4e71e1622ec --- /dev/null +++ b/specification/storage/Storage.Management/StorageConnector.tsp @@ -0,0 +1,80 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * A Connector is a tracked ARM resource modeled as a sub-resource of a Storage Account. + */ +@parentResource(StorageAccount) +model Connector + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Connector, + KeyName = "connectorName", + SegmentName = "connectors", + NamePattern = "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + >; +} + +@armResourceOperations +interface Connectors { + /** + * Get the specified Storage Connector. + */ + get is ArmResourceRead; + + /** + * Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Update a Storage Connector. + */ + update is ArmResourcePatchAsync; + + /** + * Delete a Storage Connector. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * List all Storage Connectors in a Storage Account. + */ + listByStorageAccount is ArmResourceListByParent; + + /** + * This method is used to verify that the connection to the backing data store works. + * This API is designed to be used for monitoring and debugging purposes. From the caller’s perspective, + * this method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc. + * If the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte. + */ + testExistingConnection is ArmResourceActionAsync< + Connector, + TestExistingConnectionRequest, + TestConnectionResponse + >; +} + +@@maxLength(Connector.name, 63); +@@minLength(Connector.name, 3); +@@doc(Connector.name, "The name of the Storage Connector."); +@@doc(Connector.properties, "The properties of the Storage Connector."); +@@doc(Connectors.create::parameters.resource, + "Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource." +); +@@doc(Connectors.update::parameters.properties, + "The updated properties of the Storage Connector." +); +@@doc(Connectors.testExistingConnection::parameters.body, + "This method is used to verify that the connection to the backing data store works. This API is designed to be used for monitoring and debugging purposes. From the caller’s perspective, this method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc. If the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte." +); diff --git a/specification/storage/Storage.Management/StorageDataShare.tsp b/specification/storage/Storage.Management/StorageDataShare.tsp new file mode 100644 index 000000000000..944afcc8655a --- /dev/null +++ b/specification/storage/Storage.Management/StorageDataShare.tsp @@ -0,0 +1,65 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * A DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account. + */ +@parentResource(StorageAccount) +model DataShare + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = DataShare, + KeyName = "dataShareName", + SegmentName = "dataShares", + NamePattern = "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + >; +} + +@armResourceOperations +interface DataShares { + /** + * Get the specified Storage DataShare. + */ + get is ArmResourceRead; + + /** + * Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Update a Storage DataShare. + */ + update is ArmResourcePatchAsync; + + /** + * Delete a Storage DataShare. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * List all Storage DataShares in a Storage Account. + */ + listByStorageAccount is ArmResourceListByParent; +} + +@@maxLength(DataShare.name, 63); +@@minLength(DataShare.name, 3); +@@doc(DataShare.name, "The name of the Storage DataShare."); +@@doc(DataShare.properties, "The properties of the Storage DataShare."); +@@doc(DataShares.create::parameters.resource, + "Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource." +); +@@doc(DataShares.update::parameters.properties, + "The updated properties of the Storage DataShare." +); diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersClearLegalHold.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersClearLegalHold.json new file mode 100644 index 000000000000..820799fbeecb --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersClearLegalHold.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "LegalHold": { + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-08-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "hasLegalHold": false, + "tags": [] + } + } + }, + "operationId": "BlobContainers_ClearLegalHold", + "title": "ClearLegalHoldContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersDelete.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersDelete.json new file mode 100644 index 000000000000..1d69e8cafe2b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto4506", + "api-version": "2025-08-01", + "containerName": "container9689", + "monitor": "true", + "resourceGroupName": "res4079", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BlobContainers_Delete", + "title": "DeleteContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersDeleteImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersDeleteImmutabilityPolicy.json new file mode 100644 index 000000000000..0c4ea7f532a0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersDeleteImmutabilityPolicy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "If-Match": "8d59f81a7fa7be0", + "accountName": "sto9621", + "api-version": "2025-08-01", + "containerName": "container4910", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res1581", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f81a87b40c0\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1581/providers/Microsoft.Storage/storageAccounts/sto9621/blobServices/default/containers/container4910/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 0, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "title": "DeleteImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersExtendImmutabilityPolicy.json new file mode 100644 index 000000000000..3737d9e7da7e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersExtendImmutabilityPolicy.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "If-Match": "8d59f830d0c3bf9", + "accountName": "sto232", + "api-version": "2025-08-01", + "containerName": "container5023", + "monitor": "true", + "parameters": { + "properties": { + "immutabilityPeriodSinceCreationInDays": 100 + } + }, + "resourceGroupName": "res6238", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d57a8b2ff50332\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + } + } + } + }, + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "title": "ExtendImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGet.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGet.json new file mode 100644 index 000000000000..fbb5aeacf2c8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGet.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container1634", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", + "properties": { + "hasImmutabilityPolicy": true, + "hasLegalHold": true, + "immutabilityPolicy": { + "etag": "\"8d592d74cb3011a\"", + "properties": { + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + }, + "updateHistory": [ + { + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" + }, + { + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" + }, + { + "immutabilityPeriodSinceCreationInDays": 100, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" + } + ] + }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "legalHold": { + "hasLegalHold": true, + "tags": [ + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + } + ] + }, + "publicAccess": "None" + } + } + } + }, + "operationId": "BlobContainers_Get", + "title": "GetContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGetImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGetImmutabilityPolicy.json new file mode 100644 index 000000000000..8cb9ea32533e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGetImmutabilityPolicy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "sto9177", + "api-version": "2025-08-01", + "containerName": "container3489", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res5221", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f828e64b75c\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res5221/providers/Microsoft.Storage/storageAccounts/sto9177/blobServices/default/containers/container3489/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 5, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_GetImmutabilityPolicy", + "title": "GetImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json new file mode 100644 index 000000000000..eb7823b6fe37 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container1634", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", + "properties": { + "hasImmutabilityPolicy": true, + "hasLegalHold": true, + "immutabilityPolicy": { + "etag": "\"8d592d74cb3011a\"", + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + }, + "updateHistory": [ + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" + }, + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" + }, + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" + } + ] + }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "legalHold": { + "hasLegalHold": true, + "protectedAppendWritesHistory": { + "allowProtectedAppendWritesAll": true, + "timestamp": "2022-09-01T01:58:44.5044483Z" + }, + "tags": [ + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + } + ] + }, + "publicAccess": "None" + } + } + } + }, + "operationId": "BlobContainers_Get", + "title": "GetBlobContainersGetWithAllowProtectedAppendWritesAll" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLease_Acquire.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLease_Acquire.json new file mode 100644 index 000000000000..6a0eb61969ef --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLease_Acquire.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "containerName": "container6185", + "monitor": "true", + "parameters": { + "action": "Acquire", + "breakPeriod": null, + "leaseDuration": -1, + "leaseId": null, + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + }, + "operationId": "BlobContainers_Lease", + "title": "Acquire a lease on a container" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLease_Break.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLease_Break.json new file mode 100644 index 000000000000..8cc47f213182 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLease_Break.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "containerName": "container6185", + "monitor": "true", + "parameters": { + "action": "Break", + "breakPeriod": null, + "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + }, + "operationId": "BlobContainers_Lease", + "title": "Break a lease on a container" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersList.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersList.json new file mode 100644 index 000000000000..0ae992a33c00 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersList.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/container5103", + "value": [ + { + "name": "container1644", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" + } + }, + { + "name": "container4052", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "None" + } + } + ] + } + } + }, + "operationId": "BlobContainers_List", + "title": "ListContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLockImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLockImmutabilityPolicy.json new file mode 100644 index 000000000000..f8acdb3345d9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersLockImmutabilityPolicy.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "If-Match": "8d59f825b721dd3", + "accountName": "sto5009", + "api-version": "2025-08-01", + "containerName": "container1631", + "monitor": "true", + "resourceGroupName": "res2702", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d57a8a5edb084a\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2702/providers/Microsoft.Storage/storageAccounts/sto5009/blobServices/default/containers/container1631/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Locked" + } + } + } + }, + "operationId": "BlobContainers_LockImmutabilityPolicy", + "title": "LockImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPatch.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPatch.json new file mode 100644 index 000000000000..8cbaf7d95da2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPatch.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "blobContainer": { + "properties": { + "metadata": { + "metadata": "true" + }, + "publicAccess": "Container" + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "metadata": { + "metadata": "true" + }, + "publicAccess": "Container" + } + } + } + }, + "operationId": "BlobContainers_Update", + "title": "UpdateContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPut.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPut.json new file mode 100644 index 000000000000..ac08601b893b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPut.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "blobContainer": {}, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutDefaultEncryptionScope.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutDefaultEncryptionScope.json new file mode 100644 index 000000000000..73e70ae5e1b9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutDefaultEncryptionScope.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "blobContainer": { + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithDefaultEncryptionScope" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutImmutabilityPolicy.json new file mode 100644 index 000000000000..2a13990f4a2e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutImmutabilityPolicy.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2025-08-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "parameters": { + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3 + } + }, + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json new file mode 100644 index 000000000000..ae620c761b5b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2025-08-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "parameters": { + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3 + } + }, + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutObjectLevelWorm.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutObjectLevelWorm.json new file mode 100644 index 000000000000..cfe746751f89 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersPutObjectLevelWorm.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "blobContainer": { + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithObjectLevelWorm" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersSetLegalHold.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersSetLegalHold.json new file mode 100644 index 000000000000..6fae8c984e5b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersSetLegalHold.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "LegalHold": { + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-08-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "hasLegalHold": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + } + } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json new file mode 100644 index 000000000000..943ecfdff438 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "LegalHold": { + "allowProtectedAppendWritesAll": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-08-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "allowProtectedAppendWritesAll": true, + "hasLegalHold": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + } + } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainersWithAllowProtectedAppendWritesAll" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobRangesRestore.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobRangesRestore.json new file mode 100644 index 000000000000..139db78a77c3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobRangesRestore.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "Succeeded" + } + }, + "202": { + "body": { + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "InProgress" + }, + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_RestoreBlobRanges", + "title": "BlobRangesRestore" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesGet.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesGet.json new file mode 100644 index 000000000000..335ba9df5f1e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesGet.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "BlobServices_GetServiceProperties", + "title": "GetBlobServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesList.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesList.json new file mode 100644 index 000000000000..34ec449272d0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesList.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "BlobServices_List", + "title": "ListBlobServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPut.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPut.json new file mode 100644 index 000000000000..834bd5419e34 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPut.json @@ -0,0 +1,173 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "PutBlobServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPutAllowPermanentDelete.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPutAllowPermanentDelete.json new file mode 100644 index 000000000000..038ccc6833f3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPutAllowPermanentDelete.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "deleteRetentionPolicy": { + "allowPermanentDelete": true, + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "deleteRetentionPolicy": { + "allowPermanentDelete": true, + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutAllowPermanentDelete" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPutLastAccessTimeBasedTracking.json b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPutLastAccessTimeBasedTracking.json new file mode 100644 index 000000000000..ddaf9c2681b7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/BlobServicesPutLastAccessTimeBasedTracking.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "lastAccessTimeTrackingPolicy": { + "name": "AccessTimeTracking", + "blobType": [ + "blockBlob" + ], + "enable": true, + "trackingGranularityInDays": 1 + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "lastAccessTimeTrackingPolicy": { + "name": "AccessTimeTracking", + "blobType": [ + "blockBlob" + ], + "enable": true, + "trackingGranularityInDays": 1 + } + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutLastAccessTimeBasedTracking" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/DeletedAccountGet.json b/specification/storage/Storage.Management/examples/2025-08-01/DeletedAccountGet.json new file mode 100644 index 000000000000..ab7ec6de0c83 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/DeletedAccountGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "deletedAccountName": "sto1125", + "location": "eastus", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto1125", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", + "properties": { + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", + "location": "eastus", + "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" + } + } + } + }, + "operationId": "DeletedAccounts_Get", + "title": "DeletedAccountGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/DeletedAccountList.json b/specification/storage/Storage.Management/examples/2025-08-01/DeletedAccountList.json new file mode 100644 index 000000000000..b9730bd2e284 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/DeletedAccountList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto1125", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", + "properties": { + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", + "location": "eastus", + "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" + } + }, + { + "name": "sto1126", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1126", + "properties": { + "creationTime": "2020-08-19T15:10:21.5902165Z", + "deletionTime": "2020-08-20T06:11:55.1957302Z", + "location": "eastus", + "restoreReference": "sto1126|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1126" + } + } + ] + } + } + }, + "operationId": "DeletedAccounts_List", + "title": "DeletedAccountList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/DeletedBlobContainersList.json b/specification/storage/Storage.Management/examples/2025-08-01/DeletedBlobContainersList.json new file mode 100644 index 000000000000..fb1a0d6bb956 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/DeletedBlobContainersList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "$include": "deleted", + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "container1644", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" + } + }, + { + "name": "container4052", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", + "properties": { + "deleted": true, + "deletedTime": "2019-12-14T08:20:47Z", + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Expired", + "leaseStatus": "Unlocked", + "publicAccess": "None", + "remainingRetentionDays": 30, + "version": "1234567890" + } + } + ] + } + } + }, + "operationId": "BlobContainers_List", + "title": "ListDeletedContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/DeletedFileSharesList.json b/specification/storage/Storage.Management/examples/2025-08-01/DeletedFileSharesList.json new file mode 100644 index 000000000000..1ceafd67682f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/DeletedFileSharesList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "$expand": "deleted", + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644_1234567890", + "properties": { + "deleted": true, + "deletedTime": "2019-12-14T08:20:47Z", + "lastModifiedTime": "2019-05-14T08:20:47Z", + "remainingRetentionDays": 30, + "shareQuota": 1024, + "version": "1234567890" + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListDeletedShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileServicesGet.json b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesGet.json new file mode 100644 index 000000000000..673f03ca29a2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesGet.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "FileServices_GetServiceProperties", + "title": "GetFileServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileServicesGetUsage.json b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesGetUsage.json new file mode 100644 index 000000000000..4a7830899291 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesGetUsage.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "fileServiceUsagesName": "default", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices/usages", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", + "properties": { + "burstingConstants": { + "burstFloorIOPS": 10000, + "burstIOScalar": 3, + "burstTimeframeSeconds": 3600 + }, + "fileShareLimits": { + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144, + "minProvisionedBandwidthMiBPerSec": 125, + "minProvisionedIOPS": 3000, + "minProvisionedStorageGiB": 32 + }, + "fileShareRecommendations": { + "bandwidthScalar": 0.1, + "baseBandwidthMiBPerSec": 125, + "baseIOPS": 3000, + "ioScalar": 1 + }, + "storageAccountLimits": { + "maxFileShares": 50, + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144 + }, + "storageAccountUsage": { + "liveShares": { + "fileShareCount": 2, + "provisionedBandwidthMiBPerSec": 258, + "provisionedIOPS": 6064, + "provisionedStorageGiB": 64 + }, + "softDeletedShares": { + "fileShareCount": 1, + "provisionedBandwidthMiBPerSec": 125, + "provisionedIOPS": 3000, + "provisionedStorageGiB": 100 + } + } + } + } + } + }, + "operationId": "FileServices_GetServiceUsage", + "title": "GetFileServiceUsage" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileServicesList.json b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesList.json new file mode 100644 index 000000000000..5d41b99162f0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesList.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "FileServices_List", + "title": "ListFileServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileServicesListUsages.json b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesListUsages.json new file mode 100644 index 000000000000..658a0e56c6c0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesListUsages.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices/usages", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", + "properties": { + "burstingConstants": { + "burstFloorIOPS": 10000, + "burstIOScalar": 3, + "burstTimeframeSeconds": 3600 + }, + "fileShareLimits": { + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144, + "minProvisionedBandwidthMiBPerSec": 125, + "minProvisionedIOPS": 3000, + "minProvisionedStorageGiB": 32 + }, + "fileShareRecommendations": { + "bandwidthScalar": 0.1, + "baseBandwidthMiBPerSec": 125, + "baseIOPS": 3000, + "ioScalar": 1 + }, + "storageAccountLimits": { + "maxFileShares": 50, + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144 + }, + "storageAccountUsage": { + "liveShares": { + "fileShareCount": 2, + "provisionedBandwidthMiBPerSec": 258, + "provisionedIOPS": 6064, + "provisionedStorageGiB": 64 + }, + "softDeletedShares": { + "fileShareCount": 1, + "provisionedBandwidthMiBPerSec": 125, + "provisionedIOPS": 3000, + "provisionedStorageGiB": 100 + } + } + } + } + ] + } + } + }, + "operationId": "FileServices_ListServiceUsages", + "title": "ListFileServiceUsages" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut.json b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut.json new file mode 100644 index 000000000000..86ded61b97b7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EnableSMBMultichannel.json b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EnableSMBMultichannel.json new file mode 100644 index 000000000000..ab7ef45fb9b7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EnableSMBMultichannel.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSMBMultichannel" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EnableSecureSmbFeatures.json b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EnableSecureSmbFeatures.json new file mode 100644 index 000000000000..52089bda2cd2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EnableSecureSmbFeatures.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", + "kerberosTicketEncryption": "RC4-HMAC;AES-256", + "versions": "SMB2.1;SMB3.0;SMB3.1.1" + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "smb": { + "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", + "kerberosTicketEncryption": "RC4-HMAC;AES-256", + "versions": "SMB2.1;SMB3.0;SMB3.1.1" + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSecureSmbFeatures" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EncryptionInTransitRequired.json b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EncryptionInTransitRequired.json new file mode 100644 index 000000000000..21be6c9fecfb --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileServicesPut_EncryptionInTransitRequired.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "nfs": { + "encryptionInTransit": { + "required": true + } + }, + "smb": { + "encryptionInTransit": { + "required": true + } + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "nfs": { + "encryptionInTransit": { + "required": true + } + }, + "smb": { + "encryptionInTransit": { + "required": true + } + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EncryptionInTransitRequired" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileShareAclsPatch.json b/specification/storage/Storage.Management/examples/2025-08-01/FileShareAclsPatch.json new file mode 100644 index 000000000000..96ac08cc1810 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileShareAclsPatch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2021-05-01T08:49:37.0000000Z", + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + } + ] + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2021-05-01T08:49:37.0000000Z", + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + } + ] + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareAcls" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileShareSnapshotsList.json b/specification/storage/Storage.Management/examples/2025-08-01/FileShareSnapshotsList.json new file mode 100644 index 000000000000..15cfca24722c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileShareSnapshotsList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "$expand": "snapshots", + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", + "shareQuota": 1024, + "snapshotTime": "2020-10-26T05:48:07.0000000Z" + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListShareSnapshots" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesDelete.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesDelete.json new file mode 100644 index 000000000000..7aaad5ee65e6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto4506", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4079", + "shareName": "share9689", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "FileShares_Delete", + "title": "DeleteShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet.json new file mode 100644 index 000000000000..bbd019614cf9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_PaidBursting.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_PaidBursting.json new file mode 100644 index 000000000000..20fc346f5351 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_PaidBursting.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetSharePaidBursting" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_ProvisionedV2.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_ProvisionedV2.json new file mode 100644 index 000000000000..4c6fcb93adfd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_ProvisionedV2.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShareProvisionedV2" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_Stats.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_Stats.json new file mode 100644 index 000000000000..c0e8cbe73204 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesGet_Stats.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "$expand": "stats", + "accountName": "sto6217", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024, + "shareUsageBytes": 652945 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShareStats" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesLease_Acquire.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesLease_Acquire.json new file mode 100644 index 000000000000..f84fe53ee105 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesLease_Acquire.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "action": "Acquire", + "breakPeriod": null, + "leaseDuration": -1, + "leaseId": null, + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "shareName": "share124", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + }, + "operationId": "FileShares_Lease", + "title": "Acquire a lease on a share" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesLease_Break.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesLease_Break.json new file mode 100644 index 000000000000..709f0859ca63 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesLease_Break.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "action": "Break", + "breakPeriod": null, + "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "shareName": "share12", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + }, + "operationId": "FileShares_Lease", + "title": "Break a lease on a share" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList.json new file mode 100644 index 000000000000..fa8fb40d1074 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList_PaidBursting.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList_PaidBursting.json new file mode 100644 index 000000000000..8ceaf8b52898 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList_PaidBursting.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListSharesPaidBursting" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList_ProvisionedV2.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList_ProvisionedV2.json new file mode 100644 index 000000000000..4e5ebf745ca3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesList_ProvisionedV2.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListSharesProvisionedV2" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch.json new file mode 100644 index 000000000000..ffdea7d08d8a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "metadata": { + "type": "image" + } + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "metadata": { + "type": "image" + } + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch_PaidBursting.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch_PaidBursting.json new file mode 100644 index 000000000000..c2a0cd2fa02f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch_PaidBursting.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateSharePaidBursting" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch_ProvisionedV2.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch_ProvisionedV2.json new file mode 100644 index 000000000000..f45b95e587d4 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPatch_ProvisionedV2.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareProvisionedV2" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut.json new file mode 100644 index 000000000000..56d2856f134a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": {}, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" + } + }, + "201": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_AccessTier.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_AccessTier.json new file mode 100644 index 000000000000..f250953e7f77 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_AccessTier.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "accessTier": "Hot" + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "accessTier": "Hot" + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "accessTier": "Hot" + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Access Tier" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_NFS.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_NFS.json new file mode 100644 index 000000000000..ae0a4d3274e7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_NFS.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "enabledProtocols": "NFS" + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "enabledProtocols": "NFS" + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "enabledProtocols": "NFS" + } + } + } + }, + "operationId": "FileShares_Create", + "title": "Create NFS Shares" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_PaidBursting.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_PaidBursting.json new file mode 100644 index 000000000000..6777e9194bc1 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_PaidBursting.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Paid Bursting" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_ProvisionedV2.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_ProvisionedV2.json new file mode 100644 index 000000000000..7f7cabb351af --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesPut_ProvisionedV2.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutSharesProvisionedV2" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/FileSharesRestore.json b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesRestore.json new file mode 100644 index 000000000000..4fe643c9a660 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/FileSharesRestore.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "deletedShare": { + "deletedShareName": "share1249", + "deletedShareVersion": "1234567890" + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share1249", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "FileShares_Restore", + "title": "RestoreShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUserCreate.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserCreate.json new file mode 100644 index 000000000000..fe0598525a75 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserCreate.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "properties": { + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ] + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ], + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUserCreateNFSv3Enabled.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserCreateNFSv3Enabled.json new file mode 100644 index 000000000000..09625e65898e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserCreateNFSv3Enabled.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "properties": { + "properties": { + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "isNFSv3Enabled": true + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ], + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateNFSv3EnabledLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUserDelete.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserDelete.json new file mode 100644 index 000000000000..05da58275207 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "LocalUsers_Delete", + "title": "DeleteLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUserGet.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserGet.json new file mode 100644 index 000000000000..48945a79ca63 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_Get", + "title": "GetLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUserListKeys.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserListKeys.json new file mode 100644 index 000000000000..96c12b0d8849 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserListKeys.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "sharedKey": "", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykew=" + } + ] + } + } + }, + "operationId": "LocalUsers_ListKeys", + "title": "ListLocalUserKeys" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUserRegeneratePassword.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserRegeneratePassword.json new file mode 100644 index 000000000000..09efa546fbcb --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserRegeneratePassword.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "sshPassword": "" + } + } + }, + "operationId": "LocalUsers_RegeneratePassword", + "title": "RegenerateLocalUserPassword" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUserUpdate.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserUpdate.json new file mode 100644 index 000000000000..e0ada0512ecf --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUserUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "properties": { + "properties": { + "allowAclAuthorization": false, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 3000, + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", + "isNFSv3Enabled": true + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": false, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 3000, + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", + "isNFSv3Enabled": true, + "sid": "S-1-2-0-3528686663-1788730862-2791910117-1000", + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "UpdateLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUsersList.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUsersList.json new file mode 100644 index 000000000000..cbb5b82513a3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUsersList.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + }, + { + "name": "user2", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, + "permissionScopes": [ + { + "permissions": "rw", + "resourceName": "resourcename", + "service": "blob" + } + ], + "sid": "S-1-2-0-533672-235636-66334-1001", + "userId": 1001 + } + } + ] + } + } + }, + "operationId": "LocalUsers_List", + "title": "ListLocalUsers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/LocalUsersListNFSv3Enabled.json b/specification/storage/Storage.Management/examples/2025-08-01/LocalUsersListNFSv3Enabled.json new file mode 100644 index 000000000000..a267383fa71a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/LocalUsersListNFSv3Enabled.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "$include": "nfsv3", + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + }, + { + "name": "user2", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rw", + "resourceName": "resourcename", + "service": "blob" + } + ], + "sid": "S-1-2-0-533672-235636-66334-1001", + "userId": 1001 + } + } + ] + } + } + }, + "operationId": "LocalUsers_List", + "title": "ListNFSv3EnabledLocalUsers" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationGet.json b/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationGet.json new file mode 100644 index 000000000000..3428d9bbc7cc --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationGet.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "networkSecurityPerimeterConfigurationName": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "name": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "type": "Microsoft.Storage/storageAccounts/networkSecurityPerimeterConfigurations", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "properties": { + "networkSecurityPerimeter": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/res4794/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "location": "East US", + "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + }, + "profile": { + "name": "profile1", + "accessRules": [ + { + "name": "allowedSubscriptions", + "properties": { + "direction": "Inbound", + "subscriptions": [ + { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774" + } + ] + } + } + ], + "accessRulesVersion": 10, + "diagnosticSettingsVersion": 5, + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesAllowed", + "NspPublicInboundPerimeterRulesDenied" + ] + }, + "provisioningIssues": [ + { + "name": "ConfigurationPropagationFailure", + "properties": { + "description": "Failed to update Network Security Perimeter association.", + "issueType": "ConfigurationPropagationFailure", + "severity": "Error" + } + } + ], + "provisioningState": "Succeeded", + "resourceAssociation": { + "name": "resourceAssociation1", + "accessMode": "Enforced" + } + } + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_Get", + "title": "NetworkSecurityPerimeterConfigurationGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationList.json b/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationList.json new file mode 100644 index 000000000000..7bfe069ef1cd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "type": "Microsoft.Storage/storageAccounts/networkSecurityPerimeterConfigurations", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "properties": { + "networkSecurityPerimeter": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/res4794/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "location": "East US", + "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + }, + "profile": { + "name": "profile1", + "accessRules": [ + { + "name": "inVpnRule", + "properties": { + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ], + "direction": "Inbound" + } + } + ], + "accessRulesVersion": 10, + "diagnosticSettingsVersion": 5, + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesAllowed", + "NspPublicInboundPerimeterRulesDenied" + ] + }, + "provisioningState": "Succeeded", + "resourceAssociation": { + "name": "association1", + "accessMode": "Enforced" + } + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_List", + "title": "NetworkSecurityPerimeterConfigurationList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationReconcile.json new file mode 100644 index 000000000000..365893616cdb --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/NetworkSecurityPerimeterConfigurationReconcile.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "networkSecurityPerimeterConfigurationName": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_Reconcile", + "title": "NetworkSecurityPerimeterConfigurationReconcile" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/NfsV3AccountCreate.json b/specification/storage/Storage.Management/examples/2025-08-01/NfsV3AccountCreate.json new file mode 100644 index 000000000000..02d8bb3b2b7d --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/NfsV3AccountCreate.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "enableExtendedGroups": true, + "isHnsEnabled": true, + "isNfsV3Enabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" + } + ] + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "enableExtendedGroups": true, + "isHnsEnabled": true, + "isNfsV3Enabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" + } + ] + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "NfsV3AccountCreate" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/ObjectLevelWormContainerMigration.json b/specification/storage/Storage.Management/examples/2025-08-01/ObjectLevelWormContainerMigration.json new file mode 100644 index 000000000000..1043daa0367a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/ObjectLevelWormContainerMigration.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2025-08-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "BlobContainers_ObjectLevelWorm", + "title": "VersionLevelWormContainerMigration" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/OperationsList.json b/specification/storage/Storage.Management/examples/2025-08-01/OperationsList.json new file mode 100644 index 000000000000..39308a9ca37c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/OperationsList.json @@ -0,0 +1,475 @@ +{ + "parameters": { + "api-version": "2025-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Storage/storageAccounts/write", + "display": { + "description": "Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account.", + "operation": "Create/Update Storage Account", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/delete", + "display": { + "description": "Deletes an existing storage account.", + "operation": "Delete Storage Account", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listkeys/action", + "display": { + "description": "Returns the access keys for the specified storage account.", + "operation": "List Storage Account Keys", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/regeneratekey/action", + "display": { + "description": "Regenerates the access keys for the specified storage account.", + "operation": "Regenerate Storage Account Keys", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/checknameavailability/read", + "display": { + "description": "Checks that account name is valid and is not in use.", + "operation": "Check Name Availability", + "provider": "Microsoft Storage", + "resource": "Name Availability" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/read", + "display": { + "description": "Returns the list of storage accounts or gets the properties for the specified storage account.", + "operation": "List/Get Storage Account(s)", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/usages/read", + "display": { + "description": "Returns the limit and the current usage count for resources in the specified subscription", + "operation": "Get Subscription Usages", + "provider": "Microsoft Storage", + "resource": "Usage Metrics" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listAccountSas/action", + "display": { + "description": "Returns the Account SAS token for the specified storage account.", + "operation": "Returns Storage Account SAS Token", + "provider": "Microsoft Storage", + "resource": "Storage Account SAS Token" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listServiceSas/action", + "display": { + "description": "Storage Service SAS Token", + "operation": "Returns Storage Service SAS Token", + "provider": "Microsoft Storage", + "resource": "Returns the Service SAS token for the specified storage account." + } + }, + { + "name": "Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action", + "display": { + "description": "Notifies Microsoft.Storage that virtual network or subnet is being deleted", + "operation": "Delete virtual network or subnets notifications", + "provider": "Microsoft Storage", + "resource": "Location" + } + }, + { + "name": "Microsoft.Storage/operations/read", + "display": { + "description": "Polls the status of an asynchronous operation.", + "operation": "Poll Asynchronous Operation", + "provider": "Microsoft Storage", + "resource": "Operations" + } + }, + { + "name": "Microsoft.Storage/register/action", + "display": { + "description": "Registers the subscription for the storage resource provider and enables the creation of storage accounts.", + "operation": "Registers the Storage Resource Provider", + "provider": "Microsoft Storage", + "resource": "Storage Resource Provider" + } + }, + { + "name": "Microsoft.Storage/skus/read", + "display": { + "description": "Lists the Skus supported by Microsoft.Storage.", + "operation": "List Skus", + "provider": "Microsoft Storage", + "resource": "Skus" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/services/diagnosticSettings/write", + "display": { + "description": "Create/Update storage account diagnostic settings.", + "operation": "Create/Update Diagnostic Settings", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "UsedCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "Account used capacity", + "displayName": "Used capacity", + "fillGapWithZero": false, + "resourceIdDimensionNameOverride": "AccountResourceId", + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "BlobCapacity", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.", + "displayName": "Blob Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "BlobCount", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The number of Blob in the storage account’s Blob service.", + "displayName": "Blob Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "ContainerCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of containers in the storage account’s Blob service.", + "displayName": "Blob Container Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "BlobProvisionedSize", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The amount of storage provisioned in the storage account’s Blob service in bytes.", + "displayName": "Blob Provisioned Size", + "fillGapWithZero": false, + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "TableCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s Table service in bytes.", + "displayName": "Table Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "TableCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of table in the storage account’s Table service.", + "displayName": "Table Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "TableEntityCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of table entities in the storage account’s Table service.", + "displayName": "Table Entity Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "QueueCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s Queue service in bytes.", + "displayName": "Queue Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "QueueCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of queue in the storage account’s Queue service.", + "displayName": "Queue Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "QueueMessageCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The approximate number of queue messages in the storage account’s Queue service.", + "displayName": "Queue Message Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "FileCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s File service in bytes.", + "displayName": "File Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "FileProvisionedSize", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage provisioned in the storage account’s File service in bytes.", + "displayName": "File Provisioned Size", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "FileCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of file in the storage account’s File service.", + "displayName": "File Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "FileShareCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of file shares in the storage account’s File service.", + "displayName": "File Share Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationsList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationDelete.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationDelete.json new file mode 100644 index 000000000000..e4feabe69e9f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "Queue_Delete", + "title": "QueueOperationDelete" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationGet.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationGet.json new file mode 100644 index 000000000000..227308588ad8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + } + }, + "operationId": "Queue_Get", + "title": "QueueOperationGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationList.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationList.json new file mode 100644 index 000000000000..93d2924d0505 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto328/queue6187", + "value": [ + { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + }, + { + "name": "queue6186", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6186", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + ] + } + } + }, + "operationId": "Queue_List", + "title": "QueueOperationList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPatch.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPatch.json new file mode 100644 index 000000000000..e87edcc61aa9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPatch.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" + } + } + }, + "operationId": "Queue_Update", + "title": "QueueOperationPatch" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPut.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPut.json new file mode 100644 index 000000000000..ed9a9ab1290b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPut.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" + } + } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPut" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPutWithMetadata.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPutWithMetadata.json new file mode 100644 index 000000000000..b4c490a55e9e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueOperationPutWithMetadata.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queue": { + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + }, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPutWithMetadata" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesGet.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesGet.json new file mode 100644 index 000000000000..41bbfdfd0a77 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "QueueServices_GetServiceProperties", + "title": "QueueServicesGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesList.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesList.json new file mode 100644 index 000000000000..b9be335c8c57 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + ] + } + } + }, + "operationId": "QueueServices_List", + "title": "QueueServicesList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesPut.json b/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesPut.json new file mode 100644 index 000000000000..6821c2a788b4 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/QueueServicesPut.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "QueueServices_SetServiceProperties", + "title": "QueueServicesPut" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/SKUList.json b/specification/storage/Storage.Management/examples/2025-08-01/SKUList.json new file mode 100644 index 000000000000..efccf9dfefc3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/SKUList.json @@ -0,0 +1,6456 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "true" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + } + ] + } + } + }, + "operationId": "Skus_List", + "title": "SkuList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/SKUListWithLocationInfo.json b/specification/storage/Storage.Management/examples/2025-08-01/SKUListWithLocationInfo.json new file mode 100644 index 000000000000..20a26b1738c7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/SKUListWithLocationInfo.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "FileStorage", + "locationInfo": [ + { + "location": "centraluseuap", + "zones": [ + "1", + "2", + "3" + ] + } + ], + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + } + ] + } + } + }, + "operationId": "Skus_List", + "title": "SKUListWithLocationInfo" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountAbortHierarchicalNamespaceMigration.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountAbortHierarchicalNamespaceMigration.json new file mode 100644 index 000000000000..78940ce4facb --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountAbortHierarchicalNamespaceMigration.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_AbortHierarchicalNamespaceMigration", + "title": "StorageAccountAbortHierarchicalNamespaceMigration" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCheckNameAvailability.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCheckNameAvailability.json new file mode 100644 index 000000000000..0dc84a7776f2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCheckNameAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": { + "name": "sto3363", + "type": "Microsoft.Storage/storageAccounts" + }, + "api-version": "2025-08-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "StorageAccounts_CheckNameAvailability", + "title": "StorageAccountCheckNameAvailability" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate.json new file mode 100644 index 000000000000..09f20cd4e0d2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateAllowedCopyScopeToAAD.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateAllowedCopyScopeToAAD.json new file mode 100644 index 000000000000..9430b3a0d8a6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateAllowedCopyScopeToAAD.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToAAD" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json new file mode 100644 index 000000000000..106257403b66 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToPrivateLink" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDisallowPublicNetworkAccess.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDisallowPublicNetworkAccess.json new file mode 100644 index 000000000000..9082d9147862 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDisallowPublicNetworkAccess.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDisallowPublicNetworkAccess" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json new file mode 100644 index 000000000000..be66edd86553 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.z24.blob.storage.azure.net/", + "dfs": "https://sto4445.z24.dfs.storage.azure.net/", + "file": "https://sto4445.z24.file.storage.azure.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-internetrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-internetrouting.z24.file.storage.azure.net/", + "web": "https://sto4445-internetrouting.z24.web.storage.azure.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-microsoftrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-microsoftrouting.z24.file.storage.azure.net/", + "queue": "https://sto4445-microsoftrouting.z24.queue.storage.azure.net/", + "table": "https://sto4445-microsoftrouting.z24.table.storage.azure.net/", + "web": "https://sto4445-microsoftrouting.z24.web.storage.azure.net/" + }, + "queue": "https://sto4445.z24.queue.storage.azure.net/", + "table": "https://sto4445.z24.table.storage.azure.net/", + "web": "https://sto4445.z24.web.storage.azure.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToAzureDnsZone" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDnsEndpointTypeToStandard.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDnsEndpointTypeToStandard.json new file mode 100644 index 000000000000..b12d24f80a13 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateDnsEndpointTypeToStandard.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToStandard" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateEnablePublicNetworkAccess.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateEnablePublicNetworkAccess.json new file mode 100644 index 000000000000..312fb4a21481 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateEnablePublicNetworkAccess.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "publicNetworkAccess": "Enabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateEnablePublicNetworkAccess" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json new file mode 100644 index 000000000000..bcebeaa898a1 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "accountName": "dst112", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "default", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "sourceContainer": "scont139" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnDestination" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateObjectReplicationPolicyOnSource.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateObjectReplicationPolicyOnSource.json new file mode 100644 index 000000000000..12891454e681 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateObjectReplicationPolicyOnSource.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "accountName": "src1122", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnSource" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreatePremiumBlockBlobStorage.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreatePremiumBlockBlobStorage.json new file mode 100644 index 000000000000..f754764e502a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreatePremiumBlockBlobStorage.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "minimumTlsVersion": "TLS1_2" + }, + "sku": { + "name": "Premium_LRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "accessTier": "Premium", + "allowBlobPublicAccess": false, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreatePremiumBlockBlobStorage" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json new file mode 100644 index 000000000000..04ad85f5a774 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json new file mode 100644 index 000000000000..97ded46bbdad --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "accountName": "sto131918", + "api-version": "2025-08-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "encryption": { + "identity": { + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res131918", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId." +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateWithImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateWithImmutabilityPolicy.json new file mode 100644 index 000000000000..b20dbd3bca90 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreateWithImmutabilityPolicy.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + } + }, + "sku": { + "name": "Standard_GRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:25:33.4863236Z", + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateWithImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate_placement.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate_placement.json new file mode 100644 index 000000000000..d179cc1f25a6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate_placement.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate_placement" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate_zones.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate_zones.json new file mode 100644 index 000000000000..e46b2901ea89 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountCreate_zones.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate_zones" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDelete.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDelete.json new file mode 100644 index 000000000000..2399953f74f4 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteBlobInventoryPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteBlobInventoryPolicy.json new file mode 100644 index 000000000000..b0a1bfce4a79 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteBlobInventoryPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BlobInventoryPolicies_Delete", + "title": "StorageAccountDeleteBlobInventoryPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteManagementPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteManagementPolicy.json new file mode 100644 index 000000000000..d57b79028490 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteManagementPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ManagementPolicies_Delete", + "title": "StorageAccountDeleteManagementPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteObjectReplicationPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteObjectReplicationPolicy.json new file mode 100644 index 000000000000..f354e15ce5c8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeleteObjectReplicationPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ObjectReplicationPolicies_Delete", + "title": "StorageAccountDeleteObjectReplicationPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeletePrivateEndpointConnection.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..5fc5d8262218 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountDeletePrivateEndpointConnection.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "StorageAccountDeletePrivateEndpointConnection" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableAD.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableAD.json new file mode 100644 index 000000000000..e81c2ff93034 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableAD.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "azureFilesIdentityBasedAuthentication": { + "activeDirectoryProperties": { + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", + "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", + "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "azureFilesIdentityBasedAuthentication": { + "activeDirectoryProperties": { + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", + "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", + "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" + }, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableAD" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableCMK.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableCMK.json new file mode 100644 index 000000000000..7b74e7734af2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableCMK.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableCMK" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableSmbOAuth.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableSmbOAuth.json new file mode 100644 index 000000000000..037e4e8d89e8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEnableSmbOAuth.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "azureFilesIdentityBasedAuthentication": { + "directoryServiceOptions": "None", + "smbOAuthSettings": { + "isSmbOAuthEnabled": true + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "azureFilesIdentityBasedAuthentication": { + "directoryServiceOptions": "None", + "smbOAuthSettings": { + "isSmbOAuthEnabled": true + } + }, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableSmbOAuth" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEncryptionScopeList.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEncryptionScopeList.json new file mode 100644 index 000000000000..4ade8f5568af --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountEncryptionScopeList.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "scope-1", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-1", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + }, + { + "name": "scope-2", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-2", + "properties": { + "creationTime": "2018-10-16T04:32:14.3355306Z", + "keyVaultProperties": { + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" + }, + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" + } + } + ] + } + } + }, + "operationId": "EncryptionScopes_List", + "title": "StorageAccountEncryptionScopeList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountFailover.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountFailover.json new file mode 100644 index 000000000000..a6af6a800f57 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountFailover.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailover" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountFailoverPlanned.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountFailoverPlanned.json new file mode 100644 index 000000000000..32fc83b4ed35 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountFailoverPlanned.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "failoverType": "Planned", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailoverPlanned" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetAsyncSkuConversionStatus.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetAsyncSkuConversionStatus.json new file mode 100644 index 000000000000..9d158bd8e36d --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetAsyncSkuConversionStatus.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "StorageV2", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "minimumTlsVersion": "TLS1_2", + "storageAccountSkuConversionStatus": { + "endTime": "2021-09-02T02:53:39.0932539Z", + "skuConversionStatus": "InProgress", + "startTime": "2022-09-01T02:53:39.0932539Z", + "targetSkuName": "Standard_GRS" + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetAsyncSkuConversionStatus" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetBlobInventoryPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetBlobInventoryPolicy.json new file mode 100644 index 000000000000..d65613d48de1 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetBlobInventoryPolicy.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_Get", + "title": "StorageAccountGetBlobInventoryPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetEncryptionScope.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetEncryptionScope.json new file mode 100644 index 000000000000..7ab10cf33c68 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetEncryptionScope.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encyrption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Get", + "title": "StorageAccountGetEncryptionScope" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetManagementPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetManagementPolicy.json new file mode 100644 index 000000000000..cf5a4de383f7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetManagementPolicy.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T03:01:55.7168089Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_Get", + "title": "StorageAccountGetManagementPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetMigrationFailed.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetMigrationFailed.json new file mode 100644 index 000000000000..8213ee293c3d --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetMigrationFailed.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "migrationName": "default", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/accountMigrations", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", + "properties": { + "migrationFailedDetailedReason": "ZRS is not supported for accounts with archive data.", + "migrationFailedReason": "ZrsNotSupportedForAccountWithArchiveData", + "migrationStatus": "Failed", + "targetSkuName": "Standard_ZRS" + } + } + } + }, + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "title": "StorageAccountGetMigrationFailed" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetMigrationInProgress.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetMigrationInProgress.json new file mode 100644 index 000000000000..c86fa607e170 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetMigrationInProgress.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "migrationName": "default", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/accountMigrations", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", + "properties": { + "migrationStatus": "InProgress", + "targetSkuName": "Standard_ZRS" + } + } + } + }, + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "title": "StorageAccountGetMigrationInProgress" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetObjectReplicationPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetObjectReplicationPolicy.json new file mode 100644 index 000000000000..965c0976a36d --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetObjectReplicationPolicy.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{objectReplicationPolicy-Id}", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/{objectReplicationPolicy-Id}", + "properties": { + "destinationAccount": "destAccount1", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "{objectReplicationPolicy-Id}", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobC", + "blobD" + ] + }, + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "sto2527" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_Get", + "title": "StorageAccountGetObjectReplicationPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPrivateEndpointConnection.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..b2a7311bc59a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPrivateEndpointConnection.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "StorageAccountGetPrivateEndpointConnection" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetProperties.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetProperties.json new file mode 100644 index 000000000000..64d75a8318a3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetProperties.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetProperties" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesCMKEnabled.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesCMKEnabled.json new file mode 100644 index 000000000000..a5582543c47a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesCMKEnabled.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKEnabled" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json new file mode 100644 index 000000000000..79c0c2043f5c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyExpirationTimestamp": "2019-12-13T20:36:23.7023290Z", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKVersionExpirationTime" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json new file mode 100644 index 000000000000..9ffbc704b478 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "$expand": "geoReplicationStats", + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": false, + "canPlannedFailover": false, + "lastSyncTime": "2018-10-30T00:25:34Z", + "postFailoverRedundancy": "Standard_LRS", + "postPlannedFailoverRedundancy": "Standard_GRS", + "status": "Live" + }, + "isHnsEnabled": true, + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json new file mode 100644 index 000000000000..fad5e6161697 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "$expand": "geoReplicationStats", + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "canPlannedFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "postFailoverRedundancy": "Standard_LRS", + "postPlannedFailoverRedundancy": "Standard_GRS", + "status": "Live" + }, + "isHnsEnabled": true, + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountHierarchicalNamespaceMigration.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountHierarchicalNamespaceMigration.json new file mode 100644 index 000000000000..adf30ec0eb74 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountHierarchicalNamespaceMigration.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "requestType": "HnsOnValidationRequest", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_HierarchicalNamespaceMigration", + "title": "StorageAccountHierarchicalNamespaceMigration" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountLeverageIPv6Ability.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountLeverageIPv6Ability.json new file mode 100644 index 000000000000..593ed9ab68b6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountLeverageIPv6Ability.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + }, + "networkAcls": { + "defaultAction": "Deny", + "ipv6Rules": [ + { + "action": "Allow", + "value": "2001:0db8:85a3::/64" + } + ] + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + }, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "ipRules": [], + "ipv6Rules": [ + { + "action": "Allow", + "value": "2001:0db8:85a3::/64" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "ipv6Endpoints": { + "blob": "https://sto8596-ipv6.blob.core.windows.net/", + "dfs": "https://sto8596-ipv6.dfs.core.windows.net/", + "file": "https://sto8596-ipv6.file.core.windows.net/", + "queue": "https://sto8596-ipv6.queue.core.windows.net/", + "table": "https://sto8596-ipv6.table.core.windows.net/", + "web": "https://sto8596-ipv6.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "statusOfPrimary": "available" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateEnableIpv6Features" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountList.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountList.json new file mode 100644 index 000000000000..bb1e81b5ec94 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountList.json @@ -0,0 +1,315 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto1125", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:28:53.4540398Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "primaryEndpoints": { + "blob": "https://sto1125.blob.core.windows.net/", + "dfs": "https://sto1125.dfs.core.windows.net/", + "file": "https://sto1125.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto1125-internetrouting.blob.core.windows.net/", + "dfs": "https://sto1125-internetrouting.dfs.core.windows.net/", + "file": "https://sto1125-internetrouting.file.core.windows.net/", + "web": "https://sto1125-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto1125-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto1125-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto1125-microsoftrouting.file.core.windows.net/", + "queue": "https://sto1125-microsoftrouting.queue.core.windows.net/", + "table": "https://sto1125-microsoftrouting.table.core.windows.net/", + "web": "https://sto1125-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto1125.queue.core.windows.net/", + "table": "https://sto1125.table.core.windows.net/", + "web": "https://sto1125.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto3699", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699", + "identity": { + "type": "SystemAssigned", + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T10:06:30.6093014Z", + "primaryEndpoints": { + "blob": "https://sto3699.blob.core.windows.net/", + "file": "https://sto3699.file.core.windows.net/", + "queue": "https://sto3699.queue.core.windows.net/", + "table": "https://sto3699.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto6637", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T10:09:39.5625175Z", + "primaryEndpoints": { + "blob": "https://sto6637.blob.core.windows.net/", + "file": "https://sto6637.file.core.windows.net/", + "queue": "https://sto6637.queue.core.windows.net/", + "table": "https://sto6637.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto834", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:28:20.8686541Z", + "primaryEndpoints": { + "blob": "https://sto834.blob.core.windows.net/", + "file": "https://sto834.file.core.windows.net/", + "queue": "https://sto834.queue.core.windows.net/", + "table": "https://sto834.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto9174", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174", + "identity": { + "type": "SystemAssigned", + "principalId": "933e3ddf-1802-4a51-9469-18a33b576f88", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T09:46:19.6556989Z", + "primaryEndpoints": { + "blob": "https://sto9174.blob.core.windows.net/", + "file": "https://sto9174.file.core.windows.net/", + "queue": "https://sto9174.queue.core.windows.net/", + "table": "https://sto9174.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_List", + "title": "StorageAccountList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListAccountSAS.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListAccountSAS.json new file mode 100644 index 000000000000..35c28c5c330e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListAccountSAS.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "sto8588", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "keyToSign": "key1", + "signedExpiry": "2017-05-24T11:42:03.1567373Z", + "signedPermission": "r", + "signedProtocol": "https,http", + "signedResourceTypes": "s", + "signedServices": "b", + "signedStart": "2017-05-24T10:42:03.1567373Z" + }, + "resourceGroupName": "res7985", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "accountSasToken": "sv=2015-04-05&ss=b&srt=s&sp=r&st=2017-05-24T10%3A42%3A03Z&se=2017-05-24T11%3A42%3A03Z&spr=https,http&sig=Z0I%2BEpM%2BPPlTC8ApfUf%2BcffO2aahMgZim3U0iArqsS0%3D" + } + } + }, + "operationId": "StorageAccounts_ListAccountSAS", + "title": "StorageAccountListAccountSAS" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListBlobInventoryPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListBlobInventoryPolicy.json new file mode 100644 index 000000000000..0776860856bd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListBlobInventoryPolicy.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + } + ] + } + } + } + ] + } + } + }, + "operationId": "BlobInventoryPolicies_List", + "title": "StorageAccountGetBlobInventoryPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListByResourceGroup.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListByResourceGroup.json new file mode 100644 index 000000000000..f90dd0e87353 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListByResourceGroup.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "resourceGroupName": "res6117", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto4036", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4036", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:24:47.818801Z", + "isHnsEnabled": true, + "primaryEndpoints": { + "blob": "https://sto4036.blob.core.windows.net/", + "dfs": "https://sto4036.dfs.core.windows.net/", + "file": "https://sto4036.file.core.windows.net/", + "queue": "https://sto4036.queue.core.windows.net/", + "table": "https://sto4036.table.core.windows.net/", + "web": "https://sto4036.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto4452", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4452", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:24:15.7068366Z", + "primaryEndpoints": { + "blob": "https://sto4452.blob.core.windows.net/", + "file": "https://sto4452.file.core.windows.net/", + "queue": "https://sto4452.queue.core.windows.net/", + "table": "https://sto4452.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_ListByResourceGroup", + "title": "StorageAccountListByResourceGroup" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListKeys.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListKeys.json new file mode 100644 index 000000000000..510a28877681 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListKeys.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto2220", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res418", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_ListKeys", + "title": "StorageAccountListKeys" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListLocationUsage.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListLocationUsage.json new file mode 100644 index 000000000000..fae61f6dd57c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListLocationUsage.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "location": "eastus2(stage)", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Storage Accounts", + "value": "StorageAccounts" + }, + "currentValue": 55, + "limit": 250, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_ListByLocation", + "title": "UsageList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListObjectReplicationPolicies.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListObjectReplicationPolicies.json new file mode 100644 index 000000000000..8ee80e71e219 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListObjectReplicationPolicies.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "c6c23999-fd4e-433a-bcf9-1db69d27cd8a", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/c6c23999-fd4e-433a-bcf9-1db69d27cd8a", + "properties": { + "destinationAccount": "destAccount1", + "sourceAccount": "sto2527" + } + }, + { + "name": "141d23dc-8958-4b48-b6e6-5a40bf1af116", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/objectReplicationPolicies/141d23dc-8958-4b48-b6e6-5a40bf1af116", + "properties": { + "destinationAccount": "destAccount2", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "sourceAccount": "sto2527" + } + } + ] + } + } + }, + "operationId": "ObjectReplicationPolicies_List", + "title": "StorageAccountListObjectReplicationPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListPrivateEndpointConnections.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListPrivateEndpointConnections.json new file mode 100644 index 000000000000..3ca64ac0c4b7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListPrivateEndpointConnections.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest02" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PrivateEndpointConnections_List", + "title": "StorageAccountListPrivateEndpointConnections" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListPrivateLinkResources.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListPrivateLinkResources.json new file mode 100644 index 000000000000..5bb646523b1f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListPrivateLinkResources.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "blob", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob", + "properties": { + "groupId": "blob", + "requiredMembers": [ + "blob" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "name": "blob_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary", + "properties": { + "groupId": "blob_secondary", + "requiredMembers": [ + "blob_secondary" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "name": "table", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table", + "properties": { + "groupId": "table", + "requiredMembers": [ + "table" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "name": "table_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary", + "properties": { + "groupId": "table_secondary", + "requiredMembers": [ + "table_secondary" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "name": "dfs", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs", + "properties": { + "groupId": "dfs", + "requiredMembers": [ + "dfs" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + }, + { + "name": "dfs_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary", + "properties": { + "groupId": "dfs_secondary", + "requiredMembers": [ + "dfs_secondary" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + } + ] + } + } + }, + "operationId": "PrivateLinkResources_ListByStorageAccount", + "title": "StorageAccountListPrivateLinkResources" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListServiceSAS.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListServiceSAS.json new file mode 100644 index 000000000000..17190c3ec766 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountListServiceSAS.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto1299", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "canonicalizedResource": "/blob/sto1299/music", + "signedExpiry": "2017-05-24T11:32:48.8457197Z", + "signedPermission": "l", + "signedResource": "c" + }, + "resourceGroupName": "res7439", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "serviceSasToken": "sv=2015-04-05&sr=c&se=2017-05-24T11%3A32%3A48Z&sp=l&sig=PoF8yBUGixsjzwroLmw7vG3VbGz4KB2woZC2D4C2oio%3D" + } + } + }, + "operationId": "StorageAccounts_ListServiceSAS", + "title": "StorageAccountListServiceSAS" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPatchEncryptionScope.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPatchEncryptionScope.json new file mode 100644 index 000000000000..7567d773a97f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPatchEncryptionScope.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "encryptionScope": { + "properties": { + "keyVaultProperties": { + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" + }, + "source": "Microsoft.KeyVault" + } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "keyVaultProperties": { + "currentVersionedKeyIdentifier": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Patch", + "title": "StorageAccountPatchEncryptionScope" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPostMigration.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPostMigration.json new file mode 100644 index 000000000000..d636acdef423 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPostMigration.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "targetSkuName": "Standard_ZRS" + } + }, + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_CustomerInitiatedMigration", + "title": "StorageAccountPostMigration" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutEncryptionScope.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutEncryptionScope.json new file mode 100644 index 000000000000..260ac4b65212 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutEncryptionScope.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "encryptionScope": {}, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + }, + "201": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScope" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json new file mode 100644 index 000000000000..3b808afc12d0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "encryptionScope": { + "properties": { + "requireInfrastructureEncryption": true + } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "requireInfrastructureEncryption": true, + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + }, + "201": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "requireInfrastructureEncryption": true, + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScopeWithInfrastructureEncryption" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutPrivateEndpointConnection.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutPrivateEndpointConnection.json new file mode 100644 index 000000000000..261a288e24d6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountPutPrivateEndpointConnection.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "status": "Approved" + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Put", + "title": "StorageAccountPutPrivateEndpointConnection" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRegenerateKerbKey.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRegenerateKerbKey.json new file mode 100644 index 000000000000..4f44ab07e8f9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRegenerateKerbKey.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-08-01", + "monitor": "true", + "regenerateKey": { + "keyName": "kerb1" + }, + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + }, + { + "keyName": "kerb1", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKerbKey" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRegenerateKey.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRegenerateKey.json new file mode 100644 index 000000000000..9bc5a20be4aa --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRegenerateKey.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-08-01", + "monitor": "true", + "regenerateKey": { + "keyName": "key2" + }, + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKey" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRevokeUserDelegationKeys.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRevokeUserDelegationKeys.json new file mode 100644 index 000000000000..e244bba42598 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountRevokeUserDelegationKeys.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-08-01", + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "StorageAccounts_RevokeUserDelegationKeys", + "title": "StorageAccountRevokeUserDelegationKeys" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicy.json new file mode 100644 index 000000000000..dd39a8e17f13 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicy.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "creationTime": { + "lastNDays": 1000 + }, + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "creationTime": { + "lastNDays": 1000 + }, + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json new file mode 100644 index 000000000000..4f382814824f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json @@ -0,0 +1,199 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "DeletionId", + "Deleted", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "DeletionId", + "Deleted", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json new file mode 100644 index 000000000000..9016c6ed1de1 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json @@ -0,0 +1,197 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Tags", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "Deleted", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Tags", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "Deleted", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy.json new file mode 100644 index 000000000000..9f7f8fd749a2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + }, + { + "name": "olcmtest2", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, + "filters": { + "blobIndexMatch": [ + { + "name": "tag1", + "op": "==", + "value": "val1" + }, + { + "name": "tag2", + "op": "==", + "value": "val2" + } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + }, + { + "name": "olcmtest2", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, + "filters": { + "blobIndexMatch": [ + { + "name": "tag1", + "op": "==", + "value": "val1" + }, + { + "name": "tag2", + "op": "==", + "value": "val2" + } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyColdTierActions.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyColdTierActions.json new file mode 100644 index 000000000000..c598f1d43afd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyColdTierActions.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCold": { + "daysAfterModificationGreaterThan": 30 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCold": { + "daysAfterModificationGreaterThan": 30 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyColdTierActions" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json new file mode 100644 index 000000000000..5e0b522793ba --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 90 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 90 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyForBlockAndAppendBlobs" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyHotTierActions.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyHotTierActions.json new file mode 100644 index 000000000000..84f9f2dff28c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyHotTierActions.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "tierToHot": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "tierToHot": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyHotTierActions" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json new file mode 100644 index 000000000000..5ff731bb7a86 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyWithSnapshotAndVersion" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json new file mode 100644 index 000000000000..a7a905d70aae --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json new file mode 100644 index 000000000000..36ef7796c64c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json new file mode 100644 index 000000000000..7d62fd8d01f2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + }, + "version": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + }, + "version": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastTierChangeTimeActions" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate.json new file mode 100644 index 000000000000..b4ea9af6ffc5 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateAllowedCopyScopeToAAD.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateAllowedCopyScopeToAAD.json new file mode 100644 index 000000000000..724a333f18b2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateAllowedCopyScopeToAAD.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateAllowedCopyScopeToAAD" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateDisablePublicNetworkAccess.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateDisablePublicNetworkAccess.json new file mode 100644 index 000000000000..13748746157b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateDisablePublicNetworkAccess.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateDisablePublicNetworkAccess" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json new file mode 100644 index 000000000000..41b6b5e67efe --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "accountName": "dst112", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + }, + { + "destinationContainer": "dcont179", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnDestination" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json new file mode 100644 index 000000000000..488afb4082ce --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "accountName": "src1122", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnSource" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json new file mode 100644 index 000000000000..ad793989e249 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "properties": { + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json new file mode 100644 index 000000000000..f7ce53f47a2e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "accountName": "sto131918", + "api-version": "2025-08-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "properties": { + "encryption": { + "identity": { + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res131918", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateWithImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateWithImmutabilityPolicy.json new file mode 100644 index 000000000000..23bb39461e69 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdateWithImmutabilityPolicy.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Locked" + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Locked" + } + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateWithImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate_placement.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate_placement.json new file mode 100644 index 000000000000..d03dc79b1e13 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate_placement.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate_placement" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate_zones.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate_zones.json new file mode 100644 index 000000000000..e80996cd9bdf --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageAccountUpdate_zones.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "zones": [ + "1" + ] + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate_zones" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Create.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Create.json new file mode 100644 index 000000000000..addb678a925f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Create.json @@ -0,0 +1,86 @@ +{ + "operationId": "Connectors_Create", + "title": "CreateConnector", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2025-08-01", + "connectorName": "testconnector", + "storageAccountName": "teststorageaccount", + "resource": { + "location": "eastus", + "properties": { + "state": "Active", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Delete.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Delete.json new file mode 100644 index 000000000000..81d041c52f0c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Delete.json @@ -0,0 +1,22 @@ +{ + "operationId": "Connectors_Delete", + "title": "DeleteConnector", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "connectorName": "testconnector", + "api-version": "2025-08-01" + }, + "responses": { + "204": {}, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Get.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Get.json new file mode 100644 index 000000000000..ea51f9943547 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Get.json @@ -0,0 +1,40 @@ +{ + "operationId": "Connectors_Get", + "title": "GetConnector", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "connectorName": "testconnector" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json new file mode 100644 index 000000000000..1cbe749165f8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json @@ -0,0 +1,68 @@ +{ + "operationId": "Connectors_ListByStorageAccount", + "title": "ListConnectorsByStorageAccount", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector1", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/Jill", + "name": "testconnector2", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "westus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json new file mode 100644 index 000000000000..b7ee2af1ec56 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json @@ -0,0 +1,30 @@ +{ + "operationId": "Connectors_TestExistingConnection", + "title": "ExistingConnectionTest", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "connectorName": "testconnector", + "body": { + "uniqueId": "12345678-1234-1234-1234-12345678912" + } + }, + "responses": { + "200": { + "body": { + "storageConnectorMethodName": "TestExistingConnection", + "storageConnectorRequestId": "request-id-123" + } + }, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Update.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Update.json new file mode 100644 index 000000000000..350ec36f984b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Update.json @@ -0,0 +1,59 @@ +{ + "operationId": "Connectors_Update", + "title": "UpdateConnector", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "connectorName": "testconnector", + "properties": { + "properties": { + "source": { + "type": "DataShare", + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/newTestIdentity" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/newTestIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + }, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Create.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Create.json new file mode 100644 index 000000000000..3329e6af49c5 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Create.json @@ -0,0 +1,86 @@ +{ + "operationId": "DataShares_Create", + "title": "CreateDataShare", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2025-08-01", + "dataShareName": "testdatashare", + "storageAccountName": "teststorageaccount", + "resource": { + "location": "eastus", + "properties": { + "description": "Dummy data share", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "r" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare", + "name": "testdatashare", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare", + "name": "testdatashare", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Delete.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Delete.json new file mode 100644 index 000000000000..79820abe5598 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Delete.json @@ -0,0 +1,22 @@ +{ + "operationId": "DataShares_Delete", + "title": "DeleteDataShare", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "dataShareName": "testdatashare", + "api-version": "2025-08-01" + }, + "responses": { + "204": {}, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Get.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Get.json new file mode 100644 index 000000000000..ae0ddc03ae7f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Get.json @@ -0,0 +1,40 @@ +{ + "operationId": "DataShares_Get", + "title": "GetDataShare", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "dataShareName": "testdatashare" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccounts/datashares/testdatashare", + "name": "testdatashare", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json new file mode 100644 index 000000000000..c551761d5b8b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json @@ -0,0 +1,68 @@ +{ + "operationId": "DataShares_ListByStorageAccount", + "title": "ListDataSharesByStorageAccount", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare1", + "name": "testdatashare1", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare1:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare2", + "name": "testdatashare2", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "westus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare2:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Update.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Update.json new file mode 100644 index 000000000000..06a57eb35bc3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Update.json @@ -0,0 +1,66 @@ +{ + "operationId": "DataShares_Update", + "title": "UpdateDataShare", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "dataShareName": "testdatashare", + "properties": { + "properties": { + "description": "New dummy data share", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-123456781234", + "tenantId": "00000000-0000-0000-0000-987654321987", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder1/bar", + "displayName": "virtualBar" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare", + "name": "testdatashare", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "New dummy data share", + "dataShareUri": "azds://eastus:testdatashare:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-123456781234", + "tenantId": "00000000-0000-0000-0000-987654321987", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder1/bar", + "displayName": "virtualBar" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableOperationDelete.json b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationDelete.json new file mode 100644 index 000000000000..405997fce077 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "204": {} + }, + "operationId": "Table_Delete", + "title": "TableOperationDelete" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableOperationGet.json b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationGet.json new file mode 100644 index 000000000000..78ce3fc89f67 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Get", + "title": "TableOperationGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableOperationList.json b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationList.json new file mode 100644 index 000000000000..7fdf4fc6e10b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables?api-version=2022-09-01&NextTableName=1!40!bXl0YWJsZXNoYzU0OAEwMWQ2MTI5ZTJmYjVmODFh", + "value": [ + { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + }, + { + "name": "table6186", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6186", + "properties": { + "tableName": "table6186" + } + } + ] + } + } + }, + "operationId": "Table_List", + "title": "TableOperationList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPatch.json b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPatch.json new file mode 100644 index 000000000000..24580567e30e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPatch.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Update", + "title": "TableOperationPatch" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPut.json b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPut.json new file mode 100644 index 000000000000..5bf26e55cdf2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPut.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Create", + "title": "TableOperationPut" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPutOrPatchAcls.json b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPutOrPatchAcls.json new file mode 100644 index 000000000000..cf0f783011b7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPutOrPatchAcls.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ] + } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ], + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Update", + "title": "TableOperationPutOrPatchAcls" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPutOrPatchAclsTableCreate.json b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPutOrPatchAclsTableCreate.json new file mode 100644 index 000000000000..c60b34a2ce66 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableOperationPutOrPatchAclsTableCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ] + } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ], + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Create", + "title": "TableOperationPutOrPatchAcls" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableServicesGet.json b/specification/storage/Storage.Management/examples/2025-08-01/TableServicesGet.json new file mode 100644 index 000000000000..89e95d40cf95 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableServicesGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableServiceName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "TableServices_GetServiceProperties", + "title": "TableServicesGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableServicesList.json b/specification/storage/Storage.Management/examples/2025-08-01/TableServicesList.json new file mode 100644 index 000000000000..79ce4b3fa2d9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableServicesList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + ] + } + } + }, + "operationId": "TableServices_List", + "title": "TableServicesList" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/TableServicesPut.json b/specification/storage/Storage.Management/examples/2025-08-01/TableServicesPut.json new file mode 100644 index 000000000000..da96f81900f1 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/TableServicesPut.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableServiceName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "TableServices_SetServiceProperties", + "title": "TableServicesPut" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json new file mode 100644 index 000000000000..0fd36122fcb6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + }, + "204": {} + }, + "operationId": "StorageTaskAssignments_Delete", + "title": "DeleteStorageTaskAssignment" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json new file mode 100644 index 000000000000..10b2377ed68d --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + } + }, + "operationId": "StorageTaskAssignments_Get", + "title": "GetStorageTaskAssignment" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json new file mode 100644 index 000000000000..14a59da10076 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "report": { + "prefix": "container1" + } + } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + } + }, + "operationId": "StorageTaskAssignments_Update", + "title": "PatchStorageTaskAssignment" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json new file mode 100644 index 000000000000..49327fc9c280 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "201": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + } + }, + "operationId": "StorageTaskAssignments_Create", + "title": "PutStorageTaskAssignment" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json new file mode 100644 index 000000000000..ed239cf1affd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "201": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + } + }, + "operationId": "StorageTaskAssignments_Create", + "title": "PutStorageTaskAssignmentRequiredProperties" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json new file mode 100644 index 000000000000..91aecd118f49 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "instance1", + "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", + "properties": { + "finishTime": "2023-06-23T00:40:10.2931264Z", + "objectFailedCount": "0", + "objectsOperatedOnCount": "150", + "objectsSucceededCount": "150", + "objectsTargetedCount": "150", + "runResult": "Succeeded", + "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", + "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", + "taskVersion": "1" + } + }, + { + "name": "instance2", + "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", + "properties": { + "finishTime": "2023-06-23T00:40:10.2931264Z", + "objectFailedCount": "0", + "objectsOperatedOnCount": "150", + "objectsSucceededCount": "150", + "objectsTargetedCount": "150", + "runResult": "Succeeded", + "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", + "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", + "taskVersion": "1" + } + } + ] + } + } + }, + "operationId": "StorageTaskAssignmentInstancesReport_List", + "title": "ListStorageTaskAssignmentInstancesReportSummary" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json new file mode 100644 index 000000000000..f7ab5b5c0e4e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment #1", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + }, + { + "name": "myassignment2", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", + "properties": { + "description": "My Storage task assignment #2", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix3", + "prefix4" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container2" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask2" + } + } + ] + } + } + }, + "operationId": "StorageTaskAssignments_List", + "title": "ListStorageTaskAssignmentsForAccount" +} diff --git a/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json new file mode 100644 index 000000000000..bc8cfd6eacad --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-08-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "instance1", + "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", + "properties": { + "finishTime": "2023-06-23T00:40:10.2931264Z", + "objectFailedCount": "0", + "objectsOperatedOnCount": "150", + "objectsSucceededCount": "150", + "objectsTargetedCount": "150", + "runResult": "Succeeded", + "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", + "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", + "taskVersion": "1" + } + }, + { + "name": "instance2", + "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", + "properties": { + "finishTime": "2023-06-23T00:40:10.2931264Z", + "objectFailedCount": "0", + "objectsOperatedOnCount": "150", + "objectsSucceededCount": "150", + "objectsTargetedCount": "150", + "runResult": "Succeeded", + "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", + "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", + "taskVersion": "1" + } + } + ] + } + } + }, + "operationId": "StorageTaskAssignmentsInstancesReport_List", + "title": "ListStorageTaskAssignmentsInstancesReportSummary" +} diff --git a/specification/storage/Storage.Management/main.tsp b/specification/storage/Storage.Management/main.tsp index 01008a6646e1..36070d9ff166 100644 --- a/specification/storage/Storage.Management/main.tsp +++ b/specification/storage/Storage.Management/main.tsp @@ -34,6 +34,8 @@ import "./TableServiceProperties.tsp"; import "./Table.tsp"; import "./NetworkSecurityPerimeterConfiguration.tsp"; import "./StorageTaskAssignment.tsp"; +import "./StorageConnector.tsp"; +import "./StorageDataShare.tsp"; import "./routes.tsp"; using TypeSpec.Rest; @@ -59,6 +61,11 @@ enum Versions { * The 2025-06-01 API version. */ v2025_06_01: "2025-06-01", + + /** + * The 2025-08-01 API version. + */ + v2025_08_01: "2025-08-01", } interface Operations diff --git a/specification/storage/Storage.Management/models.tsp b/specification/storage/Storage.Management/models.tsp index 26f669729dd7..41837ee12668 100644 --- a/specification/storage/Storage.Management/models.tsp +++ b/specification/storage/Storage.Management/models.tsp @@ -1065,6 +1065,109 @@ union TriggerType { OnSchedule: "OnSchedule", } +/** + * The type of the backing data source for storage connector + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union StorageConnectorSourceType { + /** + * Source type - DataShare + */ + DataShare: "DataShare", + + string, +} + +/** + * The state of the storage connector + */ +union StorageConnectorState { + /** + * Whether the connector is active + */ + Active: "Active", + + /** + * Whether the connector is inactive + */ + Inactive: "Inactive", + + string, +} + +/** + * The auth type supported for bucket connection in storage connector. + */ +union StorageConnectorAuthType { + /** + * Managed Identity auth type + */ + ManagedIdentity: "ManagedIdentity", + + string, +} + +/** + * The connection type for bucket connection in storage connector. + */ +union StorageConnectorConnectionType { + /** + * DataShare connection type + */ + DataShare: "DataShare", + + string, +} + +/** + * The type of the backing data source for storage connector + */ +union StorageConnectorDataSourceType { + /** + * Azure DataShare data source type. + */ + Azure_DataShare: "Azure_DataShare", + + string, +} + +/** + * The permissions supported in access policies for storage data share + */ +union StorageDataShareAccessPolicyPermission { + /** + * No permission + */ + None: "None", + + /** + * Read permission + */ + Read: "Read", + + string, +} + +/** + * Provisioning state of the resource at the time the operation was called. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union NativeDataSharingProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Accepted: "Accepted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", +} + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model BlobServiceItems { /** @@ -6048,3 +6151,260 @@ alias ETagHeader = { @header("ETag") eTag: string; }; + +/** + * The storage connector properties + */ +model StorageConnectorProperties { + /** + * System-generated identifier for the Storage Connector. Not a valid input parameter when creating. + */ + @visibility(Lifecycle.Read) + uniqueId?: string; + + /** + * State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active) + * (While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise. + */ + state?: StorageConnectorState = StorageConnectorState.Active; + + /** + * System-generated creation time for the Storage Connector. Not a valid input parameter when creating. + */ + @visibility(Lifecycle.Read) + creationTime?: string; + + /** + * Arbitrary description of this Storage Connector. Max 250 characters. + */ + @maxLength(250) + description?: string; + + /** + * Test connection to backing data source before creating the storage connector. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + testConnection?: boolean = false; + + /** + * The type of backing data source for this Storage Connector. + */ + @visibility(Lifecycle.Create, Lifecycle.Read) + dataSourceType: StorageConnectorDataSourceType; + + /** + * Information about how to communicate with and authenticate to the backing data store. + */ + source: StorageConnectorSource; + + /** + * Represents the provisioning state of the storage connector. + */ + @visibility(Lifecycle.Read) + provisioningState?: NativeDataSharingProvisioningState; +} + +/** + * The storage connector backing data source information + */ +@discriminator("type") +model StorageConnectorSource { + /** + * Type of the Storage Connector. Not mutable once the Storage Connector is created." + */ + type: StorageConnectorSourceType; +} + +/** + * The properties of data share source + */ +model DataShareSource extends StorageConnectorSource { + /** + * The type for data share source + */ + @visibility(Lifecycle.Read) + type: StorageConnectorSourceType.DataShare; + + /** + * Details for how to connect to the backing data store. + */ + @visibility(Lifecycle.Create, Lifecycle.Read) + connection: StorageConnectorConnection; + + /** + * Details for how to authenticate to the backing data store. + */ + authProperties: StorageConnectorAuthProperties; +} + +/** + * The connection properties of the backing data source + */ +@discriminator("type") +model StorageConnectorConnection { + /** + * Type of the connection. Controls the type of the connection object. Not mutable once the Storage Connector is created. + */ + type: StorageConnectorConnectionType; +} + +/** + * The connection details for Data Share source + */ +model DataShareConnection extends StorageConnectorConnection { + /** + * The type for data share connection + */ + @visibility(Lifecycle.Read) + type: StorageConnectorConnectionType.DataShare; + + /** + * The URI of the backing DataShare. Must be in the format: azds://:: + */ + @pattern("^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + dataShareUri: string; +} + +/** + * The authentication properties of the backing data source + */ +@discriminator("type") +model StorageConnectorAuthProperties { + /** + * Type of the authentication properties. Controls the type of the authProperties object + */ + type: StorageConnectorAuthType; +} + +/** + * The managed identity auth properties for dataShare connection. + */ +model ManagedIdentityAuthProperties extends StorageConnectorAuthProperties { + /** + * The type of managed identity auth + */ + @visibility(Lifecycle.Read) + type: StorageConnectorAuthType.ManagedIdentity; + + /** + * ARM ResourceId of the managed identity that should be used to authenticate to the backing data source. + */ + identityResourceId?: string; +} + +/** + * Test existing connection request properties + */ +model TestExistingConnectionRequest { + /** + * The uniqueId of the storage connector as returned by the server. + */ + uniqueId: string; +} + +/** + * Test connection response properties + */ +model TestConnectionResponse { + /** + * Indicates the method used to validate the connection to the backing data store. + * Valid values are `GetBlob` and `ListBlobs` for failure, and `TestExistingConnection` for success. + */ + @minLength(1) + storageConnectorMethodName: string; + + /** + * A string representing the error received from the backing data store. + * Format will vary depending on the data store type and will be capped at 1 MB in size. + * The error message will be empty if the connection was successful. + */ + storageConnectorErrorMessage?: string; + + /** + * The request Id associated with the request sent to the backing data store for validation. + */ + @minLength(1) + storageConnectorRequestId: string; +} + +/** + * The storage datashare properties + */ +model StorageDataShareProperties { + /** + * System-generated identifier for the Storage DataShare. Not a valid input parameter when creating. + */ + @visibility(Lifecycle.Read) + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + dataShareIdentifier?: string; + + /** Arbitrary description of this Data Share. Max 250 characters. + * + */ + @maxLength(250) + description?: string; + + /** + * The DataShare URI to be shared with the consumer. + * URI Format - 'azds://::'. + */ + @visibility(Lifecycle.Read) + @pattern("^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + dataShareUri: string; + + /** + * List of access policies that specify the permission allowed to a managed identity. + */ + @identifiers(#[]) + accessPolicies: StorageDataShareAccessPolicy[]; + + /** + * List of assets that specify the properties of the shared resources. + */ + @identifiers(#[]) + assets: StorageDataShareAsset[]; + + /** + * Represents the provisioning state of the storage datashare. + */ + @visibility(Lifecycle.Read) + provisioningState?: NativeDataSharingProvisioningState; +} + +/** + * Policy that specify the permission allowed to a managed identity + */ +model StorageDataShareAccessPolicy { + /** + * The AAD principal ID of the Managed Identity. + */ + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + principalId: string; + + /** + * The AAD tenant ID of the Managed Identity. + */ + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + tenantId: string; + + /** + * Allowed permissions. Currently, only supported value is Read. + */ + permission: StorageDataShareAccessPolicyPermission; +} + +/** + * Properties of a shared resource. + */ +model StorageDataShareAsset { + /** + * Source Path to be shared. It can be a folder or a blob. + * The asset path should contain container name followed by path within the container, e.g. /container1/logs/external. + */ + assetPath: string; + + /** + * Consumer visible name of the original path. + */ + displayName: string; +} diff --git a/specification/storage/cspell.yaml b/specification/storage/cspell.yaml index d5f02be4bf9d..1dc0d0722248 100644 --- a/specification/storage/cspell.yaml +++ b/specification/storage/cspell.yaml @@ -41,6 +41,8 @@ words: - unleased - versionid - xsmb + - ONTAP + - azds overrides: - filename: '**/specification/storage/data-plane/Microsoft.FileStorage/**/*.json' words: diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json index 1c1b044b0e41..a12d1d5a6893 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json @@ -104,6 +104,12 @@ }, { "name": "StorageTaskAssignments" + }, + { + "name": "Connectors" + }, + { + "name": "DataShares" } ], "paths": { @@ -2059,13 +2065,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors": { "get": { - "operationId": "EncryptionScopes_List", + "operationId": "Connectors_ListByStorageAccount", "tags": [ - "EncryptionScopes" + "Connectors" ], - "description": "Lists all the encryption scopes available under the specified storage account.", + "description": "List all Storage Connectors in a Storage Account.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2085,86 +2091,34 @@ "minLength": 3, "maxLength": 24, "pattern": "^[a-z0-9]+$" - }, - { - "name": "$maxpagesize", - "in": "query", - "description": "Optional, specifies the maximum number of encryption scopes that will be included in the list response.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 5000 - }, - { - "name": "$filter", - "in": "query", - "description": "Optional. When specified, only encryption scope names starting with the filter will be listed.", - "required": false, - "type": "string" - }, - { - "name": "$include", - "in": "query", - "description": "Optional, when specified, will list encryption scopes with the specific state. Defaults to All", - "required": false, - "type": "string", - "enum": [ - "All", - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ListEncryptionScopesInclude", - "modelAsString": true, - "values": [ - { - "name": "All", - "value": "All" - }, - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EncryptionScopeListResult" + "$ref": "#/definitions/ConnectorListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-examples": { - "StorageAccountEncryptionScopeList": { - "$ref": "./examples/StorageAccountEncryptionScopeList.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors/{connectorName}": { "get": { - "operationId": "EncryptionScopes_Get", + "operationId": "Connectors_Get", "tags": [ - "EncryptionScopes" + "Connectors" ], - "description": "Returns the properties for the specified encryption scope.", + "description": "Get the specified Storage Connector.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2186,41 +2140,37 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "encryptionScopeName", + "name": "connectorName", "in": "path", - "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "description": "The name of the Storage Connector.", "required": true, "type": "string", "minLength": 3, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EncryptionScope" + "$ref": "#/definitions/Connector" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "StorageAccountGetEncryptionScope": { - "$ref": "./examples/StorageAccountGetEncryptionScope.json" - } } }, "put": { - "operationId": "EncryptionScopes_Put", + "operationId": "Connectors_Create", "tags": [ - "EncryptionScopes" + "Connectors" ], - "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.", + "description": "Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2242,59 +2192,68 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "encryptionScopeName", + "name": "connectorName", "in": "path", - "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "description": "The name of the Storage Connector.", "required": true, "type": "string", "minLength": 3, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" }, { - "name": "encryptionScope", + "name": "resource", "in": "body", - "description": "Encryption scope properties to be used for the create or update.", + "description": "Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", "required": true, "schema": { - "$ref": "#/definitions/EncryptionScope" + "$ref": "#/definitions/Connector" } } ], "responses": { "200": { - "description": "Resource 'EncryptionScope' update operation succeeded", + "description": "Resource 'Connector' update operation succeeded", "schema": { - "$ref": "#/definitions/EncryptionScope" + "$ref": "#/definitions/Connector" } }, "201": { - "description": "Resource 'EncryptionScope' create operation succeeded", + "description": "Resource 'Connector' create operation succeeded", "schema": { - "$ref": "#/definitions/EncryptionScope" + "$ref": "#/definitions/Connector" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-examples": { - "StorageAccountPutEncryptionScope": { - "$ref": "./examples/StorageAccountPutEncryptionScope.json" - }, - "StorageAccountPutEncryptionScopeWithInfrastructureEncryption": { - "$ref": "./examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json" - } - } + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Connector" + }, + "x-ms-long-running-operation": true }, "patch": { - "operationId": "EncryptionScopes_Patch", + "operationId": "Connectors_Update", "tags": [ - "EncryptionScopes" + "Connectors" ], - "description": "Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.", + "description": "Update a Storage Connector.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2316,21 +2275,22 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "encryptionScopeName", + "name": "connectorName", "in": "path", - "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "description": "The name of the Storage Connector.", "required": true, "type": "string", "minLength": 3, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" }, { - "name": "encryptionScope", + "name": "properties", "in": "body", - "description": "Encryption scope properties to be used for the update.", + "description": "The updated properties of the Storage Connector.", "required": true, "schema": { - "$ref": "#/definitions/EncryptionScope" + "$ref": "#/definitions/ConnectorUpdate" } } ], @@ -2338,30 +2298,42 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EncryptionScope" + "$ref": "#/definitions/Connector" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-examples": { - "StorageAccountPatchEncryptionScope": { - "$ref": "./examples/StorageAccountPatchEncryptionScope.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover": { - "post": { - "operationId": "StorageAccounts_Failover", + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Connector" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connectors_Delete", "tags": [ - "StorageAccounts" + "Connectors" ], - "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/azure/storage/common/storage-disaster-recovery-guidance", + "description": "Delete a Storage Connector.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2383,25 +2355,19 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "failoverType", - "in": "query", - "description": "The parameter is set to 'Planned' to indicate whether a Planned failover is requested.", - "required": false, + "name": "connectorName", + "in": "path", + "description": "The name of the Storage Connector.", + "required": true, "type": "string", - "enum": [ - "Planned" - ], - "x-ms-enum": { - "modelAsString": false - } + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" } ], "responses": { - "200": { - "description": "Azure operation completed successfully." - }, "202": { - "description": "Resource operation accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2414,34 +2380,29 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-examples": { - "StorageAccountFailover": { - "$ref": "./examples/StorageAccountFailover.json" - }, - "StorageAccountFailoverPlanned": { - "$ref": "./examples/StorageAccountFailoverPlanned.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices": { - "get": { - "operationId": "FileServices_List", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors/{connectorName}/testExistingConnection": { + "post": { + "operationId": "Connectors_TestExistingConnection", "tags": [ - "FileServices" + "Connectors" ], - "description": "List all file services in storage accounts", + "description": "This method is used to verify that the connection to the backing data store works.\nThis API is designed to be used for monitoring and debugging purposes. From the caller’s perspective,\nthis method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc.\nIf the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2461,36 +2422,69 @@ "minLength": 3, "maxLength": 24, "pattern": "^[a-z0-9]+$" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the Storage Connector.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "This method is used to verify that the connection to the backing data store works. This API is designed to be used for monitoring and debugging purposes. From the caller’s perspective, this method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc. If the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte.", + "required": true, + "schema": { + "$ref": "#/definitions/TestExistingConnectionRequest" + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FileServiceItems" + "$ref": "#/definitions/TestConnectionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-examples": { - "ListFileServices": { - "$ref": "./examples/FileServicesList.json" - } - } + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/TestConnectionResponse" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/dataShares": { "get": { - "operationId": "FileServices_GetServiceProperties", + "operationId": "DataShares_ListByStorageAccount", "tags": [ - "FileServices" + "DataShares" ], - "description": "Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "description": "List all Storage DataShares in a Storage Account.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2516,28 +2510,28 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/FileServiceProperties" + "$ref": "#/definitions/DataShareListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-examples": { - "GetFileServices": { - "$ref": "./examples/FileServicesGet.json" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "put": { - "operationId": "FileServices_SetServiceProperties", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/dataShares/{dataShareName}": { + "get": { + "operationId": "DataShares_Get", "tags": [ - "FileServices" + "DataShares" ], - "description": "Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "description": "Get the specified Storage DataShare.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2559,9 +2553,765 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "parameters", - "in": "body", - "description": "The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "name": "dataShareName", + "in": "path", + "description": "The name of the Storage DataShare.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataShare" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "operationId": "DataShares_Create", + "tags": [ + "DataShares" + ], + "description": "Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "dataShareName", + "in": "path", + "description": "The name of the Storage DataShare.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", + "required": true, + "schema": { + "$ref": "#/definitions/DataShare" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataShare' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataShare" + } + }, + "201": { + "description": "Resource 'DataShare' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataShare" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DataShare" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DataShares_Update", + "tags": [ + "DataShares" + ], + "description": "Update a Storage DataShare.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "dataShareName", + "in": "path", + "description": "The name of the Storage DataShare.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The updated properties of the Storage DataShare.", + "required": true, + "schema": { + "$ref": "#/definitions/DataShareUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataShare" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DataShare" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DataShares_Delete", + "tags": [ + "DataShares" + ], + "description": "Delete a Storage DataShare.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "dataShareName", + "in": "path", + "description": "The name of the Storage DataShare.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes": { + "get": { + "operationId": "EncryptionScopes_List", + "tags": [ + "EncryptionScopes" + ], + "description": "Lists all the encryption scopes available under the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of encryption scopes that will be included in the list response.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 5000 + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only encryption scope names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional, when specified, will list encryption scopes with the specific state. Defaults to All", + "required": false, + "type": "string", + "enum": [ + "All", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ListEncryptionScopesInclude", + "modelAsString": true, + "values": [ + { + "name": "All", + "value": "All" + }, + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScopeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountEncryptionScopeList": { + "$ref": "./examples/StorageAccountEncryptionScopeList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}": { + "get": { + "operationId": "EncryptionScopes_Get", + "tags": [ + "EncryptionScopes" + ], + "description": "Returns the properties for the specified encryption scope.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetEncryptionScope": { + "$ref": "./examples/StorageAccountGetEncryptionScope.json" + } + } + }, + "put": { + "operationId": "EncryptionScopes_Put", + "tags": [ + "EncryptionScopes" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "encryptionScope", + "in": "body", + "description": "Encryption scope properties to be used for the create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EncryptionScope' update operation succeeded", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "201": { + "description": "Resource 'EncryptionScope' create operation succeeded", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPutEncryptionScope": { + "$ref": "./examples/StorageAccountPutEncryptionScope.json" + }, + "StorageAccountPutEncryptionScopeWithInfrastructureEncryption": { + "$ref": "./examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json" + } + } + }, + "patch": { + "operationId": "EncryptionScopes_Patch", + "tags": [ + "EncryptionScopes" + ], + "description": "Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "encryptionScope", + "in": "body", + "description": "Encryption scope properties to be used for the update.", + "required": true, + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPatchEncryptionScope": { + "$ref": "./examples/StorageAccountPatchEncryptionScope.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover": { + "post": { + "operationId": "StorageAccounts_Failover", + "tags": [ + "StorageAccounts" + ], + "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/azure/storage/common/storage-disaster-recovery-guidance", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "failoverType", + "in": "query", + "description": "The parameter is set to 'Planned' to indicate whether a Planned failover is requested.", + "required": false, + "type": "string", + "enum": [ + "Planned" + ], + "x-ms-enum": { + "modelAsString": false + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountFailover": { + "$ref": "./examples/StorageAccountFailover.json" + }, + "StorageAccountFailoverPlanned": { + "$ref": "./examples/StorageAccountFailoverPlanned.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices": { + "get": { + "operationId": "FileServices_List", + "tags": [ + "FileServices" + ], + "description": "List all file services in storage accounts", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListFileServices": { + "$ref": "./examples/FileServicesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default": { + "get": { + "operationId": "FileServices_GetServiceProperties", + "tags": [ + "FileServices" + ], + "description": "Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetFileServices": { + "$ref": "./examples/FileServicesGet.json" + } + } + }, + "put": { + "operationId": "FileServices_SetServiceProperties", + "tags": [ + "FileServices" + ], + "description": "Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", "required": true, "schema": { "$ref": "#/definitions/FileServiceProperties" @@ -7174,6 +7924,25 @@ ] } }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "title": "Tracked Resource", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, "AzureEntityResource": { "type": "object", "title": "Entity Resource", @@ -7697,6 +8466,57 @@ }, "x-ms-external": true }, + "Connector": { + "type": "object", + "description": "A Connector is a tracked ARM resource modeled as a sub-resource of a Storage Account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageConnectorProperties", + "description": "The properties of the Storage Connector." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ConnectorListResult": { + "type": "object", + "description": "The response of a Connector list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Connector items on this page", + "items": { + "$ref": "#/definitions/Connector" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ConnectorUpdate": { + "type": "object", + "description": "A Connector is a tracked ARM resource modeled as a sub-resource of a Storage Account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageConnectorPropertiesUpdate", + "description": "The properties of the Storage Connector." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "ContainerProperties": { "type": "object", "description": "The properties of a container.", @@ -7875,6 +8695,121 @@ "name" ] }, + "DataShare": { + "type": "object", + "description": "A DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageDataShareProperties", + "description": "The properties of the Storage DataShare." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "DataShareConnection": { + "type": "object", + "description": "The connection details for Data Share source", + "properties": { + "dataShareUri": { + "type": "string", + "description": "The URI of the backing DataShare. Must be in the format: azds://::", + "pattern": "^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + } + }, + "required": [ + "dataShareUri" + ], + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorConnection" + } + ], + "x-ms-discriminator-value": "DataShare" + }, + "DataShareListResult": { + "type": "object", + "description": "The response of a DataShare list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataShare items on this page", + "items": { + "$ref": "#/definitions/DataShare" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataShareSource": { + "type": "object", + "description": "The properties of data share source", + "properties": { + "connection": { + "$ref": "#/definitions/StorageConnectorConnection", + "description": "Details for how to connect to the backing data store.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "authProperties": { + "$ref": "#/definitions/StorageConnectorAuthProperties", + "description": "Details for how to authenticate to the backing data store." + } + }, + "required": [ + "connection", + "authProperties" + ], + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorSource" + } + ], + "x-ms-discriminator-value": "DataShare" + }, + "DataShareSourceUpdate": { + "type": "object", + "description": "The properties of data share source", + "properties": { + "authProperties": { + "$ref": "#/definitions/StorageConnectorAuthPropertiesUpdate", + "description": "Details for how to authenticate to the backing data store." + } + }, + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorSourceUpdate" + } + ], + "x-ms-discriminator-value": "DataShare" + }, + "DataShareUpdate": { + "type": "object", + "description": "A DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageDataSharePropertiesUpdate", + "description": "The properties of the Storage DataShare." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "DateAfterCreation": { "type": "object", "description": "Object to define snapshot and version action conditions.", @@ -10192,26 +11127,58 @@ } } }, - "LocalUsers": { + "LocalUsers": { + "type": "object", + "description": "List of local users requested, and if paging is required, a URL to the next page of local users.", + "properties": { + "value": { + "type": "array", + "description": "The LocalUser items on this page", + "items": { + "$ref": "#/definitions/LocalUser" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ManagedIdentityAuthProperties": { + "type": "object", + "description": "The managed identity auth properties for dataShare connection.", + "properties": { + "identityResourceId": { + "type": "string", + "description": "ARM ResourceId of the managed identity that should be used to authenticate to the backing data source." + } + }, + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorAuthProperties" + } + ], + "x-ms-discriminator-value": "ManagedIdentity" + }, + "ManagedIdentityAuthPropertiesUpdate": { "type": "object", - "description": "List of local users requested, and if paging is required, a URL to the next page of local users.", + "description": "The managed identity auth properties for dataShare connection.", "properties": { - "value": { - "type": "array", - "description": "The LocalUser items on this page", - "items": { - "$ref": "#/definitions/LocalUser" - } - }, - "nextLink": { + "identityResourceId": { "type": "string", - "format": "uri", - "description": "The link to the next page of items" + "description": "ARM ResourceId of the managed identity that should be used to authenticate to the backing data source." } }, - "required": [ - "value" - ] + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorAuthPropertiesUpdate" + } + ], + "x-ms-discriminator-value": "ManagedIdentity" }, "ManagementPolicy": { "type": "object", @@ -10564,6 +11531,48 @@ ] } }, + "NativeDataSharingProvisioningState": { + "type": "string", + "description": "Provisioning state of the resource at the time the operation was called.", + "enum": [ + "Accepted", + "Creating", + "Succeeded", + "Deleting", + "Canceled", + "Failed" + ], + "x-ms-enum": { + "name": "NativeDataSharingProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, "NetworkRuleSet": { "type": "object", "description": "Network rule set", @@ -13343,139 +14352,549 @@ "description": "Network rule set", "x-ms-client-name": "NetworkRuleSet" }, - "largeFileSharesState": { - "$ref": "#/definitions/LargeFileSharesState", - "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + "largeFileSharesState": { + "$ref": "#/definitions/LargeFileSharesState", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + }, + "routingPreference": { + "$ref": "#/definitions/RoutingPreference", + "description": "Maintains information about the network routing choice opted by the user for data transfer", + "x-ms-client-name": "RoutingPreference" + }, + "dualStackEndpointPreference": { + "$ref": "#/definitions/DualStackEndpointPreference", + "description": "Maintains information about the Internet protocol opted by the user." + }, + "allowBlobPublicAccess": { + "type": "boolean", + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", + "x-ms-client-name": "AllowBlobPublicAccess" + }, + "minimumTlsVersion": { + "$ref": "#/definitions/MinimumTlsVersion", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + }, + "allowSharedKeyAccess": { + "type": "boolean", + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + }, + "allowCrossTenantReplication": { + "type": "boolean", + "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." + }, + "defaultToOAuthAuthentication": { + "type": "boolean", + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageAccount", + "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.", + "x-ms-client-name": "ImmutableStorageWithVersioning" + }, + "allowedCopyScope": { + "$ref": "#/definitions/AllowedCopyScope", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + }, + "dnsEndpointType": { + "$ref": "#/definitions/DnsEndpointType", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + }, + "geoPriorityReplicationStatus": { + "$ref": "#/definitions/GeoPriorityReplicationStatus", + "description": "Status indicating whether Geo Priority Replication is enabled for the account." + } + } + }, + "StorageAccountRegenerateKeyParameters": { + "type": "object", + "description": "The parameters used to regenerate the storage account key.", + "properties": { + "keyName": { + "type": "string", + "description": "The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2." + } + }, + "required": [ + "keyName" + ] + }, + "StorageAccountSkuConversionStatus": { + "type": "object", + "description": "This defines the sku conversion status object for asynchronous sku conversions.", + "properties": { + "skuConversionStatus": { + "$ref": "#/definitions/SkuConversionStatus", + "description": "This property indicates the current sku conversion status.", + "readOnly": true + }, + "targetSkuName": { + "$ref": "#/definitions/SkuName", + "description": "This property represents the target sku name to which the account sku is being converted asynchronously." + }, + "startTime": { + "type": "string", + "description": "This property represents the sku conversion start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "description": "This property represents the sku conversion end time.", + "readOnly": true + } + } + }, + "StorageAccountUpdateParameters": { + "type": "object", + "description": "The parameters that can be provided when updating the storage account properties.", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value." + }, + "tags": { + "type": "object", + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters", + "description": "The parameters used when updating a storage account.", + "x-ms-client-flatten": true + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server." + }, + "zones": { + "type": "array", + "description": "Optional. Gets or sets the pinned logical availability zone for the storage account.", + "items": { + "type": "string" + } + }, + "placement": { + "$ref": "#/definitions/Placement", + "description": "Optional. Gets or sets the zonal placement details for the storage account." + } + } + }, + "StorageConnectorAuthProperties": { + "type": "object", + "description": "The authentication properties of the backing data source", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorAuthType", + "description": "Type of the authentication properties. Controls the type of the authProperties object" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageConnectorAuthPropertiesUpdate": { + "type": "object", + "description": "The authentication properties of the backing data source", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorAuthType", + "description": "Type of the authentication properties. Controls the type of the authProperties object" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageConnectorAuthType": { + "type": "string", + "description": "The auth type supported for bucket connection in storage connector.", + "enum": [ + "ManagedIdentity" + ], + "x-ms-enum": { + "name": "StorageConnectorAuthType", + "modelAsString": true, + "values": [ + { + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "description": "Managed Identity auth type" + } + ] + } + }, + "StorageConnectorConnection": { + "type": "object", + "description": "The connection properties of the backing data source", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorConnectionType", + "description": "Type of the connection. Controls the type of the connection object. Not mutable once the Storage Connector is created." + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageConnectorConnectionType": { + "type": "string", + "description": "The connection type for bucket connection in storage connector.", + "enum": [ + "DataShare" + ], + "x-ms-enum": { + "name": "StorageConnectorConnectionType", + "modelAsString": true, + "values": [ + { + "name": "DataShare", + "value": "DataShare", + "description": "DataShare connection type" + } + ] + } + }, + "StorageConnectorDataSourceType": { + "type": "string", + "description": "The type of the backing data source for storage connector", + "enum": [ + "Azure_DataShare" + ], + "x-ms-enum": { + "name": "StorageConnectorDataSourceType", + "modelAsString": true, + "values": [ + { + "name": "Azure_DataShare", + "value": "Azure_DataShare", + "description": "Azure DataShare data source type." + } + ] + } + }, + "StorageConnectorProperties": { + "type": "object", + "description": "The storage connector properties", + "properties": { + "uniqueId": { + "type": "string", + "description": "System-generated identifier for the Storage Connector. Not a valid input parameter when creating.", + "readOnly": true + }, + "state": { + "type": "string", + "description": "State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active)\n(While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise.", + "default": "Active", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "StorageConnectorState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Whether the connector is active" + }, + { + "name": "Inactive", + "value": "Inactive", + "description": "Whether the connector is inactive" + } + ] + } }, - "routingPreference": { - "$ref": "#/definitions/RoutingPreference", - "description": "Maintains information about the network routing choice opted by the user for data transfer", - "x-ms-client-name": "RoutingPreference" + "creationTime": { + "type": "string", + "description": "System-generated creation time for the Storage Connector. Not a valid input parameter when creating.", + "readOnly": true }, - "dualStackEndpointPreference": { - "$ref": "#/definitions/DualStackEndpointPreference", - "description": "Maintains information about the Internet protocol opted by the user." + "description": { + "type": "string", + "description": "Arbitrary description of this Storage Connector. Max 250 characters.", + "maxLength": 250 }, - "allowBlobPublicAccess": { + "testConnection": { "type": "boolean", - "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", - "x-ms-client-name": "AllowBlobPublicAccess" - }, - "minimumTlsVersion": { - "$ref": "#/definitions/MinimumTlsVersion", - "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + "description": "Test connection to backing data source before creating the storage connector.", + "default": false, + "x-ms-mutability": [ + "update", + "create" + ] }, - "allowSharedKeyAccess": { - "type": "boolean", - "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + "dataSourceType": { + "$ref": "#/definitions/StorageConnectorDataSourceType", + "description": "The type of backing data source for this Storage Connector.", + "x-ms-mutability": [ + "read", + "create" + ] }, - "allowCrossTenantReplication": { - "type": "boolean", - "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." + "source": { + "$ref": "#/definitions/StorageConnectorSource", + "description": "Information about how to communicate with and authenticate to the backing data store." }, - "defaultToOAuthAuthentication": { - "type": "boolean", - "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + "provisioningState": { + "$ref": "#/definitions/NativeDataSharingProvisioningState", + "description": "Represents the provisioning state of the storage connector.", + "readOnly": true + } + }, + "required": [ + "dataSourceType", + "source" + ] + }, + "StorageConnectorPropertiesUpdate": { + "type": "object", + "description": "The storage connector properties", + "properties": { + "state": { + "type": "string", + "description": "State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active)\n(While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise.", + "default": "Active", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "StorageConnectorState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Whether the connector is active" + }, + { + "name": "Inactive", + "value": "Inactive", + "description": "Whether the connector is inactive" + } + ] + } }, - "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." + "description": { + "type": "string", + "description": "Arbitrary description of this Storage Connector. Max 250 characters.", + "maxLength": 250 }, - "immutableStorageWithVersioning": { - "$ref": "#/definitions/ImmutableStorageAccount", - "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.", - "x-ms-client-name": "ImmutableStorageWithVersioning" + "testConnection": { + "type": "boolean", + "description": "Test connection to backing data source before creating the storage connector.", + "default": false, + "x-ms-mutability": [ + "update", + "create" + ] }, - "allowedCopyScope": { - "$ref": "#/definitions/AllowedCopyScope", - "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + "source": { + "$ref": "#/definitions/StorageConnectorSourceUpdate", + "description": "Information about how to communicate with and authenticate to the backing data store." + } + } + }, + "StorageConnectorSource": { + "type": "object", + "description": "The storage connector backing data source information", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorSourceType", + "description": "Type of the Storage Connector. Not mutable once the Storage Connector is created.\"" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageConnectorSourceType": { + "type": "string", + "description": "The type of the backing data source for storage connector", + "enum": [ + "DataShare" + ], + "x-ms-enum": { + "name": "StorageConnectorSourceType", + "modelAsString": true, + "values": [ + { + "name": "DataShare", + "value": "DataShare", + "description": "Source type - DataShare" + } + ] + } + }, + "StorageConnectorSourceUpdate": { + "type": "object", + "description": "The storage connector backing data source information", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorSourceType", + "description": "Type of the Storage Connector. Not mutable once the Storage Connector is created.\"" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageDataShareAccessPolicy": { + "type": "object", + "description": "Policy that specify the permission allowed to a managed identity", + "properties": { + "principalId": { + "type": "string", + "description": "The AAD principal ID of the Managed Identity.", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, - "dnsEndpointType": { - "$ref": "#/definitions/DnsEndpointType", - "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + "tenantId": { + "type": "string", + "description": "The AAD tenant ID of the Managed Identity.", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" }, - "geoPriorityReplicationStatus": { - "$ref": "#/definitions/GeoPriorityReplicationStatus", - "description": "Status indicating whether Geo Priority Replication is enabled for the account." + "permission": { + "$ref": "#/definitions/StorageDataShareAccessPolicyPermission", + "description": "Allowed permissions. Currently, only supported value is Read." } + }, + "required": [ + "principalId", + "tenantId", + "permission" + ] + }, + "StorageDataShareAccessPolicyPermission": { + "type": "string", + "description": "The permissions supported in access policies for storage data share", + "enum": [ + "None", + "Read" + ], + "x-ms-enum": { + "name": "StorageDataShareAccessPolicyPermission", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No permission" + }, + { + "name": "Read", + "value": "Read", + "description": "Read permission" + } + ] } }, - "StorageAccountRegenerateKeyParameters": { + "StorageDataShareAsset": { "type": "object", - "description": "The parameters used to regenerate the storage account key.", + "description": "Properties of a shared resource.", "properties": { - "keyName": { + "assetPath": { "type": "string", - "description": "The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2." + "description": "Source Path to be shared. It can be a folder or a blob.\nThe asset path should contain container name followed by path within the container, e.g. /container1/logs/external." + }, + "displayName": { + "type": "string", + "description": "Consumer visible name of the original path." } }, "required": [ - "keyName" + "assetPath", + "displayName" ] }, - "StorageAccountSkuConversionStatus": { + "StorageDataShareProperties": { "type": "object", - "description": "This defines the sku conversion status object for asynchronous sku conversions.", + "description": "The storage datashare properties", "properties": { - "skuConversionStatus": { - "$ref": "#/definitions/SkuConversionStatus", - "description": "This property indicates the current sku conversion status.", + "dataShareIdentifier": { + "type": "string", + "description": "System-generated identifier for the Storage DataShare. Not a valid input parameter when creating.", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "readOnly": true }, - "targetSkuName": { - "$ref": "#/definitions/SkuName", - "description": "This property represents the target sku name to which the account sku is being converted asynchronously." + "description": { + "type": "string", + "description": "Arbitrary description of this Data Share. Max 250 characters.", + "maxLength": 250 }, - "startTime": { + "dataShareUri": { "type": "string", - "description": "This property represents the sku conversion start time.", + "description": "The DataShare URI to be shared with the consumer.\nURI Format - 'azds://::'.", + "pattern": "^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", "readOnly": true }, - "endTime": { - "type": "string", - "description": "This property represents the sku conversion end time.", + "accessPolicies": { + "type": "array", + "description": "List of access policies that specify the permission allowed to a managed identity.", + "items": { + "$ref": "#/definitions/StorageDataShareAccessPolicy" + }, + "x-ms-identifiers": [] + }, + "assets": { + "type": "array", + "description": "List of assets that specify the properties of the shared resources.", + "items": { + "$ref": "#/definitions/StorageDataShareAsset" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/NativeDataSharingProvisioningState", + "description": "Represents the provisioning state of the storage datashare.", "readOnly": true } - } + }, + "required": [ + "dataShareUri", + "accessPolicies", + "assets" + ] }, - "StorageAccountUpdateParameters": { + "StorageDataSharePropertiesUpdate": { "type": "object", - "description": "The parameters that can be provided when updating the storage account properties.", + "description": "The storage datashare properties", "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value." - }, - "tags": { - "type": "object", - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "properties": { - "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters", - "description": "The parameters used when updating a storage account.", - "x-ms-client-flatten": true - }, - "kind": { - "$ref": "#/definitions/Kind", - "description": "Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server." + "description": { + "type": "string", + "description": "Arbitrary description of this Data Share. Max 250 characters.", + "maxLength": 250 }, - "zones": { + "accessPolicies": { "type": "array", - "description": "Optional. Gets or sets the pinned logical availability zone for the storage account.", + "description": "List of access policies that specify the permission allowed to a managed identity.", "items": { - "type": "string" - } + "$ref": "#/definitions/StorageDataShareAccessPolicy" + }, + "x-ms-identifiers": [] }, - "placement": { - "$ref": "#/definitions/Placement", - "description": "Optional. Gets or sets the zonal placement details for the storage account." + "assets": { + "type": "array", + "description": "List of assets that specify the properties of the shared resources.", + "items": { + "$ref": "#/definitions/StorageDataShareAsset" + }, + "x-ms-identifiers": [] } } }, @@ -14045,6 +15464,43 @@ } } }, + "TestConnectionResponse": { + "type": "object", + "description": "Test connection response properties", + "properties": { + "storageConnectorMethodName": { + "type": "string", + "description": "Indicates the method used to validate the connection to the backing data store.\nValid values are `GetBlob` and `ListBlobs` for failure, and `TestExistingConnection` for success.", + "minLength": 1 + }, + "storageConnectorErrorMessage": { + "type": "string", + "description": "A string representing the error received from the backing data store.\nFormat will vary depending on the data store type and will be capped at 1 MB in size.\nThe error message will be empty if the connection was successful." + }, + "storageConnectorRequestId": { + "type": "string", + "description": "The request Id associated with the request sent to the backing data store for validation.", + "minLength": 1 + } + }, + "required": [ + "storageConnectorMethodName", + "storageConnectorRequestId" + ] + }, + "TestExistingConnectionRequest": { + "type": "object", + "description": "Test existing connection request properties", + "properties": { + "uniqueId": { + "type": "string", + "description": "The uniqueId of the storage connector as returned by the server." + } + }, + "required": [ + "uniqueId" + ] + }, "TriggerParameters": { "type": "object", "description": "The trigger parameters update for the storage task assignment execution", diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersClearLegalHold.json new file mode 100644 index 000000000000..820799fbeecb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersClearLegalHold.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "LegalHold": { + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-08-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "hasLegalHold": false, + "tags": [] + } + } + }, + "operationId": "BlobContainers_ClearLegalHold", + "title": "ClearLegalHoldContainers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersDelete.json new file mode 100644 index 000000000000..1d69e8cafe2b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto4506", + "api-version": "2025-08-01", + "containerName": "container9689", + "monitor": "true", + "resourceGroupName": "res4079", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BlobContainers_Delete", + "title": "DeleteContainers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersDeleteImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersDeleteImmutabilityPolicy.json new file mode 100644 index 000000000000..0c4ea7f532a0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersDeleteImmutabilityPolicy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "If-Match": "8d59f81a7fa7be0", + "accountName": "sto9621", + "api-version": "2025-08-01", + "containerName": "container4910", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res1581", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f81a87b40c0\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1581/providers/Microsoft.Storage/storageAccounts/sto9621/blobServices/default/containers/container4910/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 0, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "title": "DeleteImmutabilityPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersExtendImmutabilityPolicy.json new file mode 100644 index 000000000000..3737d9e7da7e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersExtendImmutabilityPolicy.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "If-Match": "8d59f830d0c3bf9", + "accountName": "sto232", + "api-version": "2025-08-01", + "containerName": "container5023", + "monitor": "true", + "parameters": { + "properties": { + "immutabilityPeriodSinceCreationInDays": 100 + } + }, + "resourceGroupName": "res6238", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d57a8b2ff50332\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + } + } + } + }, + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "title": "ExtendImmutabilityPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGet.json new file mode 100644 index 000000000000..fbb5aeacf2c8 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGet.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container1634", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", + "properties": { + "hasImmutabilityPolicy": true, + "hasLegalHold": true, + "immutabilityPolicy": { + "etag": "\"8d592d74cb3011a\"", + "properties": { + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + }, + "updateHistory": [ + { + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" + }, + { + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" + }, + { + "immutabilityPeriodSinceCreationInDays": 100, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" + } + ] + }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "legalHold": { + "hasLegalHold": true, + "tags": [ + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + } + ] + }, + "publicAccess": "None" + } + } + } + }, + "operationId": "BlobContainers_Get", + "title": "GetContainers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGetImmutabilityPolicy.json new file mode 100644 index 000000000000..8cb9ea32533e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGetImmutabilityPolicy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "sto9177", + "api-version": "2025-08-01", + "containerName": "container3489", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res5221", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f828e64b75c\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res5221/providers/Microsoft.Storage/storageAccounts/sto9177/blobServices/default/containers/container3489/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 5, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_GetImmutabilityPolicy", + "title": "GetImmutabilityPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json new file mode 100644 index 000000000000..eb7823b6fe37 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container1634", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", + "properties": { + "hasImmutabilityPolicy": true, + "hasLegalHold": true, + "immutabilityPolicy": { + "etag": "\"8d592d74cb3011a\"", + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + }, + "updateHistory": [ + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" + }, + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" + }, + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" + } + ] + }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "legalHold": { + "hasLegalHold": true, + "protectedAppendWritesHistory": { + "allowProtectedAppendWritesAll": true, + "timestamp": "2022-09-01T01:58:44.5044483Z" + }, + "tags": [ + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + } + ] + }, + "publicAccess": "None" + } + } + } + }, + "operationId": "BlobContainers_Get", + "title": "GetBlobContainersGetWithAllowProtectedAppendWritesAll" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLease_Acquire.json new file mode 100644 index 000000000000..6a0eb61969ef --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLease_Acquire.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "containerName": "container6185", + "monitor": "true", + "parameters": { + "action": "Acquire", + "breakPeriod": null, + "leaseDuration": -1, + "leaseId": null, + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + }, + "operationId": "BlobContainers_Lease", + "title": "Acquire a lease on a container" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLease_Break.json new file mode 100644 index 000000000000..8cc47f213182 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLease_Break.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "containerName": "container6185", + "monitor": "true", + "parameters": { + "action": "Break", + "breakPeriod": null, + "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + }, + "operationId": "BlobContainers_Lease", + "title": "Break a lease on a container" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersList.json new file mode 100644 index 000000000000..0ae992a33c00 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersList.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/container5103", + "value": [ + { + "name": "container1644", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" + } + }, + { + "name": "container4052", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "None" + } + } + ] + } + } + }, + "operationId": "BlobContainers_List", + "title": "ListContainers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLockImmutabilityPolicy.json new file mode 100644 index 000000000000..f8acdb3345d9 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersLockImmutabilityPolicy.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "If-Match": "8d59f825b721dd3", + "accountName": "sto5009", + "api-version": "2025-08-01", + "containerName": "container1631", + "monitor": "true", + "resourceGroupName": "res2702", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d57a8a5edb084a\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2702/providers/Microsoft.Storage/storageAccounts/sto5009/blobServices/default/containers/container1631/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Locked" + } + } + } + }, + "operationId": "BlobContainers_LockImmutabilityPolicy", + "title": "LockImmutabilityPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPatch.json new file mode 100644 index 000000000000..8cbaf7d95da2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPatch.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "blobContainer": { + "properties": { + "metadata": { + "metadata": "true" + }, + "publicAccess": "Container" + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "metadata": { + "metadata": "true" + }, + "publicAccess": "Container" + } + } + } + }, + "operationId": "BlobContainers_Update", + "title": "UpdateContainers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPut.json new file mode 100644 index 000000000000..ac08601b893b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPut.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "blobContainer": {}, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutDefaultEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutDefaultEncryptionScope.json new file mode 100644 index 000000000000..73e70ae5e1b9 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutDefaultEncryptionScope.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "blobContainer": { + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithDefaultEncryptionScope" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutImmutabilityPolicy.json new file mode 100644 index 000000000000..2a13990f4a2e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutImmutabilityPolicy.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2025-08-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "parameters": { + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3 + } + }, + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json new file mode 100644 index 000000000000..ae620c761b5b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2025-08-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "parameters": { + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3 + } + }, + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutObjectLevelWorm.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutObjectLevelWorm.json new file mode 100644 index 000000000000..cfe746751f89 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersPutObjectLevelWorm.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "blobContainer": { + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithObjectLevelWorm" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersSetLegalHold.json new file mode 100644 index 000000000000..6fae8c984e5b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersSetLegalHold.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "LegalHold": { + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-08-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "hasLegalHold": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + } + } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json new file mode 100644 index 000000000000..943ecfdff438 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "LegalHold": { + "allowProtectedAppendWritesAll": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-08-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "allowProtectedAppendWritesAll": true, + "hasLegalHold": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + } + } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainersWithAllowProtectedAppendWritesAll" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobRangesRestore.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobRangesRestore.json new file mode 100644 index 000000000000..139db78a77c3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobRangesRestore.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "Succeeded" + } + }, + "202": { + "body": { + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "InProgress" + }, + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_RestoreBlobRanges", + "title": "BlobRangesRestore" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesGet.json new file mode 100644 index 000000000000..335ba9df5f1e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesGet.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "BlobServices_GetServiceProperties", + "title": "GetBlobServices" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesList.json new file mode 100644 index 000000000000..34ec449272d0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesList.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "BlobServices_List", + "title": "ListBlobServices" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPut.json new file mode 100644 index 000000000000..834bd5419e34 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPut.json @@ -0,0 +1,173 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "PutBlobServices" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPutAllowPermanentDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPutAllowPermanentDelete.json new file mode 100644 index 000000000000..038ccc6833f3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPutAllowPermanentDelete.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "deleteRetentionPolicy": { + "allowPermanentDelete": true, + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "deleteRetentionPolicy": { + "allowPermanentDelete": true, + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutAllowPermanentDelete" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json new file mode 100644 index 000000000000..ddaf9c2681b7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "lastAccessTimeTrackingPolicy": { + "name": "AccessTimeTracking", + "blobType": [ + "blockBlob" + ], + "enable": true, + "trackingGranularityInDays": 1 + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "lastAccessTimeTrackingPolicy": { + "name": "AccessTimeTracking", + "blobType": [ + "blockBlob" + ], + "enable": true, + "trackingGranularityInDays": 1 + } + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutLastAccessTimeBasedTracking" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedAccountGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedAccountGet.json new file mode 100644 index 000000000000..ab7ec6de0c83 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedAccountGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "deletedAccountName": "sto1125", + "location": "eastus", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto1125", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", + "properties": { + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", + "location": "eastus", + "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" + } + } + } + }, + "operationId": "DeletedAccounts_Get", + "title": "DeletedAccountGet" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedAccountList.json new file mode 100644 index 000000000000..b9730bd2e284 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedAccountList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto1125", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", + "properties": { + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", + "location": "eastus", + "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" + } + }, + { + "name": "sto1126", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1126", + "properties": { + "creationTime": "2020-08-19T15:10:21.5902165Z", + "deletionTime": "2020-08-20T06:11:55.1957302Z", + "location": "eastus", + "restoreReference": "sto1126|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1126" + } + } + ] + } + } + }, + "operationId": "DeletedAccounts_List", + "title": "DeletedAccountList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedBlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedBlobContainersList.json new file mode 100644 index 000000000000..fb1a0d6bb956 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedBlobContainersList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "$include": "deleted", + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "container1644", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" + } + }, + { + "name": "container4052", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", + "properties": { + "deleted": true, + "deletedTime": "2019-12-14T08:20:47Z", + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Expired", + "leaseStatus": "Unlocked", + "publicAccess": "None", + "remainingRetentionDays": 30, + "version": "1234567890" + } + } + ] + } + } + }, + "operationId": "BlobContainers_List", + "title": "ListDeletedContainers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedFileSharesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedFileSharesList.json new file mode 100644 index 000000000000..1ceafd67682f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/DeletedFileSharesList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "$expand": "deleted", + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644_1234567890", + "properties": { + "deleted": true, + "deletedTime": "2019-12-14T08:20:47Z", + "lastModifiedTime": "2019-05-14T08:20:47Z", + "remainingRetentionDays": 30, + "shareQuota": 1024, + "version": "1234567890" + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListDeletedShares" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesGet.json new file mode 100644 index 000000000000..673f03ca29a2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesGet.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "FileServices_GetServiceProperties", + "title": "GetFileServices" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesGetUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesGetUsage.json new file mode 100644 index 000000000000..4a7830899291 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesGetUsage.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "fileServiceUsagesName": "default", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices/usages", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", + "properties": { + "burstingConstants": { + "burstFloorIOPS": 10000, + "burstIOScalar": 3, + "burstTimeframeSeconds": 3600 + }, + "fileShareLimits": { + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144, + "minProvisionedBandwidthMiBPerSec": 125, + "minProvisionedIOPS": 3000, + "minProvisionedStorageGiB": 32 + }, + "fileShareRecommendations": { + "bandwidthScalar": 0.1, + "baseBandwidthMiBPerSec": 125, + "baseIOPS": 3000, + "ioScalar": 1 + }, + "storageAccountLimits": { + "maxFileShares": 50, + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144 + }, + "storageAccountUsage": { + "liveShares": { + "fileShareCount": 2, + "provisionedBandwidthMiBPerSec": 258, + "provisionedIOPS": 6064, + "provisionedStorageGiB": 64 + }, + "softDeletedShares": { + "fileShareCount": 1, + "provisionedBandwidthMiBPerSec": 125, + "provisionedIOPS": 3000, + "provisionedStorageGiB": 100 + } + } + } + } + } + }, + "operationId": "FileServices_GetServiceUsage", + "title": "GetFileServiceUsage" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesList.json new file mode 100644 index 000000000000..5d41b99162f0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesList.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "FileServices_List", + "title": "ListFileServices" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesListUsages.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesListUsages.json new file mode 100644 index 000000000000..658a0e56c6c0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesListUsages.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices/usages", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", + "properties": { + "burstingConstants": { + "burstFloorIOPS": 10000, + "burstIOScalar": 3, + "burstTimeframeSeconds": 3600 + }, + "fileShareLimits": { + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144, + "minProvisionedBandwidthMiBPerSec": 125, + "minProvisionedIOPS": 3000, + "minProvisionedStorageGiB": 32 + }, + "fileShareRecommendations": { + "bandwidthScalar": 0.1, + "baseBandwidthMiBPerSec": 125, + "baseIOPS": 3000, + "ioScalar": 1 + }, + "storageAccountLimits": { + "maxFileShares": 50, + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144 + }, + "storageAccountUsage": { + "liveShares": { + "fileShareCount": 2, + "provisionedBandwidthMiBPerSec": 258, + "provisionedIOPS": 6064, + "provisionedStorageGiB": 64 + }, + "softDeletedShares": { + "fileShareCount": 1, + "provisionedBandwidthMiBPerSec": 125, + "provisionedIOPS": 3000, + "provisionedStorageGiB": 100 + } + } + } + } + ] + } + } + }, + "operationId": "FileServices_ListServiceUsages", + "title": "ListFileServiceUsages" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut.json new file mode 100644 index 000000000000..86ded61b97b7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EnableSMBMultichannel.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EnableSMBMultichannel.json new file mode 100644 index 000000000000..ab7ef45fb9b7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EnableSMBMultichannel.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSMBMultichannel" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EnableSecureSmbFeatures.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EnableSecureSmbFeatures.json new file mode 100644 index 000000000000..52089bda2cd2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EnableSecureSmbFeatures.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", + "kerberosTicketEncryption": "RC4-HMAC;AES-256", + "versions": "SMB2.1;SMB3.0;SMB3.1.1" + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "smb": { + "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", + "kerberosTicketEncryption": "RC4-HMAC;AES-256", + "versions": "SMB2.1;SMB3.0;SMB3.1.1" + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSecureSmbFeatures" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EncryptionInTransitRequired.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EncryptionInTransitRequired.json new file mode 100644 index 000000000000..21be6c9fecfb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileServicesPut_EncryptionInTransitRequired.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "nfs": { + "encryptionInTransit": { + "required": true + } + }, + "smb": { + "encryptionInTransit": { + "required": true + } + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "nfs": { + "encryptionInTransit": { + "required": true + } + }, + "smb": { + "encryptionInTransit": { + "required": true + } + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EncryptionInTransitRequired" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileShareAclsPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileShareAclsPatch.json new file mode 100644 index 000000000000..96ac08cc1810 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileShareAclsPatch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2021-05-01T08:49:37.0000000Z", + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + } + ] + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2021-05-01T08:49:37.0000000Z", + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + } + ] + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareAcls" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileShareSnapshotsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileShareSnapshotsList.json new file mode 100644 index 000000000000..15cfca24722c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileShareSnapshotsList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "$expand": "snapshots", + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", + "shareQuota": 1024, + "snapshotTime": "2020-10-26T05:48:07.0000000Z" + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListShareSnapshots" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesDelete.json new file mode 100644 index 000000000000..7aaad5ee65e6 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto4506", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4079", + "shareName": "share9689", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "FileShares_Delete", + "title": "DeleteShares" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet.json new file mode 100644 index 000000000000..bbd019614cf9 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShares" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_PaidBursting.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_PaidBursting.json new file mode 100644 index 000000000000..20fc346f5351 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_PaidBursting.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetSharePaidBursting" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_ProvisionedV2.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_ProvisionedV2.json new file mode 100644 index 000000000000..4c6fcb93adfd --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_ProvisionedV2.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShareProvisionedV2" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_Stats.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_Stats.json new file mode 100644 index 000000000000..c0e8cbe73204 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesGet_Stats.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "$expand": "stats", + "accountName": "sto6217", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024, + "shareUsageBytes": 652945 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShareStats" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesLease_Acquire.json new file mode 100644 index 000000000000..f84fe53ee105 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesLease_Acquire.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "action": "Acquire", + "breakPeriod": null, + "leaseDuration": -1, + "leaseId": null, + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "shareName": "share124", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + }, + "operationId": "FileShares_Lease", + "title": "Acquire a lease on a share" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesLease_Break.json new file mode 100644 index 000000000000..709f0859ca63 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesLease_Break.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "action": "Break", + "breakPeriod": null, + "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "shareName": "share12", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + }, + "operationId": "FileShares_Lease", + "title": "Break a lease on a share" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList.json new file mode 100644 index 000000000000..fa8fb40d1074 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListShares" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList_PaidBursting.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList_PaidBursting.json new file mode 100644 index 000000000000..8ceaf8b52898 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList_PaidBursting.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListSharesPaidBursting" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList_ProvisionedV2.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList_ProvisionedV2.json new file mode 100644 index 000000000000..4e5ebf745ca3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesList_ProvisionedV2.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListSharesProvisionedV2" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch.json new file mode 100644 index 000000000000..ffdea7d08d8a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "metadata": { + "type": "image" + } + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "metadata": { + "type": "image" + } + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShares" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch_PaidBursting.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch_PaidBursting.json new file mode 100644 index 000000000000..c2a0cd2fa02f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch_PaidBursting.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateSharePaidBursting" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch_ProvisionedV2.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch_ProvisionedV2.json new file mode 100644 index 000000000000..f45b95e587d4 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPatch_ProvisionedV2.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareProvisionedV2" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut.json new file mode 100644 index 000000000000..56d2856f134a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "fileShare": {}, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" + } + }, + "201": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_AccessTier.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_AccessTier.json new file mode 100644 index 000000000000..f250953e7f77 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_AccessTier.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "accessTier": "Hot" + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "accessTier": "Hot" + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "accessTier": "Hot" + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Access Tier" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_NFS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_NFS.json new file mode 100644 index 000000000000..ae0a4d3274e7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_NFS.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "enabledProtocols": "NFS" + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "enabledProtocols": "NFS" + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "enabledProtocols": "NFS" + } + } + } + }, + "operationId": "FileShares_Create", + "title": "Create NFS Shares" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_PaidBursting.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_PaidBursting.json new file mode 100644 index 000000000000..6777e9194bc1 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_PaidBursting.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Paid Bursting" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_ProvisionedV2.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_ProvisionedV2.json new file mode 100644 index 000000000000..7f7cabb351af --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesPut_ProvisionedV2.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-08-01", + "fileShare": { + "properties": { + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutSharesProvisionedV2" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesRestore.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesRestore.json new file mode 100644 index 000000000000..4fe643c9a660 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/FileSharesRestore.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "deletedShare": { + "deletedShareName": "share1249", + "deletedShareVersion": "1234567890" + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share1249", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "FileShares_Restore", + "title": "RestoreShares" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserCreate.json new file mode 100644 index 000000000000..fe0598525a75 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserCreate.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "properties": { + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ] + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ], + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateLocalUser" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserCreateNFSv3Enabled.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserCreateNFSv3Enabled.json new file mode 100644 index 000000000000..09625e65898e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserCreateNFSv3Enabled.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "properties": { + "properties": { + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "isNFSv3Enabled": true + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ], + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateNFSv3EnabledLocalUser" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserDelete.json new file mode 100644 index 000000000000..05da58275207 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "LocalUsers_Delete", + "title": "DeleteLocalUser" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserGet.json new file mode 100644 index 000000000000..48945a79ca63 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_Get", + "title": "GetLocalUser" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserListKeys.json new file mode 100644 index 000000000000..96c12b0d8849 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserListKeys.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "sharedKey": "", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykew=" + } + ] + } + } + }, + "operationId": "LocalUsers_ListKeys", + "title": "ListLocalUserKeys" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserRegeneratePassword.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserRegeneratePassword.json new file mode 100644 index 000000000000..09efa546fbcb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserRegeneratePassword.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "sshPassword": "" + } + } + }, + "operationId": "LocalUsers_RegeneratePassword", + "title": "RegenerateLocalUserPassword" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserUpdate.json new file mode 100644 index 000000000000..e0ada0512ecf --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUserUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "properties": { + "properties": { + "allowAclAuthorization": false, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 3000, + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", + "isNFSv3Enabled": true + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": false, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 3000, + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", + "isNFSv3Enabled": true, + "sid": "S-1-2-0-3528686663-1788730862-2791910117-1000", + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "UpdateLocalUser" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUsersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUsersList.json new file mode 100644 index 000000000000..cbb5b82513a3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUsersList.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + }, + { + "name": "user2", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, + "permissionScopes": [ + { + "permissions": "rw", + "resourceName": "resourcename", + "service": "blob" + } + ], + "sid": "S-1-2-0-533672-235636-66334-1001", + "userId": 1001 + } + } + ] + } + } + }, + "operationId": "LocalUsers_List", + "title": "ListLocalUsers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUsersListNFSv3Enabled.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUsersListNFSv3Enabled.json new file mode 100644 index 000000000000..a267383fa71a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/LocalUsersListNFSv3Enabled.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "$include": "nfsv3", + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + }, + { + "name": "user2", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rw", + "resourceName": "resourcename", + "service": "blob" + } + ], + "sid": "S-1-2-0-533672-235636-66334-1001", + "userId": 1001 + } + } + ] + } + } + }, + "operationId": "LocalUsers_List", + "title": "ListNFSv3EnabledLocalUsers" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationGet.json new file mode 100644 index 000000000000..3428d9bbc7cc --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "networkSecurityPerimeterConfigurationName": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "name": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "type": "Microsoft.Storage/storageAccounts/networkSecurityPerimeterConfigurations", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "properties": { + "networkSecurityPerimeter": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/res4794/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "location": "East US", + "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + }, + "profile": { + "name": "profile1", + "accessRules": [ + { + "name": "allowedSubscriptions", + "properties": { + "direction": "Inbound", + "subscriptions": [ + { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774" + } + ] + } + } + ], + "accessRulesVersion": 10, + "diagnosticSettingsVersion": 5, + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesAllowed", + "NspPublicInboundPerimeterRulesDenied" + ] + }, + "provisioningIssues": [ + { + "name": "ConfigurationPropagationFailure", + "properties": { + "description": "Failed to update Network Security Perimeter association.", + "issueType": "ConfigurationPropagationFailure", + "severity": "Error" + } + } + ], + "provisioningState": "Succeeded", + "resourceAssociation": { + "name": "resourceAssociation1", + "accessMode": "Enforced" + } + } + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_Get", + "title": "NetworkSecurityPerimeterConfigurationGet" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationList.json new file mode 100644 index 000000000000..7bfe069ef1cd --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "type": "Microsoft.Storage/storageAccounts/networkSecurityPerimeterConfigurations", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "properties": { + "networkSecurityPerimeter": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/res4794/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "location": "East US", + "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + }, + "profile": { + "name": "profile1", + "accessRules": [ + { + "name": "inVpnRule", + "properties": { + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ], + "direction": "Inbound" + } + } + ], + "accessRulesVersion": 10, + "diagnosticSettingsVersion": 5, + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesAllowed", + "NspPublicInboundPerimeterRulesDenied" + ] + }, + "provisioningState": "Succeeded", + "resourceAssociation": { + "name": "association1", + "accessMode": "Enforced" + } + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_List", + "title": "NetworkSecurityPerimeterConfigurationList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json new file mode 100644 index 000000000000..365893616cdb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "networkSecurityPerimeterConfigurationName": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_Reconcile", + "title": "NetworkSecurityPerimeterConfigurationReconcile" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NfsV3AccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NfsV3AccountCreate.json new file mode 100644 index 000000000000..02d8bb3b2b7d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/NfsV3AccountCreate.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "enableExtendedGroups": true, + "isHnsEnabled": true, + "isNfsV3Enabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" + } + ] + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "enableExtendedGroups": true, + "isHnsEnabled": true, + "isNfsV3Enabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" + } + ] + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "NfsV3AccountCreate" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/ObjectLevelWormContainerMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/ObjectLevelWormContainerMigration.json new file mode 100644 index 000000000000..1043daa0367a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/ObjectLevelWormContainerMigration.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2025-08-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "BlobContainers_ObjectLevelWorm", + "title": "VersionLevelWormContainerMigration" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/OperationsList.json new file mode 100644 index 000000000000..39308a9ca37c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/OperationsList.json @@ -0,0 +1,475 @@ +{ + "parameters": { + "api-version": "2025-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Storage/storageAccounts/write", + "display": { + "description": "Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account.", + "operation": "Create/Update Storage Account", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/delete", + "display": { + "description": "Deletes an existing storage account.", + "operation": "Delete Storage Account", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listkeys/action", + "display": { + "description": "Returns the access keys for the specified storage account.", + "operation": "List Storage Account Keys", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/regeneratekey/action", + "display": { + "description": "Regenerates the access keys for the specified storage account.", + "operation": "Regenerate Storage Account Keys", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/checknameavailability/read", + "display": { + "description": "Checks that account name is valid and is not in use.", + "operation": "Check Name Availability", + "provider": "Microsoft Storage", + "resource": "Name Availability" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/read", + "display": { + "description": "Returns the list of storage accounts or gets the properties for the specified storage account.", + "operation": "List/Get Storage Account(s)", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/usages/read", + "display": { + "description": "Returns the limit and the current usage count for resources in the specified subscription", + "operation": "Get Subscription Usages", + "provider": "Microsoft Storage", + "resource": "Usage Metrics" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listAccountSas/action", + "display": { + "description": "Returns the Account SAS token for the specified storage account.", + "operation": "Returns Storage Account SAS Token", + "provider": "Microsoft Storage", + "resource": "Storage Account SAS Token" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listServiceSas/action", + "display": { + "description": "Storage Service SAS Token", + "operation": "Returns Storage Service SAS Token", + "provider": "Microsoft Storage", + "resource": "Returns the Service SAS token for the specified storage account." + } + }, + { + "name": "Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action", + "display": { + "description": "Notifies Microsoft.Storage that virtual network or subnet is being deleted", + "operation": "Delete virtual network or subnets notifications", + "provider": "Microsoft Storage", + "resource": "Location" + } + }, + { + "name": "Microsoft.Storage/operations/read", + "display": { + "description": "Polls the status of an asynchronous operation.", + "operation": "Poll Asynchronous Operation", + "provider": "Microsoft Storage", + "resource": "Operations" + } + }, + { + "name": "Microsoft.Storage/register/action", + "display": { + "description": "Registers the subscription for the storage resource provider and enables the creation of storage accounts.", + "operation": "Registers the Storage Resource Provider", + "provider": "Microsoft Storage", + "resource": "Storage Resource Provider" + } + }, + { + "name": "Microsoft.Storage/skus/read", + "display": { + "description": "Lists the Skus supported by Microsoft.Storage.", + "operation": "List Skus", + "provider": "Microsoft Storage", + "resource": "Skus" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/services/diagnosticSettings/write", + "display": { + "description": "Create/Update storage account diagnostic settings.", + "operation": "Create/Update Diagnostic Settings", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "UsedCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "Account used capacity", + "displayName": "Used capacity", + "fillGapWithZero": false, + "resourceIdDimensionNameOverride": "AccountResourceId", + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "BlobCapacity", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.", + "displayName": "Blob Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "BlobCount", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The number of Blob in the storage account’s Blob service.", + "displayName": "Blob Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "ContainerCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of containers in the storage account’s Blob service.", + "displayName": "Blob Container Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "BlobProvisionedSize", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The amount of storage provisioned in the storage account’s Blob service in bytes.", + "displayName": "Blob Provisioned Size", + "fillGapWithZero": false, + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "TableCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s Table service in bytes.", + "displayName": "Table Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "TableCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of table in the storage account’s Table service.", + "displayName": "Table Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "TableEntityCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of table entities in the storage account’s Table service.", + "displayName": "Table Entity Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "QueueCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s Queue service in bytes.", + "displayName": "Queue Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "QueueCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of queue in the storage account’s Queue service.", + "displayName": "Queue Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "QueueMessageCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The approximate number of queue messages in the storage account’s Queue service.", + "displayName": "Queue Message Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "FileCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s File service in bytes.", + "displayName": "File Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "FileProvisionedSize", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage provisioned in the storage account’s File service in bytes.", + "displayName": "File Provisioned Size", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "FileCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of file in the storage account’s File service.", + "displayName": "File Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "FileShareCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of file shares in the storage account’s File service.", + "displayName": "File Share Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationsList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationDelete.json new file mode 100644 index 000000000000..e4feabe69e9f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "Queue_Delete", + "title": "QueueOperationDelete" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationGet.json new file mode 100644 index 000000000000..227308588ad8 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + } + }, + "operationId": "Queue_Get", + "title": "QueueOperationGet" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationList.json new file mode 100644 index 000000000000..93d2924d0505 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto328/queue6187", + "value": [ + { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + }, + { + "name": "queue6186", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6186", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + ] + } + } + }, + "operationId": "Queue_List", + "title": "QueueOperationList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPatch.json new file mode 100644 index 000000000000..e87edcc61aa9 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPatch.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" + } + } + }, + "operationId": "Queue_Update", + "title": "QueueOperationPatch" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPut.json new file mode 100644 index 000000000000..ed9a9ab1290b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPut.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" + } + } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPut" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPutWithMetadata.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPutWithMetadata.json new file mode 100644 index 000000000000..b4c490a55e9e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueOperationPutWithMetadata.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "queue": { + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + }, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPutWithMetadata" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesGet.json new file mode 100644 index 000000000000..41bbfdfd0a77 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "QueueServices_GetServiceProperties", + "title": "QueueServicesGet" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesList.json new file mode 100644 index 000000000000..b9be335c8c57 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + ] + } + } + }, + "operationId": "QueueServices_List", + "title": "QueueServicesList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesPut.json new file mode 100644 index 000000000000..6821c2a788b4 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/QueueServicesPut.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "QueueServices_SetServiceProperties", + "title": "QueueServicesPut" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/SKUList.json new file mode 100644 index 000000000000..efccf9dfefc3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/SKUList.json @@ -0,0 +1,6456 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "true" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + } + ] + } + } + }, + "operationId": "Skus_List", + "title": "SkuList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/SKUListWithLocationInfo.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/SKUListWithLocationInfo.json new file mode 100644 index 000000000000..20a26b1738c7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/SKUListWithLocationInfo.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "FileStorage", + "locationInfo": [ + { + "location": "centraluseuap", + "zones": [ + "1", + "2", + "3" + ] + } + ], + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + } + ] + } + } + }, + "operationId": "Skus_List", + "title": "SKUListWithLocationInfo" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json new file mode 100644 index 000000000000..78940ce4facb --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_AbortHierarchicalNamespaceMigration", + "title": "StorageAccountAbortHierarchicalNamespaceMigration" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCheckNameAvailability.json new file mode 100644 index 000000000000..0dc84a7776f2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCheckNameAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": { + "name": "sto3363", + "type": "Microsoft.Storage/storageAccounts" + }, + "api-version": "2025-08-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "StorageAccounts_CheckNameAvailability", + "title": "StorageAccountCheckNameAvailability" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate.json new file mode 100644 index 000000000000..09f20cd4e0d2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json new file mode 100644 index 000000000000..9430b3a0d8a6 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToAAD" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json new file mode 100644 index 000000000000..106257403b66 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToPrivateLink" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json new file mode 100644 index 000000000000..9082d9147862 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDisallowPublicNetworkAccess" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json new file mode 100644 index 000000000000..be66edd86553 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.z24.blob.storage.azure.net/", + "dfs": "https://sto4445.z24.dfs.storage.azure.net/", + "file": "https://sto4445.z24.file.storage.azure.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-internetrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-internetrouting.z24.file.storage.azure.net/", + "web": "https://sto4445-internetrouting.z24.web.storage.azure.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-microsoftrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-microsoftrouting.z24.file.storage.azure.net/", + "queue": "https://sto4445-microsoftrouting.z24.queue.storage.azure.net/", + "table": "https://sto4445-microsoftrouting.z24.table.storage.azure.net/", + "web": "https://sto4445-microsoftrouting.z24.web.storage.azure.net/" + }, + "queue": "https://sto4445.z24.queue.storage.azure.net/", + "table": "https://sto4445.z24.table.storage.azure.net/", + "web": "https://sto4445.z24.web.storage.azure.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToAzureDnsZone" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json new file mode 100644 index 000000000000..b12d24f80a13 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToStandard" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json new file mode 100644 index 000000000000..312fb4a21481 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "publicNetworkAccess": "Enabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateEnablePublicNetworkAccess" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json new file mode 100644 index 000000000000..bcebeaa898a1 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "accountName": "dst112", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "default", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "sourceContainer": "scont139" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnDestination" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json new file mode 100644 index 000000000000..12891454e681 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "accountName": "src1122", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnSource" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json new file mode 100644 index 000000000000..f754764e502a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "minimumTlsVersion": "TLS1_2" + }, + "sku": { + "name": "Premium_LRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "accessTier": "Premium", + "allowBlobPublicAccess": false, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreatePremiumBlockBlobStorage" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json new file mode 100644 index 000000000000..04ad85f5a774 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json new file mode 100644 index 000000000000..97ded46bbdad --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "accountName": "sto131918", + "api-version": "2025-08-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "encryption": { + "identity": { + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res131918", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId." +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateWithImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateWithImmutabilityPolicy.json new file mode 100644 index 000000000000..b20dbd3bca90 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreateWithImmutabilityPolicy.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + } + }, + "sku": { + "name": "Standard_GRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:25:33.4863236Z", + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateWithImmutabilityPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate_placement.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate_placement.json new file mode 100644 index 000000000000..d179cc1f25a6 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate_placement.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate_placement" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate_zones.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate_zones.json new file mode 100644 index 000000000000..e46b2901ea89 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountCreate_zones.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate_zones" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDelete.json new file mode 100644 index 000000000000..2399953f74f4 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteBlobInventoryPolicy.json new file mode 100644 index 000000000000..b0a1bfce4a79 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteBlobInventoryPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BlobInventoryPolicies_Delete", + "title": "StorageAccountDeleteBlobInventoryPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteManagementPolicy.json new file mode 100644 index 000000000000..d57b79028490 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteManagementPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ManagementPolicies_Delete", + "title": "StorageAccountDeleteManagementPolicies" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteObjectReplicationPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteObjectReplicationPolicy.json new file mode 100644 index 000000000000..f354e15ce5c8 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeleteObjectReplicationPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ObjectReplicationPolicies_Delete", + "title": "StorageAccountDeleteObjectReplicationPolicies" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeletePrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..5fc5d8262218 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountDeletePrivateEndpointConnection.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "StorageAccountDeletePrivateEndpointConnection" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableAD.json new file mode 100644 index 000000000000..e81c2ff93034 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableAD.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "azureFilesIdentityBasedAuthentication": { + "activeDirectoryProperties": { + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", + "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", + "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "azureFilesIdentityBasedAuthentication": { + "activeDirectoryProperties": { + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", + "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", + "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" + }, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableAD" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableCMK.json new file mode 100644 index 000000000000..7b74e7734af2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableCMK.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableCMK" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableSmbOAuth.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableSmbOAuth.json new file mode 100644 index 000000000000..037e4e8d89e8 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEnableSmbOAuth.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "azureFilesIdentityBasedAuthentication": { + "directoryServiceOptions": "None", + "smbOAuthSettings": { + "isSmbOAuthEnabled": true + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "azureFilesIdentityBasedAuthentication": { + "directoryServiceOptions": "None", + "smbOAuthSettings": { + "isSmbOAuthEnabled": true + } + }, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableSmbOAuth" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEncryptionScopeList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEncryptionScopeList.json new file mode 100644 index 000000000000..4ade8f5568af --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountEncryptionScopeList.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "scope-1", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-1", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + }, + { + "name": "scope-2", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-2", + "properties": { + "creationTime": "2018-10-16T04:32:14.3355306Z", + "keyVaultProperties": { + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" + }, + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" + } + } + ] + } + } + }, + "operationId": "EncryptionScopes_List", + "title": "StorageAccountEncryptionScopeList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountFailover.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountFailover.json new file mode 100644 index 000000000000..a6af6a800f57 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountFailover.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailover" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountFailoverPlanned.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountFailoverPlanned.json new file mode 100644 index 000000000000..32fc83b4ed35 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountFailoverPlanned.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "failoverType": "Planned", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailoverPlanned" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetAsyncSkuConversionStatus.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetAsyncSkuConversionStatus.json new file mode 100644 index 000000000000..9d158bd8e36d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetAsyncSkuConversionStatus.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "StorageV2", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "minimumTlsVersion": "TLS1_2", + "storageAccountSkuConversionStatus": { + "endTime": "2021-09-02T02:53:39.0932539Z", + "skuConversionStatus": "InProgress", + "startTime": "2022-09-01T02:53:39.0932539Z", + "targetSkuName": "Standard_GRS" + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetAsyncSkuConversionStatus" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetBlobInventoryPolicy.json new file mode 100644 index 000000000000..d65613d48de1 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetBlobInventoryPolicy.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_Get", + "title": "StorageAccountGetBlobInventoryPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetEncryptionScope.json new file mode 100644 index 000000000000..7ab10cf33c68 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetEncryptionScope.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encyrption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Get", + "title": "StorageAccountGetEncryptionScope" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetManagementPolicy.json new file mode 100644 index 000000000000..cf5a4de383f7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetManagementPolicy.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T03:01:55.7168089Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_Get", + "title": "StorageAccountGetManagementPolicies" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetMigrationFailed.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetMigrationFailed.json new file mode 100644 index 000000000000..8213ee293c3d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetMigrationFailed.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "migrationName": "default", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/accountMigrations", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", + "properties": { + "migrationFailedDetailedReason": "ZRS is not supported for accounts with archive data.", + "migrationFailedReason": "ZrsNotSupportedForAccountWithArchiveData", + "migrationStatus": "Failed", + "targetSkuName": "Standard_ZRS" + } + } + } + }, + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "title": "StorageAccountGetMigrationFailed" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetMigrationInProgress.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetMigrationInProgress.json new file mode 100644 index 000000000000..c86fa607e170 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetMigrationInProgress.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "migrationName": "default", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/accountMigrations", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", + "properties": { + "migrationStatus": "InProgress", + "targetSkuName": "Standard_ZRS" + } + } + } + }, + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "title": "StorageAccountGetMigrationInProgress" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetObjectReplicationPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetObjectReplicationPolicy.json new file mode 100644 index 000000000000..965c0976a36d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetObjectReplicationPolicy.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{objectReplicationPolicy-Id}", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/{objectReplicationPolicy-Id}", + "properties": { + "destinationAccount": "destAccount1", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "{objectReplicationPolicy-Id}", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobC", + "blobD" + ] + }, + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "sto2527" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_Get", + "title": "StorageAccountGetObjectReplicationPolicies" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..b2a7311bc59a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPrivateEndpointConnection.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "StorageAccountGetPrivateEndpointConnection" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetProperties.json new file mode 100644 index 000000000000..64d75a8318a3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetProperties.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetProperties" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesCMKEnabled.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesCMKEnabled.json new file mode 100644 index 000000000000..a5582543c47a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesCMKEnabled.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKEnabled" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json new file mode 100644 index 000000000000..79c0c2043f5c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyExpirationTimestamp": "2019-12-13T20:36:23.7023290Z", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKVersionExpirationTime" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json new file mode 100644 index 000000000000..9ffbc704b478 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "$expand": "geoReplicationStats", + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": false, + "canPlannedFailover": false, + "lastSyncTime": "2018-10-30T00:25:34Z", + "postFailoverRedundancy": "Standard_LRS", + "postPlannedFailoverRedundancy": "Standard_GRS", + "status": "Live" + }, + "isHnsEnabled": true, + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json new file mode 100644 index 000000000000..fad5e6161697 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "$expand": "geoReplicationStats", + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "canPlannedFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "postFailoverRedundancy": "Standard_LRS", + "postPlannedFailoverRedundancy": "Standard_GRS", + "status": "Live" + }, + "isHnsEnabled": true, + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountHierarchicalNamespaceMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountHierarchicalNamespaceMigration.json new file mode 100644 index 000000000000..adf30ec0eb74 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountHierarchicalNamespaceMigration.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-08-01", + "requestType": "HnsOnValidationRequest", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_HierarchicalNamespaceMigration", + "title": "StorageAccountHierarchicalNamespaceMigration" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountLeverageIPv6Ability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountLeverageIPv6Ability.json new file mode 100644 index 000000000000..593ed9ab68b6 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountLeverageIPv6Ability.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + }, + "networkAcls": { + "defaultAction": "Deny", + "ipv6Rules": [ + { + "action": "Allow", + "value": "2001:0db8:85a3::/64" + } + ] + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + }, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "ipRules": [], + "ipv6Rules": [ + { + "action": "Allow", + "value": "2001:0db8:85a3::/64" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "ipv6Endpoints": { + "blob": "https://sto8596-ipv6.blob.core.windows.net/", + "dfs": "https://sto8596-ipv6.dfs.core.windows.net/", + "file": "https://sto8596-ipv6.file.core.windows.net/", + "queue": "https://sto8596-ipv6.queue.core.windows.net/", + "table": "https://sto8596-ipv6.table.core.windows.net/", + "web": "https://sto8596-ipv6.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "statusOfPrimary": "available" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateEnableIpv6Features" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountList.json new file mode 100644 index 000000000000..bb1e81b5ec94 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountList.json @@ -0,0 +1,315 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto1125", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:28:53.4540398Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "primaryEndpoints": { + "blob": "https://sto1125.blob.core.windows.net/", + "dfs": "https://sto1125.dfs.core.windows.net/", + "file": "https://sto1125.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto1125-internetrouting.blob.core.windows.net/", + "dfs": "https://sto1125-internetrouting.dfs.core.windows.net/", + "file": "https://sto1125-internetrouting.file.core.windows.net/", + "web": "https://sto1125-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto1125-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto1125-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto1125-microsoftrouting.file.core.windows.net/", + "queue": "https://sto1125-microsoftrouting.queue.core.windows.net/", + "table": "https://sto1125-microsoftrouting.table.core.windows.net/", + "web": "https://sto1125-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto1125.queue.core.windows.net/", + "table": "https://sto1125.table.core.windows.net/", + "web": "https://sto1125.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto3699", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699", + "identity": { + "type": "SystemAssigned", + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T10:06:30.6093014Z", + "primaryEndpoints": { + "blob": "https://sto3699.blob.core.windows.net/", + "file": "https://sto3699.file.core.windows.net/", + "queue": "https://sto3699.queue.core.windows.net/", + "table": "https://sto3699.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto6637", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T10:09:39.5625175Z", + "primaryEndpoints": { + "blob": "https://sto6637.blob.core.windows.net/", + "file": "https://sto6637.file.core.windows.net/", + "queue": "https://sto6637.queue.core.windows.net/", + "table": "https://sto6637.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto834", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:28:20.8686541Z", + "primaryEndpoints": { + "blob": "https://sto834.blob.core.windows.net/", + "file": "https://sto834.file.core.windows.net/", + "queue": "https://sto834.queue.core.windows.net/", + "table": "https://sto834.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto9174", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174", + "identity": { + "type": "SystemAssigned", + "principalId": "933e3ddf-1802-4a51-9469-18a33b576f88", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T09:46:19.6556989Z", + "primaryEndpoints": { + "blob": "https://sto9174.blob.core.windows.net/", + "file": "https://sto9174.file.core.windows.net/", + "queue": "https://sto9174.queue.core.windows.net/", + "table": "https://sto9174.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_List", + "title": "StorageAccountList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListAccountSAS.json new file mode 100644 index 000000000000..35c28c5c330e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListAccountSAS.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "sto8588", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "keyToSign": "key1", + "signedExpiry": "2017-05-24T11:42:03.1567373Z", + "signedPermission": "r", + "signedProtocol": "https,http", + "signedResourceTypes": "s", + "signedServices": "b", + "signedStart": "2017-05-24T10:42:03.1567373Z" + }, + "resourceGroupName": "res7985", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "accountSasToken": "sv=2015-04-05&ss=b&srt=s&sp=r&st=2017-05-24T10%3A42%3A03Z&se=2017-05-24T11%3A42%3A03Z&spr=https,http&sig=Z0I%2BEpM%2BPPlTC8ApfUf%2BcffO2aahMgZim3U0iArqsS0%3D" + } + } + }, + "operationId": "StorageAccounts_ListAccountSAS", + "title": "StorageAccountListAccountSAS" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListBlobInventoryPolicy.json new file mode 100644 index 000000000000..0776860856bd --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListBlobInventoryPolicy.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + } + ] + } + } + } + ] + } + } + }, + "operationId": "BlobInventoryPolicies_List", + "title": "StorageAccountGetBlobInventoryPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListByResourceGroup.json new file mode 100644 index 000000000000..f90dd0e87353 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListByResourceGroup.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "resourceGroupName": "res6117", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto4036", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4036", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:24:47.818801Z", + "isHnsEnabled": true, + "primaryEndpoints": { + "blob": "https://sto4036.blob.core.windows.net/", + "dfs": "https://sto4036.dfs.core.windows.net/", + "file": "https://sto4036.file.core.windows.net/", + "queue": "https://sto4036.queue.core.windows.net/", + "table": "https://sto4036.table.core.windows.net/", + "web": "https://sto4036.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto4452", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4452", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:24:15.7068366Z", + "primaryEndpoints": { + "blob": "https://sto4452.blob.core.windows.net/", + "file": "https://sto4452.file.core.windows.net/", + "queue": "https://sto4452.queue.core.windows.net/", + "table": "https://sto4452.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_ListByResourceGroup", + "title": "StorageAccountListByResourceGroup" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListKeys.json new file mode 100644 index 000000000000..510a28877681 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListKeys.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto2220", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res418", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_ListKeys", + "title": "StorageAccountListKeys" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListLocationUsage.json new file mode 100644 index 000000000000..fae61f6dd57c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListLocationUsage.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-08-01", + "location": "eastus2(stage)", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Storage Accounts", + "value": "StorageAccounts" + }, + "currentValue": 55, + "limit": 250, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_ListByLocation", + "title": "UsageList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListObjectReplicationPolicies.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListObjectReplicationPolicies.json new file mode 100644 index 000000000000..8ee80e71e219 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListObjectReplicationPolicies.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "c6c23999-fd4e-433a-bcf9-1db69d27cd8a", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/c6c23999-fd4e-433a-bcf9-1db69d27cd8a", + "properties": { + "destinationAccount": "destAccount1", + "sourceAccount": "sto2527" + } + }, + { + "name": "141d23dc-8958-4b48-b6e6-5a40bf1af116", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/objectReplicationPolicies/141d23dc-8958-4b48-b6e6-5a40bf1af116", + "properties": { + "destinationAccount": "destAccount2", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "sourceAccount": "sto2527" + } + } + ] + } + } + }, + "operationId": "ObjectReplicationPolicies_List", + "title": "StorageAccountListObjectReplicationPolicies" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListPrivateEndpointConnections.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListPrivateEndpointConnections.json new file mode 100644 index 000000000000..3ca64ac0c4b7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListPrivateEndpointConnections.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest02" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PrivateEndpointConnections_List", + "title": "StorageAccountListPrivateEndpointConnections" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListPrivateLinkResources.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListPrivateLinkResources.json new file mode 100644 index 000000000000..5bb646523b1f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListPrivateLinkResources.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "blob", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob", + "properties": { + "groupId": "blob", + "requiredMembers": [ + "blob" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "name": "blob_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary", + "properties": { + "groupId": "blob_secondary", + "requiredMembers": [ + "blob_secondary" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "name": "table", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table", + "properties": { + "groupId": "table", + "requiredMembers": [ + "table" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "name": "table_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary", + "properties": { + "groupId": "table_secondary", + "requiredMembers": [ + "table_secondary" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "name": "dfs", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs", + "properties": { + "groupId": "dfs", + "requiredMembers": [ + "dfs" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + }, + { + "name": "dfs_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary", + "properties": { + "groupId": "dfs_secondary", + "requiredMembers": [ + "dfs_secondary" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + } + ] + } + } + }, + "operationId": "PrivateLinkResources_ListByStorageAccount", + "title": "StorageAccountListPrivateLinkResources" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListServiceSAS.json new file mode 100644 index 000000000000..17190c3ec766 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountListServiceSAS.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto1299", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "canonicalizedResource": "/blob/sto1299/music", + "signedExpiry": "2017-05-24T11:32:48.8457197Z", + "signedPermission": "l", + "signedResource": "c" + }, + "resourceGroupName": "res7439", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "serviceSasToken": "sv=2015-04-05&sr=c&se=2017-05-24T11%3A32%3A48Z&sp=l&sig=PoF8yBUGixsjzwroLmw7vG3VbGz4KB2woZC2D4C2oio%3D" + } + } + }, + "operationId": "StorageAccounts_ListServiceSAS", + "title": "StorageAccountListServiceSAS" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPatchEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPatchEncryptionScope.json new file mode 100644 index 000000000000..7567d773a97f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPatchEncryptionScope.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "encryptionScope": { + "properties": { + "keyVaultProperties": { + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" + }, + "source": "Microsoft.KeyVault" + } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "keyVaultProperties": { + "currentVersionedKeyIdentifier": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Patch", + "title": "StorageAccountPatchEncryptionScope" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPostMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPostMigration.json new file mode 100644 index 000000000000..d636acdef423 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPostMigration.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "targetSkuName": "Standard_ZRS" + } + }, + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_CustomerInitiatedMigration", + "title": "StorageAccountPostMigration" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutEncryptionScope.json new file mode 100644 index 000000000000..260ac4b65212 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutEncryptionScope.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "encryptionScope": {}, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + }, + "201": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScope" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json new file mode 100644 index 000000000000..3b808afc12d0 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-08-01", + "encryptionScope": { + "properties": { + "requireInfrastructureEncryption": true + } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "requireInfrastructureEncryption": true, + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + }, + "201": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "requireInfrastructureEncryption": true, + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScopeWithInfrastructureEncryption" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutPrivateEndpointConnection.json new file mode 100644 index 000000000000..261a288e24d6 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountPutPrivateEndpointConnection.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "status": "Approved" + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Put", + "title": "StorageAccountPutPrivateEndpointConnection" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRegenerateKerbKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRegenerateKerbKey.json new file mode 100644 index 000000000000..4f44ab07e8f9 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRegenerateKerbKey.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-08-01", + "monitor": "true", + "regenerateKey": { + "keyName": "kerb1" + }, + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + }, + { + "keyName": "kerb1", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKerbKey" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRegenerateKey.json new file mode 100644 index 000000000000..9bc5a20be4aa --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRegenerateKey.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-08-01", + "monitor": "true", + "regenerateKey": { + "keyName": "key2" + }, + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKey" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRevokeUserDelegationKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRevokeUserDelegationKeys.json new file mode 100644 index 000000000000..e244bba42598 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountRevokeUserDelegationKeys.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-08-01", + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "StorageAccounts_RevokeUserDelegationKeys", + "title": "StorageAccountRevokeUserDelegationKeys" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicy.json new file mode 100644 index 000000000000..dd39a8e17f13 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicy.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "creationTime": { + "lastNDays": 1000 + }, + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "creationTime": { + "lastNDays": 1000 + }, + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json new file mode 100644 index 000000000000..4f382814824f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json @@ -0,0 +1,199 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "DeletionId", + "Deleted", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "DeletionId", + "Deleted", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json new file mode 100644 index 000000000000..9016c6ed1de1 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json @@ -0,0 +1,197 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Tags", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "Deleted", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "excludePrefix": [ + "excludeprefix1", + "excludeprefix2" + ], + "includeBlobVersions": true, + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Tags", + "ContentType", + "ContentEncoding", + "ContentLanguage", + "ContentCRC64", + "CacheControl", + "Metadata", + "Deleted", + "RemainingRetentionDays" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold", + "Etag", + "DefaultEncryptionScope", + "DenyEncryptionScopeOverride", + "ImmutableStorageWithVersioningEnabled", + "Deleted", + "Version", + "DeletedTime", + "RemainingRetentionDays" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy.json new file mode 100644 index 000000000000..9f7f8fd749a2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + }, + { + "name": "olcmtest2", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, + "filters": { + "blobIndexMatch": [ + { + "name": "tag1", + "op": "==", + "value": "val1" + }, + { + "name": "tag2", + "op": "==", + "value": "val2" + } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + }, + { + "name": "olcmtest2", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, + "filters": { + "blobIndexMatch": [ + { + "name": "tag1", + "op": "==", + "value": "val1" + }, + { + "name": "tag2", + "op": "==", + "value": "val2" + } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicies" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyColdTierActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyColdTierActions.json new file mode 100644 index 000000000000..c598f1d43afd --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyColdTierActions.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCold": { + "daysAfterModificationGreaterThan": 30 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCold": { + "daysAfterModificationGreaterThan": 30 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyColdTierActions" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json new file mode 100644 index 000000000000..5e0b522793ba --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 90 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 90 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyForBlockAndAppendBlobs" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyHotTierActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyHotTierActions.json new file mode 100644 index 000000000000..84f9f2dff28c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyHotTierActions.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "tierToHot": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "tierToHot": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyHotTierActions" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json new file mode 100644 index 000000000000..5ff731bb7a86 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyWithSnapshotAndVersion" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json new file mode 100644 index 000000000000..a7a905d70aae --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json new file mode 100644 index 000000000000..36ef7796c64c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json new file mode 100644 index 000000000000..7d62fd8d01f2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-08-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + }, + "version": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + }, + "version": { + "tierToArchive": { + "daysAfterCreationGreaterThan": 30, + "daysAfterLastTierChangeGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastTierChangeTimeActions" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate.json new file mode 100644 index 000000000000..b4ea9af6ffc5 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json new file mode 100644 index 000000000000..724a333f18b2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateAllowedCopyScopeToAAD" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json new file mode 100644 index 000000000000..13748746157b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateDisablePublicNetworkAccess" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json new file mode 100644 index 000000000000..41b6b5e67efe --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "accountName": "dst112", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + }, + { + "destinationContainer": "dcont179", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnDestination" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json new file mode 100644 index 000000000000..488afb4082ce --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "accountName": "src1122", + "api-version": "2025-08-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnSource" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json new file mode 100644 index 000000000000..ad793989e249 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "properties": { + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json new file mode 100644 index 000000000000..f7ce53f47a2e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "accountName": "sto131918", + "api-version": "2025-08-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} + } + }, + "kind": "Storage", + "properties": { + "encryption": { + "identity": { + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + }, + "sku": { + "name": "Standard_LRS" + } + }, + "resourceGroupName": "res131918", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" + } + } + }, + "kind": "StorageV2", + "location": "eastus", + "properties": { + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", + "encryption": { + "identity": { + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + }, + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" + } + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json new file mode 100644 index 000000000000..23bb39461e69 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Locked" + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Locked" + } + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateWithImmutabilityPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate_placement.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate_placement.json new file mode 100644 index 000000000000..d03dc79b1e13 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate_placement.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate_placement" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate_zones.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate_zones.json new file mode 100644 index 000000000000..e80996cd9bdf --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageAccountUpdate_zones.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "zones": [ + "1" + ] + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate_zones" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Create.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Create.json new file mode 100644 index 000000000000..addb678a925f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Create.json @@ -0,0 +1,86 @@ +{ + "operationId": "Connectors_Create", + "title": "CreateConnector", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2025-08-01", + "connectorName": "testconnector", + "storageAccountName": "teststorageaccount", + "resource": { + "location": "eastus", + "properties": { + "state": "Active", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Delete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Delete.json new file mode 100644 index 000000000000..81d041c52f0c --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Delete.json @@ -0,0 +1,22 @@ +{ + "operationId": "Connectors_Delete", + "title": "DeleteConnector", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "connectorName": "testconnector", + "api-version": "2025-08-01" + }, + "responses": { + "204": {}, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Get.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Get.json new file mode 100644 index 000000000000..ea51f9943547 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Get.json @@ -0,0 +1,40 @@ +{ + "operationId": "Connectors_Get", + "title": "GetConnector", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "connectorName": "testconnector" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json new file mode 100644 index 000000000000..1cbe749165f8 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json @@ -0,0 +1,68 @@ +{ + "operationId": "Connectors_ListByStorageAccount", + "title": "ListConnectorsByStorageAccount", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector1", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/Jill", + "name": "testconnector2", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "westus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json new file mode 100644 index 000000000000..b7ee2af1ec56 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json @@ -0,0 +1,30 @@ +{ + "operationId": "Connectors_TestExistingConnection", + "title": "ExistingConnectionTest", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "connectorName": "testconnector", + "body": { + "uniqueId": "12345678-1234-1234-1234-12345678912" + } + }, + "responses": { + "200": { + "body": { + "storageConnectorMethodName": "TestExistingConnection", + "storageConnectorRequestId": "request-id-123" + } + }, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Update.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Update.json new file mode 100644 index 000000000000..350ec36f984b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Update.json @@ -0,0 +1,59 @@ +{ + "operationId": "Connectors_Update", + "title": "UpdateConnector", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "connectorName": "testconnector", + "properties": { + "properties": { + "source": { + "type": "DataShare", + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/newTestIdentity" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/connectors/testconnector", + "name": "testconnector", + "type": "Microsoft.Storage/storageAccounts/connectors", + "location": "eastus", + "properties": { + "uniqueId": "12345678-1234-1234-1234-12345678912", + "state": "Active", + "creationTime": "2023-04-01T00:00:00Z", + "description": "Example connector", + "dataSourceType": "Azure_DataShare", + "source": { + "type": "DataShare", + "connection": { + "type": "DataShare", + "dataShareUri": "azds://eastus:datashare1:12345678-1234-1234-1234-123456789123" + }, + "authProperties": { + "type": "ManagedIdentity", + "identityResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/newTestIdentity" + } + }, + "provisioningState": "Succeeded" + } + } + }, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Create.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Create.json new file mode 100644 index 000000000000..3329e6af49c5 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Create.json @@ -0,0 +1,86 @@ +{ + "operationId": "DataShares_Create", + "title": "CreateDataShare", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "api-version": "2025-08-01", + "dataShareName": "testdatashare", + "storageAccountName": "teststorageaccount", + "resource": { + "location": "eastus", + "properties": { + "description": "Dummy data share", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "r" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare", + "name": "testdatashare", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare", + "name": "testdatashare", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Delete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Delete.json new file mode 100644 index 000000000000..79820abe5598 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Delete.json @@ -0,0 +1,22 @@ +{ + "operationId": "DataShares_Delete", + "title": "DeleteDataShare", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "dataShareName": "testdatashare", + "api-version": "2025-08-01" + }, + "responses": { + "204": {}, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Get.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Get.json new file mode 100644 index 000000000000..ae0ddc03ae7f --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Get.json @@ -0,0 +1,40 @@ +{ + "operationId": "DataShares_Get", + "title": "GetDataShare", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "dataShareName": "testdatashare" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccounts/datashares/testdatashare", + "name": "testdatashare", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json new file mode 100644 index 000000000000..c551761d5b8b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json @@ -0,0 +1,68 @@ +{ + "operationId": "DataShares_ListByStorageAccount", + "title": "ListDataSharesByStorageAccount", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare1", + "name": "testdatashare1", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare1:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare2", + "name": "testdatashare2", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "westus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "Dummy data share", + "dataShareUri": "azds://eastus:testdatashare2:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder/foo", + "displayName": "virtualFoo" + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Update.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Update.json new file mode 100644 index 000000000000..06a57eb35bc3 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Update.json @@ -0,0 +1,66 @@ +{ + "operationId": "DataShares_Update", + "title": "UpdateDataShare", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "testrg", + "storageAccountName": "teststorageaccount", + "api-version": "2025-08-01", + "dataShareName": "testdatashare", + "properties": { + "properties": { + "description": "New dummy data share", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-123456781234", + "tenantId": "00000000-0000-0000-0000-987654321987", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder1/bar", + "displayName": "virtualBar" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/teststorageaccount/dataShares/testdatashare", + "name": "testdatashare", + "type": "Microsoft.Storage/storageAccounts/dataShares", + "location": "eastus", + "properties": { + "dataShareIdentifier": "00000000-0000-0000-0000-000000000000", + "description": "New dummy data share", + "dataShareUri": "azds://eastus:testdatashare:00000000-0000-0000-0000-000000000000", + "accessPolicies": [ + { + "principalId": "00000000-0000-0000-0000-123456781234", + "tenantId": "00000000-0000-0000-0000-987654321987", + "permission": "Read" + } + ], + "assets": [ + { + "assetPath": "/container/folder1/bar", + "displayName": "virtualBar" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "202": { + "status": "Accepted", + "message": "The resource operation has been received and is being processed.", + "headers": { + "Location": "https://management.azure.com/subscriptions/xxxx/resourceGroups/rg-name/providers/Microsoft.Storage/operations/operation-98765", + "Retry-After": 30 + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationDelete.json new file mode 100644 index 000000000000..405997fce077 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "204": {} + }, + "operationId": "Table_Delete", + "title": "TableOperationDelete" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationGet.json new file mode 100644 index 000000000000..78ce3fc89f67 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Get", + "title": "TableOperationGet" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationList.json new file mode 100644 index 000000000000..7fdf4fc6e10b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables?api-version=2022-09-01&NextTableName=1!40!bXl0YWJsZXNoYzU0OAEwMWQ2MTI5ZTJmYjVmODFh", + "value": [ + { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + }, + { + "name": "table6186", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6186", + "properties": { + "tableName": "table6186" + } + } + ] + } + } + }, + "operationId": "Table_List", + "title": "TableOperationList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPatch.json new file mode 100644 index 000000000000..24580567e30e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPatch.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Update", + "title": "TableOperationPatch" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPut.json new file mode 100644 index 000000000000..5bf26e55cdf2 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPut.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Create", + "title": "TableOperationPut" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPutOrPatchAcls.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPutOrPatchAcls.json new file mode 100644 index 000000000000..cf0f783011b7 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPutOrPatchAcls.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ] + } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ], + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Update", + "title": "TableOperationPutOrPatchAcls" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPutOrPatchAclsTableCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPutOrPatchAclsTableCreate.json new file mode 100644 index 000000000000..c60b34a2ce66 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableOperationPutOrPatchAclsTableCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ] + } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ], + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Create", + "title": "TableOperationPutOrPatchAcls" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesGet.json new file mode 100644 index 000000000000..89e95d40cf95 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableServiceName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "TableServices_GetServiceProperties", + "title": "TableServicesGet" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesList.json new file mode 100644 index 000000000000..79ce4b3fa2d9 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-08-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + ] + } + } + }, + "operationId": "TableServices_List", + "title": "TableServicesList" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesPut.json new file mode 100644 index 000000000000..da96f81900f1 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/TableServicesPut.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-08-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableServiceName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "TableServices_SetServiceProperties", + "title": "TableServicesPut" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json new file mode 100644 index 000000000000..0fd36122fcb6 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + }, + "204": {} + }, + "operationId": "StorageTaskAssignments_Delete", + "title": "DeleteStorageTaskAssignment" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json new file mode 100644 index 000000000000..10b2377ed68d --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + } + }, + "operationId": "StorageTaskAssignments_Get", + "title": "GetStorageTaskAssignment" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json new file mode 100644 index 000000000000..14a59da10076 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "report": { + "prefix": "container1" + } + } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + } + }, + "operationId": "StorageTaskAssignments_Update", + "title": "PatchStorageTaskAssignment" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json new file mode 100644 index 000000000000..49327fc9c280 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "201": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + } + }, + "operationId": "StorageTaskAssignments_Create", + "title": "PutStorageTaskAssignment" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json new file mode 100644 index 000000000000..ed239cf1affd --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "parameters": { + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "201": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + } + }, + "operationId": "StorageTaskAssignments_Create", + "title": "PutStorageTaskAssignmentRequiredProperties" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json new file mode 100644 index 000000000000..91aecd118f49 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "instance1", + "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", + "properties": { + "finishTime": "2023-06-23T00:40:10.2931264Z", + "objectFailedCount": "0", + "objectsOperatedOnCount": "150", + "objectsSucceededCount": "150", + "objectsTargetedCount": "150", + "runResult": "Succeeded", + "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", + "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", + "taskVersion": "1" + } + }, + { + "name": "instance2", + "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", + "properties": { + "finishTime": "2023-06-23T00:40:10.2931264Z", + "objectFailedCount": "0", + "objectsOperatedOnCount": "150", + "objectsSucceededCount": "150", + "objectsTargetedCount": "150", + "runResult": "Succeeded", + "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", + "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", + "taskVersion": "1" + } + } + ] + } + } + }, + "operationId": "StorageTaskAssignmentInstancesReport_List", + "title": "ListStorageTaskAssignmentInstancesReportSummary" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json new file mode 100644 index 000000000000..f7ab5b5c0e4e --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment #1", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + }, + { + "name": "myassignment2", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", + "properties": { + "description": "My Storage task assignment #2", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix3", + "prefix4" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container2" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask2" + } + } + ] + } + } + }, + "operationId": "StorageTaskAssignments_List", + "title": "ListStorageTaskAssignmentsForAccount" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json new file mode 100644 index 000000000000..bc8cfd6eacad --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-08-01", + "resourceGroupName": "res4228", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "instance1", + "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", + "properties": { + "finishTime": "2023-06-23T00:40:10.2931264Z", + "objectFailedCount": "0", + "objectsOperatedOnCount": "150", + "objectsSucceededCount": "150", + "objectsTargetedCount": "150", + "runResult": "Succeeded", + "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", + "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", + "taskVersion": "1" + } + }, + { + "name": "instance2", + "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", + "properties": { + "finishTime": "2023-06-23T00:40:10.2931264Z", + "objectFailedCount": "0", + "objectsOperatedOnCount": "150", + "objectsSucceededCount": "150", + "objectsTargetedCount": "150", + "runResult": "Succeeded", + "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", + "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", + "taskVersion": "1" + } + } + ] + } + } + }, + "operationId": "StorageTaskAssignmentsInstancesReport_List", + "title": "ListStorageTaskAssignmentsInstancesReportSummary" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/openapi.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/openapi.json new file mode 100644 index 000000000000..0a3949d5b58b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/openapi.json @@ -0,0 +1,15870 @@ +{ + "swagger": "2.0", + "info": { + "title": "StorageManagementClient", + "version": "2025-08-01", + "description": "The Azure Storage Management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "BlobContainers" + }, + { + "name": "BlobServices" + }, + { + "name": "StorageAccounts" + }, + { + "name": "ImmutabilityPolicies" + }, + { + "name": "FileShares" + }, + { + "name": "FileServices" + }, + { + "name": "FileServiceUsageOperationGroup" + }, + { + "name": "QueueServices" + }, + { + "name": "StorageQueues" + }, + { + "name": "StorageAccountMigrations" + }, + { + "name": "DeletedAccounts" + }, + { + "name": "ManagementPolicies" + }, + { + "name": "BlobInventoryPolicies" + }, + { + "name": "PrivateEndpointConnections" + }, + { + "name": "ObjectReplicationPolicyOperationGroup" + }, + { + "name": "LocalUserOperationGroup" + }, + { + "name": "EncryptionScopes" + }, + { + "name": "TableServices" + }, + { + "name": "Tables" + }, + { + "name": "NetworkSecurityPerimeterConfigurations" + }, + { + "name": "StorageTaskAssignments" + }, + { + "name": "Connectors" + }, + { + "name": "DataShares" + } + ], + "paths": { + "/providers/Microsoft.Storage/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "Lists all of the available Storage Rest API operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "OperationsList": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability": { + "post": { + "operationId": "StorageAccounts_CheckNameAvailability", + "tags": [ + "StorageAccounts" + ], + "description": "Checks that the storage account name is valid and is not already in use.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "accountName", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountCheckNameAvailabilityParameters" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountCheckNameAvailability": { + "$ref": "./examples/StorageAccountCheckNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts": { + "get": { + "operationId": "DeletedAccounts_List", + "description": "Lists deleted accounts under the subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeletedAccountListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeletedAccountList": { + "$ref": "./examples/DeletedAccountList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}": { + "get": { + "operationId": "DeletedAccounts_Get", + "tags": [ + "DeletedAccounts" + ], + "description": "Get properties of specified deleted account resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "deletedAccountName", + "in": "path", + "description": "Name of the deleted storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeletedAccountGet": { + "$ref": "./examples/DeletedAccountGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages": { + "get": { + "operationId": "Usages_ListByLocation", + "description": "Gets the current usage count and the limit for the resources of the location under the subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UsageList": { + "$ref": "./examples/StorageAccountListLocationUsage.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus": { + "get": { + "operationId": "Skus_List", + "description": "Lists the available SKUs supported by Microsoft.Storage for given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/StorageSkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SKUListWithLocationInfo": { + "$ref": "./examples/SKUListWithLocationInfo.json" + }, + "SkuList": { + "$ref": "./examples/SKUList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts": { + "get": { + "operationId": "StorageAccounts_List", + "tags": [ + "StorageAccounts" + ], + "description": "Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountList": { + "$ref": "./examples/StorageAccountList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts": { + "get": { + "operationId": "StorageAccounts_ListByResourceGroup", + "tags": [ + "StorageAccounts" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListByResourceGroup": { + "$ref": "./examples/StorageAccountListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}": { + "get": { + "operationId": "StorageAccounts_GetProperties", + "tags": [ + "StorageAccounts" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$expand", + "in": "query", + "description": "May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus.", + "required": false, + "type": "string", + "enum": [ + "geoReplicationStats", + "blobRestoreStatus" + ], + "x-ms-enum": { + "name": "StorageAccountExpand", + "modelAsString": false + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetAsyncSkuConversionStatus": { + "$ref": "./examples/StorageAccountGetAsyncSkuConversionStatus.json" + }, + "StorageAccountGetProperties": { + "$ref": "./examples/StorageAccountGetProperties.json" + }, + "StorageAccountGetPropertiesCMKEnabled": { + "$ref": "./examples/StorageAccountGetPropertiesCMKEnabled.json" + }, + "StorageAccountGetPropertiesCMKVersionExpirationTime": { + "$ref": "./examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json" + }, + "StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse": { + "$ref": "./examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json" + }, + "StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue": { + "$ref": "./examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json" + } + } + }, + "put": { + "operationId": "StorageAccounts_Create", + "tags": [ + "StorageAccounts" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide for the created account.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountCreateParameters" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StorageAccount' update operation succeeded", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NfsV3AccountCreate": { + "$ref": "./examples/NfsV3AccountCreate.json" + }, + "StorageAccountCreate": { + "$ref": "./examples/StorageAccountCreate.json" + }, + "StorageAccountCreateAllowedCopyScopeToAAD": { + "$ref": "./examples/StorageAccountCreateAllowedCopyScopeToAAD.json" + }, + "StorageAccountCreateAllowedCopyScopeToPrivateLink": { + "$ref": "./examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json" + }, + "StorageAccountCreateDisallowPublicNetworkAccess": { + "$ref": "./examples/StorageAccountCreateDisallowPublicNetworkAccess.json" + }, + "StorageAccountCreateDnsEndpointTypeToAzureDnsZone": { + "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json" + }, + "StorageAccountCreateDnsEndpointTypeToStandard": { + "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToStandard.json" + }, + "StorageAccountCreateEnablePublicNetworkAccess": { + "$ref": "./examples/StorageAccountCreateEnablePublicNetworkAccess.json" + }, + "StorageAccountCreatePremiumBlockBlobStorage": { + "$ref": "./examples/StorageAccountCreatePremiumBlockBlobStorage.json" + }, + "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK": { + "$ref": "./examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json" + }, + "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.": { + "$ref": "./examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json" + }, + "StorageAccountCreateWithImmutabilityPolicy": { + "$ref": "./examples/StorageAccountCreateWithImmutabilityPolicy.json" + }, + "StorageAccountCreate_placement": { + "$ref": "./examples/StorageAccountCreate_placement.json" + }, + "StorageAccountCreate_zones": { + "$ref": "./examples/StorageAccountCreate_zones.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StorageAccount" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "StorageAccounts_Update", + "tags": [ + "StorageAccounts" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide for the updated account.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountEnableAD": { + "$ref": "./examples/StorageAccountEnableAD.json" + }, + "StorageAccountEnableCMK": { + "$ref": "./examples/StorageAccountEnableCMK.json" + }, + "StorageAccountEnableSmbOAuth": { + "$ref": "./examples/StorageAccountEnableSmbOAuth.json" + }, + "StorageAccountUpdate": { + "$ref": "./examples/StorageAccountUpdate.json" + }, + "StorageAccountUpdateAllowedCopyScopeToAAD": { + "$ref": "./examples/StorageAccountUpdateAllowedCopyScopeToAAD.json" + }, + "StorageAccountUpdateDisablePublicNetworkAccess": { + "$ref": "./examples/StorageAccountUpdateDisablePublicNetworkAccess.json" + }, + "StorageAccountUpdateEnableIpv6Features": { + "$ref": "./examples/StorageAccountLeverageIPv6Ability.json" + }, + "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK": { + "$ref": "./examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json" + }, + "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId": { + "$ref": "./examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json" + }, + "StorageAccountUpdateWithImmutabilityPolicy": { + "$ref": "./examples/StorageAccountUpdateWithImmutabilityPolicy.json" + }, + "StorageAccountUpdate_placement": { + "$ref": "./examples/StorageAccountUpdate_placement.json" + }, + "StorageAccountUpdate_zones": { + "$ref": "./examples/StorageAccountUpdate_zones.json" + } + } + }, + "delete": { + "operationId": "StorageAccounts_Delete", + "tags": [ + "StorageAccounts" + ], + "description": "Deletes a storage account in Microsoft Azure.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountDelete": { + "$ref": "./examples/StorageAccountDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration": { + "post": { + "operationId": "StorageAccounts_AbortHierarchicalNamespaceMigration", + "tags": [ + "StorageAccounts" + ], + "description": "Abort live Migration of storage account to enable Hns", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountAbortHierarchicalNamespaceMigration": { + "$ref": "./examples/StorageAccountAbortHierarchicalNamespaceMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}": { + "get": { + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "tags": [ + "StorageAccountMigrations" + ], + "description": "Gets the status of the ongoing migration for the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "migrationName", + "in": "path", + "description": "The name of the Storage Account Migration. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "MigrationName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountMigration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetMigrationFailed": { + "$ref": "./examples/StorageAccountGetMigrationFailed.json" + }, + "StorageAccountGetMigrationInProgress": { + "$ref": "./examples/StorageAccountGetMigrationInProgress.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices": { + "get": { + "operationId": "BlobServices_List", + "tags": [ + "BlobServices" + ], + "description": "List blob services of storage account. It returns a collection of one object named default.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobServiceItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListBlobServices": { + "$ref": "./examples/BlobServicesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default": { + "get": { + "operationId": "BlobServices_GetServiceProperties", + "tags": [ + "BlobServices" + ], + "description": "Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetBlobServices": { + "$ref": "./examples/BlobServicesGet.json" + } + } + }, + "put": { + "operationId": "BlobServices_SetServiceProperties", + "tags": [ + "BlobServices" + ], + "description": "Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BlobServiceProperties' update operation succeeded", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BlobServicesPutAllowPermanentDelete": { + "$ref": "./examples/BlobServicesPutAllowPermanentDelete.json" + }, + "BlobServicesPutLastAccessTimeBasedTracking": { + "$ref": "./examples/BlobServicesPutLastAccessTimeBasedTracking.json" + }, + "PutBlobServices": { + "$ref": "./examples/BlobServicesPut.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { + "get": { + "operationId": "BlobContainers_List", + "tags": [ + "BlobServices" + ], + "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional. Specified maximum number of containers that can be included in the list.", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only container names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional, used to include the properties for soft deleted blob containers.", + "required": false, + "type": "string", + "enum": [ + "deleted" + ], + "x-ms-enum": { + "name": "ListContainersInclude", + "modelAsString": true, + "values": [ + { + "name": "deleted", + "value": "deleted" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListContainerItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListContainers": { + "$ref": "./examples/BlobContainersList.json" + }, + "ListDeletedContainers": { + "$ref": "./examples/DeletedBlobContainersList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { + "get": { + "operationId": "BlobContainers_Get", + "tags": [ + "BlobContainers" + ], + "description": "Gets properties of a specified container.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetBlobContainersGetWithAllowProtectedAppendWritesAll": { + "$ref": "./examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json" + }, + "GetContainers": { + "$ref": "./examples/BlobContainersGet.json" + } + } + }, + "put": { + "operationId": "BlobContainers_Create", + "tags": [ + "BlobContainers" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "blobContainer", + "in": "body", + "description": "Properties of the blob container to create.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BlobContainer' update operation succeeded", + "schema": { + "$ref": "#/definitions/BlobContainer" + } + }, + "201": { + "description": "Resource 'BlobContainer' create operation succeeded", + "schema": { + "$ref": "#/definitions/BlobContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutContainerWithDefaultEncryptionScope": { + "$ref": "./examples/BlobContainersPutDefaultEncryptionScope.json" + }, + "PutContainerWithObjectLevelWorm": { + "$ref": "./examples/BlobContainersPutObjectLevelWorm.json" + }, + "PutContainers": { + "$ref": "./examples/BlobContainersPut.json" + } + } + }, + "patch": { + "operationId": "BlobContainers_Update", + "tags": [ + "BlobContainers" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "blobContainer", + "in": "body", + "description": "Properties to update for the blob container.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UpdateContainers": { + "$ref": "./examples/BlobContainersPatch.json" + } + } + }, + "delete": { + "operationId": "BlobContainers_Delete", + "tags": [ + "BlobContainers" + ], + "description": "Deletes specified container under its account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteContainers": { + "$ref": "./examples/BlobContainersDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { + "post": { + "operationId": "BlobContainers_ClearLegalHold", + "tags": [ + "BlobContainers" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "LegalHold", + "in": "body", + "description": "The LegalHold property that will be clear from a blob container.", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ClearLegalHoldContainers": { + "$ref": "./examples/BlobContainersClearLegalHold.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default": { + "get": { + "operationId": "BlobContainers_GetImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetImmutabilityPolicy": { + "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" + } + } + }, + "put": { + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container.", + "required": false, + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdateImmutabilityPolicy": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" + }, + "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json" + } + } + }, + "delete": { + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteImmutabilityPolicy": { + "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { + "post": { + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtendImmutabilityPolicy": { + "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { + "post": { + "operationId": "BlobContainers_LockImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LockImmutabilityPolicy": { + "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { + "post": { + "operationId": "BlobContainers_Lease", + "tags": [ + "BlobContainers" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "parameters", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/LeaseContainerRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseContainerResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Acquire a lease on a container": { + "$ref": "./examples/BlobContainersLease_Acquire.json" + }, + "Break a lease on a container": { + "$ref": "./examples/BlobContainersLease_Break.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate": { + "post": { + "operationId": "BlobContainers_ObjectLevelWorm", + "tags": [ + "BlobContainers" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "VersionLevelWormContainerMigration": { + "$ref": "./examples/ObjectLevelWormContainerMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { + "post": { + "operationId": "BlobContainers_SetLegalHold", + "tags": [ + "BlobContainers" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "LegalHold", + "in": "body", + "description": "The LegalHold property that will be set to a blob container.", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SetLegalHoldContainers": { + "$ref": "./examples/BlobContainersSetLegalHold.json" + }, + "SetLegalHoldContainersWithAllowProtectedAppendWritesAll": { + "$ref": "./examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors": { + "get": { + "operationId": "Connectors_ListByStorageAccount", + "tags": [ + "Connectors" + ], + "description": "List all Storage Connectors in a Storage Account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectorListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListConnectorsByStorageAccount": { + "$ref": "./examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors/{connectorName}": { + "get": { + "operationId": "Connectors_Get", + "tags": [ + "Connectors" + ], + "description": "Get the specified Storage Connector.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the Storage Connector.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Connector" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetConnector": { + "$ref": "./examples/StorageConnectorCRUD/StorageConnectors_Get.json" + } + } + }, + "put": { + "operationId": "Connectors_Create", + "tags": [ + "Connectors" + ], + "description": "Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the Storage Connector.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", + "required": true, + "schema": { + "$ref": "#/definitions/Connector" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Connector' update operation succeeded", + "schema": { + "$ref": "#/definitions/Connector" + } + }, + "201": { + "description": "Resource 'Connector' create operation succeeded", + "schema": { + "$ref": "#/definitions/Connector" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateConnector": { + "$ref": "./examples/StorageConnectorCRUD/StorageConnectors_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Connector" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Connectors_Update", + "tags": [ + "Connectors" + ], + "description": "Update a Storage Connector.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the Storage Connector.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The updated properties of the Storage Connector.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectorUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Connector" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UpdateConnector": { + "$ref": "./examples/StorageConnectorCRUD/StorageConnectors_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Connector" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Connectors_Delete", + "tags": [ + "Connectors" + ], + "description": "Delete a Storage Connector.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the Storage Connector.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteConnector": { + "$ref": "./examples/StorageConnectorCRUD/StorageConnectors_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors/{connectorName}/testExistingConnection": { + "post": { + "operationId": "Connectors_TestExistingConnection", + "tags": [ + "Connectors" + ], + "description": "This method is used to verify that the connection to the backing data store works.\nThis API is designed to be used for monitoring and debugging purposes. From the caller’s perspective,\nthis method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc.\nIf the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "connectorName", + "in": "path", + "description": "The name of the Storage Connector.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "This method is used to verify that the connection to the backing data store works. This API is designed to be used for monitoring and debugging purposes. From the caller’s perspective, this method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc. If the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte.", + "required": true, + "schema": { + "$ref": "#/definitions/TestExistingConnectionRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestConnectionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExistingConnectionTest": { + "$ref": "./examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/TestConnectionResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/dataShares": { + "get": { + "operationId": "DataShares_ListByStorageAccount", + "tags": [ + "DataShares" + ], + "description": "List all Storage DataShares in a Storage Account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataShareListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListDataSharesByStorageAccount": { + "$ref": "./examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/dataShares/{dataShareName}": { + "get": { + "operationId": "DataShares_Get", + "tags": [ + "DataShares" + ], + "description": "Get the specified Storage DataShare.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "dataShareName", + "in": "path", + "description": "The name of the Storage DataShare.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataShare" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetDataShare": { + "$ref": "./examples/StorageDataShareCRUD/StorageDataShares_Get.json" + } + } + }, + "put": { + "operationId": "DataShares_Create", + "tags": [ + "DataShares" + ], + "description": "Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "dataShareName", + "in": "path", + "description": "The name of the Storage DataShare.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", + "required": true, + "schema": { + "$ref": "#/definitions/DataShare" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataShare' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataShare" + } + }, + "201": { + "description": "Resource 'DataShare' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataShare" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateDataShare": { + "$ref": "./examples/StorageDataShareCRUD/StorageDataShares_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DataShare" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DataShares_Update", + "tags": [ + "DataShares" + ], + "description": "Update a Storage DataShare.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "dataShareName", + "in": "path", + "description": "The name of the Storage DataShare.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The updated properties of the Storage DataShare.", + "required": true, + "schema": { + "$ref": "#/definitions/DataShareUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataShare" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UpdateDataShare": { + "$ref": "./examples/StorageDataShareCRUD/StorageDataShares_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DataShare" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DataShares_Delete", + "tags": [ + "DataShares" + ], + "description": "Delete a Storage DataShare.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "dataShareName", + "in": "path", + "description": "The name of the Storage DataShare.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteDataShare": { + "$ref": "./examples/StorageDataShareCRUD/StorageDataShares_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes": { + "get": { + "operationId": "EncryptionScopes_List", + "tags": [ + "EncryptionScopes" + ], + "description": "Lists all the encryption scopes available under the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of encryption scopes that will be included in the list response.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 5000 + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only encryption scope names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional, when specified, will list encryption scopes with the specific state. Defaults to All", + "required": false, + "type": "string", + "enum": [ + "All", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ListEncryptionScopesInclude", + "modelAsString": true, + "values": [ + { + "name": "All", + "value": "All" + }, + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScopeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountEncryptionScopeList": { + "$ref": "./examples/StorageAccountEncryptionScopeList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}": { + "get": { + "operationId": "EncryptionScopes_Get", + "tags": [ + "EncryptionScopes" + ], + "description": "Returns the properties for the specified encryption scope.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetEncryptionScope": { + "$ref": "./examples/StorageAccountGetEncryptionScope.json" + } + } + }, + "put": { + "operationId": "EncryptionScopes_Put", + "tags": [ + "EncryptionScopes" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "encryptionScope", + "in": "body", + "description": "Encryption scope properties to be used for the create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EncryptionScope' update operation succeeded", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "201": { + "description": "Resource 'EncryptionScope' create operation succeeded", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPutEncryptionScope": { + "$ref": "./examples/StorageAccountPutEncryptionScope.json" + }, + "StorageAccountPutEncryptionScopeWithInfrastructureEncryption": { + "$ref": "./examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json" + } + } + }, + "patch": { + "operationId": "EncryptionScopes_Patch", + "tags": [ + "EncryptionScopes" + ], + "description": "Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "encryptionScope", + "in": "body", + "description": "Encryption scope properties to be used for the update.", + "required": true, + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPatchEncryptionScope": { + "$ref": "./examples/StorageAccountPatchEncryptionScope.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover": { + "post": { + "operationId": "StorageAccounts_Failover", + "tags": [ + "StorageAccounts" + ], + "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/azure/storage/common/storage-disaster-recovery-guidance", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "failoverType", + "in": "query", + "description": "The parameter is set to 'Planned' to indicate whether a Planned failover is requested.", + "required": false, + "type": "string", + "enum": [ + "Planned" + ], + "x-ms-enum": { + "modelAsString": false + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountFailover": { + "$ref": "./examples/StorageAccountFailover.json" + }, + "StorageAccountFailoverPlanned": { + "$ref": "./examples/StorageAccountFailoverPlanned.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices": { + "get": { + "operationId": "FileServices_List", + "tags": [ + "FileServices" + ], + "description": "List all file services in storage accounts", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListFileServices": { + "$ref": "./examples/FileServicesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default": { + "get": { + "operationId": "FileServices_GetServiceProperties", + "tags": [ + "FileServices" + ], + "description": "Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetFileServices": { + "$ref": "./examples/FileServicesGet.json" + } + } + }, + "put": { + "operationId": "FileServices_SetServiceProperties", + "tags": [ + "FileServices" + ], + "description": "Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "required": true, + "schema": { + "$ref": "#/definitions/FileServiceProperties" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FileServiceProperties' update operation succeeded", + "schema": { + "$ref": "#/definitions/FileServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PutFileServices": { + "$ref": "./examples/FileServicesPut.json" + }, + "PutFileServices_EnableSMBMultichannel": { + "$ref": "./examples/FileServicesPut_EnableSMBMultichannel.json" + }, + "PutFileServices_EnableSecureSmbFeatures": { + "$ref": "./examples/FileServicesPut_EnableSecureSmbFeatures.json" + }, + "PutFileServices_EncryptionInTransitRequired": { + "$ref": "./examples/FileServicesPut_EncryptionInTransitRequired.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares": { + "get": { + "operationId": "FileShares_List", + "tags": [ + "FileServices" + ], + "description": "Lists all shares.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional. Specified maximum number of shares that can be included in the list.", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only share names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ','", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileShareItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListDeletedShares": { + "$ref": "./examples/DeletedFileSharesList.json" + }, + "ListShareSnapshots": { + "$ref": "./examples/FileShareSnapshotsList.json" + }, + "ListShares": { + "$ref": "./examples/FileSharesList.json" + }, + "ListSharesPaidBursting": { + "$ref": "./examples/FileSharesList_PaidBursting.json" + }, + "ListSharesProvisionedV2": { + "$ref": "./examples/FileSharesList_ProvisionedV2.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}": { + "get": { + "operationId": "FileShares_Get", + "tags": [ + "FileShares" + ], + "description": "Gets properties of a specified share.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "$expand", + "in": "query", + "description": "Optional, used to expand the properties within share's properties. Valid values are: stats. Should be passed as a string with delimiter ','.", + "required": false, + "type": "string" + }, + { + "name": "x-ms-snapshot", + "in": "header", + "description": "Optional, used to retrieve properties of a snapshot.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileShare" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetSharePaidBursting": { + "$ref": "./examples/FileSharesGet_PaidBursting.json" + }, + "GetShareProvisionedV2": { + "$ref": "./examples/FileSharesGet_ProvisionedV2.json" + }, + "GetShareStats": { + "$ref": "./examples/FileSharesGet_Stats.json" + }, + "GetShares": { + "$ref": "./examples/FileSharesGet.json" + } + } + }, + "put": { + "operationId": "FileShares_Create", + "tags": [ + "FileShares" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "$expand", + "in": "query", + "description": "Optional, used to expand the properties within share's properties. Valid values are: snapshots. Should be passed as a string with delimiter ','", + "required": false, + "type": "string" + }, + { + "name": "fileShare", + "in": "body", + "description": "Properties of the file share to create.", + "required": true, + "schema": { + "$ref": "#/definitions/FileShare" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FileShare' update operation succeeded", + "schema": { + "$ref": "#/definitions/FileShare" + } + }, + "201": { + "description": "Resource 'FileShare' create operation succeeded", + "schema": { + "$ref": "#/definitions/FileShare" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create NFS Shares": { + "$ref": "./examples/FileSharesPut_NFS.json" + }, + "PutShares": { + "$ref": "./examples/FileSharesPut.json" + }, + "PutShares with Access Tier": { + "$ref": "./examples/FileSharesPut_AccessTier.json" + }, + "PutShares with Paid Bursting": { + "$ref": "./examples/FileSharesPut_PaidBursting.json" + }, + "PutSharesProvisionedV2": { + "$ref": "./examples/FileSharesPut_ProvisionedV2.json" + } + } + }, + "patch": { + "operationId": "FileShares_Update", + "tags": [ + "FileShares" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "fileShare", + "in": "body", + "description": "Properties to update for the file share.", + "required": true, + "schema": { + "$ref": "#/definitions/FileShare" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileShare" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "UpdateShareAcls": { + "$ref": "./examples/FileShareAclsPatch.json" + }, + "UpdateSharePaidBursting": { + "$ref": "./examples/FileSharesPatch_PaidBursting.json" + }, + "UpdateShareProvisionedV2": { + "$ref": "./examples/FileSharesPatch_ProvisionedV2.json" + }, + "UpdateShares": { + "$ref": "./examples/FileSharesPatch.json" + } + } + }, + "delete": { + "operationId": "FileShares_Delete", + "tags": [ + "FileShares" + ], + "description": "Deletes specified share under its account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "x-ms-snapshot", + "in": "header", + "description": "Optional, used to delete a snapshot.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional. Valid values are: snapshots, leased-snapshots, none. The default value is snapshots. For 'snapshots', the file share is deleted including all of its file share snapshots. If the file share contains leased-snapshots, the deletion fails. For 'leased-snapshots', the file share is deleted included all of its file share snapshots (leased/unleased). For 'none', the file share is deleted if it has no share snapshots. If the file share contains any snapshots (leased or unleased), the deletion fails.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "DeleteShares": { + "$ref": "./examples/FileSharesDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/lease": { + "post": { + "operationId": "FileShares_Lease", + "tags": [ + "FileShares" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "x-ms-snapshot", + "in": "header", + "description": "Optional. Specify the snapshot time to lease a snapshot.", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/LeaseShareRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseShareResponse" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Acquire a lease on a share": { + "$ref": "./examples/FileSharesLease_Acquire.json" + }, + "Break a lease on a share": { + "$ref": "./examples/FileSharesLease_Break.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore": { + "post": { + "operationId": "FileShares_Restore", + "tags": [ + "FileShares" + ], + "description": "Restore a file share within a valid retention days if share soft delete is enabled", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "deletedShare", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/DeletedShare" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "RestoreShares": { + "$ref": "./examples/FileSharesRestore.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/usages": { + "get": { + "operationId": "FileServices_ListServiceUsages", + "tags": [ + "FileServiceUsageOperationGroup" + ], + "description": "Gets the usages of file service in storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of file service usages to be included in the list response.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceUsages" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListFileServiceUsages": { + "$ref": "./examples/FileServicesListUsages.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/usages/default": { + "get": { + "operationId": "FileServices_GetServiceUsage", + "tags": [ + "FileServiceUsageOperationGroup" + ], + "description": "Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceUsage" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetFileServiceUsage": { + "$ref": "./examples/FileServicesGetUsage.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration": { + "post": { + "operationId": "StorageAccounts_HierarchicalNamespaceMigration", + "tags": [ + "StorageAccounts" + ], + "description": "Live Migration of storage account to enable Hns", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "requestType", + "in": "query", + "description": "Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountHierarchicalNamespaceMigration": { + "$ref": "./examples/StorageAccountHierarchicalNamespaceMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies": { + "get": { + "operationId": "BlobInventoryPolicies_List", + "tags": [ + "BlobInventoryPolicies" + ], + "description": "Gets the blob inventory policy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListBlobInventoryPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetBlobInventoryPolicy": { + "$ref": "./examples/StorageAccountListBlobInventoryPolicy.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}": { + "get": { + "operationId": "BlobInventoryPolicies_Get", + "tags": [ + "BlobInventoryPolicies" + ], + "description": "Gets the blob inventory policy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "blobInventoryPolicyName", + "in": "path", + "description": "The name of the storage account blob inventory policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "BlobInventoryPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobInventoryPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageAccountGetBlobInventoryPolicy": { + "$ref": "./examples/StorageAccountGetBlobInventoryPolicy.json" + } + } + }, + "put": { + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "tags": [ + "BlobInventoryPolicies" + ], + "description": "Sets the blob inventory policy to the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "blobInventoryPolicyName", + "in": "path", + "description": "The name of the storage account blob inventory policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "BlobInventoryPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + }, + { + "name": "properties", + "in": "body", + "description": "The blob inventory policy set to a storage account.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobInventoryPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BlobInventoryPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/BlobInventoryPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageAccountSetBlobInventoryPolicy": { + "$ref": "./examples/StorageAccountSetBlobInventoryPolicy.json" + }, + "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount": { + "$ref": "./examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json" + }, + "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount": { + "$ref": "./examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json" + } + } + }, + "delete": { + "operationId": "BlobInventoryPolicies_Delete", + "tags": [ + "BlobInventoryPolicies" + ], + "description": "Deletes the blob inventory policy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "blobInventoryPolicyName", + "in": "path", + "description": "The name of the storage account blob inventory policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "BlobInventoryPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageAccountDeleteBlobInventoryPolicy": { + "$ref": "./examples/StorageAccountDeleteBlobInventoryPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listAccountSas": { + "post": { + "operationId": "StorageAccounts_ListAccountSAS", + "tags": [ + "StorageAccounts" + ], + "description": "List SAS credentials of a storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide to list SAS credentials for the storage account.", + "required": true, + "schema": { + "$ref": "#/definitions/AccountSasParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListAccountSasResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListAccountSAS": { + "$ref": "./examples/StorageAccountListAccountSAS.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys": { + "post": { + "operationId": "StorageAccounts_ListKeys", + "tags": [ + "StorageAccounts" + ], + "description": "Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$expand", + "in": "query", + "description": "Specifies type of the key to be listed. Possible value is kerb.", + "required": false, + "type": "string", + "enum": [ + "kerb" + ], + "x-ms-enum": { + "modelAsString": false + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountListKeysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListKeys": { + "$ref": "./examples/StorageAccountListKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listServiceSas": { + "post": { + "operationId": "StorageAccounts_ListServiceSAS", + "tags": [ + "StorageAccounts" + ], + "description": "List service SAS credentials of a specific resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide to list service SAS credentials.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceSasParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListServiceSasResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListServiceSAS": { + "$ref": "./examples/StorageAccountListServiceSAS.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers": { + "get": { + "operationId": "LocalUsers_List", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "List the local users associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of local users that will be included in the list response.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 5000 + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only local user names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional, when specified, will list local users enabled for the specific protocol. Lists all users by default.", + "required": false, + "type": "string", + "enum": [ + "nfsv3" + ], + "x-ms-enum": { + "name": "ListLocalUserIncludeParam", + "modelAsString": true, + "values": [ + { + "name": "nfsv3", + "value": "nfsv3" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalUsers" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListLocalUsers": { + "$ref": "./examples/LocalUsersList.json" + }, + "ListNFSv3EnabledLocalUsers": { + "$ref": "./examples/LocalUsersListNFSv3Enabled.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}": { + "get": { + "operationId": "LocalUsers_Get", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "Get the local user of the storage account by username.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalUser" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetLocalUser": { + "$ref": "./examples/LocalUserGet.json" + } + } + }, + "put": { + "operationId": "LocalUsers_CreateOrUpdate", + "tags": [ + "LocalUserOperationGroup" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + }, + { + "name": "properties", + "in": "body", + "description": "The local user associated with a storage account.", + "required": true, + "schema": { + "$ref": "#/definitions/LocalUser" + } + } + ], + "responses": { + "200": { + "description": "Resource 'LocalUser' update operation succeeded", + "schema": { + "$ref": "#/definitions/LocalUser" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateLocalUser": { + "$ref": "./examples/LocalUserCreate.json" + }, + "CreateNFSv3EnabledLocalUser": { + "$ref": "./examples/LocalUserCreateNFSv3Enabled.json" + }, + "UpdateLocalUser": { + "$ref": "./examples/LocalUserUpdate.json" + } + } + }, + "delete": { + "operationId": "LocalUsers_Delete", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "Deletes the local user associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteLocalUser": { + "$ref": "./examples/LocalUserDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys": { + "post": { + "operationId": "LocalUsers_ListKeys", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "List SSH authorized keys and shared key of the local user.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalUserKeys" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListLocalUserKeys": { + "$ref": "./examples/LocalUserListKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword": { + "post": { + "operationId": "LocalUsers_RegeneratePassword", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "Regenerate the local user SSH password.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalUserRegeneratePasswordResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegenerateLocalUserPassword": { + "$ref": "./examples/LocalUserRegeneratePassword.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}": { + "get": { + "operationId": "ManagementPolicies_Get", + "tags": [ + "ManagementPolicies" + ], + "description": "Gets the managementpolicy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "managementPolicyName", + "in": "path", + "description": "The name of the Storage Account Management Policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "ManagementPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagementPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetManagementPolicies": { + "$ref": "./examples/StorageAccountGetManagementPolicy.json" + } + } + }, + "put": { + "operationId": "ManagementPolicies_CreateOrUpdate", + "tags": [ + "ManagementPolicies" + ], + "description": "Sets the managementpolicy to the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "managementPolicyName", + "in": "path", + "description": "The name of the Storage Account Management Policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "ManagementPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + }, + { + "name": "properties", + "in": "body", + "description": "The ManagementPolicy set to a storage account.", + "required": true, + "schema": { + "$ref": "#/definitions/ManagementPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ManagementPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/ManagementPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountSetManagementPolicies": { + "$ref": "./examples/StorageAccountSetManagementPolicy.json" + }, + "StorageAccountSetManagementPolicyColdTierActions": { + "$ref": "./examples/StorageAccountSetManagementPolicyColdTierActions.json" + }, + "StorageAccountSetManagementPolicyForBlockAndAppendBlobs": { + "$ref": "./examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json" + }, + "StorageAccountSetManagementPolicyHotTierActions": { + "$ref": "./examples/StorageAccountSetManagementPolicyHotTierActions.json" + }, + "StorageAccountSetManagementPolicyWithSnapshotAndVersion": { + "$ref": "./examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json" + }, + "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions": { + "$ref": "./examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json" + }, + "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions": { + "$ref": "./examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json" + }, + "StorageAccountSetManagementPolicy_LastTierChangeTimeActions": { + "$ref": "./examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json" + } + } + }, + "delete": { + "operationId": "ManagementPolicies_Delete", + "tags": [ + "ManagementPolicies" + ], + "description": "Deletes the managementpolicy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "managementPolicyName", + "in": "path", + "description": "The name of the Storage Account Management Policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "ManagementPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountDeleteManagementPolicies": { + "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations": { + "get": { + "operationId": "NetworkSecurityPerimeterConfigurations_List", + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Gets list of effective NetworkSecurityPerimeterConfiguration for storage account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterConfigurationList": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}": { + "get": { + "operationId": "NetworkSecurityPerimeterConfigurations_Get", + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Gets effective NetworkSecurityPerimeterConfiguration for association", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "networkSecurityPerimeterConfigurationName", + "in": "path", + "description": "The name for Network Security Perimeter configuration", + "required": true, + "type": "string", + "pattern": "^.*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterConfigurationGet": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile": { + "post": { + "operationId": "NetworkSecurityPerimeterConfigurations_Reconcile", + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Refreshes any information about the association.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "networkSecurityPerimeterConfigurationName", + "in": "path", + "description": "The name for Network Security Perimeter configuration", + "required": true, + "type": "string", + "pattern": "^.*$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterConfigurationReconcile": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationReconcile.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies": { + "get": { + "operationId": "ObjectReplicationPolicies_List", + "tags": [ + "ObjectReplicationPolicyOperationGroup" + ], + "description": "List the object replication policies associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ObjectReplicationPolicies" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListObjectReplicationPolicies": { + "$ref": "./examples/StorageAccountListObjectReplicationPolicies.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}": { + "get": { + "operationId": "ObjectReplicationPolicies_Get", + "tags": [ + "ObjectReplicationPolicyOperationGroup" + ], + "description": "Get the object replication policy of the storage account by policy ID.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "objectReplicationPolicyId", + "in": "path", + "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ObjectReplicationPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetObjectReplicationPolicies": { + "$ref": "./examples/StorageAccountGetObjectReplicationPolicy.json" + } + } + }, + "put": { + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "tags": [ + "ObjectReplicationPolicyOperationGroup" + ], + "description": "Create or update the object replication policy of the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "objectReplicationPolicyId", + "in": "path", + "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "properties", + "in": "body", + "description": "The object replication policy set to a storage account. A unique policy ID will be created if absent.", + "required": true, + "schema": { + "$ref": "#/definitions/ObjectReplicationPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ObjectReplicationPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/ObjectReplicationPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountCreateObjectReplicationPolicyOnDestination": { + "$ref": "./examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json" + }, + "StorageAccountCreateObjectReplicationPolicyOnSource": { + "$ref": "./examples/StorageAccountCreateObjectReplicationPolicyOnSource.json" + }, + "StorageAccountUpdateObjectReplicationPolicyOnDestination": { + "$ref": "./examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json" + }, + "StorageAccountUpdateObjectReplicationPolicyOnSource": { + "$ref": "./examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json" + } + } + }, + "delete": { + "operationId": "ObjectReplicationPolicies_Delete", + "tags": [ + "ObjectReplicationPolicyOperationGroup" + ], + "description": "Deletes the object replication policy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "objectReplicationPolicyId", + "in": "path", + "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountDeleteObjectReplicationPolicies": { + "$ref": "./examples/StorageAccountDeleteObjectReplicationPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all the private endpoint connections associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListPrivateEndpointConnections": { + "$ref": "./examples/StorageAccountListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets the specified private endpoint connection associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection associated with the Azure resource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetPrivateEndpointConnection": { + "$ref": "./examples/StorageAccountGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "operationId": "PrivateEndpointConnections_Put", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Update the state of specified private endpoint connection associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection associated with the Azure resource", + "required": true, + "type": "string" + }, + { + "name": "properties", + "in": "body", + "description": "The private endpoint connection properties.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateEndpointConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPutPrivateEndpointConnection": { + "$ref": "./examples/StorageAccountPutPrivateEndpointConnection.json" + } + } + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes the specified private endpoint connection associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection associated with the Azure resource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountDeletePrivateEndpointConnection": { + "$ref": "./examples/StorageAccountDeletePrivateEndpointConnection.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources": { + "get": { + "operationId": "PrivateLinkResources_ListByStorageAccount", + "tags": [ + "StorageAccounts" + ], + "description": "Gets the private link resources that need to be created for a storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListPrivateLinkResources": { + "$ref": "./examples/StorageAccountListPrivateLinkResources.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices": { + "get": { + "operationId": "QueueServices_List", + "tags": [ + "QueueServices" + ], + "description": "List all queue services for the storage account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListQueueServices" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueServicesList": { + "$ref": "./examples/QueueServicesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default": { + "get": { + "operationId": "QueueServices_GetServiceProperties", + "tags": [ + "QueueServices" + ], + "description": "Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QueueServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueServicesGet": { + "$ref": "./examples/QueueServicesGet.json" + } + } + }, + "put": { + "operationId": "QueueServices_SetServiceProperties", + "tags": [ + "QueueServices" + ], + "description": "Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.", + "required": true, + "schema": { + "$ref": "#/definitions/QueueServiceProperties" + } + } + ], + "responses": { + "200": { + "description": "Resource 'QueueServiceProperties' update operation succeeded", + "schema": { + "$ref": "#/definitions/QueueServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueServicesPut": { + "$ref": "./examples/QueueServicesPut.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues": { + "get": { + "operationId": "Queue_List", + "tags": [ + "QueueServices" + ], + "description": "Gets a list of all the queues under the specified storage account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, a maximum number of queues that should be included in a list queue response", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional, When specified, only the queues with a name starting with the given filter will be listed.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListQueueResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationList": { + "$ref": "./examples/QueueOperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}": { + "get": { + "operationId": "Queue_Get", + "tags": [ + "StorageQueues" + ], + "description": "Gets the queue with the specified queue name, under the specified account if it exists.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "queueName", + "in": "path", + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageQueue" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationGet": { + "$ref": "./examples/QueueOperationGet.json" + } + } + }, + "put": { + "operationId": "Queue_Create", + "tags": [ + "StorageQueues" + ], + "description": "Creates a new queue with the specified queue name, under the specified account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "queueName", + "in": "path", + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + }, + { + "name": "queue", + "in": "body", + "description": "Queue properties and metadata to be created with", + "required": true, + "schema": { + "$ref": "#/definitions/StorageQueue" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StorageQueue' update operation succeeded", + "schema": { + "$ref": "#/definitions/StorageQueue" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationPut": { + "$ref": "./examples/QueueOperationPut.json" + }, + "QueueOperationPutWithMetadata": { + "$ref": "./examples/QueueOperationPutWithMetadata.json" + } + } + }, + "patch": { + "operationId": "Queue_Update", + "tags": [ + "StorageQueues" + ], + "description": "Creates a new queue with the specified queue name, under the specified account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "queueName", + "in": "path", + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + }, + { + "name": "queue", + "in": "body", + "description": "Queue properties and metadata to be created with", + "required": true, + "schema": { + "$ref": "#/definitions/StorageQueue" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageQueue" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationPatch": { + "$ref": "./examples/QueueOperationPatch.json" + } + } + }, + "delete": { + "operationId": "Queue_Delete", + "tags": [ + "StorageQueues" + ], + "description": "Deletes the queue with the specified queue name, under the specified account if it exists.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "queueName", + "in": "path", + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationDelete": { + "$ref": "./examples/QueueOperationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey": { + "post": { + "operationId": "StorageAccounts_RegenerateKey", + "tags": [ + "StorageAccounts" + ], + "description": "Regenerates one of the access keys or Kerberos keys for the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "regenerateKey", + "in": "body", + "description": "Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountRegenerateKeyParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountListKeysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountRegenerateKerbKey": { + "$ref": "./examples/StorageAccountRegenerateKerbKey.json" + }, + "StorageAccountRegenerateKey": { + "$ref": "./examples/StorageAccountRegenerateKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports": { + "get": { + "operationId": "StorageTaskAssignmentsInstancesReport_List", + "tags": [ + "StorageAccounts" + ], + "description": "Fetch the report summary of all the storage task assignments and instances in an account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of storage task assignment instances to be included in the list response.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskReportSummary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListStorageTaskAssignmentsInstancesReportSummary": { + "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges": { + "post": { + "operationId": "StorageAccounts_RestoreBlobRanges", + "tags": [ + "StorageAccounts" + ], + "description": "Restore blobs in the specified blob ranges", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide for restore blob ranges.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobRestoreParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobRestoreStatus" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/BlobRestoreStatus" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BlobRangesRestore": { + "$ref": "./examples/BlobRangesRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BlobRestoreStatus" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys": { + "post": { + "operationId": "StorageAccounts_RevokeUserDelegationKeys", + "tags": [ + "StorageAccounts" + ], + "description": "Revoke user delegation keys.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountRevokeUserDelegationKeys": { + "$ref": "./examples/StorageAccountRevokeUserDelegationKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration": { + "post": { + "operationId": "StorageAccounts_CustomerInitiatedMigration", + "tags": [ + "StorageAccounts" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The request parameters required to perform storage account migration.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountMigration" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPostMigration": { + "$ref": "./examples/StorageAccountPostMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments": { + "get": { + "operationId": "StorageTaskAssignments_List", + "tags": [ + "StorageTaskAssignments" + ], + "description": "List all the storage task assignments in an account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$top", + "in": "query", + "description": "Optional, specifies the maximum number of storage task assignment Ids to be included in the list response.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskAssignmentsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListStorageTaskAssignmentsForAccount": { + "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}": { + "get": { + "operationId": "StorageTaskAssignments_Get", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Get the storage task assignment properties", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetStorageTaskAssignment": { + "$ref": "./examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json" + } + } + }, + "put": { + "operationId": "StorageTaskAssignments_Create", + "tags": [ + "StorageTaskAssignments" + ], + "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.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to create a Storage Task Assignment.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StorageTaskAssignment' update operation succeeded", + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + } + }, + "201": { + "description": "Resource 'StorageTaskAssignment' create operation succeeded", + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutStorageTaskAssignment": { + "$ref": "./examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json" + }, + "PutStorageTaskAssignmentRequiredProperties": { + "$ref": "./examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/StorageTaskAssignment" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "StorageTaskAssignments_Update", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Update storage task assignment properties", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to update a Storage Task Assignment.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageTaskAssignmentUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchStorageTaskAssignment": { + "$ref": "./examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/StorageTaskAssignment" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StorageTaskAssignments_Delete", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Delete the storage task assignment sub-resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteStorageTaskAssignment": { + "$ref": "./examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports": { + "get": { + "operationId": "StorageTaskAssignmentInstancesReport_List", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Fetch the report summary of a single storage task assignment's instances", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of storage task assignment instances to be included in the list response.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskReportSummary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListStorageTaskAssignmentInstancesReportSummary": { + "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices": { + "get": { + "operationId": "TableServices_List", + "tags": [ + "TableServices" + ], + "description": "List all table services for the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListTableServices" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableServicesList": { + "$ref": "./examples/TableServicesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default": { + "get": { + "operationId": "TableServices_GetServiceProperties", + "tags": [ + "TableServices" + ], + "description": "Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TableServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableServicesGet": { + "$ref": "./examples/TableServicesGet.json" + } + } + }, + "put": { + "operationId": "TableServices_SetServiceProperties", + "tags": [ + "TableServices" + ], + "description": "Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.", + "required": true, + "schema": { + "$ref": "#/definitions/TableServiceProperties" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TableServiceProperties' update operation succeeded", + "schema": { + "$ref": "#/definitions/TableServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableServicesPut": { + "$ref": "./examples/TableServicesPut.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables": { + "get": { + "operationId": "Table_List", + "tags": [ + "Tables" + ], + "description": "Gets a list of all the tables under the specified storage account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListTableResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationList": { + "$ref": "./examples/TableOperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}": { + "get": { + "operationId": "Table_Get", + "tags": [ + "Tables" + ], + "description": "Gets the table with the specified table name, under the specified account if it exists.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "tableName", + "in": "path", + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationGet": { + "$ref": "./examples/TableOperationGet.json" + } + } + }, + "put": { + "operationId": "Table_Create", + "tags": [ + "Tables" + ], + "description": "Creates a new table with the specified table name, under the specified account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "tableName", + "in": "path", + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide to create a table.", + "required": false, + "schema": { + "$ref": "#/definitions/Table" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Table' update operation succeeded", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationPut": { + "$ref": "./examples/TableOperationPut.json" + }, + "TableOperationPutOrPatchAcls": { + "$ref": "./examples/TableOperationPutOrPatchAclsTableCreate.json" + } + } + }, + "patch": { + "operationId": "Table_Update", + "tags": [ + "Tables" + ], + "description": "Creates a new table with the specified table name, under the specified account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "tableName", + "in": "path", + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide to create a table.", + "required": false, + "schema": { + "$ref": "#/definitions/Table" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Table' update operation succeeded", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationPatch": { + "$ref": "./examples/TableOperationPatch.json" + }, + "TableOperationPutOrPatchAcls": { + "$ref": "./examples/TableOperationPutOrPatchAcls.json" + } + } + }, + "delete": { + "operationId": "Table_Delete", + "tags": [ + "Tables" + ], + "description": "Deletes the table with the specified table name, under the specified account if it exists.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "tableName", + "in": "path", + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationDelete": { + "$ref": "./examples/TableOperationDelete.json" + } + } + } + } + }, + "definitions": { + "AccessPolicy": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the access policy" + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Expiry time of the access policy" + }, + "permission": { + "type": "string", + "description": "List of abbreviated permissions." + } + } + }, + "AccessTier": { + "type": "string", + "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.", + "enum": [ + "Hot", + "Cool", + "Premium", + "Cold" + ], + "x-ms-enum": { + "name": "AccessTier", + "modelAsString": false + } + }, + "AccountImmutabilityPolicyProperties": { + "type": "object", + "description": "This defines account-level immutability policy properties.", + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "format": "int32", + "description": "The immutability period for the blobs in the container since the policy creation, in days.", + "minimum": 1, + "maximum": 146000 + }, + "state": { + "$ref": "#/definitions/AccountImmutabilityPolicyState", + "description": "The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted." + }, + "allowProtectedAppendWrites": { + "type": "boolean", + "description": "This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." + } + } + }, + "AccountImmutabilityPolicyState": { + "type": "string", + "description": "The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.", + "enum": [ + "Unlocked", + "Locked", + "Disabled" + ], + "x-ms-enum": { + "name": "AccountImmutabilityPolicyState", + "modelAsString": true, + "values": [ + { + "name": "Unlocked", + "value": "Unlocked" + }, + { + "name": "Locked", + "value": "Locked" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "AccountLimits": { + "type": "object", + "description": "Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.", + "properties": { + "maxFileShares": { + "type": "integer", + "format": "int32", + "description": "The maximum number of file shares limit for the storage account.", + "readOnly": true + }, + "maxProvisionedStorageGiB": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned storage quota limit in gibibytes for the storage account.", + "readOnly": true + }, + "maxProvisionedIOPS": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned IOPS limit for the storage account.", + "readOnly": true + }, + "maxProvisionedBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned bandwidth limit in mebibytes per second for the storage account.", + "readOnly": true + } + } + }, + "AccountSasParameters": { + "type": "object", + "description": "The parameters to list SAS credentials of a storage account.", + "properties": { + "signedServices": { + "$ref": "#/definitions/Services", + "description": "The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).", + "x-ms-client-name": "Services" + }, + "signedResourceTypes": { + "$ref": "#/definitions/SignedResourceTypes", + "description": "The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.", + "x-ms-client-name": "ResourceTypes" + }, + "signedPermission": { + "$ref": "#/definitions/Permissions", + "description": "The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).", + "x-ms-client-name": "Permissions" + }, + "signedIp": { + "type": "string", + "description": "An IP address or a range of IP addresses from which to accept requests.", + "x-ms-client-name": "IPAddressOrRange" + }, + "signedProtocol": { + "$ref": "#/definitions/HttpProtocol", + "description": "The protocol permitted for a request made with the account SAS.", + "x-ms-client-name": "Protocols" + }, + "signedStart": { + "type": "string", + "format": "date-time", + "description": "The time at which the SAS becomes valid.", + "x-ms-client-name": "SharedAccessStartTime" + }, + "signedExpiry": { + "type": "string", + "format": "date-time", + "description": "The time at which the shared access signature becomes invalid.", + "x-ms-client-name": "SharedAccessExpiryTime" + }, + "keyToSign": { + "type": "string", + "description": "The key to sign the account SAS token with." + } + }, + "required": [ + "signedServices", + "signedResourceTypes", + "signedPermission", + "signedExpiry" + ] + }, + "AccountStatus": { + "type": "string", + "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.", + "enum": [ + "available", + "unavailable" + ], + "x-ms-enum": { + "name": "AccountStatus", + "modelAsString": false + } + }, + "AccountType": { + "type": "string", + "description": "Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted.", + "enum": [ + "User", + "Computer" + ], + "x-ms-enum": { + "name": "AccountType", + "modelAsString": true, + "values": [ + { + "name": "User", + "value": "User" + }, + { + "name": "Computer", + "value": "Computer" + } + ] + } + }, + "AccountUsage": { + "type": "object", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account.", + "properties": { + "liveShares": { + "$ref": "#/definitions/AccountUsageElements", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account." + }, + "softDeletedShares": { + "$ref": "#/definitions/AccountUsageElements", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account." + } + } + }, + "AccountUsageElements": { + "type": "object", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.", + "properties": { + "fileShareCount": { + "type": "integer", + "format": "int32", + "description": "The total number of file shares.", + "readOnly": true + }, + "provisionedStorageGiB": { + "type": "integer", + "format": "int32", + "description": "The total provisioned storage quota in gibibytes.", + "readOnly": true + }, + "provisionedIOPS": { + "type": "integer", + "format": "int32", + "description": "The total provisioned IOPS.", + "readOnly": true + }, + "provisionedBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The total provisioned bandwidth in mebibytes per second.", + "readOnly": true + } + } + }, + "ActiveDirectoryProperties": { + "type": "object", + "description": "Settings properties for Active Directory (AD).", + "properties": { + "domainName": { + "type": "string", + "description": "Specifies the primary domain that the AD DNS server is authoritative for. This property is required if directoryServiceOptions is set to AD (AD DS authentication). If directoryServiceOptions is set to AADDS (Entra DS authentication), providing this property is optional, as it will be inferred automatically if omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication." + }, + "netBiosDomainName": { + "type": "string", + "description": "Specifies the NetBIOS domain name. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." + }, + "forestName": { + "type": "string", + "description": "Specifies the Active Directory forest to get. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." + }, + "domainGuid": { + "type": "string", + "description": "Specifies the domain GUID. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. If directoryServiceOptions is set to AADDS (Entra DS authentication), this property can be omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication." + }, + "domainSid": { + "type": "string", + "description": "Specifies the security identifier (SID) of the AD domain. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." + }, + "azureStorageSid": { + "type": "string", + "description": "Specifies the security identifier (SID) for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." + }, + "samAccountName": { + "type": "string", + "description": "Specifies the Active Directory SAMAccountName for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, accountType should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted." + }, + "accountType": { + "$ref": "#/definitions/AccountType", + "description": "Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted." + } + } + }, + "AllowedCopyScope": { + "type": "string", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.", + "enum": [ + "PrivateLink", + "AAD" + ], + "x-ms-enum": { + "name": "AllowedCopyScope", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink" + }, + { + "name": "AAD", + "value": "AAD" + } + ] + } + }, + "AllowedMethods": { + "type": "string", + "enum": [ + "DELETE", + "GET", + "HEAD", + "MERGE", + "POST", + "OPTIONS", + "PUT", + "PATCH", + "CONNECT", + "TRACE" + ], + "x-ms-enum": { + "name": "AllowedMethods", + "modelAsString": true, + "values": [ + { + "name": "DELETE", + "value": "DELETE" + }, + { + "name": "GET", + "value": "GET" + }, + { + "name": "HEAD", + "value": "HEAD" + }, + { + "name": "MERGE", + "value": "MERGE" + }, + { + "name": "POST", + "value": "POST" + }, + { + "name": "OPTIONS", + "value": "OPTIONS" + }, + { + "name": "PUT", + "value": "PUT" + }, + { + "name": "PATCH", + "value": "PATCH" + }, + { + "name": "CONNECT", + "value": "CONNECT" + }, + { + "name": "TRACE", + "value": "TRACE" + } + ] + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "title": "Tracked Resource", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "AzureEntityResource": { + "type": "object", + "title": "Entity Resource", + "description": "The resource model definition for an Azure Resource Manager resource with an etag.", + "properties": { + "etag": { + "type": "string", + "description": "Resource Etag.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "AzureFilesIdentityBasedAuthentication": { + "type": "object", + "description": "Settings for Azure Files identity based authentication.", + "properties": { + "directoryServiceOptions": { + "$ref": "#/definitions/DirectoryServiceOptions", + "description": "Indicates the directory service used. Note that this enum may be extended in the future." + }, + "activeDirectoryProperties": { + "$ref": "#/definitions/ActiveDirectoryProperties", + "description": "Additional information about the directory service. Required if directoryServiceOptions is AD (AD DS authentication). Optional for directoryServiceOptions AADDS (Entra DS authentication) and AADKERB (Entra authentication)." + }, + "defaultSharePermission": { + "$ref": "#/definitions/DefaultSharePermission", + "description": "Default share permission for users using Kerberos authentication if RBAC role is not assigned." + }, + "smbOAuthSettings": { + "$ref": "#/definitions/SmbOAuthSettings", + "description": "Required for Managed Identities access using OAuth over SMB." + } + }, + "required": [ + "directoryServiceOptions" + ] + }, + "BlobContainer": { + "type": "object", + "description": "Properties of the blob container, including Id, resource name, resource type, Etag.", + "properties": { + "properties": { + "$ref": "#/definitions/ContainerProperties", + "description": "Properties of the blob container.", + "x-ms-client-flatten": true, + "x-ms-client-name": "ContainerProperties" + }, + "etag": { + "type": "string", + "description": "Resource Etag.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BlobInventoryCreationTime": { + "type": "object", + "description": "This property defines the creation time based filtering condition. Blob Inventory schema parameter 'Creation-Time' is mandatory with this filter.", + "properties": { + "lastNDays": { + "type": "integer", + "format": "int32", + "description": "When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500.", + "minimum": 1, + "maximum": 36500 + } + } + }, + "BlobInventoryPolicy": { + "type": "object", + "description": "The storage account blob inventory policy.", + "properties": { + "properties": { + "$ref": "#/definitions/BlobInventoryPolicyProperties", + "description": "Returns the storage account blob inventory policy rules.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BlobInventoryPolicyDefinition": { + "type": "object", + "description": "An object that defines the blob inventory rule.", + "properties": { + "filters": { + "$ref": "#/definitions/BlobInventoryPolicyFilter", + "description": "An object that defines the filter set." + }, + "format": { + "$ref": "#/definitions/Format", + "description": "This is a required field, it specifies the format for the inventory files." + }, + "schedule": { + "$ref": "#/definitions/Schedule", + "description": "This is a required field. This field is used to schedule an inventory formation." + }, + "objectType": { + "$ref": "#/definitions/ObjectType", + "description": "This is a required field. This field specifies the scope of the inventory created either at the blob or container level." + }, + "schemaFields": { + "type": "array", + "description": "This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.", + "items": { + "type": "string" + } + } + }, + "required": [ + "format", + "schedule", + "objectType", + "schemaFields" + ] + }, + "BlobInventoryPolicyFilter": { + "type": "object", + "description": "An object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional.", + "properties": { + "prefixMatch": { + "type": "array", + "description": "An array of strings with maximum 10 blob prefixes to be included in the inventory.", + "items": { + "type": "string" + } + }, + "excludePrefix": { + "type": "array", + "description": "An array of strings with maximum 10 blob prefixes to be excluded from the inventory.", + "items": { + "type": "string" + } + }, + "blobTypes": { + "type": "array", + "description": "An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.", + "items": { + "type": "string" + } + }, + "includeBlobVersions": { + "type": "boolean", + "description": "Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded." + }, + "includeSnapshots": { + "type": "boolean", + "description": "Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded." + }, + "includeDeleted": { + "type": "boolean", + "description": "For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded." + }, + "creationTime": { + "$ref": "#/definitions/BlobInventoryCreationTime", + "description": "This property is used to filter objects based on the object creation time" + } + } + }, + "BlobInventoryPolicyProperties": { + "type": "object", + "description": "The storage account blob inventory policy properties.", + "properties": { + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Returns the last modified date and time of the blob inventory policy.", + "readOnly": true + }, + "policy": { + "$ref": "#/definitions/BlobInventoryPolicySchema", + "description": "The storage account blob inventory policy object. It is composed of policy rules." + } + }, + "required": [ + "policy" + ] + }, + "BlobInventoryPolicyRule": { + "type": "object", + "description": "An object that wraps the blob inventory rule. Each rule is uniquely defined by name.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Rule is enabled when set to true." + }, + "name": { + "type": "string", + "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy." + }, + "destination": { + "type": "string", + "description": "Container name where blob inventory files are stored. Must be pre-created." + }, + "definition": { + "$ref": "#/definitions/BlobInventoryPolicyDefinition", + "description": "An object that defines the blob inventory policy rule." + } + }, + "required": [ + "enabled", + "name", + "destination", + "definition" + ] + }, + "BlobInventoryPolicySchema": { + "type": "object", + "description": "The storage account blob inventory policy rules.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Policy is enabled if set to true." + }, + "destination": { + "type": "string", + "description": "Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/InventoryRuleType", + "description": "The valid value is Inventory" + }, + "rules": { + "type": "array", + "description": "The storage account blob inventory policy rules. The rule is applied when it is enabled.", + "items": { + "$ref": "#/definitions/BlobInventoryPolicyRule" + } + } + }, + "required": [ + "enabled", + "type", + "rules" + ] + }, + "BlobRestoreParameters": { + "type": "object", + "description": "Blob restore parameters", + "properties": { + "timeToRestore": { + "type": "string", + "format": "date-time", + "description": "Restore blob to the specified time." + }, + "blobRanges": { + "type": "array", + "description": "Blob ranges to restore.", + "items": { + "$ref": "#/definitions/BlobRestoreRange" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "timeToRestore", + "blobRanges" + ] + }, + "BlobRestoreProgressStatus": { + "type": "string", + "description": "The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.", + "enum": [ + "InProgress", + "Complete", + "Failed" + ], + "x-ms-enum": { + "name": "BlobRestoreProgressStatus", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Complete", + "value": "Complete" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "BlobRestoreRange": { + "type": "object", + "description": "Blob range", + "properties": { + "startRange": { + "type": "string", + "description": "Blob start range. This is inclusive. Empty means account start." + }, + "endRange": { + "type": "string", + "description": "Blob end range. This is exclusive. Empty means account end." + } + }, + "required": [ + "startRange", + "endRange" + ] + }, + "BlobRestoreStatus": { + "type": "object", + "description": "Blob restore status.", + "properties": { + "status": { + "$ref": "#/definitions/BlobRestoreProgressStatus", + "description": "The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.", + "readOnly": true + }, + "failureReason": { + "type": "string", + "description": "Failure reason when blob restore is failed.", + "readOnly": true + }, + "restoreId": { + "type": "string", + "description": "Id for tracking blob restore request.", + "readOnly": true + }, + "parameters": { + "$ref": "#/definitions/BlobRestoreParameters", + "description": "Blob restore request parameters.", + "readOnly": true + } + } + }, + "BlobServiceItems": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "List of blob services returned.", + "items": { + "$ref": "#/definitions/BlobServiceProperties" + }, + "readOnly": true + }, + "nextLink": { + "type": "string" + } + } + }, + "BlobServiceProperties": { + "type": "object", + "description": "The properties of a storage account’s Blob service.", + "properties": { + "properties": { + "$ref": "#/definitions/BlobServicePropertiesProperties", + "description": "The properties of a storage account’s Blob service.", + "x-ms-client-flatten": true, + "x-ms-client-name": "BlobServiceProperties" + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Sku name and tier.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BlobServicePropertiesProperties": { + "type": "object", + "description": "The properties of a storage account’s Blob service.", + "properties": { + "cors": { + "$ref": "#/definitions/CorsRules", + "description": "Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service." + }, + "defaultServiceVersion": { + "type": "string", + "description": "DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions." + }, + "deleteRetentionPolicy": { + "$ref": "#/definitions/DeleteRetentionPolicy", + "description": "The blob service properties for blob soft delete." + }, + "isVersioningEnabled": { + "type": "boolean", + "description": "Versioning is enabled if set to true." + }, + "automaticSnapshotPolicyEnabled": { + "type": "boolean", + "description": "Deprecated in favor of isVersioningEnabled property." + }, + "changeFeed": { + "$ref": "#/definitions/ChangeFeed", + "description": "The blob service properties for change feed events." + }, + "restorePolicy": { + "$ref": "#/definitions/RestorePolicyProperties", + "description": "The blob service properties for blob restore policy." + }, + "containerDeleteRetentionPolicy": { + "$ref": "#/definitions/DeleteRetentionPolicy", + "description": "The blob service properties for container soft delete." + }, + "lastAccessTimeTrackingPolicy": { + "$ref": "#/definitions/LastAccessTimeTrackingPolicy", + "description": "The blob service property to configure last access time based tracking policy." + } + } + }, + "BurstingConstants": { + "type": "object", + "description": "Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account.", + "properties": { + "burstFloorIOPS": { + "type": "integer", + "format": "int32", + "description": "The guaranteed floor of burst IOPS for small file shares.", + "readOnly": true + }, + "burstIOScalar": { + "type": "number", + "format": "double", + "description": "The scalar against provisioned IOPS in the file share included burst IOPS formula.", + "readOnly": true + }, + "burstTimeframeSeconds": { + "type": "integer", + "format": "int32", + "description": "The time frame for bursting in seconds in the file share maximum burst credits for IOPS formula.", + "readOnly": true + } + } + }, + "ChangeFeed": { + "type": "object", + "description": "The blob service properties for change feed events.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether change feed event logging is enabled for the Blob service." + }, + "retentionInDays": { + "type": "integer", + "format": "int32", + "description": "Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.", + "minimum": 1, + "maximum": 146000 + } + } + }, + "CheckNameAvailabilityResult": { + "type": "object", + "description": "The CheckNameAvailability operation response.", + "properties": { + "nameAvailable": { + "type": "boolean", + "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.", + "readOnly": true + }, + "reason": { + "$ref": "#/definitions/Reason", + "description": "Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Gets an error message explaining the Reason value in more detail.", + "readOnly": true + } + } + }, + "CloudError": { + "type": "object", + "description": "An error response from the Storage service.", + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "An error response from the Storage service." + } + }, + "x-ms-external": true + }, + "CloudErrorBody": { + "type": "object", + "description": "An error response from the Storage service.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "description": "A list of additional details about the error.", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "x-ms-identifiers": [] + } + }, + "x-ms-external": true + }, + "Connector": { + "type": "object", + "description": "A Connector is a tracked ARM resource modeled as a sub-resource of a Storage Account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageConnectorProperties", + "description": "The properties of the Storage Connector." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ConnectorListResult": { + "type": "object", + "description": "The response of a Connector list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Connector items on this page", + "items": { + "$ref": "#/definitions/Connector" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ConnectorUpdate": { + "type": "object", + "description": "A Connector is a tracked ARM resource modeled as a sub-resource of a Storage Account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageConnectorPropertiesUpdate", + "description": "The properties of the Storage Connector." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "ContainerProperties": { + "type": "object", + "description": "The properties of a container.", + "properties": { + "version": { + "type": "string", + "description": "The version of the deleted blob container.", + "readOnly": true + }, + "deleted": { + "type": "boolean", + "description": "Indicates whether the blob container was deleted.", + "readOnly": true + }, + "deletedTime": { + "type": "string", + "format": "date-time", + "description": "Blob container deletion time.", + "readOnly": true + }, + "remainingRetentionDays": { + "type": "integer", + "format": "int32", + "description": "Remaining retention days for soft deleted blob container.", + "readOnly": true + }, + "defaultEncryptionScope": { + "type": "string", + "description": "Default the container to use specified encryption scope for all writes." + }, + "denyEncryptionScopeOverride": { + "type": "boolean", + "description": "Block override of encryption scope from the container default." + }, + "publicAccess": { + "$ref": "#/definitions/PublicAccess", + "description": "Specifies whether data in the container may be accessed publicly and the level of access." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the container was last modified.", + "readOnly": true + }, + "leaseStatus": { + "$ref": "#/definitions/LeaseStatus", + "description": "The lease status of the container.", + "readOnly": true + }, + "leaseState": { + "$ref": "#/definitions/LeaseState", + "description": "Lease state of the container.", + "readOnly": true + }, + "leaseDuration": { + "$ref": "#/definitions/LeaseDuration", + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.", + "readOnly": true + }, + "metadata": { + "type": "object", + "description": "A name-value pair to associate with the container as metadata.", + "additionalProperties": { + "type": "string" + } + }, + "immutabilityPolicy": { + "$ref": "#/definitions/ImmutabilityPolicyProperties", + "description": "The ImmutabilityPolicy property of the container.", + "readOnly": true, + "x-ms-client-name": "ImmutabilityPolicy" + }, + "legalHold": { + "$ref": "#/definitions/LegalHoldProperties", + "description": "The LegalHold property of the container.", + "readOnly": true + }, + "hasLegalHold": { + "type": "boolean", + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.", + "readOnly": true + }, + "hasImmutabilityPolicy": { + "type": "boolean", + "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.", + "readOnly": true + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageWithVersioning", + "description": "The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process." + }, + "enableNfsV3RootSquash": { + "type": "boolean", + "description": "Enable NFSv3 root squash on blob container." + }, + "enableNfsV3AllSquash": { + "type": "boolean", + "description": "Enable NFSv3 all squash on blob container." + } + } + }, + "CorsRule": { + "type": "object", + "description": "Specifies a CORS rule for the Blob service.", + "properties": { + "allowedOrigins": { + "type": "array", + "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains", + "items": { + "type": "string" + } + }, + "allowedMethods": { + "type": "array", + "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.", + "items": { + "$ref": "#/definitions/AllowedMethods" + } + }, + "maxAgeInSeconds": { + "type": "integer", + "format": "int32", + "description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response." + }, + "exposedHeaders": { + "type": "array", + "description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients.", + "items": { + "type": "string" + } + }, + "allowedHeaders": { + "type": "array", + "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.", + "items": { + "type": "string" + } + } + }, + "required": [ + "allowedOrigins", + "allowedMethods", + "maxAgeInSeconds", + "exposedHeaders", + "allowedHeaders" + ] + }, + "CorsRules": { + "type": "object", + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request.", + "properties": { + "corsRules": { + "type": "array", + "description": "The List of CORS rules. You can include up to five CorsRule elements in the request.", + "items": { + "$ref": "#/definitions/CorsRule" + }, + "x-ms-identifiers": [] + } + } + }, + "CustomDomain": { + "type": "object", + "description": "The custom domain assigned to this storage account. This can be set via Update.", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source." + }, + "useSubDomainName": { + "type": "boolean", + "description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates." + } + }, + "required": [ + "name" + ] + }, + "DataShare": { + "type": "object", + "description": "A DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageDataShareProperties", + "description": "The properties of the Storage DataShare." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "DataShareConnection": { + "type": "object", + "description": "The connection details for Data Share source", + "properties": { + "dataShareUri": { + "type": "string", + "description": "The URI of the backing DataShare. Must be in the format: azds://::", + "pattern": "^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + } + }, + "required": [ + "dataShareUri" + ], + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorConnection" + } + ], + "x-ms-discriminator-value": "DataShare" + }, + "DataShareListResult": { + "type": "object", + "description": "The response of a DataShare list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataShare items on this page", + "items": { + "$ref": "#/definitions/DataShare" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataShareSource": { + "type": "object", + "description": "The properties of data share source", + "properties": { + "connection": { + "$ref": "#/definitions/StorageConnectorConnection", + "description": "Details for how to connect to the backing data store.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "authProperties": { + "$ref": "#/definitions/StorageConnectorAuthProperties", + "description": "Details for how to authenticate to the backing data store." + } + }, + "required": [ + "connection", + "authProperties" + ], + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorSource" + } + ], + "x-ms-discriminator-value": "DataShare" + }, + "DataShareSourceUpdate": { + "type": "object", + "description": "The properties of data share source", + "properties": { + "authProperties": { + "$ref": "#/definitions/StorageConnectorAuthPropertiesUpdate", + "description": "Details for how to authenticate to the backing data store." + } + }, + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorSourceUpdate" + } + ], + "x-ms-discriminator-value": "DataShare" + }, + "DataShareUpdate": { + "type": "object", + "description": "A DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageDataSharePropertiesUpdate", + "description": "The properties of the Storage DataShare." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DateAfterCreation": { + "type": "object", + "description": "Object to define snapshot and version action conditions.", + "properties": { + "daysAfterCreationGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after creation", + "minimum": 0 + }, + "daysAfterLastTierChangeGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.", + "minimum": 0 + } + }, + "required": [ + "daysAfterCreationGreaterThan" + ] + }, + "DateAfterModification": { + "type": "object", + "description": "Object to define the base blob action conditions. Properties daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan and daysAfterCreationGreaterThan are mutually exclusive. The daysAfterLastTierChangeGreaterThan property is only applicable for tierToArchive actions which requires daysAfterModificationGreaterThan to be set, also it cannot be used in conjunction with daysAfterLastAccessTimeGreaterThan or daysAfterCreationGreaterThan.", + "properties": { + "daysAfterModificationGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after last modification", + "minimum": 0 + }, + "daysAfterLastAccessTimeGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy", + "minimum": 0 + }, + "daysAfterLastTierChangeGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.", + "minimum": 0 + }, + "daysAfterCreationGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after blob creation.", + "minimum": 0 + } + } + }, + "DefaultSharePermission": { + "type": "string", + "description": "Default share permission for users using Kerberos authentication if RBAC role is not assigned.", + "enum": [ + "None", + "StorageFileDataSmbShareReader", + "StorageFileDataSmbShareContributor", + "StorageFileDataSmbShareElevatedContributor" + ], + "x-ms-enum": { + "name": "DefaultSharePermission", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "StorageFileDataSmbShareReader", + "value": "StorageFileDataSmbShareReader" + }, + { + "name": "StorageFileDataSmbShareContributor", + "value": "StorageFileDataSmbShareContributor" + }, + { + "name": "StorageFileDataSmbShareElevatedContributor", + "value": "StorageFileDataSmbShareElevatedContributor" + } + ] + } + }, + "DeleteRetentionPolicy": { + "type": "object", + "description": "The service properties for soft delete.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether DeleteRetentionPolicy is enabled." + }, + "days": { + "type": "integer", + "format": "int32", + "description": "Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365.", + "minimum": 1, + "maximum": 365 + }, + "allowPermanentDelete": { + "type": "boolean", + "description": "This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share." + } + } + }, + "DeletedAccount": { + "type": "object", + "description": "Deleted storage account", + "properties": { + "properties": { + "$ref": "#/definitions/DeletedAccountProperties", + "description": "Properties of the deleted account.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DeletedAccountListResult": { + "type": "object", + "description": "The response of a DeletedAccount list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DeletedAccount items on this page", + "items": { + "$ref": "#/definitions/DeletedAccount" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DeletedAccountProperties": { + "type": "object", + "description": "Attributes of a deleted storage account.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Full resource id of the original storage account.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Location of the deleted account.", + "readOnly": true + }, + "restoreReference": { + "type": "string", + "description": "Can be used to attempt recovering this deleted account via PutStorageAccount API.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "description": "Creation time of the deleted account.", + "readOnly": true + }, + "deletionTime": { + "type": "string", + "description": "Deletion time of the deleted account.", + "readOnly": true + } + } + }, + "DeletedShare": { + "type": "object", + "description": "The deleted share to be restored.", + "properties": { + "deletedShareName": { + "type": "string", + "description": "Required. Identify the name of the deleted share that will be restored." + }, + "deletedShareVersion": { + "type": "string", + "description": "Required. Identify the version of the deleted share that will be restored." + } + }, + "required": [ + "deletedShareName", + "deletedShareVersion" + ] + }, + "Dimension": { + "type": "object", + "description": "Dimension of blobs, possibly be blob type or access tier.", + "properties": { + "name": { + "type": "string", + "description": "Display name of dimension." + }, + "displayName": { + "type": "string", + "description": "Display name of dimension." + } + } + }, + "DirectoryServiceOptions": { + "type": "string", + "description": "Indicates the directory service used. Note that this enum may be extended in the future.", + "enum": [ + "None", + "AADDS", + "AD", + "AADKERB" + ], + "x-ms-enum": { + "name": "DirectoryServiceOptions", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "AADDS", + "value": "AADDS" + }, + { + "name": "AD", + "value": "AD" + }, + { + "name": "AADKERB", + "value": "AADKERB" + } + ] + } + }, + "DnsEndpointType": { + "type": "string", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.", + "enum": [ + "Standard", + "AzureDnsZone" + ], + "x-ms-enum": { + "name": "DnsEndpointType", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "AzureDnsZone", + "value": "AzureDnsZone" + } + ] + } + }, + "DualStackEndpointPreference": { + "type": "object", + "description": "Dual-stack endpoint preference defines whether IPv6 endpoints are going to be published.", + "properties": { + "publishIpv6Endpoint": { + "type": "boolean", + "description": "A boolean flag which indicates whether IPv6 storage endpoints are to be published." + } + } + }, + "EnabledProtocols": { + "type": "string", + "description": "The authentication protocol that is used for the file share. Can only be specified when creating a share.", + "enum": [ + "SMB", + "NFS" + ], + "x-ms-enum": { + "name": "EnabledProtocols", + "modelAsString": true, + "values": [ + { + "name": "SMB", + "value": "SMB" + }, + { + "name": "NFS", + "value": "NFS" + } + ] + } + }, + "Encryption": { + "type": "object", + "description": "The encryption settings on the storage account.", + "properties": { + "services": { + "$ref": "#/definitions/EncryptionServices", + "description": "List of services which support encryption." + }, + "keySource": { + "type": "string", + "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault", + "default": "Microsoft.Storage", + "enum": [ + "Microsoft.Storage", + "Microsoft.Keyvault" + ], + "x-ms-enum": { + "name": "KeySource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.Storage", + "value": "Microsoft.Storage" + }, + { + "name": "Microsoft.Keyvault", + "value": "Microsoft.Keyvault" + } + ] + } + }, + "requireInfrastructureEncryption": { + "type": "boolean", + "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.", + "x-ms-client-name": "RequireInfrastructureEncryption" + }, + "keyvaultproperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Properties provided by key vault.", + "x-ms-client-name": "KeyVaultProperties" + }, + "identity": { + "$ref": "#/definitions/EncryptionIdentity", + "description": "The identity to be used with service-side encryption at rest.", + "x-ms-client-name": "EncryptionIdentity" + } + } + }, + "EncryptionIdentity": { + "type": "object", + "description": "Encryption identity for the storage account.", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.", + "x-ms-client-name": "EncryptionUserAssignedIdentity" + }, + "federatedIdentityClientId": { + "type": "string", + "description": "ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.", + "x-ms-client-name": "EncryptionFederatedIdentityClientId" + } + } + }, + "EncryptionInTransit": { + "type": "object", + "description": "Encryption in transit setting.", + "properties": { + "required": { + "type": "boolean", + "description": "Indicates whether encryption in transit is required" + } + } + }, + "EncryptionScope": { + "type": "object", + "description": "The Encryption Scope resource.", + "properties": { + "properties": { + "$ref": "#/definitions/EncryptionScopeProperties", + "description": "Properties of the encryption scope.", + "x-ms-client-flatten": true, + "x-ms-client-name": "EncryptionScopeProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "EncryptionScopeKeyVaultProperties": { + "type": "object", + "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.", + "properties": { + "keyUri": { + "type": "string", + "description": "The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope." + }, + "currentVersionedKeyIdentifier": { + "type": "string", + "description": "The object identifier of the current versioned Key Vault Key in use.", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of last rotation of the Key Vault Key.", + "readOnly": true + } + } + }, + "EncryptionScopeListResult": { + "type": "object", + "description": "The response of a EncryptionScope list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EncryptionScope items on this page", + "items": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EncryptionScopeProperties": { + "type": "object", + "description": "Properties of the encryption scope.", + "properties": { + "source": { + "$ref": "#/definitions/EncryptionScopeSource", + "description": "The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault." + }, + "state": { + "$ref": "#/definitions/EncryptionScopeState", + "description": "The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets the creation date and time of the encryption scope in UTC.", + "readOnly": true + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets the last modification date and time of the encryption scope in UTC.", + "readOnly": true + }, + "keyVaultProperties": { + "$ref": "#/definitions/EncryptionScopeKeyVaultProperties", + "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'." + }, + "requireInfrastructureEncryption": { + "type": "boolean", + "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest." + } + } + }, + "EncryptionScopeSource": { + "type": "string", + "description": "The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.", + "enum": [ + "Microsoft.Storage", + "Microsoft.KeyVault" + ], + "x-ms-enum": { + "name": "EncryptionScopeSource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.Storage", + "value": "Microsoft.Storage" + }, + { + "name": "Microsoft.KeyVault", + "value": "Microsoft.KeyVault" + } + ] + } + }, + "EncryptionScopeState": { + "type": "string", + "description": "The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EncryptionScopeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "EncryptionService": { + "type": "object", + "description": "A service that allows server-side encryption to be used.", + "properties": { + "enabled": { + "type": "boolean", + "description": "A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled." + }, + "lastEnabledTime": { + "type": "string", + "format": "date-time", + "description": "Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled.", + "readOnly": true + }, + "keyType": { + "$ref": "#/definitions/KeyType", + "description": "Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "EncryptionServices": { + "type": "object", + "description": "A list of services that support encryption.", + "properties": { + "blob": { + "$ref": "#/definitions/EncryptionService", + "description": "The encryption function of the blob storage service." + }, + "file": { + "$ref": "#/definitions/EncryptionService", + "description": "The encryption function of the file storage service." + }, + "table": { + "$ref": "#/definitions/EncryptionService", + "description": "The encryption function of the table storage service." + }, + "queue": { + "$ref": "#/definitions/EncryptionService", + "description": "The encryption function of the queue storage service." + } + } + }, + "Endpoints": { + "type": "object", + "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object.", + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint.", + "readOnly": true + }, + "queue": { + "type": "string", + "description": "Gets the queue endpoint.", + "readOnly": true + }, + "table": { + "type": "string", + "description": "Gets the table endpoint.", + "readOnly": true + }, + "file": { + "type": "string", + "description": "Gets the file endpoint.", + "readOnly": true + }, + "web": { + "type": "string", + "description": "Gets the web endpoint.", + "readOnly": true + }, + "dfs": { + "type": "string", + "description": "Gets the dfs endpoint.", + "readOnly": true + }, + "microsoftEndpoints": { + "$ref": "#/definitions/StorageAccountMicrosoftEndpoints", + "description": "Gets the microsoft routing storage endpoints." + }, + "internetEndpoints": { + "$ref": "#/definitions/StorageAccountInternetEndpoints", + "description": "Gets the internet routing storage endpoints" + }, + "ipv6Endpoints": { + "$ref": "#/definitions/StorageAccountIpv6Endpoints", + "description": "Gets the IPv6 storage endpoints." + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "An error response from the storage resource provider.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorResponseBody", + "description": "Azure Storage Resource Provider error response body." + } + } + }, + "ErrorResponseBody": { + "type": "object", + "description": "Error response body contract.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + } + } + }, + "ExecutionTarget": { + "type": "object", + "description": "Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task", + "properties": { + "prefix": { + "type": "array", + "description": "Required list of object prefixes to be included for task execution", + "items": { + "type": "string" + } + }, + "excludePrefix": { + "type": "array", + "description": "List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor", + "items": { + "type": "string" + } + } + } + }, + "ExecutionTrigger": { + "type": "object", + "description": "Execution trigger for storage task assignment", + "properties": { + "type": { + "$ref": "#/definitions/TriggerType", + "description": "The trigger type of the storage task assignment execution" + }, + "parameters": { + "$ref": "#/definitions/TriggerParameters", + "description": "The trigger parameters of the storage task assignment execution" + } + }, + "required": [ + "type", + "parameters" + ] + }, + "ExecutionTriggerUpdate": { + "type": "object", + "description": "Execution trigger update for storage task assignment", + "properties": { + "type": { + "$ref": "#/definitions/TriggerType", + "description": "The trigger type of the storage task assignment execution" + }, + "parameters": { + "$ref": "#/definitions/TriggerParametersUpdate", + "description": "The trigger parameters of the storage task assignment execution" + } + } + }, + "ExtendedLocation": { + "type": "object", + "description": "The complex type of the extended location.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "$ref": "#/definitions/ExtendedLocationTypes", + "description": "The type of the extended location." + } + } + }, + "ExtendedLocationTypes": { + "type": "string", + "description": "The type of extendedLocation.", + "enum": [ + "EdgeZone" + ], + "x-ms-enum": { + "name": "ExtendedLocationTypes", + "modelAsString": true, + "values": [ + { + "name": "EdgeZone", + "value": "EdgeZone" + } + ] + } + }, + "FileServiceItems": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "List of file services returned.", + "items": { + "$ref": "#/definitions/FileServiceProperties" + }, + "readOnly": true + } + } + }, + "FileServiceProperties": { + "type": "object", + "description": "The properties of File services in storage account.", + "properties": { + "properties": { + "$ref": "#/definitions/FileServicePropertiesProperties", + "description": "The properties of File services in storage account.", + "x-ms-client-flatten": true, + "x-ms-client-name": "FileServiceProperties" + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Sku name and tier.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileServicePropertiesProperties": { + "type": "object", + "description": "The properties of File services in storage account.", + "properties": { + "cors": { + "$ref": "#/definitions/CorsRules", + "description": "Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service." + }, + "shareDeleteRetentionPolicy": { + "$ref": "#/definitions/DeleteRetentionPolicy", + "description": "The file service properties for share soft delete." + }, + "protocolSettings": { + "$ref": "#/definitions/ProtocolSettings", + "description": "Protocol settings for file service" + } + } + }, + "FileServiceUsage": { + "type": "object", + "description": "The usage of file service in storage account.", + "properties": { + "properties": { + "$ref": "#/definitions/FileServiceUsageProperties", + "description": "File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileServiceUsageProperties": { + "type": "object", + "description": "File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula.", + "properties": { + "storageAccountLimits": { + "$ref": "#/definitions/AccountLimits", + "description": "Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.", + "readOnly": true + }, + "fileShareLimits": { + "$ref": "#/definitions/FileShareLimits", + "description": "Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account.", + "readOnly": true + }, + "fileShareRecommendations": { + "$ref": "#/definitions/FileShareRecommendations", + "description": "Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.", + "readOnly": true + }, + "burstingConstants": { + "$ref": "#/definitions/BurstingConstants", + "description": "Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account.", + "readOnly": true + }, + "storageAccountUsage": { + "$ref": "#/definitions/AccountUsage", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account.", + "readOnly": true + } + } + }, + "FileServiceUsages": { + "type": "object", + "description": "List file service usages schema.", + "properties": { + "value": { + "type": "array", + "description": "The FileServiceUsage items on this page", + "items": { + "$ref": "#/definitions/FileServiceUsage" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FileShare": { + "type": "object", + "description": "Properties of the file share, including Id, resource name, resource type, Etag.", + "properties": { + "properties": { + "$ref": "#/definitions/FileShareProperties", + "description": "Properties of the file share.", + "x-ms-client-flatten": true, + "x-ms-client-name": "FileShareProperties" + }, + "etag": { + "type": "string", + "description": "Resource Etag.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileShareItem": { + "type": "object", + "description": "The file share properties be listed out.", + "properties": { + "properties": { + "$ref": "#/definitions/FileShareProperties", + "description": "The file share properties be listed out.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureEntityResource" + } + ] + }, + "FileShareItems": { + "type": "object", + "description": "Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares.", + "properties": { + "value": { + "type": "array", + "description": "The FileShareItem items on this page", + "items": { + "$ref": "#/definitions/FileShareItem" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FileShareLimits": { + "type": "object", + "description": "Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account.", + "properties": { + "minProvisionedStorageGiB": { + "type": "integer", + "format": "int32", + "description": "The minimum provisioned storage quota limit in gibibytes for a file share in the storage account.", + "readOnly": true + }, + "maxProvisionedStorageGiB": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned storage quota limit in gibibytes for a file share in the storage account.", + "readOnly": true + }, + "minProvisionedIOPS": { + "type": "integer", + "format": "int32", + "description": "The minimum provisioned IOPS limit for a file share in the storage account.", + "readOnly": true + }, + "maxProvisionedIOPS": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned IOPS limit for a file share in the storage account.", + "readOnly": true + }, + "minProvisionedBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The minimum provisioned bandwidth limit in mebibytes per second for a file share in the storage account.", + "readOnly": true + }, + "maxProvisionedBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned bandwidth limit in mebibytes per second for a file share in the storage account.", + "readOnly": true + } + } + }, + "FileShareProperties": { + "type": "object", + "description": "The properties of the file share.", + "properties": { + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the share was last modified.", + "readOnly": true + }, + "metadata": { + "type": "object", + "description": "A name-value pair to associate with the share as metadata.", + "additionalProperties": { + "type": "string" + } + }, + "shareQuota": { + "type": "integer", + "format": "int32", + "description": "The provisioned size of the share, in gibibytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size." + }, + "provisionedIops": { + "type": "integer", + "format": "int32", + "description": "The provisioned IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned IOPS." + }, + "provisionedBandwidthMibps": { + "type": "integer", + "format": "int32", + "description": "The provisioned bandwidth of the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned bandwidth." + }, + "includedBurstIops": { + "type": "integer", + "format": "int32", + "description": "The calculated burst IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type.", + "readOnly": true + }, + "maxBurstCreditsForIops": { + "type": "integer", + "format": "int64", + "description": "The calculated maximum burst credits for the share. This property is only for file shares created under Files Provisioned v2 account type.", + "readOnly": true + }, + "nextAllowedQuotaDowngradeTime": { + "type": "string", + "format": "date-time-rfc7231", + "description": "Returns the next allowed provisioned storage size downgrade time for the share. This property is only for file shares created under Files Provisioned v1 SSD and Files Provisioned v2 account type", + "readOnly": true + }, + "nextAllowedProvisionedIopsDowngradeTime": { + "type": "string", + "format": "date-time-rfc7231", + "description": "Returns the next allowed provisioned IOPS downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.", + "readOnly": true + }, + "nextAllowedProvisionedBandwidthDowngradeTime": { + "type": "string", + "format": "date-time-rfc7231", + "description": "Returns the next allowed provisioned bandwidth downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.", + "readOnly": true + }, + "enabledProtocols": { + "$ref": "#/definitions/EnabledProtocols", + "description": "The authentication protocol that is used for the file share. Can only be specified when creating a share.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "rootSquash": { + "$ref": "#/definitions/RootSquashType", + "description": "The property is for NFS share only. The default is NoRootSquash." + }, + "version": { + "type": "string", + "description": "The version of the share.", + "readOnly": true + }, + "deleted": { + "type": "boolean", + "description": "Indicates whether the share was deleted.", + "readOnly": true + }, + "deletedTime": { + "type": "string", + "format": "date-time", + "description": "The deleted time if the share was deleted.", + "readOnly": true + }, + "remainingRetentionDays": { + "type": "integer", + "format": "int32", + "description": "Remaining retention days for share that was soft deleted.", + "readOnly": true + }, + "accessTier": { + "$ref": "#/definitions/ShareAccessTier", + "description": "Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium." + }, + "accessTierChangeTime": { + "type": "string", + "format": "date-time", + "description": "Indicates the last modification time for share access tier.", + "readOnly": true + }, + "accessTierStatus": { + "type": "string", + "description": "Indicates if there is a pending transition for access tier.", + "readOnly": true + }, + "shareUsageBytes": { + "type": "integer", + "format": "int64", + "description": "The approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files.", + "readOnly": true + }, + "leaseStatus": { + "$ref": "#/definitions/LeaseStatus", + "description": "The lease status of the share.", + "readOnly": true + }, + "leaseState": { + "$ref": "#/definitions/LeaseState", + "description": "Lease state of the share.", + "readOnly": true + }, + "leaseDuration": { + "$ref": "#/definitions/LeaseDuration", + "description": "Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased.", + "readOnly": true + }, + "signedIdentifiers": { + "type": "array", + "description": "List of stored access policies specified on the share.", + "items": { + "$ref": "#/definitions/SignedIdentifier" + } + }, + "snapshotTime": { + "type": "string", + "format": "date-time", + "description": "Creation time of share snapshot returned in the response of list shares with expand param \"snapshots\".", + "readOnly": true + }, + "fileSharePaidBursting": { + "$ref": "#/definitions/FileSharePropertiesFileSharePaidBursting", + "description": "File Share Paid Bursting properties." + } + } + }, + "FileSharePropertiesFileSharePaidBursting": { + "type": "object", + "description": "File Share Paid Bursting properties.", + "properties": { + "paidBurstingEnabled": { + "type": "boolean", + "description": "Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type." + }, + "paidBurstingMaxIops": { + "type": "integer", + "format": "int32", + "description": "The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share." + }, + "paidBurstingMaxBandwidthMibps": { + "type": "integer", + "format": "int32", + "description": "The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share." + } + } + }, + "FileShareRecommendations": { + "type": "object", + "description": "Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.", + "properties": { + "baseIOPS": { + "type": "integer", + "format": "int32", + "description": "The base IOPS in the file share provisioned IOPS recommendation formula.", + "readOnly": true + }, + "ioScalar": { + "type": "number", + "format": "double", + "description": "The scalar for IO in the file share provisioned IOPS recommendation formula.", + "readOnly": true + }, + "baseBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The base bandwidth in the file share provisioned bandwidth recommendation formula.", + "readOnly": true + }, + "bandwidthScalar": { + "type": "number", + "format": "double", + "description": "The scalar for bandwidth in the file share provisioned bandwidth recommendation formula.", + "readOnly": true + } + } + }, + "Format": { + "type": "string", + "description": "This is a required field, it specifies the format for the inventory files.", + "enum": [ + "Csv", + "Parquet" + ], + "x-ms-enum": { + "name": "Format", + "modelAsString": true, + "values": [ + { + "name": "Csv", + "value": "Csv" + }, + { + "name": "Parquet", + "value": "Parquet" + } + ] + } + }, + "GeoPriorityReplicationStatus": { + "type": "object", + "description": "Geo Priority Replication enablement status for the storage account.", + "properties": { + "isBlobEnabled": { + "type": "boolean", + "description": "Indicates whether Blob Geo Priority Replication is enabled for the storage account." + } + } + }, + "GeoReplicationStats": { + "type": "object", + "description": "Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account.", + "properties": { + "status": { + "$ref": "#/definitions/GeoReplicationStatus", + "description": "The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.", + "readOnly": true + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "description": "All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap.", + "readOnly": true + }, + "canFailover": { + "type": "boolean", + "description": "A boolean flag which indicates whether or not account failover is supported for the account.", + "readOnly": true + }, + "canPlannedFailover": { + "type": "boolean", + "description": "A boolean flag which indicates whether or not planned account failover is supported for the account.", + "readOnly": true + }, + "postFailoverRedundancy": { + "$ref": "#/definitions/PostFailoverRedundancy", + "description": "The redundancy type of the account after an account failover is performed.", + "readOnly": true + }, + "postPlannedFailoverRedundancy": { + "$ref": "#/definitions/PostPlannedFailoverRedundancy", + "description": "The redundancy type of the account after a planned account failover is performed.", + "readOnly": true + } + } + }, + "GeoReplicationStatus": { + "type": "string", + "description": "The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.", + "enum": [ + "Live", + "Bootstrap", + "Unavailable" + ], + "x-ms-enum": { + "name": "GeoReplicationStatus", + "modelAsString": true, + "values": [ + { + "name": "Live", + "value": "Live" + }, + { + "name": "Bootstrap", + "value": "Bootstrap" + }, + { + "name": "Unavailable", + "value": "Unavailable" + } + ] + } + }, + "HttpProtocol": { + "type": "string", + "description": "The protocol permitted for a request made with the account SAS.", + "enum": [ + "https,http", + "https" + ], + "x-ms-enum": { + "name": "HttpProtocol", + "modelAsString": false + } + }, + "IPRule": { + "type": "object", + "description": "IP rule with specific IP or IP range in CIDR format.", + "properties": { + "value": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format.", + "x-ms-client-name": "IPAddressOrRange" + }, + "action": { + "type": "string", + "description": "The action of IP ACL rule.", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "modelAsString": false + } + } + }, + "required": [ + "value" + ] + }, + "Identity": { + "type": "object", + "description": "Identity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of resource identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/IdentityType", + "description": "The identity type." + }, + "userAssignedIdentities": { + "type": "object", + "description": "Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + } + }, + "required": [ + "type" + ] + }, + "IdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned,UserAssigned" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + }, + { + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned" + } + ] + } + }, + "ImmutabilityPolicy": { + "type": "object", + "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.", + "properties": { + "properties": { + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "description": "The properties of an ImmutabilityPolicy of a blob container.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "Resource Etag.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ImmutabilityPolicyProperties": { + "type": "object", + "description": "The properties of an ImmutabilityPolicy of a blob container.", + "properties": { + "properties": { + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "description": "The properties of an ImmutabilityPolicy of a blob container.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "ImmutabilityPolicy Etag.", + "readOnly": true + }, + "updateHistory": { + "type": "array", + "description": "The ImmutabilityPolicy update history of the blob container.", + "items": { + "$ref": "#/definitions/UpdateHistoryProperty" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "ImmutabilityPolicyProperty": { + "type": "object", + "description": "The properties of an ImmutabilityPolicy of a blob container.", + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "format": "int32", + "description": "The immutability period for the blobs in the container since the policy creation, in days." + }, + "state": { + "$ref": "#/definitions/ImmutabilityPolicyState", + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.", + "readOnly": true + }, + "allowProtectedAppendWrites": { + "type": "boolean", + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API." + }, + "allowProtectedAppendWritesAll": { + "type": "boolean", + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive." + } + } + }, + "ImmutabilityPolicyState": { + "type": "string", + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.", + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyState", + "modelAsString": true, + "values": [ + { + "name": "Locked", + "value": "Locked" + }, + { + "name": "Unlocked", + "value": "Unlocked" + } + ] + } + }, + "ImmutabilityPolicyUpdateType": { + "type": "string", + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.", + "enum": [ + "put", + "lock", + "extend" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyUpdateType", + "modelAsString": true, + "values": [ + { + "name": "put", + "value": "put" + }, + { + "name": "lock", + "value": "lock" + }, + { + "name": "extend", + "value": "extend" + } + ] + } + }, + "ImmutableStorageAccount": { + "type": "object", + "description": "This property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning.", + "properties": { + "enabled": { + "type": "boolean", + "description": "A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default." + }, + "immutabilityPolicy": { + "$ref": "#/definitions/AccountImmutabilityPolicyProperties", + "description": "Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level. The object-level immutability policy has higher precedence than the container-level immutability policy, which has a higher precedence than the account-level immutability policy." + } + } + }, + "ImmutableStorageWithVersioning": { + "type": "object", + "description": "Object level immutability properties of the container.", + "properties": { + "enabled": { + "type": "boolean", + "description": "This is an immutable property, when set to true it enables object level immutability at the container level." + }, + "timeStamp": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the object level immutability was enabled.", + "readOnly": true + }, + "migrationState": { + "$ref": "#/definitions/MigrationState", + "description": "This property denotes the container level immutability to object level immutability migration state.", + "readOnly": true + } + } + }, + "IntervalUnit": { + "type": "string", + "description": "Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'", + "enum": [ + "Days" + ], + "x-ms-enum": { + "name": "IntervalUnit", + "modelAsString": true, + "values": [ + { + "name": "days", + "value": "Days" + } + ] + } + }, + "InventoryRuleType": { + "type": "string", + "description": "The valid value is Inventory", + "enum": [ + "Inventory" + ], + "x-ms-enum": { + "name": "InventoryRuleType", + "modelAsString": true, + "values": [ + { + "name": "Inventory", + "value": "Inventory" + } + ] + } + }, + "IssueType": { + "type": "string", + "description": "Type of issue", + "enum": [ + "Unknown", + "ConfigurationPropagationFailure" + ], + "x-ms-enum": { + "name": "IssueType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "ConfigurationPropagationFailure", + "value": "ConfigurationPropagationFailure" + } + ] + } + }, + "KeyCreationTime": { + "type": "object", + "description": "Storage account keys creation time.", + "properties": { + "key1": { + "type": "string", + "format": "date-time" + }, + "key2": { + "type": "string", + "format": "date-time" + } + } + }, + "KeyPermission": { + "type": "string", + "description": "Permissions for the key -- read-only or full permissions.", + "enum": [ + "Read", + "Full" + ], + "x-ms-enum": { + "name": "KeyPermission", + "modelAsString": false + } + }, + "KeyPolicy": { + "type": "object", + "description": "KeyPolicy assigned to the storage account.", + "properties": { + "keyExpirationPeriodInDays": { + "type": "integer", + "format": "int32", + "description": "The key expiration period in days." + } + }, + "required": [ + "keyExpirationPeriodInDays" + ] + }, + "KeyType": { + "type": "string", + "description": "Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used.", + "enum": [ + "Service", + "Account" + ], + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true, + "values": [ + { + "name": "Service", + "value": "Service" + }, + { + "name": "Account", + "value": "Account" + } + ] + } + }, + "KeyVaultProperties": { + "type": "object", + "description": "Properties of key vault.", + "properties": { + "keyname": { + "type": "string", + "description": "The name of KeyVault key.", + "x-ms-client-name": "KeyName" + }, + "keyversion": { + "type": "string", + "description": "The version of KeyVault key.", + "x-ms-client-name": "KeyVersion" + }, + "keyvaulturi": { + "type": "string", + "description": "The Uri of KeyVault.", + "x-ms-client-name": "KeyVaultUri" + }, + "currentVersionedKeyIdentifier": { + "type": "string", + "description": "The object identifier of the current versioned Key Vault Key in use.", + "readOnly": true, + "x-ms-client-name": "CurrentVersionedKeyIdentifier" + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of last rotation of the Key Vault Key.", + "readOnly": true, + "x-ms-client-name": "LastKeyRotationTimestamp" + }, + "currentVersionedKeyExpirationTimestamp": { + "type": "string", + "format": "date-time", + "description": "This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption.", + "readOnly": true, + "x-ms-client-name": "CurrentVersionedKeyExpirationTimestamp" + } + } + }, + "Kind": { + "type": "string", + "description": "Indicates the type of storage account.", + "enum": [ + "Storage", + "StorageV2", + "BlobStorage", + "FileStorage", + "BlockBlobStorage" + ], + "x-ms-enum": { + "name": "Kind", + "modelAsString": true, + "values": [ + { + "name": "Storage", + "value": "Storage" + }, + { + "name": "StorageV2", + "value": "StorageV2" + }, + { + "name": "BlobStorage", + "value": "BlobStorage" + }, + { + "name": "FileStorage", + "value": "FileStorage" + }, + { + "name": "BlockBlobStorage", + "value": "BlockBlobStorage" + } + ] + } + }, + "LargeFileSharesState": { + "type": "string", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "LargeFileSharesState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + "LastAccessTimeTrackingPolicy": { + "type": "object", + "description": "The blob service properties for Last access time based tracking policy.", + "properties": { + "enable": { + "type": "boolean", + "description": "When set to true last access time based tracking is enabled." + }, + "name": { + "$ref": "#/definitions/Name", + "description": "Name of the policy. The valid value is AccessTimeTracking. This field is currently read only" + }, + "trackingGranularityInDays": { + "type": "integer", + "format": "int32", + "description": "The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1" + }, + "blobType": { + "type": "array", + "description": "An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only", + "items": { + "type": "string" + } + } + }, + "required": [ + "enable" + ] + }, + "LeaseContainerRequest": { + "type": "object", + "description": "Lease Container request schema.", + "properties": { + "action": { + "$ref": "#/definitions/LeaseContainerRequestAction", + "description": "Specifies the lease action. Can be one of the available actions." + }, + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." + }, + "breakPeriod": { + "type": "integer", + "format": "int32", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "format": "int32", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } + }, + "required": [ + "action" + ] + }, + "LeaseContainerRequestAction": { + "type": "string", + "description": "Specifies the lease action. Can be one of the available actions.", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "x-ms-enum": { + "name": "LeaseContainerRequestAction", + "modelAsString": true, + "values": [ + { + "name": "Acquire", + "value": "Acquire" + }, + { + "name": "Renew", + "value": "Renew" + }, + { + "name": "Change", + "value": "Change" + }, + { + "name": "Release", + "value": "Release" + }, + { + "name": "Break", + "value": "Break" + } + ] + } + }, + "LeaseContainerResponse": { + "type": "object", + "description": "Lease Container response schema.", + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." + } + } + }, + "LeaseDuration": { + "type": "string", + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.", + "enum": [ + "Infinite", + "Fixed" + ], + "x-ms-enum": { + "name": "LeaseDuration", + "modelAsString": true, + "values": [ + { + "name": "Infinite", + "value": "Infinite" + }, + { + "name": "Fixed", + "value": "Fixed" + } + ] + } + }, + "LeaseShareAction": { + "type": "string", + "description": "Specifies the lease action. Can be one of the available actions.", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "x-ms-enum": { + "name": "LeaseShareAction", + "modelAsString": true, + "values": [ + { + "name": "Acquire", + "value": "Acquire" + }, + { + "name": "Renew", + "value": "Renew" + }, + { + "name": "Change", + "value": "Change" + }, + { + "name": "Release", + "value": "Release" + }, + { + "name": "Break", + "value": "Break" + } + ] + } + }, + "LeaseShareRequest": { + "type": "object", + "description": "Lease Share request schema.", + "properties": { + "action": { + "$ref": "#/definitions/LeaseShareAction", + "description": "Specifies the lease action. Can be one of the available actions." + }, + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." + }, + "breakPeriod": { + "type": "integer", + "format": "int32", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "format": "int32", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } + }, + "required": [ + "action" + ] + }, + "LeaseShareResponse": { + "type": "object", + "description": "Lease Share response schema.", + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the share, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." + } + } + }, + "LeaseState": { + "type": "string", + "description": "Lease state of the container.", + "enum": [ + "Available", + "Leased", + "Expired", + "Breaking", + "Broken" + ], + "x-ms-enum": { + "name": "LeaseState", + "modelAsString": true, + "values": [ + { + "name": "Available", + "value": "Available" + }, + { + "name": "Leased", + "value": "Leased" + }, + { + "name": "Expired", + "value": "Expired" + }, + { + "name": "Breaking", + "value": "Breaking" + }, + { + "name": "Broken", + "value": "Broken" + } + ] + } + }, + "LeaseStatus": { + "type": "string", + "description": "The lease status of the container.", + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "LeaseStatus", + "modelAsString": true, + "values": [ + { + "name": "Locked", + "value": "Locked" + }, + { + "name": "Unlocked", + "value": "Unlocked" + } + ] + } + }, + "LegalHold": { + "type": "object", + "description": "The LegalHold property of a blob container.", + "properties": { + "hasLegalHold": { + "type": "boolean", + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.", + "readOnly": true + }, + "tags": { + "type": "array", + "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.", + "items": { + "$ref": "#/definitions/LimitedString" + } + }, + "allowProtectedAppendWritesAll": { + "type": "boolean", + "description": "When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." + } + }, + "required": [ + "tags" + ] + }, + "LegalHoldProperties": { + "type": "object", + "description": "The LegalHold property of a blob container.", + "properties": { + "hasLegalHold": { + "type": "boolean", + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.", + "readOnly": true + }, + "tags": { + "type": "array", + "description": "The list of LegalHold tags of a blob container.", + "items": { + "$ref": "#/definitions/TagProperty" + }, + "x-ms-identifiers": [] + }, + "protectedAppendWritesHistory": { + "$ref": "#/definitions/ProtectedAppendWritesHistory", + "description": "Protected append blob writes history." + } + } + }, + "LimitedString": { + "type": "string", + "minLength": 3, + "maxLength": 23 + }, + "ListAccountSasResponse": { + "type": "object", + "description": "The List SAS credentials operation response.", + "properties": { + "accountSasToken": { + "type": "string", + "description": "List SAS credentials of storage account.", + "readOnly": true + } + } + }, + "ListBlobInventoryPolicy": { + "type": "object", + "description": "List of blob inventory policies returned.", + "properties": { + "value": { + "type": "array", + "description": "List of blob inventory policies.", + "items": { + "$ref": "#/definitions/BlobInventoryPolicy" + }, + "readOnly": true + }, + "nextLink": { + "type": "string" + } + } + }, + "ListContainerItem": { + "type": "object", + "description": "The blob container properties be listed out.", + "properties": { + "properties": { + "$ref": "#/definitions/ContainerProperties", + "description": "The blob container properties be listed out.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureEntityResource" + } + ] + }, + "ListContainerItems": { + "type": "object", + "description": "Response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers.", + "properties": { + "value": { + "type": "array", + "description": "The ListContainerItem items on this page", + "items": { + "$ref": "#/definitions/ListContainerItem" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListQueue": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ListQueueProperties", + "description": "List Queue resource properties.", + "x-ms-client-flatten": true, + "x-ms-client-name": "QueueProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "ListQueueProperties": { + "type": "object", + "properties": { + "metadata": { + "type": "object", + "description": "A name-value pair that represents queue metadata.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ListQueueResource": { + "type": "object", + "description": "Response schema. Contains list of queues returned", + "properties": { + "value": { + "type": "array", + "description": "The ListQueue items on this page", + "items": { + "$ref": "#/definitions/ListQueue" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListQueueServices": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "List of queue services returned.", + "items": { + "$ref": "#/definitions/QueueServiceProperties" + }, + "readOnly": true + } + } + }, + "ListServiceSasResponse": { + "type": "object", + "description": "The List service SAS credentials operation response.", + "properties": { + "serviceSasToken": { + "type": "string", + "description": "List service SAS credentials of specific resource.", + "readOnly": true + } + } + }, + "ListTableResource": { + "type": "object", + "description": "Response schema. Contains list of tables returned", + "properties": { + "value": { + "type": "array", + "description": "The Table items on this page", + "items": { + "$ref": "#/definitions/Table" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListTableServices": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "List of table services returned.", + "items": { + "$ref": "#/definitions/TableServiceProperties" + }, + "readOnly": true + } + } + }, + "LocalUser": { + "type": "object", + "description": "The local user associated with the storage accounts.", + "properties": { + "properties": { + "$ref": "#/definitions/LocalUserProperties", + "description": "Storage account local user properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "LocalUserKeys": { + "type": "object", + "description": "The Storage Account Local User keys.", + "properties": { + "sshAuthorizedKeys": { + "type": "array", + "description": "Optional, local user ssh authorized keys for SFTP.", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [] + }, + "sharedKey": { + "type": "string", + "format": "password", + "description": "Auto generated by the server for SMB authentication.", + "readOnly": true, + "x-ms-secret": true + } + } + }, + "LocalUserProperties": { + "type": "object", + "description": "The Storage Account Local User properties.", + "properties": { + "permissionScopes": { + "type": "array", + "description": "The permission scopes of the local user.", + "items": { + "$ref": "#/definitions/PermissionScope" + }, + "x-ms-identifiers": [] + }, + "homeDirectory": { + "type": "string", + "description": "Optional, local user home directory." + }, + "sshAuthorizedKeys": { + "type": "array", + "description": "Optional, local user ssh authorized keys for SFTP.", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [] + }, + "sid": { + "type": "string", + "description": "A unique Security Identifier that is generated by the server.", + "readOnly": true + }, + "hasSharedKey": { + "type": "boolean", + "description": "Indicates whether shared key exists. Set it to false to remove existing shared key." + }, + "hasSshKey": { + "type": "boolean", + "description": "Indicates whether ssh key exists. Set it to false to remove existing SSH key." + }, + "hasSshPassword": { + "type": "boolean", + "description": "Indicates whether ssh password exists. Set it to false to remove existing SSH password." + }, + "userId": { + "type": "integer", + "format": "int32", + "description": "A unique Identifier that is generated by the server.", + "readOnly": true + }, + "groupId": { + "type": "integer", + "format": "int32", + "description": "An identifier for associating a group of users." + }, + "allowAclAuthorization": { + "type": "boolean", + "description": "Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization." + }, + "extendedGroups": { + "type": "array", + "description": "Supplementary group membership. Only applicable for local users enabled for NFSv3 access.", + "items": { + "type": "integer", + "format": "int32" + } + }, + "isNFSv3Enabled": { + "type": "boolean", + "description": "Indicates if the local user is enabled for access with NFSv3 protocol." + } + } + }, + "LocalUserRegeneratePasswordResult": { + "type": "object", + "description": "The secrets of Storage Account Local User.", + "properties": { + "sshPassword": { + "type": "string", + "format": "password", + "description": "Auto generated password by the server for SSH authentication if hasSshPassword is set to true on the creation of local user.", + "readOnly": true, + "x-ms-secret": true + } + } + }, + "LocalUsers": { + "type": "object", + "description": "List of local users requested, and if paging is required, a URL to the next page of local users.", + "properties": { + "value": { + "type": "array", + "description": "The LocalUser items on this page", + "items": { + "$ref": "#/definitions/LocalUser" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ManagedIdentityAuthProperties": { + "type": "object", + "description": "The managed identity auth properties for dataShare connection.", + "properties": { + "identityResourceId": { + "type": "string", + "description": "ARM ResourceId of the managed identity that should be used to authenticate to the backing data source." + } + }, + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorAuthProperties" + } + ], + "x-ms-discriminator-value": "ManagedIdentity" + }, + "ManagedIdentityAuthPropertiesUpdate": { + "type": "object", + "description": "The managed identity auth properties for dataShare connection.", + "properties": { + "identityResourceId": { + "type": "string", + "description": "ARM ResourceId of the managed identity that should be used to authenticate to the backing data source." + } + }, + "allOf": [ + { + "$ref": "#/definitions/StorageConnectorAuthPropertiesUpdate" + } + ], + "x-ms-discriminator-value": "ManagedIdentity" + }, + "ManagementPolicy": { + "type": "object", + "description": "The Get Storage Account ManagementPolicies operation response.", + "properties": { + "properties": { + "$ref": "#/definitions/ManagementPolicyProperties", + "description": "Returns the Storage Account Data Policies Rules.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ManagementPolicyAction": { + "type": "object", + "description": "Actions are applied to the filtered blobs when the execution condition is met.", + "properties": { + "baseBlob": { + "$ref": "#/definitions/ManagementPolicyBaseBlob", + "description": "The management policy action for base blob" + }, + "snapshot": { + "$ref": "#/definitions/ManagementPolicySnapShot", + "description": "The management policy action for snapshot" + }, + "version": { + "$ref": "#/definitions/ManagementPolicyVersion", + "description": "The management policy action for version" + } + } + }, + "ManagementPolicyBaseBlob": { + "type": "object", + "description": "Management policy action for base blob.", + "properties": { + "tierToCool": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to cool storage." + }, + "tierToArchive": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to archive storage." + }, + "tierToCold": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to cold storage." + }, + "tierToHot": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" + }, + "delete": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to delete the blob" + }, + "enableAutoTierToHotFromCool": { + "type": "boolean", + "description": "This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan." + } + } + }, + "ManagementPolicyDefinition": { + "type": "object", + "description": "An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set.", + "properties": { + "actions": { + "$ref": "#/definitions/ManagementPolicyAction", + "description": "An object that defines the action set." + }, + "filters": { + "$ref": "#/definitions/ManagementPolicyFilter", + "description": "An object that defines the filter set." + } + }, + "required": [ + "actions" + ] + }, + "ManagementPolicyFilter": { + "type": "object", + "description": "Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters.", + "properties": { + "prefixMatch": { + "type": "array", + "description": "An array of strings for prefixes to be match.", + "items": { + "type": "string" + } + }, + "blobTypes": { + "type": "array", + "description": "An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.", + "items": { + "type": "string" + } + }, + "blobIndexMatch": { + "type": "array", + "description": "An array of blob index tag based filters, there can be at most 10 tag filters", + "items": { + "$ref": "#/definitions/TagFilter" + } + } + }, + "required": [ + "blobTypes" + ] + }, + "ManagementPolicyProperties": { + "type": "object", + "description": "The Storage Account ManagementPolicy properties.", + "properties": { + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the ManagementPolicies was last modified.", + "readOnly": true + }, + "policy": { + "$ref": "#/definitions/ManagementPolicySchema", + "description": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview." + } + }, + "required": [ + "policy" + ] + }, + "ManagementPolicyRule": { + "type": "object", + "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Rule is enabled if set to true." + }, + "name": { + "type": "string", + "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy." + }, + "type": { + "$ref": "#/definitions/RuleType", + "description": "The valid value is Lifecycle" + }, + "definition": { + "$ref": "#/definitions/ManagementPolicyDefinition", + "description": "An object that defines the Lifecycle rule." + } + }, + "required": [ + "name", + "type", + "definition" + ] + }, + "ManagementPolicySchema": { + "type": "object", + "description": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.", + "properties": { + "rules": { + "type": "array", + "description": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.", + "items": { + "$ref": "#/definitions/ManagementPolicyRule" + } + } + }, + "required": [ + "rules" + ] + }, + "ManagementPolicySnapShot": { + "type": "object", + "description": "Management policy action for snapshot.", + "properties": { + "tierToCool": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blob snapshot to cool storage." + }, + "tierToArchive": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blob snapshot to archive storage." + }, + "tierToCold": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blobs to cold storage." + }, + "tierToHot": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" + }, + "delete": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to delete the blob snapshot" + } + } + }, + "ManagementPolicyVersion": { + "type": "object", + "description": "Management policy action for blob version.", + "properties": { + "tierToCool": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blob version to cool storage." + }, + "tierToArchive": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blob version to archive storage." + }, + "tierToCold": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blobs to cold storage." + }, + "tierToHot": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" + }, + "delete": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to delete the blob version" + } + } + }, + "MetricSpecification": { + "type": "object", + "description": "Metric specification of operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of metric specification." + }, + "displayName": { + "type": "string", + "description": "Display name of metric specification." + }, + "displayDescription": { + "type": "string", + "description": "Display description of metric specification." + }, + "unit": { + "type": "string", + "description": "Unit could be Bytes or Count." + }, + "dimensions": { + "type": "array", + "description": "Dimensions of blobs, including blob type and access tier.", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "aggregationType": { + "type": "string", + "description": "Aggregation type could be Average." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "The property to decide fill gap with zero or not." + }, + "category": { + "type": "string", + "description": "The category this metric specification belong to, could be Capacity." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "Account Resource Id." + } + } + }, + "MigrationState": { + "type": "string", + "description": "This property denotes the container level immutability to object level immutability migration state.", + "enum": [ + "InProgress", + "Completed" + ], + "x-ms-enum": { + "name": "MigrationState", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Completed", + "value": "Completed" + } + ] + } + }, + "MinimumTlsVersion": { + "type": "string", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.", + "enum": [ + "TLS1_0", + "TLS1_1", + "TLS1_2", + "TLS1_3" + ], + "x-ms-enum": { + "name": "MinimumTlsVersion", + "modelAsString": true, + "values": [ + { + "name": "TLS1_0", + "value": "TLS1_0" + }, + { + "name": "TLS1_1", + "value": "TLS1_1" + }, + { + "name": "TLS1_2", + "value": "TLS1_2" + }, + { + "name": "TLS1_3", + "value": "TLS1_3" + } + ] + } + }, + "Multichannel": { + "type": "object", + "description": "Multichannel setting. Applies to Premium FileStorage only.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether multichannel is enabled" + } + } + }, + "Name": { + "type": "string", + "description": "Name of the policy. The valid value is AccessTimeTracking. This field is currently read only", + "enum": [ + "AccessTimeTracking" + ], + "x-ms-enum": { + "name": "Name", + "modelAsString": true, + "values": [ + { + "name": "AccessTimeTracking", + "value": "AccessTimeTracking" + } + ] + } + }, + "NativeDataSharingProvisioningState": { + "type": "string", + "description": "Provisioning state of the resource at the time the operation was called.", + "enum": [ + "Accepted", + "Creating", + "Succeeded", + "Deleting", + "Canceled", + "Failed" + ], + "x-ms-enum": { + "name": "NativeDataSharingProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "NetworkRuleSet": { + "type": "object", + "description": "Network rule set", + "properties": { + "bypass": { + "type": "string", + "description": "Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics.", + "default": "AzureServices", + "enum": [ + "None", + "Logging", + "Metrics", + "AzureServices" + ], + "x-ms-enum": { + "name": "Bypass", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Logging", + "value": "Logging" + }, + { + "name": "Metrics", + "value": "Metrics" + }, + { + "name": "AzureServices", + "value": "AzureServices" + } + ] + }, + "x-ms-client-name": "Bypass" + }, + "resourceAccessRules": { + "type": "array", + "description": "Sets the resource access rules", + "items": { + "$ref": "#/definitions/ResourceAccessRule" + }, + "x-ms-identifiers": [] + }, + "virtualNetworkRules": { + "type": "array", + "description": "Sets the virtual network rules", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + } + }, + "ipRules": { + "type": "array", + "description": "Sets the IP ACL rules", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] + }, + "ipv6Rules": { + "type": "array", + "description": "Sets the IPv6 ACL rules.", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] + }, + "defaultAction": { + "type": "string", + "description": "Specifies the default action of allow or deny when no other rules match.", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": false + } + } + }, + "required": [ + "defaultAction" + ] + }, + "NetworkSecurityPerimeter": { + "type": "object", + "description": "NetworkSecurityPerimeter related information", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier of the resource" + }, + "perimeterGuid": { + "type": "string", + "description": "Guid of the resource" + }, + "location": { + "type": "string", + "description": "Location of the resource", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "NetworkSecurityPerimeterConfiguration": { + "type": "object", + "description": "The Network Security Perimeter configuration resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties", + "description": "Properties of the Network Security Perimeter Configuration", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkSecurityPerimeterConfigurationList": { + "type": "object", + "description": "Result of the List Network Security Perimeter configuration operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkSecurityPerimeterConfiguration items on this page", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkSecurityPerimeterConfigurationProperties": { + "type": "object", + "description": "Properties of the Network Security Perimeter Configuration", + "properties": { + "provisioningState": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProvisioningState", + "description": "Provisioning state of Network Security Perimeter configuration propagation", + "readOnly": true + }, + "provisioningIssues": { + "type": "array", + "description": "List of Provisioning Issues if any", + "items": { + "$ref": "#/definitions/ProvisioningIssue" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "networkSecurityPerimeter": { + "$ref": "#/definitions/NetworkSecurityPerimeter", + "description": "NetworkSecurityPerimeter related information", + "readOnly": true + }, + "resourceAssociation": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation", + "description": "Information about resource association", + "readOnly": true + }, + "profile": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationPropertiesProfile", + "description": "Network Security Perimeter profile", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfigurationPropertiesProfile": { + "type": "object", + "description": "Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource" + }, + "accessRulesVersion": { + "type": "number", + "format": "float", + "description": "Current access rules version" + }, + "accessRules": { + "type": "array", + "description": "List of Access Rules", + "items": { + "$ref": "#/definitions/NspAccessRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "diagnosticSettingsVersion": { + "type": "number", + "format": "float", + "description": "Diagnostic settings version" + }, + "enabledLogCategories": { + "type": "array", + "description": "Enabled logging categories", + "items": { + "type": "string" + } + } + } + }, + "NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation": { + "type": "object", + "description": "Information about resource association", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource association" + }, + "accessMode": { + "$ref": "#/definitions/ResourceAssociationAccessMode", + "description": "Access Mode of the resource association" + } + } + }, + "NetworkSecurityPerimeterConfigurationProvisioningState": { + "type": "string", + "description": "Provisioning state of Network Security Perimeter configuration propagation", + "enum": [ + "Accepted", + "Succeeded", + "Failed", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "NetworkSecurityPerimeterConfigurationProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Canceled", + "value": "Canceled" + } + ] + } + }, + "NfsSetting": { + "type": "object", + "description": "Setting for NFS protocol", + "properties": { + "encryptionInTransit": { + "$ref": "#/definitions/EncryptionInTransit", + "description": "Encryption in transit setting." + } + } + }, + "NspAccessRule": { + "type": "object", + "description": "Information of Access Rule in Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource" + }, + "properties": { + "$ref": "#/definitions/NspAccessRuleProperties", + "description": "Properties of Access Rule", + "readOnly": true + } + } + }, + "NspAccessRuleDirection": { + "type": "string", + "description": "Direction of Access Rule", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "NspAccessRuleDirection", + "modelAsString": true, + "values": [ + { + "name": "Inbound", + "value": "Inbound" + }, + { + "name": "Outbound", + "value": "Outbound" + } + ] + } + }, + "NspAccessRuleProperties": { + "type": "object", + "description": "Properties of Access Rule", + "properties": { + "direction": { + "$ref": "#/definitions/NspAccessRuleDirection", + "description": "Direction of Access Rule" + }, + "addressPrefixes": { + "type": "array", + "description": "Address prefixes in the CIDR format for inbound rules", + "items": { + "type": "string" + } + }, + "subscriptions": { + "type": "array", + "description": "Subscriptions for inbound rules", + "items": { + "$ref": "#/definitions/NspAccessRulePropertiesSubscriptionsItem" + } + }, + "networkSecurityPerimeters": { + "type": "array", + "description": "NetworkSecurityPerimeters for inbound rules", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "readOnly": true + }, + "fullyQualifiedDomainNames": { + "type": "array", + "description": "FQDN for outbound rules", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "NspAccessRulePropertiesSubscriptionsItem": { + "type": "object", + "description": "Subscription for inbound rule", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier of subscription" + } + } + }, + "ObjectReplicationPolicies": { + "type": "object", + "description": "List storage account object replication policies.", + "properties": { + "value": { + "type": "array", + "description": "The replication policy between two storage accounts.", + "items": { + "$ref": "#/definitions/ObjectReplicationPolicy" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "ObjectReplicationPolicy": { + "type": "object", + "description": "The replication policy between two storage accounts. Multiple rules can be defined in one policy.", + "properties": { + "properties": { + "$ref": "#/definitions/ObjectReplicationPolicyProperties", + "description": "Returns the Storage Account Object Replication Policy.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ObjectReplicationPolicyFilter": { + "type": "object", + "description": "Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters.", + "properties": { + "prefixMatch": { + "type": "array", + "description": "Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.", + "items": { + "type": "string" + } + }, + "minCreationTime": { + "type": "string", + "description": "Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z" + } + } + }, + "ObjectReplicationPolicyProperties": { + "type": "object", + "description": "The Storage Account ObjectReplicationPolicy properties.", + "properties": { + "policyId": { + "type": "string", + "description": "A unique id for object replication policy.", + "readOnly": true + }, + "enabledTime": { + "type": "string", + "format": "date-time", + "description": "Indicates when the policy is enabled on the source account.", + "readOnly": true + }, + "sourceAccount": { + "type": "string", + "description": "Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false." + }, + "destinationAccount": { + "type": "string", + "description": "Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false." + }, + "rules": { + "type": "array", + "description": "The storage account object replication rules.", + "items": { + "$ref": "#/definitions/ObjectReplicationPolicyRule" + }, + "x-ms-identifiers": [] + }, + "metrics": { + "$ref": "#/definitions/ObjectReplicationPolicyPropertiesMetrics", + "description": "Optional. The object replication policy metrics feature options." + }, + "priorityReplication": { + "$ref": "#/definitions/ObjectReplicationPolicyPropertiesPriorityReplication", + "description": "Optional. The object replication policy priority replication feature options." + } + }, + "required": [ + "sourceAccount", + "destinationAccount" + ] + }, + "ObjectReplicationPolicyPropertiesMetrics": { + "type": "object", + "description": "Optional. The object replication policy metrics feature options.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether object replication metrics feature is enabled for the policy." + } + } + }, + "ObjectReplicationPolicyPropertiesPriorityReplication": { + "type": "object", + "description": "Optional. The object replication policy priority replication feature options.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether object replication priority replication feature is enabled for the policy." + } + } + }, + "ObjectReplicationPolicyRule": { + "type": "object", + "description": "The replication policy rule between two containers.", + "properties": { + "ruleId": { + "type": "string", + "description": "Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account." + }, + "sourceContainer": { + "type": "string", + "description": "Required. Source container name." + }, + "destinationContainer": { + "type": "string", + "description": "Required. Destination container name." + }, + "filters": { + "$ref": "#/definitions/ObjectReplicationPolicyFilter", + "description": "Optional. An object that defines the filter set." + } + }, + "required": [ + "sourceContainer", + "destinationContainer" + ] + }, + "ObjectType": { + "type": "string", + "description": "This is a required field. This field specifies the scope of the inventory created either at the blob or container level.", + "enum": [ + "Blob", + "Container" + ], + "x-ms-enum": { + "name": "ObjectType", + "modelAsString": true, + "values": [ + { + "name": "Blob", + "value": "Blob" + }, + { + "name": "Container", + "value": "Container" + } + ] + } + }, + "Operation": { + "type": "object", + "description": "Storage REST API operation definition.", + "properties": { + "name": { + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "Display metadata associated with the operation." + }, + "origin": { + "type": "string", + "description": "The origin of operations." + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of operation, include metric specifications.", + "x-ms-client-flatten": true, + "x-ms-client-name": "operationProperties" + } + } + }, + "OperationDisplay": { + "type": "object", + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Service provider: Microsoft Storage." + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed etc." + }, + "operation": { + "type": "string", + "description": "Type of operation: get, read, delete, etc." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "The list of available operations.", + "properties": { + "value": { + "type": "array", + "description": "List of operations supported by the resource provider.", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "OperationProperties": { + "type": "object", + "description": "Properties of operation, include metric specifications.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "One property of operation, include metric specifications." + } + } + }, + "PermissionScope": { + "type": "object", + "properties": { + "permissions": { + "type": "string", + "description": "The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), Create (c), Modify Ownership (o), and Modify Permissions (p)." + }, + "service": { + "type": "string", + "description": "The service used by the local user, e.g. blob, file." + }, + "resourceName": { + "type": "string", + "description": "The name of resource, normally the container name or the file share name, used by the local user." + } + }, + "required": [ + "permissions", + "service", + "resourceName" + ] + }, + "Permissions": { + "type": "string", + "description": "The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).", + "enum": [ + "r", + "d", + "w", + "l", + "a", + "c", + "u", + "p" + ], + "x-ms-enum": { + "name": "Permissions", + "modelAsString": true, + "values": [ + { + "name": "r", + "value": "r" + }, + { + "name": "d", + "value": "d" + }, + { + "name": "w", + "value": "w" + }, + { + "name": "l", + "value": "l" + }, + { + "name": "a", + "value": "a" + }, + { + "name": "c", + "value": "c" + }, + { + "name": "u", + "value": "u" + }, + { + "name": "p", + "value": "p" + } + ] + } + }, + "Placement": { + "type": "object", + "description": "The complex type of the zonal placement details.", + "properties": { + "zonePlacementPolicy": { + "$ref": "#/definitions/ZonePlacementPolicy", + "description": "The availability zone pinning policy for the storage account." + } + } + }, + "PostFailoverRedundancy": { + "type": "string", + "description": "The redundancy type of the account after an account failover is performed.", + "enum": [ + "Standard_LRS", + "Standard_ZRS" + ], + "x-ms-enum": { + "name": "PostFailoverRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS" + }, + { + "name": "Standard_ZRS", + "value": "Standard_ZRS" + } + ] + } + }, + "PostPlannedFailoverRedundancy": { + "type": "string", + "description": "The redundancy type of the account after a planned account failover is performed.", + "enum": [ + "Standard_GRS", + "Standard_GZRS", + "Standard_RAGRS", + "Standard_RAGZRS" + ], + "x-ms-enum": { + "name": "PostPlannedFailoverRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Standard_GRS", + "value": "Standard_GRS" + }, + { + "name": "Standard_GZRS", + "value": "Standard_GZRS" + }, + { + "name": "Standard_RAGRS", + "value": "Standard_RAGRS" + }, + { + "name": "Standard_RAGZRS", + "value": "Standard_RAGZRS" + } + ] + } + }, + "PrivateEndpoint": { + "type": "object", + "description": "The Private Endpoint resource.", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier for Private Endpoint", + "readOnly": true + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "The Private Endpoint Connection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "List of private endpoint connection associated with the specified storage account", + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": "Properties of the PrivateEndpointConnectProperties.", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource.", + "readOnly": true + } + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending" + }, + { + "name": "Approved", + "value": "Approved" + }, + { + "name": "Rejected", + "value": "Rejected" + } + ] + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "A list of private link resources", + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + } + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource.", + "properties": { + "groupId": { + "type": "string", + "description": "The private link resource group id.", + "readOnly": true + }, + "requiredMembers": { + "type": "array", + "description": "The private link resource required member names.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "description": "The private link resource Private link DNS zone name.", + "items": { + "type": "string" + } + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "description": "A collection of information about the state of the connection between service consumer and provider.", + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + } + }, + "ProtectedAppendWritesHistory": { + "type": "object", + "description": "Protected append writes history setting for the blob container with Legal holds.", + "properties": { + "allowProtectedAppendWritesAll": { + "type": "boolean", + "description": "When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the tag was added.", + "readOnly": true + } + } + }, + "ProtocolSettings": { + "type": "object", + "description": "Protocol settings for file service", + "properties": { + "smb": { + "$ref": "#/definitions/SmbSetting", + "description": "Setting for SMB protocol" + }, + "nfs": { + "$ref": "#/definitions/NfsSetting", + "description": "Setting for NFS protocol" + } + } + }, + "ProvisioningIssue": { + "type": "object", + "description": "Describes provisioning issue for given NetworkSecurityPerimeterConfiguration", + "properties": { + "name": { + "type": "string", + "description": "Name of the issue" + }, + "properties": { + "$ref": "#/definitions/ProvisioningIssueProperties", + "description": "Properties of provisioning issue", + "readOnly": true + } + } + }, + "ProvisioningIssueProperties": { + "type": "object", + "description": "Properties of provisioning issue", + "properties": { + "issueType": { + "$ref": "#/definitions/IssueType", + "description": "Type of issue" + }, + "severity": { + "$ref": "#/definitions/Severity", + "description": "Severity of the issue." + }, + "description": { + "type": "string", + "description": "Description of the issue" + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Gets the status of the storage account at the time the operation was called.", + "enum": [ + "Creating", + "ResolvingDNS", + "Succeeded" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "ResolvingDNS", + "value": "ResolvingDNS" + }, + { + "name": "Succeeded", + "value": "Succeeded" + } + ] + } + }, + "PublicAccess": { + "type": "string", + "description": "Specifies whether data in the container may be accessed publicly and the level of access.", + "enum": [ + "Container", + "Blob", + "None" + ], + "x-ms-enum": { + "name": "PublicAccess", + "modelAsString": false + } + }, + "PublicNetworkAccess": { + "type": "string", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'.", + "enum": [ + "Enabled", + "Disabled", + "SecuredByPerimeter" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "SecuredByPerimeter", + "value": "SecuredByPerimeter" + } + ] + } + }, + "QueueProperties": { + "type": "object", + "properties": { + "metadata": { + "type": "object", + "description": "A name-value pair that represents queue metadata.", + "additionalProperties": { + "type": "string" + } + }, + "approximateMessageCount": { + "type": "integer", + "format": "int32", + "description": "Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher.", + "readOnly": true + } + } + }, + "QueueServiceProperties": { + "type": "object", + "description": "The properties of a storage account’s Queue service.", + "properties": { + "properties": { + "$ref": "#/definitions/QueueServicePropertiesProperties", + "description": "The properties of a storage account’s Queue service.", + "x-ms-client-flatten": true, + "x-ms-client-name": "QueueServiceProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "QueueServicePropertiesProperties": { + "type": "object", + "description": "The properties of a storage account’s Queue service.", + "properties": { + "cors": { + "$ref": "#/definitions/CorsRules", + "description": "Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service." + } + } + }, + "Reason": { + "type": "string", + "description": "Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.", + "enum": [ + "AccountNameInvalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "Reason", + "modelAsString": false + } + }, + "ReasonCode": { + "type": "string", + "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The \"NotAvailableForSubscription\" is related to capacity at DC.", + "enum": [ + "QuotaId", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true, + "values": [ + { + "name": "QuotaId", + "value": "QuotaId" + }, + { + "name": "NotAvailableForSubscription", + "value": "NotAvailableForSubscription" + } + ] + } + }, + "Resource": { + "type": "object", + "description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "properties": { + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the resource", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "ResourceAccessRule": { + "type": "object", + "description": "Resource Access Rule.", + "properties": { + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, + "resourceId": { + "type": "string", + "description": "Resource Id" + } + } + }, + "ResourceAssociationAccessMode": { + "type": "string", + "description": "Access Mode of the resource association", + "enum": [ + "Enforced", + "Learning", + "Audit" + ], + "x-ms-enum": { + "name": "ResourceAssociationAccessMode", + "modelAsString": true, + "values": [ + { + "name": "Enforced", + "value": "Enforced" + }, + { + "name": "Learning", + "value": "Learning" + }, + { + "name": "Audit", + "value": "Audit" + } + ] + } + }, + "RestorePolicyProperties": { + "type": "object", + "description": "The blob service properties for blob restore policy", + "properties": { + "enabled": { + "type": "boolean", + "description": "Blob restore is enabled if set to true." + }, + "days": { + "type": "integer", + "format": "int32", + "description": "how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.", + "minimum": 1, + "maximum": 365 + }, + "lastEnabledTime": { + "type": "string", + "format": "date-time", + "description": "Deprecated in favor of minRestoreTime property.", + "readOnly": true + }, + "minRestoreTime": { + "type": "string", + "format": "date-time", + "description": "Returns the minimum date and time that the restore can be started.", + "readOnly": true + } + }, + "required": [ + "enabled" + ] + }, + "Restriction": { + "type": "object", + "description": "The restriction because of which SKU cannot be used.", + "properties": { + "type": { + "type": "string", + "description": "The type of restrictions. As of now only possible value for this is location.", + "readOnly": true + }, + "values": { + "type": "array", + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "reasonCode": { + "$ref": "#/definitions/ReasonCode", + "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The \"NotAvailableForSubscription\" is related to capacity at DC." + } + } + }, + "RootSquashType": { + "type": "string", + "description": "The property is for NFS share only. The default is NoRootSquash.", + "enum": [ + "NoRootSquash", + "RootSquash", + "AllSquash" + ], + "x-ms-enum": { + "name": "RootSquashType", + "modelAsString": true, + "values": [ + { + "name": "NoRootSquash", + "value": "NoRootSquash" + }, + { + "name": "RootSquash", + "value": "RootSquash" + }, + { + "name": "AllSquash", + "value": "AllSquash" + } + ] + } + }, + "RoutingChoice": { + "type": "string", + "description": "Routing Choice defines the kind of network routing opted by the user.", + "enum": [ + "MicrosoftRouting", + "InternetRouting" + ], + "x-ms-enum": { + "name": "RoutingChoice", + "modelAsString": true, + "values": [ + { + "name": "MicrosoftRouting", + "value": "MicrosoftRouting" + }, + { + "name": "InternetRouting", + "value": "InternetRouting" + } + ] + } + }, + "RoutingPreference": { + "type": "object", + "description": "Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing", + "properties": { + "routingChoice": { + "$ref": "#/definitions/RoutingChoice", + "description": "Routing Choice defines the kind of network routing opted by the user." + }, + "publishMicrosoftEndpoints": { + "type": "boolean", + "description": "A boolean flag which indicates whether microsoft routing storage endpoints are to be published" + }, + "publishInternetEndpoints": { + "type": "boolean", + "description": "A boolean flag which indicates whether internet routing storage endpoints are to be published" + } + } + }, + "RuleType": { + "type": "string", + "description": "The valid value is Lifecycle", + "enum": [ + "Lifecycle" + ], + "x-ms-enum": { + "name": "RuleType", + "modelAsString": true, + "values": [ + { + "name": "Lifecycle", + "value": "Lifecycle" + } + ] + } + }, + "RunResult": { + "type": "string", + "description": "Represents the overall result of the execution for the run instance", + "enum": [ + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "RunResult", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "RunStatusEnum": { + "type": "string", + "description": "Represents the status of the execution.", + "enum": [ + "InProgress", + "Finished" + ], + "x-ms-enum": { + "name": "RunStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Finished", + "value": "Finished" + } + ] + } + }, + "SKUCapability": { + "type": "object", + "description": "The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.", + "properties": { + "name": { + "type": "string", + "description": "The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.", + "readOnly": true + }, + "value": { + "type": "string", + "description": "A string value to indicate states of given capability. Possibly 'true' or 'false'.", + "readOnly": true + } + } + }, + "SasPolicy": { + "type": "object", + "description": "SasPolicy assigned to the storage account.", + "properties": { + "sasExpirationPeriod": { + "type": "string", + "description": "The SAS expiration period, DD.HH:MM:SS." + }, + "expirationAction": { + "type": "string", + "description": "The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period.", + "default": "Log", + "enum": [ + "Log", + "Block" + ], + "x-ms-enum": { + "name": "ExpirationAction", + "modelAsString": true, + "values": [ + { + "name": "Log", + "value": "Log" + }, + { + "name": "Block", + "value": "Block" + } + ] + } + } + }, + "required": [ + "sasExpirationPeriod", + "expirationAction" + ] + }, + "Schedule": { + "type": "string", + "description": "This is a required field. This field is used to schedule an inventory formation.", + "enum": [ + "Daily", + "Weekly" + ], + "x-ms-enum": { + "name": "Schedule", + "modelAsString": true, + "values": [ + { + "name": "Daily", + "value": "Daily" + }, + { + "name": "Weekly", + "value": "Weekly" + } + ] + } + }, + "ServiceSasParameters": { + "type": "object", + "description": "The parameters to list service SAS credentials of a specific resource.", + "properties": { + "canonicalizedResource": { + "type": "string", + "description": "The canonical path to the signed resource." + }, + "signedResource": { + "$ref": "#/definitions/SignedResource", + "description": "The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).", + "x-ms-client-name": "Resource" + }, + "signedPermission": { + "$ref": "#/definitions/Permissions", + "description": "The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).", + "x-ms-client-name": "Permissions" + }, + "signedIp": { + "type": "string", + "description": "An IP address or a range of IP addresses from which to accept requests.", + "x-ms-client-name": "IPAddressOrRange" + }, + "signedProtocol": { + "$ref": "#/definitions/HttpProtocol", + "description": "The protocol permitted for a request made with the account SAS.", + "x-ms-client-name": "Protocols" + }, + "signedStart": { + "type": "string", + "format": "date-time", + "description": "The time at which the SAS becomes valid.", + "x-ms-client-name": "SharedAccessStartTime" + }, + "signedExpiry": { + "type": "string", + "format": "date-time", + "description": "The time at which the shared access signature becomes invalid.", + "x-ms-client-name": "SharedAccessExpiryTime" + }, + "signedIdentifier": { + "type": "string", + "description": "A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.", + "maxLength": 64, + "x-ms-client-name": "Identifier" + }, + "startPk": { + "type": "string", + "description": "The start of partition key.", + "x-ms-client-name": "PartitionKeyStart" + }, + "endPk": { + "type": "string", + "description": "The end of partition key.", + "x-ms-client-name": "PartitionKeyEnd" + }, + "startRk": { + "type": "string", + "description": "The start of row key.", + "x-ms-client-name": "RowKeyStart" + }, + "endRk": { + "type": "string", + "description": "The end of row key.", + "x-ms-client-name": "RowKeyEnd" + }, + "keyToSign": { + "type": "string", + "description": "The key to sign the account SAS token with." + }, + "rscc": { + "type": "string", + "description": "The response header override for cache control.", + "x-ms-client-name": "CacheControl" + }, + "rscd": { + "type": "string", + "description": "The response header override for content disposition.", + "x-ms-client-name": "ContentDisposition" + }, + "rsce": { + "type": "string", + "description": "The response header override for content encoding.", + "x-ms-client-name": "ContentEncoding" + }, + "rscl": { + "type": "string", + "description": "The response header override for content language.", + "x-ms-client-name": "ContentLanguage" + }, + "rsct": { + "type": "string", + "description": "The response header override for content type.", + "x-ms-client-name": "ContentType" + } + }, + "required": [ + "canonicalizedResource" + ] + }, + "ServiceSpecification": { + "type": "object", + "description": "One property of operation, include metric specifications.", + "properties": { + "metricSpecifications": { + "type": "array", + "description": "Metric specifications of operation.", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } + }, + "Services": { + "type": "string", + "description": "The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).", + "enum": [ + "b", + "q", + "t", + "f" + ], + "x-ms-enum": { + "name": "Services", + "modelAsString": true, + "values": [ + { + "name": "b", + "value": "b" + }, + { + "name": "q", + "value": "q" + }, + { + "name": "t", + "value": "t" + }, + { + "name": "f", + "value": "f" + } + ] + } + }, + "Severity": { + "type": "string", + "description": "Severity of the issue.", + "enum": [ + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "Severity", + "modelAsString": true, + "values": [ + { + "name": "Warning", + "value": "Warning" + }, + { + "name": "Error", + "value": "Error" + } + ] + } + }, + "ShareAccessTier": { + "type": "string", + "description": "Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium.", + "enum": [ + "TransactionOptimized", + "Hot", + "Cool", + "Premium" + ], + "x-ms-enum": { + "name": "ShareAccessTier", + "modelAsString": true, + "values": [ + { + "name": "TransactionOptimized", + "value": "TransactionOptimized" + }, + { + "name": "Hot", + "value": "Hot" + }, + { + "name": "Cool", + "value": "Cool" + }, + { + "name": "Premium", + "value": "Premium" + } + ] + } + }, + "SignedIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "An unique identifier of the stored access policy." + }, + "accessPolicy": { + "$ref": "#/definitions/AccessPolicy", + "description": "Access policy" + } + } + }, + "SignedResource": { + "type": "string", + "description": "The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).", + "enum": [ + "b", + "c", + "f", + "s" + ], + "x-ms-enum": { + "name": "SignedResource", + "modelAsString": true, + "values": [ + { + "name": "b", + "value": "b" + }, + { + "name": "c", + "value": "c" + }, + { + "name": "f", + "value": "f" + }, + { + "name": "s", + "value": "s" + } + ] + } + }, + "SignedResourceTypes": { + "type": "string", + "description": "The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.", + "enum": [ + "s", + "c", + "o" + ], + "x-ms-enum": { + "name": "SignedResourceTypes", + "modelAsString": true, + "values": [ + { + "name": "s", + "value": "s" + }, + { + "name": "c", + "value": "c" + }, + { + "name": "o", + "value": "o" + } + ] + } + }, + "Sku": { + "type": "object", + "description": "The SKU of the storage account.", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier. This is based on the SKU name.", + "readOnly": true + } + }, + "required": [ + "name" + ] + }, + "SkuConversionStatus": { + "type": "string", + "description": "This property indicates the current sku conversion status.", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "SkuConversionStatus", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "SkuInformation": { + "type": "object", + "description": "Storage SKU and its properties", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier. This is based on the SKU name.", + "readOnly": true + }, + "resourceType": { + "type": "string", + "description": "The type of the resource, usually it is 'storageAccounts'.", + "readOnly": true + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Indicates the type of storage account.", + "readOnly": true + }, + "locations": { + "type": "array", + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).", + "items": { + "type": "string" + }, + "readOnly": true + }, + "locationInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/SkuInformationLocationInfoItem" + }, + "x-ms-identifiers": [] + }, + "capabilities": { + "type": "array", + "description": "The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "readOnly": true + }, + "restrictions": { + "type": "array", + "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.", + "items": { + "$ref": "#/definitions/Restriction" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "name" + ] + }, + "SkuInformationLocationInfoItem": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "Describes the location for the product where storage account resource can be created.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "Describes the available zones for the product where storage account resource can be created.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "SkuName": { + "type": "string", + "description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.", + "enum": [ + "Standard_LRS", + "Standard_GRS", + "Standard_RAGRS", + "Standard_ZRS", + "Premium_LRS", + "Premium_ZRS", + "Standard_GZRS", + "Standard_RAGZRS", + "StandardV2_LRS", + "StandardV2_GRS", + "StandardV2_ZRS", + "StandardV2_GZRS", + "PremiumV2_LRS", + "PremiumV2_ZRS" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS" + }, + { + "name": "Standard_GRS", + "value": "Standard_GRS" + }, + { + "name": "Standard_RAGRS", + "value": "Standard_RAGRS" + }, + { + "name": "Standard_ZRS", + "value": "Standard_ZRS" + }, + { + "name": "Premium_LRS", + "value": "Premium_LRS" + }, + { + "name": "Premium_ZRS", + "value": "Premium_ZRS" + }, + { + "name": "Standard_GZRS", + "value": "Standard_GZRS" + }, + { + "name": "Standard_RAGZRS", + "value": "Standard_RAGZRS" + }, + { + "name": "StandardV2_LRS", + "value": "StandardV2_LRS" + }, + { + "name": "StandardV2_GRS", + "value": "StandardV2_GRS" + }, + { + "name": "StandardV2_ZRS", + "value": "StandardV2_ZRS" + }, + { + "name": "StandardV2_GZRS", + "value": "StandardV2_GZRS" + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS" + }, + { + "name": "PremiumV2_ZRS", + "value": "PremiumV2_ZRS" + } + ] + } + }, + "SkuTier": { + "type": "string", + "description": "The SKU tier. This is based on the SKU name.", + "enum": [ + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": false + } + }, + "SmbOAuthSettings": { + "type": "object", + "description": "Setting property for Managed Identity access over SMB using OAuth", + "properties": { + "isSmbOAuthEnabled": { + "type": "boolean", + "description": "Specifies if managed identities can access SMB shares using OAuth. The default interpretation is false for this property." + } + } + }, + "SmbSetting": { + "type": "object", + "description": "Setting for SMB protocol", + "properties": { + "multichannel": { + "$ref": "#/definitions/Multichannel", + "description": "Multichannel setting. Applies to Premium FileStorage only." + }, + "versions": { + "type": "string", + "description": "SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'." + }, + "authenticationMethods": { + "type": "string", + "description": "SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'." + }, + "kerberosTicketEncryption": { + "type": "string", + "description": "Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'" + }, + "channelEncryption": { + "type": "string", + "description": "SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'." + }, + "encryptionInTransit": { + "$ref": "#/definitions/EncryptionInTransit", + "description": "Encryption in transit setting." + } + } + }, + "SshPublicKey": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Optional. It is used to store the function/usage of the key" + }, + "key": { + "type": "string", + "description": "Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB" + } + } + }, + "State": { + "type": "string", + "description": "Gets the state of virtual network rule.", + "enum": [ + "Provisioning", + "Deprovisioning", + "Succeeded", + "Failed", + "NetworkSourceDeleted" + ], + "x-ms-enum": { + "name": "State", + "modelAsString": true, + "values": [ + { + "name": "Provisioning", + "value": "Provisioning" + }, + { + "name": "Deprovisioning", + "value": "Deprovisioning" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "NetworkSourceDeleted", + "value": "NetworkSourceDeleted" + } + ] + } + }, + "StorageAccount": { + "type": "object", + "description": "The storage account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageAccountProperties", + "description": "Properties of the storage account.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets the SKU.", + "readOnly": true + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Gets the Kind.", + "readOnly": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + } + }, + "placement": { + "$ref": "#/definitions/Placement", + "description": "Optional. Gets or sets the zonal placement details for the storage account." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "StorageAccountCheckNameAvailabilityParameters": { + "type": "object", + "description": "The parameters used to check the availability of the storage account name.", + "properties": { + "name": { + "type": "string", + "description": "The storage account name." + }, + "type": { + "type": "string", + "description": "The type of resource, Microsoft.Storage/storageAccounts", + "enum": [ + "Microsoft.Storage/storageAccounts" + ], + "x-ms-enum": { + "modelAsString": false + } + } + }, + "required": [ + "name", + "type" + ] + }, + "StorageAccountCreateParameters": { + "type": "object", + "description": "The parameters used when creating a storage account.", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Required. Gets or sets the SKU name." + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Required. Indicates the type of storage account." + }, + "location": { + "type": "string", + "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location" + }, + "zones": { + "type": "array", + "description": "Optional. Gets or sets the pinned logical availability zone for the storage account.", + "items": { + "type": "string" + } + }, + "placement": { + "$ref": "#/definitions/Placement", + "description": "Optional. Gets or sets the zonal placement details for the storage account." + }, + "tags": { + "type": "object", + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/StorageAccountPropertiesCreateParameters", + "description": "The parameters used to create the storage account.", + "x-ms-client-flatten": true + } + }, + "required": [ + "sku", + "kind", + "location" + ] + }, + "StorageAccountInternetEndpoints": { + "type": "object", + "description": "The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint.", + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint.", + "readOnly": true + }, + "file": { + "type": "string", + "description": "Gets the file endpoint.", + "readOnly": true + }, + "web": { + "type": "string", + "description": "Gets the web endpoint.", + "readOnly": true + }, + "dfs": { + "type": "string", + "description": "Gets the dfs endpoint.", + "readOnly": true + } + } + }, + "StorageAccountIpv6Endpoints": { + "type": "object", + "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via an IPv6 endpoint.", + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint.", + "readOnly": true + }, + "queue": { + "type": "string", + "description": "Gets the queue endpoint.", + "readOnly": true + }, + "table": { + "type": "string", + "description": "Gets the table endpoint.", + "readOnly": true + }, + "file": { + "type": "string", + "description": "Gets the file endpoint.", + "readOnly": true + }, + "web": { + "type": "string", + "description": "Gets the web endpoint.", + "readOnly": true + }, + "dfs": { + "type": "string", + "description": "Gets the dfs endpoint.", + "readOnly": true + }, + "microsoftEndpoints": { + "$ref": "#/definitions/StorageAccountMicrosoftEndpoints", + "description": "Gets the microsoft routing storage endpoints." + }, + "internetEndpoints": { + "$ref": "#/definitions/StorageAccountInternetEndpoints", + "description": "Gets the internet routing storage endpoints" + } + } + }, + "StorageAccountKey": { + "type": "object", + "description": "An access key for the storage account.", + "properties": { + "keyName": { + "type": "string", + "description": "Name of the key.", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Base 64-encoded value of the key.", + "readOnly": true + }, + "permissions": { + "$ref": "#/definitions/KeyPermission", + "description": "Permissions for the key -- read-only or full permissions.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Creation time of the key, in round trip date format.", + "readOnly": true + } + } + }, + "StorageAccountListKeysResult": { + "type": "object", + "description": "The response from the ListKeys operation.", + "properties": { + "keys": { + "type": "array", + "description": "Gets the list of storage account keys and their properties for the specified storage account.", + "items": { + "$ref": "#/definitions/StorageAccountKey" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "StorageAccountListResult": { + "type": "object", + "description": "The response of a StorageAccount list operation.", + "properties": { + "value": { + "type": "array", + "description": "The StorageAccount items on this page", + "items": { + "$ref": "#/definitions/StorageAccount" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StorageAccountMicrosoftEndpoints": { + "type": "object", + "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint.", + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint.", + "readOnly": true + }, + "queue": { + "type": "string", + "description": "Gets the queue endpoint.", + "readOnly": true + }, + "table": { + "type": "string", + "description": "Gets the table endpoint.", + "readOnly": true + }, + "file": { + "type": "string", + "description": "Gets the file endpoint.", + "readOnly": true + }, + "web": { + "type": "string", + "description": "Gets the web endpoint.", + "readOnly": true + }, + "dfs": { + "type": "string", + "description": "Gets the dfs endpoint.", + "readOnly": true + } + } + }, + "StorageAccountMigration": { + "type": "object", + "description": "The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageAccountMigrationProperties", + "description": "The properties of a storage account’s ongoing or enqueued migration.", + "x-ms-client-flatten": true, + "x-ms-client-name": "StorageAccountMigrationDetails" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StorageAccountMigrationProperties": { + "type": "object", + "description": "The properties of a storage account's ongoing or enqueued migration.", + "properties": { + "targetSkuName": { + "$ref": "#/definitions/SkuName", + "description": "Target sku name for the account" + }, + "migrationStatus": { + "$ref": "#/definitions/migrationStatus", + "description": "Current status of migration", + "readOnly": true + }, + "migrationFailedReason": { + "type": "string", + "description": "Error code for migration failure", + "readOnly": true + }, + "migrationFailedDetailedReason": { + "type": "string", + "description": "Reason for migration failure", + "readOnly": true + } + }, + "required": [ + "targetSkuName" + ] + }, + "StorageAccountProperties": { + "type": "object", + "description": "Properties of the storage account.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets the status of the storage account at the time the operation was called.", + "readOnly": true + }, + "primaryEndpoints": { + "$ref": "#/definitions/Endpoints", + "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.", + "readOnly": true + }, + "primaryLocation": { + "type": "string", + "description": "Gets the location of the primary data center for the storage account.", + "readOnly": true + }, + "statusOfPrimary": { + "$ref": "#/definitions/AccountStatus", + "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.", + "readOnly": true + }, + "lastGeoFailoverTime": { + "type": "string", + "format": "date-time", + "description": "Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.", + "readOnly": true + }, + "secondaryLocation": { + "type": "string", + "description": "Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.", + "readOnly": true + }, + "statusOfSecondary": { + "$ref": "#/definitions/AccountStatus", + "description": "Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets the creation date and time of the storage account in UTC.", + "readOnly": true + }, + "customDomain": { + "$ref": "#/definitions/CustomDomain", + "description": "Gets the custom domain the user assigned to this storage account.", + "readOnly": true + }, + "sasPolicy": { + "$ref": "#/definitions/SasPolicy", + "description": "SasPolicy assigned to the storage account.", + "readOnly": true + }, + "keyPolicy": { + "$ref": "#/definitions/KeyPolicy", + "description": "KeyPolicy assigned to the storage account.", + "readOnly": true + }, + "keyCreationTime": { + "$ref": "#/definitions/KeyCreationTime", + "description": "Storage account keys creation time.", + "readOnly": true + }, + "secondaryEndpoints": { + "$ref": "#/definitions/Endpoints", + "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.", + "readOnly": true + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Encryption settings to be used for server-side encryption for the storage account.", + "readOnly": true + }, + "accessTier": { + "$ref": "#/definitions/AccessTier", + "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.", + "readOnly": true + }, + "azureFilesIdentityBasedAuthentication": { + "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", + "description": "Provides the identity based authentication settings for Azure Files." + }, + "supportsHttpsTrafficOnly": { + "type": "boolean", + "description": "Allows https traffic only to storage service if sets to true.", + "x-ms-client-name": "EnableHttpsTrafficOnly" + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "Network rule set", + "readOnly": true, + "x-ms-client-name": "NetworkRuleSet" + }, + "isSftpEnabled": { + "type": "boolean", + "description": "Enables Secure File Transfer Protocol, if set to true", + "x-ms-client-name": "IsSftpEnabled" + }, + "isLocalUserEnabled": { + "type": "boolean", + "description": "Enables local users feature, if set to true", + "x-ms-client-name": "IsLocalUserEnabled" + }, + "enableExtendedGroups": { + "type": "boolean", + "description": "Enables extended group support with local users feature, if set to true", + "x-ms-client-name": "EnableExtendedGroups" + }, + "isHnsEnabled": { + "type": "boolean", + "description": "Account HierarchicalNamespace enabled if sets to true.", + "x-ms-client-name": "IsHnsEnabled" + }, + "geoReplicationStats": { + "$ref": "#/definitions/GeoReplicationStats", + "description": "Geo Replication Stats", + "readOnly": true, + "x-ms-client-name": "GeoReplicationStats" + }, + "failoverInProgress": { + "type": "boolean", + "description": "If the failover is in progress, the value will be true, otherwise, it will be null.", + "readOnly": true, + "x-ms-client-name": "FailoverInProgress" + }, + "largeFileSharesState": { + "$ref": "#/definitions/LargeFileSharesState", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + }, + "privateEndpointConnections": { + "type": "array", + "description": "List of private endpoint connection associated with the specified storage account", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "routingPreference": { + "$ref": "#/definitions/RoutingPreference", + "description": "Maintains information about the network routing choice opted by the user for data transfer", + "x-ms-client-name": "RoutingPreference" + }, + "dualStackEndpointPreference": { + "$ref": "#/definitions/DualStackEndpointPreference", + "description": "Maintains information about the Internet protocol opted by the user." + }, + "blobRestoreStatus": { + "$ref": "#/definitions/BlobRestoreStatus", + "description": "Blob restore status", + "readOnly": true, + "x-ms-client-name": "BlobRestoreStatus" + }, + "allowBlobPublicAccess": { + "type": "boolean", + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", + "x-ms-client-name": "AllowBlobPublicAccess" + }, + "minimumTlsVersion": { + "$ref": "#/definitions/MinimumTlsVersion", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + }, + "allowSharedKeyAccess": { + "type": "boolean", + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + }, + "isNfsV3Enabled": { + "type": "boolean", + "description": "NFS 3.0 protocol support enabled if set to true.", + "x-ms-client-name": "EnableNfsV3" + }, + "allowCrossTenantReplication": { + "type": "boolean", + "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." + }, + "defaultToOAuthAuthentication": { + "type": "boolean", + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account." + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageAccount", + "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.", + "x-ms-client-name": "ImmutableStorageWithVersioning" + }, + "allowedCopyScope": { + "$ref": "#/definitions/AllowedCopyScope", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + }, + "storageAccountSkuConversionStatus": { + "$ref": "#/definitions/StorageAccountSkuConversionStatus", + "description": "This property is readOnly and is set by server during asynchronous storage account sku conversion operations.", + "x-ms-client-name": "StorageAccountSkuConversionStatus" + }, + "dnsEndpointType": { + "$ref": "#/definitions/DnsEndpointType", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + }, + "isSkuConversionBlocked": { + "type": "boolean", + "description": "This property will be set to true or false on an event of ongoing migration. Default value is null.", + "readOnly": true, + "x-ms-client-name": "IsSkuConversionBlocked" + }, + "accountMigrationInProgress": { + "type": "boolean", + "description": "If customer initiated account migration is in progress, the value will be true else it will be null.", + "readOnly": true, + "x-ms-client-name": "AccountMigrationInProgress" + }, + "geoPriorityReplicationStatus": { + "$ref": "#/definitions/GeoPriorityReplicationStatus", + "description": "Status indicating whether Geo Priority Replication is enabled for the account." + } + } + }, + "StorageAccountPropertiesCreateParameters": { + "type": "object", + "description": "The parameters used to create the storage account.", + "properties": { + "allowedCopyScope": { + "$ref": "#/definitions/AllowedCopyScope", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." + }, + "sasPolicy": { + "$ref": "#/definitions/SasPolicy", + "description": "SasPolicy assigned to the storage account." + }, + "keyPolicy": { + "$ref": "#/definitions/KeyPolicy", + "description": "KeyPolicy assigned to the storage account." + }, + "customDomain": { + "$ref": "#/definitions/CustomDomain", + "description": "User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property." + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Encryption settings to be used for server-side encryption for the storage account." + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "Network rule set", + "x-ms-client-name": "NetworkRuleSet" + }, + "accessTier": { + "$ref": "#/definitions/AccessTier", + "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type." + }, + "azureFilesIdentityBasedAuthentication": { + "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", + "description": "Provides the identity based authentication settings for Azure Files." + }, + "supportsHttpsTrafficOnly": { + "type": "boolean", + "description": "Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.", + "x-ms-client-name": "EnableHttpsTrafficOnly" + }, + "isSftpEnabled": { + "type": "boolean", + "description": "Enables Secure File Transfer Protocol, if set to true", + "x-ms-client-name": "IsSftpEnabled" + }, + "isLocalUserEnabled": { + "type": "boolean", + "description": "Enables local users feature, if set to true", + "x-ms-client-name": "IsLocalUserEnabled" + }, + "enableExtendedGroups": { + "type": "boolean", + "description": "Enables extended group support with local users feature, if set to true", + "x-ms-client-name": "EnableExtendedGroups" + }, + "isHnsEnabled": { + "type": "boolean", + "description": "Account HierarchicalNamespace enabled if sets to true.", + "x-ms-client-name": "IsHnsEnabled" + }, + "largeFileSharesState": { + "$ref": "#/definitions/LargeFileSharesState", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + }, + "routingPreference": { + "$ref": "#/definitions/RoutingPreference", + "description": "Maintains information about the network routing choice opted by the user for data transfer", + "x-ms-client-name": "RoutingPreference" + }, + "dualStackEndpointPreference": { + "$ref": "#/definitions/DualStackEndpointPreference", + "description": "Maintains information about the Internet protocol opted by the user." + }, + "allowBlobPublicAccess": { + "type": "boolean", + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", + "x-ms-client-name": "AllowBlobPublicAccess" + }, + "minimumTlsVersion": { + "$ref": "#/definitions/MinimumTlsVersion", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + }, + "allowSharedKeyAccess": { + "type": "boolean", + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + }, + "isNfsV3Enabled": { + "type": "boolean", + "description": "NFS 3.0 protocol support enabled if set to true.", + "x-ms-client-name": "EnableNfsV3" + }, + "allowCrossTenantReplication": { + "type": "boolean", + "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." + }, + "defaultToOAuthAuthentication": { + "type": "boolean", + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageAccount", + "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default.", + "x-ms-client-name": "ImmutableStorageWithVersioning" + }, + "dnsEndpointType": { + "$ref": "#/definitions/DnsEndpointType", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + }, + "geoPriorityReplicationStatus": { + "$ref": "#/definitions/GeoPriorityReplicationStatus", + "description": "Status indicating whether Geo Priority Replication is enabled for the account." + } + } + }, + "StorageAccountPropertiesUpdateParameters": { + "type": "object", + "description": "The parameters used when updating a storage account.", + "properties": { + "customDomain": { + "$ref": "#/definitions/CustomDomain", + "description": "Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property." + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Not applicable. Azure Storage encryption at rest is enabled by default for all storage accounts and cannot be disabled." + }, + "sasPolicy": { + "$ref": "#/definitions/SasPolicy", + "description": "SasPolicy assigned to the storage account." + }, + "keyPolicy": { + "$ref": "#/definitions/KeyPolicy", + "description": "KeyPolicy assigned to the storage account." + }, + "accessTier": { + "$ref": "#/definitions/AccessTier", + "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type." + }, + "azureFilesIdentityBasedAuthentication": { + "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", + "description": "Provides the identity based authentication settings for Azure Files." + }, + "supportsHttpsTrafficOnly": { + "type": "boolean", + "description": "Allows https traffic only to storage service if sets to true.", + "x-ms-client-name": "EnableHttpsTrafficOnly" + }, + "isSftpEnabled": { + "type": "boolean", + "description": "Enables Secure File Transfer Protocol, if set to true", + "x-ms-client-name": "IsSftpEnabled" + }, + "isLocalUserEnabled": { + "type": "boolean", + "description": "Enables local users feature, if set to true", + "x-ms-client-name": "IsLocalUserEnabled" + }, + "enableExtendedGroups": { + "type": "boolean", + "description": "Enables extended group support with local users feature, if set to true", + "x-ms-client-name": "EnableExtendedGroups" + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "Network rule set", + "x-ms-client-name": "NetworkRuleSet" + }, + "largeFileSharesState": { + "$ref": "#/definitions/LargeFileSharesState", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + }, + "routingPreference": { + "$ref": "#/definitions/RoutingPreference", + "description": "Maintains information about the network routing choice opted by the user for data transfer", + "x-ms-client-name": "RoutingPreference" + }, + "dualStackEndpointPreference": { + "$ref": "#/definitions/DualStackEndpointPreference", + "description": "Maintains information about the Internet protocol opted by the user." + }, + "allowBlobPublicAccess": { + "type": "boolean", + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", + "x-ms-client-name": "AllowBlobPublicAccess" + }, + "minimumTlsVersion": { + "$ref": "#/definitions/MinimumTlsVersion", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + }, + "allowSharedKeyAccess": { + "type": "boolean", + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + }, + "allowCrossTenantReplication": { + "type": "boolean", + "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." + }, + "defaultToOAuthAuthentication": { + "type": "boolean", + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageAccount", + "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.", + "x-ms-client-name": "ImmutableStorageWithVersioning" + }, + "allowedCopyScope": { + "$ref": "#/definitions/AllowedCopyScope", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + }, + "dnsEndpointType": { + "$ref": "#/definitions/DnsEndpointType", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + }, + "geoPriorityReplicationStatus": { + "$ref": "#/definitions/GeoPriorityReplicationStatus", + "description": "Status indicating whether Geo Priority Replication is enabled for the account." + } + } + }, + "StorageAccountRegenerateKeyParameters": { + "type": "object", + "description": "The parameters used to regenerate the storage account key.", + "properties": { + "keyName": { + "type": "string", + "description": "The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2." + } + }, + "required": [ + "keyName" + ] + }, + "StorageAccountSkuConversionStatus": { + "type": "object", + "description": "This defines the sku conversion status object for asynchronous sku conversions.", + "properties": { + "skuConversionStatus": { + "$ref": "#/definitions/SkuConversionStatus", + "description": "This property indicates the current sku conversion status.", + "readOnly": true + }, + "targetSkuName": { + "$ref": "#/definitions/SkuName", + "description": "This property represents the target sku name to which the account sku is being converted asynchronously." + }, + "startTime": { + "type": "string", + "description": "This property represents the sku conversion start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "description": "This property represents the sku conversion end time.", + "readOnly": true + } + } + }, + "StorageAccountUpdateParameters": { + "type": "object", + "description": "The parameters that can be provided when updating the storage account properties.", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value." + }, + "tags": { + "type": "object", + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters", + "description": "The parameters used when updating a storage account.", + "x-ms-client-flatten": true + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server." + }, + "zones": { + "type": "array", + "description": "Optional. Gets or sets the pinned logical availability zone for the storage account.", + "items": { + "type": "string" + } + }, + "placement": { + "$ref": "#/definitions/Placement", + "description": "Optional. Gets or sets the zonal placement details for the storage account." + } + } + }, + "StorageConnectorAuthProperties": { + "type": "object", + "description": "The authentication properties of the backing data source", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorAuthType", + "description": "Type of the authentication properties. Controls the type of the authProperties object" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageConnectorAuthPropertiesUpdate": { + "type": "object", + "description": "The authentication properties of the backing data source", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorAuthType", + "description": "Type of the authentication properties. Controls the type of the authProperties object" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageConnectorAuthType": { + "type": "string", + "description": "The auth type supported for bucket connection in storage connector.", + "enum": [ + "ManagedIdentity" + ], + "x-ms-enum": { + "name": "StorageConnectorAuthType", + "modelAsString": true, + "values": [ + { + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "description": "Managed Identity auth type" + } + ] + } + }, + "StorageConnectorConnection": { + "type": "object", + "description": "The connection properties of the backing data source", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorConnectionType", + "description": "Type of the connection. Controls the type of the connection object. Not mutable once the Storage Connector is created." + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageConnectorConnectionType": { + "type": "string", + "description": "The connection type for bucket connection in storage connector.", + "enum": [ + "DataShare" + ], + "x-ms-enum": { + "name": "StorageConnectorConnectionType", + "modelAsString": true, + "values": [ + { + "name": "DataShare", + "value": "DataShare", + "description": "DataShare connection type" + } + ] + } + }, + "StorageConnectorDataSourceType": { + "type": "string", + "description": "The type of the backing data source for storage connector", + "enum": [ + "Azure_DataShare" + ], + "x-ms-enum": { + "name": "StorageConnectorDataSourceType", + "modelAsString": true, + "values": [ + { + "name": "Azure_DataShare", + "value": "Azure_DataShare", + "description": "Azure DataShare data source type." + } + ] + } + }, + "StorageConnectorProperties": { + "type": "object", + "description": "The storage connector properties", + "properties": { + "uniqueId": { + "type": "string", + "description": "System-generated identifier for the Storage Connector. Not a valid input parameter when creating.", + "readOnly": true + }, + "state": { + "type": "string", + "description": "State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active)\n(While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise.", + "default": "Active", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "StorageConnectorState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Whether the connector is active" + }, + { + "name": "Inactive", + "value": "Inactive", + "description": "Whether the connector is inactive" + } + ] + } + }, + "creationTime": { + "type": "string", + "description": "System-generated creation time for the Storage Connector. Not a valid input parameter when creating.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Arbitrary description of this Storage Connector. Max 250 characters.", + "maxLength": 250 + }, + "testConnection": { + "type": "boolean", + "description": "Test connection to backing data source before creating the storage connector.", + "default": false, + "x-ms-mutability": [ + "update", + "create" + ] + }, + "dataSourceType": { + "$ref": "#/definitions/StorageConnectorDataSourceType", + "description": "The type of backing data source for this Storage Connector.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "source": { + "$ref": "#/definitions/StorageConnectorSource", + "description": "Information about how to communicate with and authenticate to the backing data store." + }, + "provisioningState": { + "$ref": "#/definitions/NativeDataSharingProvisioningState", + "description": "Represents the provisioning state of the storage connector.", + "readOnly": true + } + }, + "required": [ + "dataSourceType", + "source" + ] + }, + "StorageConnectorPropertiesUpdate": { + "type": "object", + "description": "The storage connector properties", + "properties": { + "state": { + "type": "string", + "description": "State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active)\n(While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise.", + "default": "Active", + "enum": [ + "Active", + "Inactive" + ], + "x-ms-enum": { + "name": "StorageConnectorState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Whether the connector is active" + }, + { + "name": "Inactive", + "value": "Inactive", + "description": "Whether the connector is inactive" + } + ] + } + }, + "description": { + "type": "string", + "description": "Arbitrary description of this Storage Connector. Max 250 characters.", + "maxLength": 250 + }, + "testConnection": { + "type": "boolean", + "description": "Test connection to backing data source before creating the storage connector.", + "default": false, + "x-ms-mutability": [ + "update", + "create" + ] + }, + "source": { + "$ref": "#/definitions/StorageConnectorSourceUpdate", + "description": "Information about how to communicate with and authenticate to the backing data store." + } + } + }, + "StorageConnectorSource": { + "type": "object", + "description": "The storage connector backing data source information", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorSourceType", + "description": "Type of the Storage Connector. Not mutable once the Storage Connector is created.\"" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageConnectorSourceType": { + "type": "string", + "description": "The type of the backing data source for storage connector", + "enum": [ + "DataShare" + ], + "x-ms-enum": { + "name": "StorageConnectorSourceType", + "modelAsString": true, + "values": [ + { + "name": "DataShare", + "value": "DataShare", + "description": "Source type - DataShare" + } + ] + } + }, + "StorageConnectorSourceUpdate": { + "type": "object", + "description": "The storage connector backing data source information", + "properties": { + "type": { + "$ref": "#/definitions/StorageConnectorSourceType", + "description": "Type of the Storage Connector. Not mutable once the Storage Connector is created.\"" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "StorageDataShareAccessPolicy": { + "type": "object", + "description": "Policy that specify the permission allowed to a managed identity", + "properties": { + "principalId": { + "type": "string", + "description": "The AAD principal ID of the Managed Identity.", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + }, + "tenantId": { + "type": "string", + "description": "The AAD tenant ID of the Managed Identity.", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + }, + "permission": { + "$ref": "#/definitions/StorageDataShareAccessPolicyPermission", + "description": "Allowed permissions. Currently, only supported value is Read." + } + }, + "required": [ + "principalId", + "tenantId", + "permission" + ] + }, + "StorageDataShareAccessPolicyPermission": { + "type": "string", + "description": "The permissions supported in access policies for storage data share", + "enum": [ + "None", + "Read" + ], + "x-ms-enum": { + "name": "StorageDataShareAccessPolicyPermission", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No permission" + }, + { + "name": "Read", + "value": "Read", + "description": "Read permission" + } + ] + } + }, + "StorageDataShareAsset": { + "type": "object", + "description": "Properties of a shared resource.", + "properties": { + "assetPath": { + "type": "string", + "description": "Source Path to be shared. It can be a folder or a blob.\nThe asset path should contain container name followed by path within the container, e.g. /container1/logs/external." + }, + "displayName": { + "type": "string", + "description": "Consumer visible name of the original path." + } + }, + "required": [ + "assetPath", + "displayName" + ] + }, + "StorageDataShareProperties": { + "type": "object", + "description": "The storage datashare properties", + "properties": { + "dataShareIdentifier": { + "type": "string", + "description": "System-generated identifier for the Storage DataShare. Not a valid input parameter when creating.", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Arbitrary description of this Data Share. Max 250 characters.", + "maxLength": 250 + }, + "dataShareUri": { + "type": "string", + "description": "The DataShare URI to be shared with the consumer.\nURI Format - 'azds://::'.", + "pattern": "^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "readOnly": true + }, + "accessPolicies": { + "type": "array", + "description": "List of access policies that specify the permission allowed to a managed identity.", + "items": { + "$ref": "#/definitions/StorageDataShareAccessPolicy" + }, + "x-ms-identifiers": [] + }, + "assets": { + "type": "array", + "description": "List of assets that specify the properties of the shared resources.", + "items": { + "$ref": "#/definitions/StorageDataShareAsset" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/NativeDataSharingProvisioningState", + "description": "Represents the provisioning state of the storage datashare.", + "readOnly": true + } + }, + "required": [ + "dataShareUri", + "accessPolicies", + "assets" + ] + }, + "StorageDataSharePropertiesUpdate": { + "type": "object", + "description": "The storage datashare properties", + "properties": { + "description": { + "type": "string", + "description": "Arbitrary description of this Data Share. Max 250 characters.", + "maxLength": 250 + }, + "accessPolicies": { + "type": "array", + "description": "List of access policies that specify the permission allowed to a managed identity.", + "items": { + "$ref": "#/definitions/StorageDataShareAccessPolicy" + }, + "x-ms-identifiers": [] + }, + "assets": { + "type": "array", + "description": "List of assets that specify the properties of the shared resources.", + "items": { + "$ref": "#/definitions/StorageDataShareAsset" + }, + "x-ms-identifiers": [] + } + } + }, + "StorageQueue": { + "type": "object", + "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", + "properties": { + "properties": { + "$ref": "#/definitions/QueueProperties", + "description": "Queue resource properties.", + "x-ms-client-flatten": true, + "x-ms-client-name": "QueueProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StorageSkuListResult": { + "type": "object", + "description": "The response from the List Storage SKUs operation.", + "properties": { + "value": { + "type": "array", + "description": "Get the list result of storage SKUs and their properties.", + "items": { + "$ref": "#/definitions/SkuInformation" + }, + "readOnly": true + }, + "nextLink": { + "type": "string" + } + } + }, + "StorageTaskAssignment": { + "type": "object", + "description": "The storage task assignment.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageTaskAssignmentProperties", + "description": "Properties of the storage task assignment." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "StorageTaskAssignmentExecutionContext": { + "type": "object", + "description": "Execution context of the storage task assignment.", + "properties": { + "target": { + "$ref": "#/definitions/ExecutionTarget", + "description": "Execution target of the storage task assignment" + }, + "trigger": { + "$ref": "#/definitions/ExecutionTrigger", + "description": "Execution trigger of the storage task assignment" + } + }, + "required": [ + "trigger" + ] + }, + "StorageTaskAssignmentProperties": { + "type": "object", + "description": "Properties of the storage task assignment.", + "properties": { + "taskId": { + "type": "string", + "format": "arm-id", + "description": "Id of the corresponding storage task" + }, + "enabled": { + "type": "boolean", + "description": "Whether the storage task assignment is enabled or not" + }, + "description": { + "type": "string", + "description": "Text that describes the purpose of the storage task assignment" + }, + "executionContext": { + "$ref": "#/definitions/StorageTaskAssignmentExecutionContext", + "description": "The storage task assignment execution context" + }, + "report": { + "$ref": "#/definitions/StorageTaskAssignmentReport", + "description": "The storage task assignment report" + }, + "provisioningState": { + "$ref": "#/definitions/StorageTaskAssignmentProvisioningState", + "description": "Represents the provisioning state of the storage task assignment.", + "readOnly": true + }, + "runStatus": { + "$ref": "#/definitions/StorageTaskReportProperties", + "description": "Run status of storage task assignment" + } + }, + "required": [ + "taskId", + "enabled", + "description", + "executionContext", + "report" + ] + }, + "StorageTaskAssignmentProvisioningState": { + "type": "string", + "description": "Gets the status of the storage account at the time the operation was called.", + "enum": [ + "ValidateSubscriptionQuotaBegin", + "ValidateSubscriptionQuotaEnd", + "Accepted", + "Creating", + "Succeeded", + "Deleting", + "Canceled", + "Failed" + ], + "x-ms-enum": { + "name": "StorageTaskAssignmentProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "ValidateSubscriptionQuotaBegin", + "value": "ValidateSubscriptionQuotaBegin" + }, + { + "name": "ValidateSubscriptionQuotaEnd", + "value": "ValidateSubscriptionQuotaEnd" + }, + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "StorageTaskAssignmentReport": { + "type": "object", + "description": "The storage task assignment report", + "properties": { + "prefix": { + "type": "string", + "description": "The container prefix for the location of storage task assignment report" + } + }, + "required": [ + "prefix" + ] + }, + "StorageTaskAssignmentUpdateExecutionContext": { + "type": "object", + "description": "Execution context of the storage task assignment update.", + "properties": { + "target": { + "$ref": "#/definitions/ExecutionTarget", + "description": "Execution target of the storage task assignment" + }, + "trigger": { + "$ref": "#/definitions/ExecutionTriggerUpdate", + "description": "Execution trigger of the storage task assignment" + } + } + }, + "StorageTaskAssignmentUpdateParameters": { + "type": "object", + "description": "Parameters of the storage task assignment update request", + "properties": { + "properties": { + "$ref": "#/definitions/StorageTaskAssignmentUpdateProperties", + "description": "Properties of the storage task assignment." + } + } + }, + "StorageTaskAssignmentUpdateProperties": { + "type": "object", + "description": "Properties of the storage task update assignment.", + "properties": { + "taskId": { + "type": "string", + "description": "Id of the corresponding storage task", + "readOnly": true + }, + "enabled": { + "type": "boolean", + "description": "Whether the storage task assignment is enabled or not" + }, + "description": { + "type": "string", + "description": "Text that describes the purpose of the storage task assignment" + }, + "executionContext": { + "$ref": "#/definitions/StorageTaskAssignmentUpdateExecutionContext", + "description": "The storage task assignment execution context" + }, + "report": { + "$ref": "#/definitions/StorageTaskAssignmentUpdateReport", + "description": "The storage task assignment report" + }, + "provisioningState": { + "$ref": "#/definitions/StorageTaskAssignmentProvisioningState", + "description": "Represents the provisioning state of the storage task assignment.", + "readOnly": true + }, + "runStatus": { + "$ref": "#/definitions/StorageTaskReportProperties", + "description": "Run status of storage task assignment" + } + } + }, + "StorageTaskAssignmentUpdateReport": { + "type": "object", + "description": "The storage task assignment report", + "properties": { + "prefix": { + "type": "string", + "description": "The prefix of the storage task assignment report" + } + } + }, + "StorageTaskAssignmentsList": { + "type": "object", + "description": "List of storage task assignments for the storage account", + "properties": { + "value": { + "type": "array", + "description": "The StorageTaskAssignment items on this page", + "items": { + "$ref": "#/definitions/StorageTaskAssignment" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StorageTaskReportInstance": { + "type": "object", + "description": "Storage Tasks run report instance", + "properties": { + "properties": { + "$ref": "#/definitions/StorageTaskReportProperties", + "description": "Storage task execution report for a run instance." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StorageTaskReportProperties": { + "type": "object", + "description": "Storage task execution report for a run instance.", + "properties": { + "taskAssignmentId": { + "type": "string", + "format": "arm-id", + "description": "Represents the Storage Task Assignment Id associated with the storage task that provided an execution context.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments" + } + ] + } + }, + "storageAccountId": { + "type": "string", + "format": "arm-id", + "description": "Represents the Storage Account Id where the storage task definition was applied and executed.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "startTime": { + "type": "string", + "description": "Start time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "finishTime": { + "type": "string", + "description": "End time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "objectsTargetedCount": { + "type": "string", + "description": "Total number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "objectsOperatedOnCount": { + "type": "string", + "description": "Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "objectFailedCount": { + "type": "string", + "description": "Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "objectsSucceededCount": { + "type": "string", + "description": "Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "runStatusError": { + "type": "string", + "description": "Well known Azure Storage error code that represents the error encountered during execution of the run instance.", + "readOnly": true + }, + "runStatusEnum": { + "$ref": "#/definitions/RunStatusEnum", + "description": "Represents the status of the execution.", + "readOnly": true + }, + "summaryReportPath": { + "type": "string", + "description": "Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account.", + "readOnly": true + }, + "taskId": { + "type": "string", + "format": "arm-id", + "description": "Storage Task Arm Id.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.StorageActions/storageTasks" + } + ] + } + }, + "taskVersion": { + "type": "string", + "description": "Storage Task Version", + "readOnly": true + }, + "runResult": { + "$ref": "#/definitions/RunResult", + "description": "Represents the overall result of the execution for the run instance", + "readOnly": true + } + } + }, + "StorageTaskReportSummary": { + "type": "object", + "description": "Fetch Storage Tasks Run Summary.", + "properties": { + "value": { + "type": "array", + "description": "The StorageTaskReportInstance items on this page", + "items": { + "$ref": "#/definitions/StorageTaskReportInstance" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "Table": { + "type": "object", + "description": "Properties of the table, including Id, resource name, resource type.", + "properties": { + "properties": { + "$ref": "#/definitions/TableProperties", + "description": "Table resource properties.", + "x-ms-client-flatten": true, + "x-ms-client-name": "TableProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "TableAccessPolicy": { + "type": "object", + "description": "Table Access Policy Properties Object.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the access policy" + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Expiry time of the access policy" + }, + "permission": { + "type": "string", + "description": "Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'" + } + }, + "required": [ + "permission" + ] + }, + "TableProperties": { + "type": "object", + "properties": { + "tableName": { + "type": "string", + "description": "Table name under the specified account", + "readOnly": true + }, + "signedIdentifiers": { + "type": "array", + "description": "List of stored access policies specified on the table.", + "items": { + "$ref": "#/definitions/TableSignedIdentifier" + } + } + } + }, + "TableServiceProperties": { + "type": "object", + "description": "The properties of a storage account’s Table service.", + "properties": { + "properties": { + "$ref": "#/definitions/TableServicePropertiesProperties", + "description": "The properties of a storage account’s Table service.", + "x-ms-client-flatten": true, + "x-ms-client-name": "TableServiceProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "TableServicePropertiesProperties": { + "type": "object", + "description": "The properties of a storage account’s Table service.", + "properties": { + "cors": { + "$ref": "#/definitions/CorsRules", + "description": "Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service." + } + } + }, + "TableSignedIdentifier": { + "type": "object", + "description": "Object to set Table Access Policy.", + "properties": { + "id": { + "type": "string", + "description": "unique-64-character-value of the stored access policy." + }, + "accessPolicy": { + "$ref": "#/definitions/TableAccessPolicy", + "description": "Access policy" + } + }, + "required": [ + "id" + ] + }, + "TagFilter": { + "type": "object", + "description": "Blob index tag based filtering for blob objects", + "properties": { + "name": { + "type": "string", + "description": "This is the filter tag name, it can have 1 - 128 characters", + "minLength": 1, + "maxLength": 128 + }, + "op": { + "type": "string", + "description": "This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported" + }, + "value": { + "type": "string", + "description": "This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters", + "minLength": 0, + "maxLength": 256 + } + }, + "required": [ + "name", + "op", + "value" + ] + }, + "TagProperty": { + "type": "object", + "description": "A tag of the LegalHold of a blob container.", + "properties": { + "tag": { + "type": "string", + "description": "The tag value.", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the tag was added.", + "readOnly": true + }, + "objectIdentifier": { + "type": "string", + "description": "Returns the Object ID of the user who added the tag.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "Returns the Tenant ID that issued the token for the user who added the tag.", + "readOnly": true + }, + "upn": { + "type": "string", + "description": "Returns the User Principal Name of the user who added the tag.", + "readOnly": true + } + } + }, + "TestConnectionResponse": { + "type": "object", + "description": "Test connection response properties", + "properties": { + "storageConnectorMethodName": { + "type": "string", + "description": "Indicates the method used to validate the connection to the backing data store.\nValid values are `GetBlob` and `ListBlobs` for failure, and `TestExistingConnection` for success.", + "minLength": 1 + }, + "storageConnectorErrorMessage": { + "type": "string", + "description": "A string representing the error received from the backing data store.\nFormat will vary depending on the data store type and will be capped at 1 MB in size.\nThe error message will be empty if the connection was successful." + }, + "storageConnectorRequestId": { + "type": "string", + "description": "The request Id associated with the request sent to the backing data store for validation.", + "minLength": 1 + } + }, + "required": [ + "storageConnectorMethodName", + "storageConnectorRequestId" + ] + }, + "TestExistingConnectionRequest": { + "type": "object", + "description": "Test existing connection request properties", + "properties": { + "uniqueId": { + "type": "string", + "description": "The uniqueId of the storage connector as returned by the server." + } + }, + "required": [ + "uniqueId" + ] + }, + "TriggerParameters": { + "type": "object", + "description": "The trigger parameters update for the storage task assignment execution", + "properties": { + "startFrom": { + "type": "string", + "format": "date-time", + "description": "When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "Run interval of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'", + "minimum": 1 + }, + "intervalUnit": { + "$ref": "#/definitions/IntervalUnit", + "description": "Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "endBy": { + "type": "string", + "format": "date-time", + "description": "When to end task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "startOn": { + "type": "string", + "format": "date-time", + "description": "When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'" + } + } + }, + "TriggerParametersUpdate": { + "type": "object", + "description": "The trigger parameters update for the storage task assignment execution", + "properties": { + "startFrom": { + "type": "string", + "format": "date-time", + "description": "When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "Run interval of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'", + "minimum": 1 + }, + "intervalUnit": { + "$ref": "#/definitions/IntervalUnit", + "description": "Run interval unit of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "endBy": { + "type": "string", + "format": "date-time", + "description": "When to end task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "startOn": { + "type": "string", + "format": "date-time", + "description": "When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'" + } + } + }, + "TriggerType": { + "type": "string", + "description": "The trigger type of the storage task assignment execution", + "enum": [ + "RunOnce", + "OnSchedule" + ], + "x-ms-enum": { + "name": "TriggerType", + "modelAsString": true, + "values": [ + { + "name": "RunOnce", + "value": "RunOnce" + }, + { + "name": "OnSchedule", + "value": "OnSchedule" + } + ] + } + }, + "UpdateHistoryProperty": { + "type": "object", + "description": "An update history of the ImmutabilityPolicy of a blob container.", + "properties": { + "update": { + "$ref": "#/definitions/ImmutabilityPolicyUpdateType", + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.", + "readOnly": true + }, + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "format": "int32", + "description": "The immutability period for the blobs in the container since the policy creation, in days.", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the ImmutabilityPolicy was updated.", + "readOnly": true + }, + "objectIdentifier": { + "type": "string", + "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.", + "readOnly": true + }, + "upn": { + "type": "string", + "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy.", + "readOnly": true + }, + "allowProtectedAppendWrites": { + "type": "boolean", + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API." + }, + "allowProtectedAppendWritesAll": { + "type": "boolean", + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive." + } + } + }, + "Usage": { + "type": "object", + "description": "Describes Storage Resource Usage.", + "properties": { + "unit": { + "$ref": "#/definitions/UsageUnit", + "description": "Gets the unit of measurement.", + "readOnly": true + }, + "currentValue": { + "type": "integer", + "format": "int32", + "description": "Gets the current count of the allocated resources in the subscription.", + "readOnly": true + }, + "limit": { + "type": "integer", + "format": "int32", + "description": "Gets the maximum count of the resources that can be allocated in the subscription.", + "readOnly": true + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "Gets the name of the type of usage.", + "readOnly": true + } + } + }, + "UsageListResult": { + "type": "object", + "description": "The response from the List Usages operation.", + "properties": { + "value": { + "type": "array", + "description": "Gets or sets the list of Storage Resource Usages.", + "items": { + "$ref": "#/definitions/Usage" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "UsageName": { + "type": "object", + "description": "The usage names that can be used; currently limited to StorageAccount.", + "properties": { + "value": { + "type": "string", + "description": "Gets a string describing the resource name.", + "readOnly": true + }, + "localizedValue": { + "type": "string", + "description": "Gets a localized string describing the resource name.", + "readOnly": true + } + } + }, + "UsageUnit": { + "type": "string", + "description": "Gets the unit of measurement.", + "enum": [ + "Count", + "Bytes", + "Seconds", + "Percent", + "CountsPerSecond", + "BytesPerSecond" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": false + } + }, + "UserAssignedIdentity": { + "type": "object", + "description": "UserAssignedIdentity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of the identity.", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "The client ID of the identity.", + "readOnly": true + } + } + }, + "VirtualNetworkRule": { + "type": "object", + "description": "Virtual Network rule.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.", + "x-ms-client-name": "VirtualNetworkResourceId" + }, + "action": { + "type": "string", + "description": "The action of virtual network rule.", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "state": { + "$ref": "#/definitions/State", + "description": "Gets the state of virtual network rule." + } + }, + "required": [ + "id" + ] + }, + "ZonePlacementPolicy": { + "type": "string", + "description": "The availability zone pinning policy for the storage account.", + "enum": [ + "Any", + "None" + ], + "x-ms-enum": { + "name": "ZonePlacementPolicy", + "modelAsString": true, + "values": [ + { + "name": "Any", + "value": "Any" + }, + { + "name": "None", + "value": "None" + } + ] + } + }, + "migrationStatus": { + "type": "string", + "description": "Current status of migration", + "enum": [ + "Invalid", + "SubmittedForConversion", + "InProgress", + "Complete", + "Failed" + ], + "x-ms-enum": { + "name": "migrationStatus", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "SubmittedForConversion", + "value": "SubmittedForConversion" + }, + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Complete", + "value": "Complete" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + } + }, + "parameters": {} +} From 270f2d1fea59a42874e94a99817babf6e880eed0 Mon Sep 17 00:00:00 2001 From: Ujjawal Jain Date: Wed, 17 Dec 2025 08:29:51 +0530 Subject: [PATCH 2/6] Updating one required field --- .../storage/Storage.Management/models.tsp | 15 ++++++++++++++- .../stable/2025-06-01/openapi.json | 1 - .../stable/2025-08-01/openapi.json | 1 - 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/specification/storage/Storage.Management/models.tsp b/specification/storage/Storage.Management/models.tsp index 41837ee12668..de0b66b0f2bd 100644 --- a/specification/storage/Storage.Management/models.tsp +++ b/specification/storage/Storage.Management/models.tsp @@ -1073,6 +1073,7 @@ union StorageConnectorSourceType { /** * Source type - DataShare */ + #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" DataShare: "DataShare", string, @@ -1081,15 +1082,18 @@ union StorageConnectorSourceType { /** * The state of the storage connector */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union StorageConnectorState { /** * Whether the connector is active */ + #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Active: "Active", /** * Whether the connector is inactive */ + #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Inactive: "Inactive", string, @@ -1098,10 +1102,12 @@ union StorageConnectorState { /** * The auth type supported for bucket connection in storage connector. */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union StorageConnectorAuthType { /** * Managed Identity auth type */ + #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" ManagedIdentity: "ManagedIdentity", string, @@ -1110,10 +1116,12 @@ union StorageConnectorAuthType { /** * The connection type for bucket connection in storage connector. */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union StorageConnectorConnectionType { /** * DataShare connection type */ + #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" DataShare: "DataShare", string, @@ -1122,10 +1130,12 @@ union StorageConnectorConnectionType { /** * The type of the backing data source for storage connector */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union StorageConnectorDataSourceType { /** * Azure DataShare data source type. */ + #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Azure_DataShare: "Azure_DataShare", string, @@ -1134,15 +1144,18 @@ union StorageConnectorDataSourceType { /** * The permissions supported in access policies for storage data share */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union StorageDataShareAccessPolicyPermission { /** * No permission */ + #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" None: "None", /** * Read permission */ + #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" Read: "Read", string, @@ -6350,7 +6363,7 @@ model StorageDataShareProperties { */ @visibility(Lifecycle.Read) @pattern("^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - dataShareUri: string; + dataShareUri?: string; /** * List of access policies that specify the permission allowed to a managed identity. diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json index a12d1d5a6893..6d67e762c72c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json @@ -14866,7 +14866,6 @@ } }, "required": [ - "dataShareUri", "accessPolicies", "assets" ] diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/openapi.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/openapi.json index 0a3949d5b58b..75e918f3feee 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/openapi.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/openapi.json @@ -14921,7 +14921,6 @@ } }, "required": [ - "dataShareUri", "accessPolicies", "assets" ] From f2eee0df5da86c331cacee08fa7bb100ba44af32 Mon Sep 17 00:00:00 2001 From: Ujjawal Jain Date: Wed, 17 Dec 2025 08:45:44 +0530 Subject: [PATCH 3/6] Removing changes from 2025-06-01 version --- .../Storage.Management/StorageConnector.tsp | 3 + .../Storage.Management/StorageDataShare.tsp | 3 + .../StorageConnectors_Create.json | 2 +- .../StorageConnectors_Delete.json | 2 +- .../StorageConnectors_Get.json | 2 +- ...torageConnectors_ListByStorageAccount.json | 2 +- ...rageConnectors_TestExistingConnection.json | 2 +- .../StorageConnectors_Update.json | 2 +- .../StorageDataShares_Create.json | 2 +- .../StorageDataShares_Delete.json | 2 +- .../StorageDataShares_Get.json | 2 +- ...torageDataShares_ListByStorageAccount.json | 2 +- .../StorageDataShares_Update.json | 2 +- .../stable/2025-06-01/openapi.json | 1999 +++-------------- .../StorageConnectors_Create.json | 2 +- .../StorageConnectors_Delete.json | 2 +- .../StorageConnectors_Get.json | 2 +- ...torageConnectors_ListByStorageAccount.json | 2 +- ...rageConnectors_TestExistingConnection.json | 2 +- .../StorageConnectors_Update.json | 2 +- .../StorageDataShares_Create.json | 2 +- .../StorageDataShares_Delete.json | 2 +- .../StorageDataShares_Get.json | 2 +- ...torageDataShares_ListByStorageAccount.json | 2 +- .../StorageDataShares_Update.json | 2 +- 25 files changed, 300 insertions(+), 1749 deletions(-) diff --git a/specification/storage/Storage.Management/StorageConnector.tsp b/specification/storage/Storage.Management/StorageConnector.tsp index c4e71e1622ec..92cd08d5278e 100644 --- a/specification/storage/Storage.Management/StorageConnector.tsp +++ b/specification/storage/Storage.Management/StorageConnector.tsp @@ -9,12 +9,14 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; namespace Microsoft.Storage; /** * A Connector is a tracked ARM resource modeled as a sub-resource of a Storage Account. */ @parentResource(StorageAccount) +@added(Versions.v2025_08_01) model Connector is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< @@ -26,6 +28,7 @@ model Connector } @armResourceOperations +@added(Versions.v2025_08_01) interface Connectors { /** * Get the specified Storage Connector. diff --git a/specification/storage/Storage.Management/StorageDataShare.tsp b/specification/storage/Storage.Management/StorageDataShare.tsp index 944afcc8655a..6ad2c4a20e05 100644 --- a/specification/storage/Storage.Management/StorageDataShare.tsp +++ b/specification/storage/Storage.Management/StorageDataShare.tsp @@ -9,12 +9,14 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; namespace Microsoft.Storage; /** * A DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account. */ @parentResource(StorageAccount) +@added(Versions.v2025_08_01) model DataShare is Azure.ResourceManager.TrackedResource { ...ResourceNameParameter< @@ -26,6 +28,7 @@ model DataShare } @armResourceOperations +@added(Versions.v2025_08_01) interface DataShares { /** * Get the specified Storage DataShare. diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Create.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Create.json index addb678a925f..e33a25113827 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Create.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Create.json @@ -6,7 +6,7 @@ "resourceGroupName": "testrg", "api-version": "2025-08-01", "connectorName": "testconnector", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "resource": { "location": "eastus", "properties": { diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Delete.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Delete.json index 81d041c52f0c..adba9c248909 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Delete.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Delete.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "connectorName": "testconnector", "api-version": "2025-08-01" }, diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Get.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Get.json index ea51f9943547..c70427605b98 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Get.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Get.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "connectorName": "testconnector" }, diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json index 1cbe749165f8..4f0b0b021f2c 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01" }, "responses": { diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json index b7ee2af1ec56..aeb4bad4990a 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "connectorName": "testconnector", "body": { diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Update.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Update.json index 350ec36f984b..ccb4c48be0ee 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Update.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageConnectorCRUD/StorageConnectors_Update.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "connectorName": "testconnector", "properties": { diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Create.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Create.json index 3329e6af49c5..435c57ab7d08 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Create.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Create.json @@ -6,7 +6,7 @@ "resourceGroupName": "testrg", "api-version": "2025-08-01", "dataShareName": "testdatashare", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "resource": { "location": "eastus", "properties": { diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Delete.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Delete.json index 79820abe5598..ebab2778bf89 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Delete.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Delete.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "dataShareName": "testdatashare", "api-version": "2025-08-01" }, diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Get.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Get.json index ae0ddc03ae7f..2e6e68be00b2 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Get.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Get.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "dataShareName": "testdatashare" }, diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json index c551761d5b8b..1f2b1eaa3456 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01" }, "responses": { diff --git a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Update.json b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Update.json index 06a57eb35bc3..e7703a552c81 100644 --- a/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Update.json +++ b/specification/storage/Storage.Management/examples/2025-08-01/StorageDataShareCRUD/StorageDataShares_Update.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "dataShareName": "testdatashare", "properties": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json index 6d67e762c72c..1c1b044b0e41 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json @@ -104,12 +104,6 @@ }, { "name": "StorageTaskAssignments" - }, - { - "name": "Connectors" - }, - { - "name": "DataShares" } ], "paths": { @@ -2065,13 +2059,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes": { "get": { - "operationId": "Connectors_ListByStorageAccount", + "operationId": "EncryptionScopes_List", "tags": [ - "Connectors" + "EncryptionScopes" ], - "description": "List all Storage Connectors in a Storage Account.", + "description": "Lists all the encryption scopes available under the specified storage account.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2091,34 +2085,86 @@ "minLength": 3, "maxLength": 24, "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of encryption scopes that will be included in the list response.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 5000 + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only encryption scope names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional, when specified, will list encryption scopes with the specific state. Defaults to All", + "required": false, + "type": "string", + "enum": [ + "All", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ListEncryptionScopesInclude", + "modelAsString": true, + "values": [ + { + "name": "All", + "value": "All" + }, + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ConnectorListResult" + "$ref": "#/definitions/EncryptionScopeListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "StorageAccountEncryptionScopeList": { + "$ref": "./examples/StorageAccountEncryptionScopeList.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors/{connectorName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}": { "get": { - "operationId": "Connectors_Get", + "operationId": "EncryptionScopes_Get", "tags": [ - "Connectors" + "EncryptionScopes" ], - "description": "Get the specified Storage Connector.", + "description": "Returns the properties for the specified encryption scope.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2140,37 +2186,41 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "connectorName", + "name": "encryptionScopeName", "in": "path", - "description": "The name of the Storage Connector.", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", "required": true, "type": "string", "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + "maxLength": 63 } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Connector" + "$ref": "#/definitions/EncryptionScope" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ErrorResponse" } } + }, + "x-ms-examples": { + "StorageAccountGetEncryptionScope": { + "$ref": "./examples/StorageAccountGetEncryptionScope.json" + } } }, "put": { - "operationId": "Connectors_Create", + "operationId": "EncryptionScopes_Put", "tags": [ - "Connectors" + "EncryptionScopes" ], - "description": "Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", + "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.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2192,68 +2242,59 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "connectorName", + "name": "encryptionScopeName", "in": "path", - "description": "The name of the Storage Connector.", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", "required": true, "type": "string", "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + "maxLength": 63 }, { - "name": "resource", + "name": "encryptionScope", "in": "body", - "description": "Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", + "description": "Encryption scope properties to be used for the create or update.", "required": true, "schema": { - "$ref": "#/definitions/Connector" + "$ref": "#/definitions/EncryptionScope" } } ], "responses": { "200": { - "description": "Resource 'Connector' update operation succeeded", + "description": "Resource 'EncryptionScope' update operation succeeded", "schema": { - "$ref": "#/definitions/Connector" + "$ref": "#/definitions/EncryptionScope" } }, "201": { - "description": "Resource 'Connector' create operation succeeded", + "description": "Resource 'EncryptionScope' create operation succeeded", "schema": { - "$ref": "#/definitions/Connector" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "$ref": "#/definitions/EncryptionScope" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/Connector" - }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "StorageAccountPutEncryptionScope": { + "$ref": "./examples/StorageAccountPutEncryptionScope.json" + }, + "StorageAccountPutEncryptionScopeWithInfrastructureEncryption": { + "$ref": "./examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json" + } + } }, "patch": { - "operationId": "Connectors_Update", + "operationId": "EncryptionScopes_Patch", "tags": [ - "Connectors" + "EncryptionScopes" ], - "description": "Update a Storage Connector.", + "description": "Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2275,22 +2316,21 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "connectorName", + "name": "encryptionScopeName", "in": "path", - "description": "The name of the Storage Connector.", + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", "required": true, "type": "string", "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + "maxLength": 63 }, { - "name": "properties", + "name": "encryptionScope", "in": "body", - "description": "The updated properties of the Storage Connector.", + "description": "Encryption scope properties to be used for the update.", "required": true, "schema": { - "$ref": "#/definitions/ConnectorUpdate" + "$ref": "#/definitions/EncryptionScope" } } ], @@ -2298,42 +2338,30 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Connector" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "$ref": "#/definitions/EncryptionScope" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/Connector" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Connectors_Delete", + "x-ms-examples": { + "StorageAccountPatchEncryptionScope": { + "$ref": "./examples/StorageAccountPatchEncryptionScope.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover": { + "post": { + "operationId": "StorageAccounts_Failover", "tags": [ - "Connectors" + "StorageAccounts" ], - "description": "Delete a Storage Connector.", + "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/azure/storage/common/storage-disaster-recovery-guidance", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2355,19 +2383,25 @@ "pattern": "^[a-z0-9]+$" }, { - "name": "connectorName", - "in": "path", - "description": "The name of the Storage Connector.", - "required": true, + "name": "failoverType", + "in": "query", + "description": "The parameter is set to 'Planned' to indicate whether a Planned failover is requested.", + "required": false, "type": "string", - "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" + "enum": [ + "Planned" + ], + "x-ms-enum": { + "modelAsString": false + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully." + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -2380,29 +2414,34 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "StorageAccountFailover": { + "$ref": "./examples/StorageAccountFailover.json" + }, + "StorageAccountFailoverPlanned": { + "$ref": "./examples/StorageAccountFailoverPlanned.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors/{connectorName}/testExistingConnection": { - "post": { - "operationId": "Connectors_TestExistingConnection", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices": { + "get": { + "operationId": "FileServices_List", "tags": [ - "Connectors" + "FileServices" ], - "description": "This method is used to verify that the connection to the backing data store works.\nThis API is designed to be used for monitoring and debugging purposes. From the caller’s perspective,\nthis method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc.\nIf the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte.", + "description": "List all file services in storage accounts", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2422,69 +2461,36 @@ "minLength": 3, "maxLength": 24, "pattern": "^[a-z0-9]+$" - }, - { - "name": "connectorName", - "in": "path", - "description": "The name of the Storage Connector.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "This method is used to verify that the connection to the backing data store works. This API is designed to be used for monitoring and debugging purposes. From the caller’s perspective, this method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc. If the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte.", - "required": true, - "schema": { - "$ref": "#/definitions/TestExistingConnectionRequest" - } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/TestConnectionResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "$ref": "#/definitions/FileServiceItems" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/TestConnectionResponse" - }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "ListFileServices": { + "$ref": "./examples/FileServicesList.json" + } + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/dataShares": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default": { "get": { - "operationId": "DataShares_ListByStorageAccount", + "operationId": "FileServices_GetServiceProperties", "tags": [ - "DataShares" + "FileServices" ], - "description": "List all Storage DataShares in a Storage Account.", + "description": "Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2510,784 +2516,28 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DataShareListResult" + "$ref": "#/definitions/FileServiceProperties" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-examples": { + "GetFileServices": { + "$ref": "./examples/FileServicesGet.json" + } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/dataShares/{dataShareName}": { - "get": { - "operationId": "DataShares_Get", + }, + "put": { + "operationId": "FileServices_SetServiceProperties", "tags": [ - "DataShares" + "FileServices" ], - "description": "Get the specified Storage DataShare.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "dataShareName", - "in": "path", - "description": "The name of the Storage DataShare.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/DataShare" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "operationId": "DataShares_Create", - "tags": [ - "DataShares" - ], - "description": "Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "dataShareName", - "in": "path", - "description": "The name of the Storage DataShare.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Create a Storage DataShare if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource.", - "required": true, - "schema": { - "$ref": "#/definitions/DataShare" - } - } - ], - "responses": { - "200": { - "description": "Resource 'DataShare' update operation succeeded", - "schema": { - "$ref": "#/definitions/DataShare" - } - }, - "201": { - "description": "Resource 'DataShare' create operation succeeded", - "schema": { - "$ref": "#/definitions/DataShare" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation", - "final-state-schema": "#/definitions/DataShare" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "DataShares_Update", - "tags": [ - "DataShares" - ], - "description": "Update a Storage DataShare.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "dataShareName", - "in": "path", - "description": "The name of the Storage DataShare.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The updated properties of the Storage DataShare.", - "required": true, - "schema": { - "$ref": "#/definitions/DataShareUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/DataShare" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location", - "final-state-schema": "#/definitions/DataShare" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "DataShares_Delete", - "tags": [ - "DataShares" - ], - "description": "Delete a Storage DataShare.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "dataShareName", - "in": "path", - "description": "The name of the Storage DataShare.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63, - "pattern": "^[a-z0-9](?!.*--)[a-z0-9-]{1,61}[a-z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes": { - "get": { - "operationId": "EncryptionScopes_List", - "tags": [ - "EncryptionScopes" - ], - "description": "Lists all the encryption scopes available under the specified storage account.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "$maxpagesize", - "in": "query", - "description": "Optional, specifies the maximum number of encryption scopes that will be included in the list response.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 5000 - }, - { - "name": "$filter", - "in": "query", - "description": "Optional. When specified, only encryption scope names starting with the filter will be listed.", - "required": false, - "type": "string" - }, - { - "name": "$include", - "in": "query", - "description": "Optional, when specified, will list encryption scopes with the specific state. Defaults to All", - "required": false, - "type": "string", - "enum": [ - "All", - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ListEncryptionScopesInclude", - "modelAsString": true, - "values": [ - { - "name": "All", - "value": "All" - }, - { - "name": "Enabled", - "value": "Enabled" - }, - { - "name": "Disabled", - "value": "Disabled" - } - ] - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EncryptionScopeListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StorageAccountEncryptionScopeList": { - "$ref": "./examples/StorageAccountEncryptionScopeList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}": { - "get": { - "operationId": "EncryptionScopes_Get", - "tags": [ - "EncryptionScopes" - ], - "description": "Returns the properties for the specified encryption scope.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "encryptionScopeName", - "in": "path", - "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63 - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StorageAccountGetEncryptionScope": { - "$ref": "./examples/StorageAccountGetEncryptionScope.json" - } - } - }, - "put": { - "operationId": "EncryptionScopes_Put", - "tags": [ - "EncryptionScopes" - ], - "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.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "encryptionScopeName", - "in": "path", - "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63 - }, - { - "name": "encryptionScope", - "in": "body", - "description": "Encryption scope properties to be used for the create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EncryptionScope' update operation succeeded", - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - }, - "201": { - "description": "Resource 'EncryptionScope' create operation succeeded", - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StorageAccountPutEncryptionScope": { - "$ref": "./examples/StorageAccountPutEncryptionScope.json" - }, - "StorageAccountPutEncryptionScopeWithInfrastructureEncryption": { - "$ref": "./examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json" - } - } - }, - "patch": { - "operationId": "EncryptionScopes_Patch", - "tags": [ - "EncryptionScopes" - ], - "description": "Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "encryptionScopeName", - "in": "path", - "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 63 - }, - { - "name": "encryptionScope", - "in": "body", - "description": "Encryption scope properties to be used for the update.", - "required": true, - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StorageAccountPatchEncryptionScope": { - "$ref": "./examples/StorageAccountPatchEncryptionScope.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover": { - "post": { - "operationId": "StorageAccounts_Failover", - "tags": [ - "StorageAccounts" - ], - "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/azure/storage/common/storage-disaster-recovery-guidance", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - }, - { - "name": "failoverType", - "in": "query", - "description": "The parameter is set to 'Planned' to indicate whether a Planned failover is requested.", - "required": false, - "type": "string", - "enum": [ - "Planned" - ], - "x-ms-enum": { - "modelAsString": false - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully." - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StorageAccountFailover": { - "$ref": "./examples/StorageAccountFailover.json" - }, - "StorageAccountFailoverPlanned": { - "$ref": "./examples/StorageAccountFailoverPlanned.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices": { - "get": { - "operationId": "FileServices_List", - "tags": [ - "FileServices" - ], - "description": "List all file services in storage accounts", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/FileServiceItems" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ListFileServices": { - "$ref": "./examples/FileServicesList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default": { - "get": { - "operationId": "FileServices_GetServiceProperties", - "tags": [ - "FileServices" - ], - "description": "Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "required": true, - "type": "string", - "minLength": 3, - "maxLength": 24, - "pattern": "^[a-z0-9]+$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/FileServiceProperties" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "GetFileServices": { - "$ref": "./examples/FileServicesGet.json" - } - } - }, - "put": { - "operationId": "FileServices_SetServiceProperties", - "tags": [ - "FileServices" - ], - "description": "Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "description": "Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -7924,25 +7174,6 @@ ] } }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "title": "Tracked Resource", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, "AzureEntityResource": { "type": "object", "title": "Entity Resource", @@ -8466,57 +7697,6 @@ }, "x-ms-external": true }, - "Connector": { - "type": "object", - "description": "A Connector is a tracked ARM resource modeled as a sub-resource of a Storage Account.", - "properties": { - "properties": { - "$ref": "#/definitions/StorageConnectorProperties", - "description": "The properties of the Storage Connector." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ConnectorListResult": { - "type": "object", - "description": "The response of a Connector list operation.", - "properties": { - "value": { - "type": "array", - "description": "The Connector items on this page", - "items": { - "$ref": "#/definitions/Connector" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ConnectorUpdate": { - "type": "object", - "description": "A Connector is a tracked ARM resource modeled as a sub-resource of a Storage Account.", - "properties": { - "properties": { - "$ref": "#/definitions/StorageConnectorPropertiesUpdate", - "description": "The properties of the Storage Connector." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "ContainerProperties": { "type": "object", "description": "The properties of a container.", @@ -8695,121 +7875,6 @@ "name" ] }, - "DataShare": { - "type": "object", - "description": "A DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.", - "properties": { - "properties": { - "$ref": "#/definitions/StorageDataShareProperties", - "description": "The properties of the Storage DataShare." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "DataShareConnection": { - "type": "object", - "description": "The connection details for Data Share source", - "properties": { - "dataShareUri": { - "type": "string", - "description": "The URI of the backing DataShare. Must be in the format: azds://::", - "pattern": "^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" - } - }, - "required": [ - "dataShareUri" - ], - "allOf": [ - { - "$ref": "#/definitions/StorageConnectorConnection" - } - ], - "x-ms-discriminator-value": "DataShare" - }, - "DataShareListResult": { - "type": "object", - "description": "The response of a DataShare list operation.", - "properties": { - "value": { - "type": "array", - "description": "The DataShare items on this page", - "items": { - "$ref": "#/definitions/DataShare" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "DataShareSource": { - "type": "object", - "description": "The properties of data share source", - "properties": { - "connection": { - "$ref": "#/definitions/StorageConnectorConnection", - "description": "Details for how to connect to the backing data store.", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "authProperties": { - "$ref": "#/definitions/StorageConnectorAuthProperties", - "description": "Details for how to authenticate to the backing data store." - } - }, - "required": [ - "connection", - "authProperties" - ], - "allOf": [ - { - "$ref": "#/definitions/StorageConnectorSource" - } - ], - "x-ms-discriminator-value": "DataShare" - }, - "DataShareSourceUpdate": { - "type": "object", - "description": "The properties of data share source", - "properties": { - "authProperties": { - "$ref": "#/definitions/StorageConnectorAuthPropertiesUpdate", - "description": "Details for how to authenticate to the backing data store." - } - }, - "allOf": [ - { - "$ref": "#/definitions/StorageConnectorSourceUpdate" - } - ], - "x-ms-discriminator-value": "DataShare" - }, - "DataShareUpdate": { - "type": "object", - "description": "A DataShare is a tracked ARM resource modeled as a sub-resource of a Storage Account.", - "properties": { - "properties": { - "$ref": "#/definitions/StorageDataSharePropertiesUpdate", - "description": "The properties of the Storage DataShare." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "DateAfterCreation": { "type": "object", "description": "Object to define snapshot and version action conditions.", @@ -11135,50 +10200,18 @@ "type": "array", "description": "The LocalUser items on this page", "items": { - "$ref": "#/definitions/LocalUser" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ManagedIdentityAuthProperties": { - "type": "object", - "description": "The managed identity auth properties for dataShare connection.", - "properties": { - "identityResourceId": { - "type": "string", - "description": "ARM ResourceId of the managed identity that should be used to authenticate to the backing data source." - } - }, - "allOf": [ - { - "$ref": "#/definitions/StorageConnectorAuthProperties" - } - ], - "x-ms-discriminator-value": "ManagedIdentity" - }, - "ManagedIdentityAuthPropertiesUpdate": { - "type": "object", - "description": "The managed identity auth properties for dataShare connection.", - "properties": { - "identityResourceId": { + "$ref": "#/definitions/LocalUser" + } + }, + "nextLink": { "type": "string", - "description": "ARM ResourceId of the managed identity that should be used to authenticate to the backing data source." + "format": "uri", + "description": "The link to the next page of items" } }, - "allOf": [ - { - "$ref": "#/definitions/StorageConnectorAuthPropertiesUpdate" - } - ], - "x-ms-discriminator-value": "ManagedIdentity" + "required": [ + "value" + ] }, "ManagementPolicy": { "type": "object", @@ -11531,48 +10564,6 @@ ] } }, - "NativeDataSharingProvisioningState": { - "type": "string", - "description": "Provisioning state of the resource at the time the operation was called.", - "enum": [ - "Accepted", - "Creating", - "Succeeded", - "Deleting", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "NativeDataSharingProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Accepted", - "value": "Accepted" - }, - { - "name": "Creating", - "value": "Creating" - }, - { - "name": "Succeeded", - "value": "Succeeded" - }, - { - "name": "Deleting", - "value": "Deleting" - }, - { - "name": "Canceled", - "value": "Canceled" - }, - { - "name": "Failed", - "value": "Failed" - } - ] - } - }, "NetworkRuleSet": { "type": "object", "description": "Network rule set", @@ -14348,552 +13339,143 @@ "x-ms-client-name": "EnableExtendedGroups" }, "networkAcls": { - "$ref": "#/definitions/NetworkRuleSet", - "description": "Network rule set", - "x-ms-client-name": "NetworkRuleSet" - }, - "largeFileSharesState": { - "$ref": "#/definitions/LargeFileSharesState", - "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." - }, - "routingPreference": { - "$ref": "#/definitions/RoutingPreference", - "description": "Maintains information about the network routing choice opted by the user for data transfer", - "x-ms-client-name": "RoutingPreference" - }, - "dualStackEndpointPreference": { - "$ref": "#/definitions/DualStackEndpointPreference", - "description": "Maintains information about the Internet protocol opted by the user." - }, - "allowBlobPublicAccess": { - "type": "boolean", - "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", - "x-ms-client-name": "AllowBlobPublicAccess" - }, - "minimumTlsVersion": { - "$ref": "#/definitions/MinimumTlsVersion", - "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." - }, - "allowSharedKeyAccess": { - "type": "boolean", - "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." - }, - "allowCrossTenantReplication": { - "type": "boolean", - "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." - }, - "defaultToOAuthAuthentication": { - "type": "boolean", - "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." - }, - "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." - }, - "immutableStorageWithVersioning": { - "$ref": "#/definitions/ImmutableStorageAccount", - "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.", - "x-ms-client-name": "ImmutableStorageWithVersioning" - }, - "allowedCopyScope": { - "$ref": "#/definitions/AllowedCopyScope", - "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." - }, - "dnsEndpointType": { - "$ref": "#/definitions/DnsEndpointType", - "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." - }, - "geoPriorityReplicationStatus": { - "$ref": "#/definitions/GeoPriorityReplicationStatus", - "description": "Status indicating whether Geo Priority Replication is enabled for the account." - } - } - }, - "StorageAccountRegenerateKeyParameters": { - "type": "object", - "description": "The parameters used to regenerate the storage account key.", - "properties": { - "keyName": { - "type": "string", - "description": "The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2." - } - }, - "required": [ - "keyName" - ] - }, - "StorageAccountSkuConversionStatus": { - "type": "object", - "description": "This defines the sku conversion status object for asynchronous sku conversions.", - "properties": { - "skuConversionStatus": { - "$ref": "#/definitions/SkuConversionStatus", - "description": "This property indicates the current sku conversion status.", - "readOnly": true - }, - "targetSkuName": { - "$ref": "#/definitions/SkuName", - "description": "This property represents the target sku name to which the account sku is being converted asynchronously." - }, - "startTime": { - "type": "string", - "description": "This property represents the sku conversion start time.", - "readOnly": true - }, - "endTime": { - "type": "string", - "description": "This property represents the sku conversion end time.", - "readOnly": true - } - } - }, - "StorageAccountUpdateParameters": { - "type": "object", - "description": "The parameters that can be provided when updating the storage account properties.", - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value." - }, - "tags": { - "type": "object", - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "properties": { - "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters", - "description": "The parameters used when updating a storage account.", - "x-ms-client-flatten": true - }, - "kind": { - "$ref": "#/definitions/Kind", - "description": "Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server." - }, - "zones": { - "type": "array", - "description": "Optional. Gets or sets the pinned logical availability zone for the storage account.", - "items": { - "type": "string" - } - }, - "placement": { - "$ref": "#/definitions/Placement", - "description": "Optional. Gets or sets the zonal placement details for the storage account." - } - } - }, - "StorageConnectorAuthProperties": { - "type": "object", - "description": "The authentication properties of the backing data source", - "properties": { - "type": { - "$ref": "#/definitions/StorageConnectorAuthType", - "description": "Type of the authentication properties. Controls the type of the authProperties object" - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "StorageConnectorAuthPropertiesUpdate": { - "type": "object", - "description": "The authentication properties of the backing data source", - "properties": { - "type": { - "$ref": "#/definitions/StorageConnectorAuthType", - "description": "Type of the authentication properties. Controls the type of the authProperties object" - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "StorageConnectorAuthType": { - "type": "string", - "description": "The auth type supported for bucket connection in storage connector.", - "enum": [ - "ManagedIdentity" - ], - "x-ms-enum": { - "name": "StorageConnectorAuthType", - "modelAsString": true, - "values": [ - { - "name": "ManagedIdentity", - "value": "ManagedIdentity", - "description": "Managed Identity auth type" - } - ] - } - }, - "StorageConnectorConnection": { - "type": "object", - "description": "The connection properties of the backing data source", - "properties": { - "type": { - "$ref": "#/definitions/StorageConnectorConnectionType", - "description": "Type of the connection. Controls the type of the connection object. Not mutable once the Storage Connector is created." - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "StorageConnectorConnectionType": { - "type": "string", - "description": "The connection type for bucket connection in storage connector.", - "enum": [ - "DataShare" - ], - "x-ms-enum": { - "name": "StorageConnectorConnectionType", - "modelAsString": true, - "values": [ - { - "name": "DataShare", - "value": "DataShare", - "description": "DataShare connection type" - } - ] - } - }, - "StorageConnectorDataSourceType": { - "type": "string", - "description": "The type of the backing data source for storage connector", - "enum": [ - "Azure_DataShare" - ], - "x-ms-enum": { - "name": "StorageConnectorDataSourceType", - "modelAsString": true, - "values": [ - { - "name": "Azure_DataShare", - "value": "Azure_DataShare", - "description": "Azure DataShare data source type." - } - ] - } - }, - "StorageConnectorProperties": { - "type": "object", - "description": "The storage connector properties", - "properties": { - "uniqueId": { - "type": "string", - "description": "System-generated identifier for the Storage Connector. Not a valid input parameter when creating.", - "readOnly": true + "$ref": "#/definitions/NetworkRuleSet", + "description": "Network rule set", + "x-ms-client-name": "NetworkRuleSet" }, - "state": { - "type": "string", - "description": "State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active)\n(While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise.", - "default": "Active", - "enum": [ - "Active", - "Inactive" - ], - "x-ms-enum": { - "name": "StorageConnectorState", - "modelAsString": true, - "values": [ - { - "name": "Active", - "value": "Active", - "description": "Whether the connector is active" - }, - { - "name": "Inactive", - "value": "Inactive", - "description": "Whether the connector is inactive" - } - ] - } + "largeFileSharesState": { + "$ref": "#/definitions/LargeFileSharesState", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." }, - "creationTime": { - "type": "string", - "description": "System-generated creation time for the Storage Connector. Not a valid input parameter when creating.", - "readOnly": true + "routingPreference": { + "$ref": "#/definitions/RoutingPreference", + "description": "Maintains information about the network routing choice opted by the user for data transfer", + "x-ms-client-name": "RoutingPreference" }, - "description": { - "type": "string", - "description": "Arbitrary description of this Storage Connector. Max 250 characters.", - "maxLength": 250 + "dualStackEndpointPreference": { + "$ref": "#/definitions/DualStackEndpointPreference", + "description": "Maintains information about the Internet protocol opted by the user." }, - "testConnection": { + "allowBlobPublicAccess": { "type": "boolean", - "description": "Test connection to backing data source before creating the storage connector.", - "default": false, - "x-ms-mutability": [ - "update", - "create" - ] - }, - "dataSourceType": { - "$ref": "#/definitions/StorageConnectorDataSourceType", - "description": "The type of backing data source for this Storage Connector.", - "x-ms-mutability": [ - "read", - "create" - ] + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", + "x-ms-client-name": "AllowBlobPublicAccess" }, - "source": { - "$ref": "#/definitions/StorageConnectorSource", - "description": "Information about how to communicate with and authenticate to the backing data store." + "minimumTlsVersion": { + "$ref": "#/definitions/MinimumTlsVersion", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." }, - "provisioningState": { - "$ref": "#/definitions/NativeDataSharingProvisioningState", - "description": "Represents the provisioning state of the storage connector.", - "readOnly": true - } - }, - "required": [ - "dataSourceType", - "source" - ] - }, - "StorageConnectorPropertiesUpdate": { - "type": "object", - "description": "The storage connector properties", - "properties": { - "state": { - "type": "string", - "description": "State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active)\n(While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise.", - "default": "Active", - "enum": [ - "Active", - "Inactive" - ], - "x-ms-enum": { - "name": "StorageConnectorState", - "modelAsString": true, - "values": [ - { - "name": "Active", - "value": "Active", - "description": "Whether the connector is active" - }, - { - "name": "Inactive", - "value": "Inactive", - "description": "Whether the connector is inactive" - } - ] - } + "allowSharedKeyAccess": { + "type": "boolean", + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." }, - "description": { - "type": "string", - "description": "Arbitrary description of this Storage Connector. Max 250 characters.", - "maxLength": 250 + "allowCrossTenantReplication": { + "type": "boolean", + "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." }, - "testConnection": { + "defaultToOAuthAuthentication": { "type": "boolean", - "description": "Test connection to backing data source before creating the storage connector.", - "default": false, - "x-ms-mutability": [ - "update", - "create" - ] + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." }, - "source": { - "$ref": "#/definitions/StorageConnectorSourceUpdate", - "description": "Information about how to communicate with and authenticate to the backing data store." - } - } - }, - "StorageConnectorSource": { - "type": "object", - "description": "The storage connector backing data source information", - "properties": { - "type": { - "$ref": "#/definitions/StorageConnectorSourceType", - "description": "Type of the Storage Connector. Not mutable once the Storage Connector is created.\"" - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "StorageConnectorSourceType": { - "type": "string", - "description": "The type of the backing data source for storage connector", - "enum": [ - "DataShare" - ], - "x-ms-enum": { - "name": "StorageConnectorSourceType", - "modelAsString": true, - "values": [ - { - "name": "DataShare", - "value": "DataShare", - "description": "Source type - DataShare" - } - ] - } - }, - "StorageConnectorSourceUpdate": { - "type": "object", - "description": "The storage connector backing data source information", - "properties": { - "type": { - "$ref": "#/definitions/StorageConnectorSourceType", - "description": "Type of the Storage Connector. Not mutable once the Storage Connector is created.\"" - } - }, - "discriminator": "type", - "required": [ - "type" - ] - }, - "StorageDataShareAccessPolicy": { - "type": "object", - "description": "Policy that specify the permission allowed to a managed identity", - "properties": { - "principalId": { - "type": "string", - "description": "The AAD principal ID of the Managed Identity.", - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." }, - "tenantId": { - "type": "string", - "description": "The AAD tenant ID of the Managed Identity.", - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageAccount", + "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.", + "x-ms-client-name": "ImmutableStorageWithVersioning" }, - "permission": { - "$ref": "#/definitions/StorageDataShareAccessPolicyPermission", - "description": "Allowed permissions. Currently, only supported value is Read." + "allowedCopyScope": { + "$ref": "#/definitions/AllowedCopyScope", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + }, + "dnsEndpointType": { + "$ref": "#/definitions/DnsEndpointType", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + }, + "geoPriorityReplicationStatus": { + "$ref": "#/definitions/GeoPriorityReplicationStatus", + "description": "Status indicating whether Geo Priority Replication is enabled for the account." } - }, - "required": [ - "principalId", - "tenantId", - "permission" - ] - }, - "StorageDataShareAccessPolicyPermission": { - "type": "string", - "description": "The permissions supported in access policies for storage data share", - "enum": [ - "None", - "Read" - ], - "x-ms-enum": { - "name": "StorageDataShareAccessPolicyPermission", - "modelAsString": true, - "values": [ - { - "name": "None", - "value": "None", - "description": "No permission" - }, - { - "name": "Read", - "value": "Read", - "description": "Read permission" - } - ] } }, - "StorageDataShareAsset": { + "StorageAccountRegenerateKeyParameters": { "type": "object", - "description": "Properties of a shared resource.", + "description": "The parameters used to regenerate the storage account key.", "properties": { - "assetPath": { - "type": "string", - "description": "Source Path to be shared. It can be a folder or a blob.\nThe asset path should contain container name followed by path within the container, e.g. /container1/logs/external." - }, - "displayName": { + "keyName": { "type": "string", - "description": "Consumer visible name of the original path." + "description": "The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2." } }, "required": [ - "assetPath", - "displayName" + "keyName" ] }, - "StorageDataShareProperties": { + "StorageAccountSkuConversionStatus": { "type": "object", - "description": "The storage datashare properties", + "description": "This defines the sku conversion status object for asynchronous sku conversions.", "properties": { - "dataShareIdentifier": { - "type": "string", - "description": "System-generated identifier for the Storage DataShare. Not a valid input parameter when creating.", - "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "skuConversionStatus": { + "$ref": "#/definitions/SkuConversionStatus", + "description": "This property indicates the current sku conversion status.", "readOnly": true }, - "description": { - "type": "string", - "description": "Arbitrary description of this Data Share. Max 250 characters.", - "maxLength": 250 + "targetSkuName": { + "$ref": "#/definitions/SkuName", + "description": "This property represents the target sku name to which the account sku is being converted asynchronously." }, - "dataShareUri": { + "startTime": { "type": "string", - "description": "The DataShare URI to be shared with the consumer.\nURI Format - 'azds://::'.", - "pattern": "^azds://[a-zA-Z0-9-]+:[a-zA-Z0-9-_]+:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$", + "description": "This property represents the sku conversion start time.", "readOnly": true }, - "accessPolicies": { - "type": "array", - "description": "List of access policies that specify the permission allowed to a managed identity.", - "items": { - "$ref": "#/definitions/StorageDataShareAccessPolicy" - }, - "x-ms-identifiers": [] - }, - "assets": { - "type": "array", - "description": "List of assets that specify the properties of the shared resources.", - "items": { - "$ref": "#/definitions/StorageDataShareAsset" - }, - "x-ms-identifiers": [] - }, - "provisioningState": { - "$ref": "#/definitions/NativeDataSharingProvisioningState", - "description": "Represents the provisioning state of the storage datashare.", + "endTime": { + "type": "string", + "description": "This property represents the sku conversion end time.", "readOnly": true } - }, - "required": [ - "accessPolicies", - "assets" - ] + } }, - "StorageDataSharePropertiesUpdate": { + "StorageAccountUpdateParameters": { "type": "object", - "description": "The storage datashare properties", + "description": "The parameters that can be provided when updating the storage account properties.", "properties": { - "description": { - "type": "string", - "description": "Arbitrary description of this Data Share. Max 250 characters.", - "maxLength": 250 + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value." }, - "accessPolicies": { - "type": "array", - "description": "List of access policies that specify the permission allowed to a managed identity.", - "items": { - "$ref": "#/definitions/StorageDataShareAccessPolicy" - }, - "x-ms-identifiers": [] + "tags": { + "type": "object", + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters", + "description": "The parameters used when updating a storage account.", + "x-ms-client-flatten": true + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server." }, - "assets": { + "zones": { "type": "array", - "description": "List of assets that specify the properties of the shared resources.", + "description": "Optional. Gets or sets the pinned logical availability zone for the storage account.", "items": { - "$ref": "#/definitions/StorageDataShareAsset" - }, - "x-ms-identifiers": [] + "type": "string" + } + }, + "placement": { + "$ref": "#/definitions/Placement", + "description": "Optional. Gets or sets the zonal placement details for the storage account." } } }, @@ -15463,43 +14045,6 @@ } } }, - "TestConnectionResponse": { - "type": "object", - "description": "Test connection response properties", - "properties": { - "storageConnectorMethodName": { - "type": "string", - "description": "Indicates the method used to validate the connection to the backing data store.\nValid values are `GetBlob` and `ListBlobs` for failure, and `TestExistingConnection` for success.", - "minLength": 1 - }, - "storageConnectorErrorMessage": { - "type": "string", - "description": "A string representing the error received from the backing data store.\nFormat will vary depending on the data store type and will be capped at 1 MB in size.\nThe error message will be empty if the connection was successful." - }, - "storageConnectorRequestId": { - "type": "string", - "description": "The request Id associated with the request sent to the backing data store for validation.", - "minLength": 1 - } - }, - "required": [ - "storageConnectorMethodName", - "storageConnectorRequestId" - ] - }, - "TestExistingConnectionRequest": { - "type": "object", - "description": "Test existing connection request properties", - "properties": { - "uniqueId": { - "type": "string", - "description": "The uniqueId of the storage connector as returned by the server." - } - }, - "required": [ - "uniqueId" - ] - }, "TriggerParameters": { "type": "object", "description": "The trigger parameters update for the storage task assignment execution", diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Create.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Create.json index addb678a925f..e33a25113827 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Create.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Create.json @@ -6,7 +6,7 @@ "resourceGroupName": "testrg", "api-version": "2025-08-01", "connectorName": "testconnector", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "resource": { "location": "eastus", "properties": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Delete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Delete.json index 81d041c52f0c..adba9c248909 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Delete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Delete.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "connectorName": "testconnector", "api-version": "2025-08-01" }, diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Get.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Get.json index ea51f9943547..c70427605b98 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Get.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Get.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "connectorName": "testconnector" }, diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json index 1cbe749165f8..4f0b0b021f2c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_ListByStorageAccount.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01" }, "responses": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json index b7ee2af1ec56..aeb4bad4990a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_TestExistingConnection.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "connectorName": "testconnector", "body": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Update.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Update.json index 350ec36f984b..ccb4c48be0ee 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Update.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageConnectorCRUD/StorageConnectors_Update.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "connectorName": "testconnector", "properties": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Create.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Create.json index 3329e6af49c5..435c57ab7d08 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Create.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Create.json @@ -6,7 +6,7 @@ "resourceGroupName": "testrg", "api-version": "2025-08-01", "dataShareName": "testdatashare", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "resource": { "location": "eastus", "properties": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Delete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Delete.json index 79820abe5598..ebab2778bf89 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Delete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Delete.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "dataShareName": "testdatashare", "api-version": "2025-08-01" }, diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Get.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Get.json index ae0ddc03ae7f..2e6e68be00b2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Get.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Get.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "dataShareName": "testdatashare" }, diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json index c551761d5b8b..1f2b1eaa3456 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_ListByStorageAccount.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01" }, "responses": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Update.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Update.json index 06a57eb35bc3..e7703a552c81 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Update.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-08-01/examples/StorageDataShareCRUD/StorageDataShares_Update.json @@ -4,7 +4,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "testrg", - "storageAccountName": "teststorageaccount", + "accountName": "teststorageaccount", "api-version": "2025-08-01", "dataShareName": "testdatashare", "properties": { From a2a8f63296db9a6eeebeea9a0cabdac906604edc Mon Sep 17 00:00:00 2001 From: Ujjawal Jain Date: Wed, 17 Dec 2025 08:56:52 +0530 Subject: [PATCH 4/6] Fixing issues with Readme.md --- .../storage/resource-manager/readme.md | 45 ++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md index e439844c3140..bceb21078b4b 100644 --- a/specification/storage/resource-manager/readme.md +++ b/specification/storage/resource-manager/readme.md @@ -28,7 +28,50 @@ These are the global settings for the Storage API. ``` yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2025-06 +tag: package-2025-08 +``` + +### Tag: package-2025-08 + +These settings apply only when `--tag=package-2025-08` is specified on the command line. + +```yaml $(tag) == 'package-2025-08' +input-file: + - Microsoft.Storage/stable/2025-08-01/openapi.json + +directive: + - where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}"].put + suppress: PutResponseCodes + reason: This is an existing RP which has the same pattern, 202 response code for async PUT, in stable API version + approved-by: "@ramoka178" + + - where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages/{fileServiceUsagesName}"] + suppress: PathResourceTypeNameCamelCase + reason: The {fileServiceName} is an existing resource type used for the above two new API's ListFileServiceUsages and GetFileServiceUsage. + + - where: + - $.definitions.AccountLimits.properties.maxProvisionedIOPS + - $.definitions.FileShareLimits.properties.minProvisionedIOPS + - $.definitions.FileShareLimits.properties.maxProvisionedIOPS + - $.definitions.FileShareRecommendations.properties.baseIOPS + - $.definitions.BurstingConstants.properties.burstFloorIOPS + - $.definitions.AccountUsageElements.properties.provisionedIOPS + suppress: DefinitionsPropertiesNamesCamelCase + reason: The GetFileServiceUsage API has properties with "IOPS" in its response body. The names need to match feature spec and server code, so cannot be changed now per camel case rule in swagger. + + - where: + - $.definitions.StorageAccount + suppress: BodyTopLevelProperties + reason: The 'placement' property is already a top-level property in Microsoft.Compute/virtualMachines, so the schema should stay consistent here. + + - where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/connectors/{connectorName}"].patch.parameters[5].schema.properties.properties + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/dataShares/{dataShareName}"].patch.parameters[5].schema.properties.properties + suppress: PatchBodyParametersSchema + reason: We have used kind property as discriminator to support polymorphic resource and during patch also need to pass discriminator to allow patch on certain polymorphic resource type property. ``` ### Tag: package-2025-06 From 403072b2ec2b806c79b1056fb703769da297b060 Mon Sep 17 00:00:00 2001 From: Ujjawal Jain Date: Wed, 17 Dec 2025 10:10:01 +0530 Subject: [PATCH 5/6] Suppress provisioningState errors --- specification/storage/Storage.Management/models.tsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/storage/Storage.Management/models.tsp b/specification/storage/Storage.Management/models.tsp index de0b66b0f2bd..e0c34115f61c 100644 --- a/specification/storage/Storage.Management/models.tsp +++ b/specification/storage/Storage.Management/models.tsp @@ -6168,6 +6168,7 @@ alias ETagHeader = { /** * The storage connector properties */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model StorageConnectorProperties { /** * System-generated identifier for the Storage Connector. Not a valid input parameter when creating. @@ -6343,6 +6344,7 @@ model TestConnectionResponse { /** * The storage datashare properties */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model StorageDataShareProperties { /** * System-generated identifier for the Storage DataShare. Not a valid input parameter when creating. From b61d8d393ed7b28ab0c880648c27312e5b56ab6d Mon Sep 17 00:00:00 2001 From: Ujjawal Jain Date: Wed, 17 Dec 2025 10:15:42 +0530 Subject: [PATCH 6/6] Suppress provisioningState errors --- specification/storage/Storage.Management/models.tsp | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/storage/Storage.Management/models.tsp b/specification/storage/Storage.Management/models.tsp index e0c34115f61c..564c891038a9 100644 --- a/specification/storage/Storage.Management/models.tsp +++ b/specification/storage/Storage.Management/models.tsp @@ -1165,6 +1165,7 @@ union StorageDataShareAccessPolicyPermission { * Provisioning state of the resource at the time the operation was called. */ #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" union NativeDataSharingProvisioningState { string, #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"