From 119894044e5d7593213410885148240a8dbdb276 Mon Sep 17 00:00:00 2001 From: Brian Panasko Date: Thu, 4 Jun 2026 14:06:28 -0400 Subject: [PATCH 1/7] Add StorageCache API version 2026-08-01 (version bump only) Adds TypeSpec version entry for Microsoft.StorageCache API version 2026-08-01. No content changes - baseline identical to 2026-01-01. --- .../2026-08-01/AscOperations_Get.json | 21 + .../2026-08-01/AscResourceUsages_Get.json | 35 + .../2026-08-01/Caches_CreateOrUpdate.json | 326 + .../Caches_CreateOrUpdate_ldap_only.json | 293 + .../examples/2026-08-01/Caches_DebugInfo.json | 20 + .../examples/2026-08-01/Caches_Delete.json | 20 + .../examples/2026-08-01/Caches_Flush.json | 20 + .../examples/2026-08-01/Caches_Get.json | 155 + .../examples/2026-08-01/Caches_List.json | 265 + .../Caches_ListByResourceGroup.json | 269 + .../examples/2026-08-01/Caches_Start.json | 20 + .../examples/2026-08-01/Caches_Stop.json | 20 + .../examples/2026-08-01/Caches_Update.json | 265 + .../2026-08-01/Caches_Update_ldap_only.json | 243 + .../2026-08-01/Caches_UpgradeFirmware.json | 20 + .../examples/2026-08-01/Operations_List.json | 80 + .../examples/2026-08-01/PausePrimingJob.json | 22 + .../examples/2026-08-01/ResumePrimingJob.json | 22 + .../examples/2026-08-01/Skus_List.json | 88 + .../2026-08-01/SpaceAllocation_Post.json | 32 + .../examples/2026-08-01/StartPrimingJob.json | 22 + .../examples/2026-08-01/StopPrimingJob.json | 22 + .../StorageTargets_CreateOrUpdate.json | 114 + ...StorageTargets_CreateOrUpdate_BlobNfs.json | 90 + ...ageTargets_CreateOrUpdate_NoJunctions.json | 72 + .../2026-08-01/StorageTargets_Delete.json | 21 + .../2026-08-01/StorageTargets_DnsRefresh.json | 20 + .../2026-08-01/StorageTargets_Flush.json | 21 + .../2026-08-01/StorageTargets_Get.json | 51 + .../2026-08-01/StorageTargets_Invalidate.json | 21 + .../StorageTargets_ListByCache.json | 114 + .../StorageTargets_RestoreDefaults.json | 20 + .../2026-08-01/StorageTargets_Resume.json | 21 + .../2026-08-01/StorageTargets_Suspend.json | 21 + .../examples/2026-08-01/UsageModels_List.json | 30 + .../2026-08-01/amlFilesystems_Archive.json | 16 + .../amlFilesystems_CancelArchive.json | 13 + .../amlFilesystems_CreateOrUpdate.json | 209 + .../2026-08-01/amlFilesystems_Delete.json | 20 + .../2026-08-01/amlFilesystems_Get.json | 95 + .../2026-08-01/amlFilesystems_List.json | 178 + .../amlFilesystems_ListByResourceGroup.json | 179 + .../2026-08-01/amlFilesystems_Update.json | 124 + .../autoExportJobs_CreateOrUpdate.json | 90 + .../2026-08-01/autoExportJobs_Delete.json | 20 + .../2026-08-01/autoExportJobs_Get.json | 43 + .../autoExportJobs_ListByAmlFilesystem.json | 75 + .../2026-08-01/autoExportJobs_Update.json | 57 + .../autoImportJobs_CreateOrUpdate.json | 136 + .../2026-08-01/autoImportJobs_Delete.json | 20 + .../2026-08-01/autoImportJobs_Get.json | 67 + .../autoImportJobs_ListByAmlFilesystem.json | 125 + .../2026-08-01/autoImportJobs_Update.json | 80 + .../2026-08-01/checkAmlFSSubnets.json | 27 + .../expansionJobs_CreateOrUpdate.json | 64 + .../2026-08-01/expansionJobs_Delete.json | 20 + .../2026-08-01/expansionJobs_Get.json | 35 + .../expansionJobs_ListByAmlFilesystem.json | 79 + .../2026-08-01/expansionJobs_Update.json | 46 + .../getRequiredAmlFSSubnetsSize.json | 22 + .../examples/2026-08-01/importJob_Update.json | 62 + .../2026-08-01/importJobs_CreateOrUpdate.json | 96 + .../2026-08-01/importJobs_Delete.json | 20 + .../examples/2026-08-01/importJobs_Get.json | 48 + .../importJobs_ListByAmlFilesystem.json | 84 + .../StorageCache/main.tsp | 5 + .../examples/AscOperations_Get.json | 21 + .../examples/AscResourceUsages_Get.json | 35 + .../examples/Caches_CreateOrUpdate.json | 326 + .../Caches_CreateOrUpdate_ldap_only.json | 293 + .../2026-08-01/examples/Caches_DebugInfo.json | 20 + .../2026-08-01/examples/Caches_Delete.json | 20 + .../2026-08-01/examples/Caches_Flush.json | 20 + .../2026-08-01/examples/Caches_Get.json | 155 + .../2026-08-01/examples/Caches_List.json | 265 + .../examples/Caches_ListByResourceGroup.json | 269 + .../2026-08-01/examples/Caches_Start.json | 20 + .../2026-08-01/examples/Caches_Stop.json | 20 + .../2026-08-01/examples/Caches_Update.json | 265 + .../examples/Caches_Update_ldap_only.json | 243 + .../examples/Caches_UpgradeFirmware.json | 20 + .../2026-08-01/examples/Operations_List.json | 80 + .../2026-08-01/examples/PausePrimingJob.json | 22 + .../2026-08-01/examples/ResumePrimingJob.json | 22 + .../stable/2026-08-01/examples/Skus_List.json | 88 + .../examples/SpaceAllocation_Post.json | 32 + .../2026-08-01/examples/StartPrimingJob.json | 22 + .../2026-08-01/examples/StopPrimingJob.json | 22 + .../StorageTargets_CreateOrUpdate.json | 114 + ...StorageTargets_CreateOrUpdate_BlobNfs.json | 90 + ...ageTargets_CreateOrUpdate_NoJunctions.json | 72 + .../examples/StorageTargets_Delete.json | 21 + .../examples/StorageTargets_DnsRefresh.json | 20 + .../examples/StorageTargets_Flush.json | 21 + .../examples/StorageTargets_Get.json | 51 + .../examples/StorageTargets_Invalidate.json | 21 + .../examples/StorageTargets_ListByCache.json | 114 + .../StorageTargets_RestoreDefaults.json | 20 + .../examples/StorageTargets_Resume.json | 21 + .../examples/StorageTargets_Suspend.json | 21 + .../2026-08-01/examples/UsageModels_List.json | 30 + .../examples/amlFilesystems_Archive.json | 16 + .../amlFilesystems_CancelArchive.json | 13 + .../amlFilesystems_CreateOrUpdate.json | 209 + .../examples/amlFilesystems_Delete.json | 20 + .../examples/amlFilesystems_Get.json | 95 + .../examples/amlFilesystems_List.json | 178 + .../amlFilesystems_ListByResourceGroup.json | 179 + .../examples/amlFilesystems_Update.json | 124 + .../autoExportJobs_CreateOrUpdate.json | 90 + .../examples/autoExportJobs_Delete.json | 20 + .../examples/autoExportJobs_Get.json | 43 + .../autoExportJobs_ListByAmlFilesystem.json | 75 + .../examples/autoExportJobs_Update.json | 57 + .../autoImportJobs_CreateOrUpdate.json | 136 + .../examples/autoImportJobs_Delete.json | 20 + .../examples/autoImportJobs_Get.json | 67 + .../autoImportJobs_ListByAmlFilesystem.json | 125 + .../examples/autoImportJobs_Update.json | 80 + .../examples/checkAmlFSSubnets.json | 27 + .../expansionJobs_CreateOrUpdate.json | 64 + .../examples/expansionJobs_Delete.json | 20 + .../examples/expansionJobs_Get.json | 35 + .../expansionJobs_ListByAmlFilesystem.json | 79 + .../examples/expansionJobs_Update.json | 46 + .../examples/getRequiredAmlFSSubnetsSize.json | 22 + .../2026-08-01/examples/importJob_Update.json | 62 + .../examples/importJobs_CreateOrUpdate.json | 96 + .../examples/importJobs_Delete.json | 20 + .../2026-08-01/examples/importJobs_Get.json | 48 + .../importJobs_ListByAmlFilesystem.json | 84 + .../stable/2026-08-01/openapi.json | 8350 +++++++++++++++++ 132 files changed, 18447 insertions(+) create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_ListByResourceGroup.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Start.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Stop.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update_ldap_only.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_UpgradeFirmware.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Operations_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/PausePrimingJob.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/ResumePrimingJob.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Skus_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/SpaceAllocation_Post.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StartPrimingJob.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StopPrimingJob.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_DnsRefresh.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Flush.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Invalidate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_ListByCache.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_RestoreDefaults.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Resume.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Suspend.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/UsageModels_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Archive.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CancelArchive.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_ListByResourceGroup.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/checkAmlFSSubnets.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/getRequiredAmlFSSubnetsSize.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJob_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscOperations_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscResourceUsages_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate_ldap_only.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_DebugInfo.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Flush.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_ListByResourceGroup.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Start.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Stop.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update_ldap_only.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_UpgradeFirmware.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Operations_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/PausePrimingJob.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/ResumePrimingJob.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Skus_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/SpaceAllocation_Post.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StartPrimingJob.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StopPrimingJob.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_DnsRefresh.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Flush.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Invalidate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_ListByCache.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_RestoreDefaults.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Resume.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Suspend.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/UsageModels_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Archive.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CancelArchive.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_List.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_ListByResourceGroup.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/checkAmlFSSubnets.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/getRequiredAmlFSSubnetsSize.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJob_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_CreateOrUpdate.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json new file mode 100644 index 000000000000..07db25ad1ac0 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "testoperationid", + "api-version": "2026-01-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testoperationid", + "endTime": "2023-01-01T16:13:13.933Z", + "id": "/subscriptions/id/locations/westus/ascOperations/testoperationid", + "startTime": "2023-01-01T13:13:13.933Z", + "status": "Succeeded" + } + } + }, + "operationId": "AscOperations_Get", + "title": "AscOperations_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json new file mode 100644 index 000000000000..befd9387f44e --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Cache", + "value": "Cache" + }, + "currentValue": 1, + "limit": 4, + "unit": "Count" + }, + { + "name": { + "localizedValue": "AmlFilesystem", + "value": "AmlFilesystem" + }, + "currentValue": 0, + "limit": 4, + "unit": "Count" + } + ] + } + } + }, + "operationId": "AscUsages_List", + "title": "AscUsages_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json new file mode 100644 index 000000000000..0f8d13844cfa --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json @@ -0,0 +1,326 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cache": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "credentials": { + "password": "", + "username": "consotoAdmin" + }, + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "credentials": { + "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local", + "bindPassword": "" + }, + "extendedGroups": true, + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2047/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + } + }, + "sku": { + "name": "Standard_2G" + }, + "tags": { + "Dept": "Contoso" + } + }, + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "201": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "No", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "No", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "5.3.23", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "5.3.24" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "202": {} + }, + "operationId": "Caches_CreateOrUpdate", + "title": "Caches_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json new file mode 100644 index 000000000000..8c675d1b95ce --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json @@ -0,0 +1,293 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cache": { + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "credentials": { + "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local", + "bindPassword": "" + }, + "extendedGroups": true, + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + } + }, + "sku": { + "name": "Standard_2G" + }, + "tags": { + "Dept": "Contoso" + } + }, + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "201": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "No", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "5.3.23", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "5.3.24" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "202": {} + }, + "operationId": "Caches_CreateOrUpdate", + "title": "Caches_CreateOrUpdate_ldap_only" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json new file mode 100644 index 000000000000..8c39ba2bcb15 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_DebugInfo", + "title": "Caches_DebugInfo" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json new file mode 100644 index 000000000000..55ddf30ba58b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_Delete", + "title": "Caches_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json new file mode 100644 index 000000000000..0c7d7680acf5 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_Flush", + "title": "Caches_Flush" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json new file mode 100644 index 000000000000..c40431672f51 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json @@ -0,0 +1,155 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + } + }, + "operationId": "Caches_Get", + "title": "Caches_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json new file mode 100644 index 000000000000..4032c4d38850 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json @@ -0,0 +1,265 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + } + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + }, + { + "name": "sc2", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc2", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "", + "ldapServer": "", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "AD" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub2", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + ] + } + } + }, + "operationId": "Caches_List", + "title": "Caches_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_ListByResourceGroup.json new file mode 100644 index 000000000000..f9dfa792ba1f --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_ListByResourceGroup.json @@ -0,0 +1,269 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + }, + { + "name": "sc2", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc2", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "", + "ldapServer": "", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "AD" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub2", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "2" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + ] + } + } + }, + "operationId": "Caches_ListByResourceGroup", + "title": "Caches_ListByResourceGroup" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Start.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Start.json new file mode 100644 index 000000000000..07b786ed2da6 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Start.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_Start", + "title": "Caches_Start" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Stop.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Stop.json new file mode 100644 index 000000000000..a4822fcfe300 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Stop.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_Stop", + "title": "Caches_Stop" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update.json new file mode 100644 index 000000000000..f47ad3019e35 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update.json @@ -0,0 +1,265 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cache": { + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "extendedGroups": true, + "usernameSource": "AD" + } + }, + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + }, + { + "name": "restrictive", + "accessRules": [ + { + "access": "rw", + "filter": "10.99.3.145", + "rootSquash": false, + "scope": "host", + "submountAccess": true, + "suid": true + }, + { + "access": "rw", + "filter": "10.99.1.0/24", + "rootSquash": false, + "scope": "network", + "submountAccess": true, + "suid": true + }, + { + "access": "no", + "anonymousGID": "65534", + "anonymousUID": "65534", + "rootSquash": true, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + } + }, + "sku": { + "name": "Standard_2G" + }, + "tags": { + "Dept": "Contoso" + } + }, + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "", + "ldapServer": "", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "AD" + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + }, + { + "name": "restrictive", + "accessRules": [ + { + "access": "rw", + "filter": "10.99.3.145", + "rootSquash": false, + "scope": "host", + "submountAccess": true, + "suid": true + }, + { + "access": "rw", + "filter": "10.99.1.0/24", + "rootSquash": false, + "scope": "network", + "submountAccess": true, + "suid": true + }, + { + "access": "no", + "anonymousGID": "65534", + "anonymousUID": "65534", + "rootSquash": true, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + } + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "Caches_Update", + "title": "Caches_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update_ldap_only.json new file mode 100644 index 000000000000..c97a3831ec17 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update_ldap_only.json @@ -0,0 +1,243 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cache": { + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "credentials": { + "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local", + "bindPassword": "" + }, + "extendedGroups": true, + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "usernameSource": "LDAP" + } + }, + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + }, + { + "name": "restrictive", + "accessRules": [ + { + "access": "rw", + "filter": "10.99.3.145", + "rootSquash": false, + "scope": "host", + "submountAccess": true, + "suid": true + }, + { + "access": "rw", + "filter": "10.99.1.0/24", + "rootSquash": false, + "scope": "network", + "submountAccess": true, + "suid": true + }, + { + "access": "no", + "anonymousGID": "65534", + "anonymousUID": "65534", + "rootSquash": true, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + } + }, + "sku": { + "name": "Standard_2G" + }, + "tags": { + "Dept": "Contoso" + } + }, + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "No", + "usernameSource": "LDAP" + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + }, + { + "name": "restrictive", + "accessRules": [ + { + "access": "rw", + "filter": "10.99.3.145", + "rootSquash": false, + "scope": "host", + "submountAccess": true, + "suid": true + }, + { + "access": "rw", + "filter": "10.99.1.0/24", + "rootSquash": false, + "scope": "network", + "submountAccess": true, + "suid": true + }, + { + "access": "no", + "anonymousGID": "65534", + "anonymousUID": "65534", + "rootSquash": true, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + } + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "Caches_Update", + "title": "Caches_Update_ldap_only" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_UpgradeFirmware.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_UpgradeFirmware.json new file mode 100644 index 000000000000..10cb7036e4b3 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_UpgradeFirmware.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "201": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_UpgradeFirmware", + "title": "Caches_UpgradeFirmware" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Operations_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Operations_List.json new file mode 100644 index 000000000000..448ac76cbcea --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Operations_List.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2026-01-01", + "x-ms-client-request-id": [ + "7e655b68-e491-4cb6-90c3-6a5b10b7bd17" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageCache/caches/write", + "display": { + "operation": "Create or Update Cache", + "provider": "Azure Storage Cache", + "resource": "Caches" + } + }, + { + "name": "Microsoft.StorageCache/caches/delete", + "display": { + "operation": "Delete Cache", + "provider": "Azure Storage Cache", + "resource": "Caches" + } + }, + { + "name": "Microsoft.StorageCache/caches/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Reads Cache Metric Definitions.", + "operation": "Get Cache Metric Definitions", + "provider": "Microsoft Azure HPC Cache", + "resource": "StorageCache Metric Definitions" + }, + "isDataAction": false, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "ClientIOPS", + "aggregationType": "Average", + "displayDescription": "The rate of client file operations processed by the Cache.", + "displayName": "Total Client IOPS", + "metricClass": "Transactions", + "supportedAggregationTypes": [ + "Minimum", + "Maximum", + "Average" + ], + "unit": "Count" + }, + { + "name": "ClientLatency", + "aggregationType": "Average", + "displayDescription": "Average latency of client file operations to the Cache.", + "displayName": "Average Client Latency", + "metricClass": "Latency", + "supportedAggregationTypes": [ + "Minimum", + "Maximum", + "Average" + ], + "unit": "Milliseconds" + } + ] + } + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/PausePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/PausePrimingJob.json new file mode 100644 index 000000000000..9b41b7bf9839 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/PausePrimingJob.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "primingJobId": { + "primingJobId": "00000000000_0000000000" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_PausePrimingJob", + "title": "PausePrimingJob" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/ResumePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/ResumePrimingJob.json new file mode 100644 index 000000000000..b9add0ba8a03 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/ResumePrimingJob.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "primingJobId": { + "primingJobId": "00000000000_0000000000" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_ResumePrimingJob", + "title": "ResumePrimingJob" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Skus_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Skus_List.json new file mode 100644 index 000000000000..6f94271ee79c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Skus_List.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_2G", + "capabilities": [ + { + "name": "throughput GB/s", + "value": "2" + }, + { + "name": "cache sizes(GB)", + "value": "3072,6144,12288" + } + ], + "locationInfo": [ + { + "location": "eastus", + "zones": [] + } + ], + "locations": [ + "eastus" + ], + "resourceType": "caches", + "restrictions": [] + }, + { + "name": "Standard_4G", + "capabilities": [ + { + "name": "throughput GB/s", + "value": "4" + }, + { + "name": "cache sizes(GB)", + "value": "6144,12288,24576" + } + ], + "locationInfo": [ + { + "location": "eastus", + "zones": [] + } + ], + "locations": [ + "eastus" + ], + "resourceType": "caches", + "restrictions": [] + }, + { + "name": "Standard_8G", + "capabilities": [ + { + "name": "throughput GB/s", + "value": "8" + }, + { + "name": "cache sizes(GB)", + "value": "12288,24576,49152" + } + ], + "locationInfo": [ + { + "location": "eastus", + "zones": [] + } + ], + "locations": [ + "eastus" + ], + "resourceType": "caches", + "restrictions": [] + } + ] + } + } + }, + "operationId": "Skus_List", + "title": "Skus_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/SpaceAllocation_Post.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/SpaceAllocation_Post.json new file mode 100644 index 000000000000..13585e2bf6b5 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/SpaceAllocation_Post.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "Caches_SpaceAllocation", + "title": "SpaceAllocation_Post" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StartPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StartPrimingJob.json new file mode 100644 index 000000000000..9fdb66d150dd --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StartPrimingJob.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "primingjob": { + "primingJobName": "contosoJob", + "primingManifestUrl": "https://contosostorage.blob.core.windows.net/contosoblob/00000000_00000000000000000000000000000000.00000000000.FFFFFFFF.00000000?sp=r&st=2021-08-11T19:33:35Z&se=2021-08-12T03:33:35Z&spr=https&sv=2020-08-04&sr=b&sig=" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "Caches_StartPrimingJob", + "title": "StartPrimingJob" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StopPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StopPrimingJob.json new file mode 100644 index 000000000000..13c4a78b38e3 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StopPrimingJob.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "primingJobId": { + "primingJobId": "00000000000_0000000000" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_StopPrimingJob", + "title": "StopPrimingJob" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate.json new file mode 100644 index 000000000000..0a942133b778 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "storagetarget": { + "properties": { + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "rootSquash", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "targetType": "nfs3" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "rootSquash", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "rootSquash", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "202": {} + }, + "operationId": "StorageTargets_CreateOrUpdate", + "title": "StorageTargets_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json new file mode 100644 index 000000000000..51d526a69431 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "storagetarget": { + "properties": { + "blobNfs": { + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs", + "usageModel": "READ_WRITE", + "verificationTimer": 28800, + "writeBackTimer": 3600 + }, + "junctions": [ + { + "namespacePath": "/blobnfs" + } + ], + "targetType": "blobNfs" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "blobNfs": { + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs", + "usageModel": "READ_WRITE", + "verificationTimer": 28800, + "writeBackTimer": 3600 + }, + "junctions": [ + { + "namespacePath": "/blobnfs" + } + ], + "state": "Ready", + "targetType": "blobNfs" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "blobNfs": { + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs", + "usageModel": "READ_WRITE", + "verificationTimer": 28800, + "writeBackTimer": 3600 + }, + "junctions": [ + { + "namespacePath": "/blobnfs" + } + ], + "state": "Ready", + "targetType": "blobNfs" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "202": {} + }, + "operationId": "StorageTargets_CreateOrUpdate", + "title": "StorageTargets_CreateOrUpdate_BlobNfs" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json new file mode 100644 index 000000000000..e2fc8bca517b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "storagetarget": { + "properties": { + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "targetType": "nfs3" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "202": {} + }, + "operationId": "StorageTargets_CreateOrUpdate", + "title": "StorageTargets_CreateOrUpdate_NoJunctions" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Delete.json new file mode 100644 index 000000000000..6e6e6d0447e4 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTargets_Delete", + "title": "StorageTargets_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_DnsRefresh.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_DnsRefresh.json new file mode 100644 index 000000000000..a38368a9ea5c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_DnsRefresh.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "StorageTargets_DnsRefresh", + "title": "Caches_DnsRefresh" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Flush.json new file mode 100644 index 000000000000..3b9f0f6547f3 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Flush.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTarget_Flush", + "title": "StorageTargets_Flush" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Get.json new file mode 100644 index 000000000000..74e756389c65 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Get.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "allocationPercentage": 25, + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_HEAVY_FREQ" + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "StorageTargets_Get", + "title": "StorageTargets_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Invalidate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Invalidate.json new file mode 100644 index 000000000000..59292d6f4fab --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Invalidate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTarget_Invalidate", + "title": "StorageTargets_Invalidate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_ListByCache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_ListByCache.json new file mode 100644 index 000000000000..ffe630a08636 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_ListByCache.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "allocationPercentage": 25, + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY" + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + }, + { + "name": "st2", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st2", + "properties": { + "allocationPercentage": 50, + "clfs": { + "target": "https://contoso123.blob.core.windows.net/contoso123" + }, + "junctions": [ + { + "namespacePath": "/some/arbitrary/place/on/cache", + "nfsAccessPolicy": "default", + "targetPath": "/" + } + ], + "state": "Ready", + "targetType": "clfs" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + }, + { + "name": "st3", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st3", + "properties": { + "allocationPercentage": 25, + "junctions": [ + { + "namespacePath": "/some/crazier/place/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "", + "targetPath": "/" + } + ], + "state": "Ready", + "targetType": "unknown", + "unknown": { + "attributes": { + "foo": "bar", + "foo2": "test" + } + } + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "StorageTargets_ListByCache", + "title": "StorageTargets_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_RestoreDefaults.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_RestoreDefaults.json new file mode 100644 index 000000000000..e8239ed6348c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_RestoreDefaults.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "StorageTargets_RestoreDefaults", + "title": "StorageTargets_RestoreDefaults" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Resume.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Resume.json new file mode 100644 index 000000000000..32fc75053531 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Resume.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTarget_Resume", + "title": "StorageTargets_Resume" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Suspend.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Suspend.json new file mode 100644 index 000000000000..03ce747c575b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Suspend.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTarget_Suspend", + "title": "StorageTargets_Suspend" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/UsageModels_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/UsageModels_List.json new file mode 100644 index 000000000000..9164c07e70a6 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/UsageModels_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "display": { + "description": "Read only, with a default verification timer of 30 seconds. Verification timer has a minimum value of 1 and maximum value of 31536000. Write-back timer must have value of 0 or be null." + }, + "modelName": "READ_ONLY", + "targetType": "nfs3" + }, + { + "display": { + "description": "Read-write, with a default verification timer of 8 hours and default write-back timer of 1 hour. Verification timer and write-back timer have a minimum value of 1 and maximum value of 31536000." + }, + "modelName": "READ_WRITE", + "targetType": "nfs3" + } + ] + } + } + }, + "operationId": "UsageModels_List", + "title": "UsageModels_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Archive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Archive.json new file mode 100644 index 000000000000..281d6441fd58 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Archive.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "amlFilesystemName": "sc", + "api-version": "2026-01-01", + "archiveInfo": { + "filesystemPath": "/" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "amlFilesystems_Archive", + "title": "amlFilesystems_Archive" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CancelArchive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CancelArchive.json new file mode 100644 index 000000000000..a71be23c12bc --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CancelArchive.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "amlFilesystemName": "sc", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "amlFilesystems_CancelArchive", + "title": "amlFilesystems_cancelArchive" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CreateOrUpdate.json new file mode 100644 index 000000000000..6d854c21e53d --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CreateOrUpdate.json @@ -0,0 +1,209 @@ +{ + "parameters": { + "amlFilesystem": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "hsm": { + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99 + }, + "storageCapacityTiB": 16 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + }, + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "amlFilesystems_CreateOrUpdate", + "title": "amlFilesystems_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Delete.json new file mode 100644 index 000000000000..2b50f6e5386b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "amlFilesystems_Delete", + "title": "amlFilesystems_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Get.json new file mode 100644 index 000000000000..a1c3a0d323ed --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Get.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000001", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "amlFilesystems_Get", + "title": "amlFilesystems_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_List.json new file mode 100644 index 000000000000..289d87096f4d --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_List.json @@ -0,0 +1,178 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000001", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub1", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + }, + { + "name": "fs2", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs2", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000002", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub2", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "amlFilesystems_List", + "title": "amlFilesystems_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_ListByResourceGroup.json new file mode 100644 index 000000000000..f9191630f6f6 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_ListByResourceGroup.json @@ -0,0 +1,179 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000001", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub1", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + }, + { + "name": "fs2", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs2", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000002", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub2", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "amlFilesystems_ListByResourceGroup", + "title": "amlFilesystems_ListByResourceGroup" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Update.json new file mode 100644 index 000000000000..94f38d6cb23c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Update.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "amlFilesystem": { + "properties": { + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99 + } + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "amlFilesystems_Update", + "title": "amlFilesystems_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_CreateOrUpdate.json new file mode 100644 index 000000000000..e3c80e2a513b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_CreateOrUpdate.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoExportJob": { + "location": "eastus", + "properties": { + "autoExportPrefixes": [ + "/" + ] + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "autoExportJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "201": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "autoExportJobs_CreateOrUpdate", + "title": "autoExportJobs_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Delete.json new file mode 100644 index 000000000000..62726731646b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoExportJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "autoExportJobs_Delete", + "title": "autoExportJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Get.json new file mode 100644 index 000000000000..1f5f8cddc311 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoExportJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + } + } + } + }, + "operationId": "autoExportJobs_Get", + "title": "autoExportJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..8bec42f9e38e --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_ListByAmlFilesystem.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + } + }, + { + "name": "job2", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job2", + "location": "eastus", + "properties": { + "adminStatus": "Disable", + "autoExportPrefixes": [ + "/dir1" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastCompletionTimeUTC": "2024-04-21T20:25:43.511Z", + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "Disabled", + "statusMessage": "Auto Export job is disabled", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + } + } + ] + } + } + }, + "operationId": "autoExportJobs_ListByAmlFilesystem", + "title": "autoExportJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Update.json new file mode 100644 index 000000000000..0b003735eaba --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Update.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoExportJob": { + "tags": { + "Dept": "ContosoAds" + } + }, + "autoExportJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "autoExportJobs_Update", + "title": "autoExportJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_CreateOrUpdate.json new file mode 100644 index 000000000000..c9cc6a36f802 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_CreateOrUpdate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoImportJob": { + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0 + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "autoImportJobName": "autojob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 120, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 4000, + "rateOfBlobWalk": 10000, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "201": { + "body": { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 120, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 4000, + "rateOfBlobWalk": 10000, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "autoImportJobs_CreateOrUpdate", + "title": "autoImportJobs_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Delete.json new file mode 100644 index 000000000000..73b947c484fe --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoImportJobName": "autojob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "autoImportJobs_Delete", + "title": "autoImportJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Get.json new file mode 100644 index 000000000000..2e95285adb4b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Get.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoImportJobName": "autojob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 120, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 4000, + "rateOfBlobWalk": 10000, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "autoImportJobs_Get", + "title": "autoImportJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..a655d9fc398e --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_ListByAmlFilesystem.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs?$skipToken=autojob2&api-version=2026-01-01", + "value": [ + { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 120, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 4000, + "rateOfBlobWalk": 10000, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + }, + { + "name": "autojob2", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob2", + "location": "eastus", + "properties": { + "adminStatus": "Disable", + "autoImportPrefixes": [ + "/finance" + ], + "conflictResolutionMode": "Fail", + "enableDeletions": true, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 15, + "importedDirectories": 80, + "importedFiles": 300, + "importedSymlinks": 20, + "lastChangeFeedEventConsumedTime": "2024-03-19T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-19T18:25:43.511Z", + "preexistingDirectories": 800, + "preexistingFiles": 8000, + "preexistingSymlinks": 150, + "rateOfBlobImport": 0, + "totalBlobsImported": 9350, + "totalConflicts": 0, + "totalErrors": 2 + }, + "importedDirectories": 800, + "importedFiles": 7000, + "importedSymlinks": 500, + "lastCompletionTimeUTC": "2024-03-21T18:25:43.511Z", + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 70000, + "preexistingFiles": 700000, + "preexistingSymlinks": 8000, + "rateOfBlobImport": 0, + "rateOfBlobWalk": 0, + "scanEndTime": "2024-03-19T18:25:43.511Z", + "scanStartTime": "2024-03-19T17:25:43.511Z", + "state": "Disabled", + "statusMessage": "Disabled", + "totalBlobsImported": 750000, + "totalBlobsWalked": 800000, + "totalConflicts": 3, + "totalErrors": 8 + } + }, + "tags": { + "Dept": "ContosoFinance" + } + } + ] + } + } + }, + "operationId": "autoImportJobs_ListByAmlFilesystem", + "title": "autoImportJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Update.json new file mode 100644 index 000000000000..92f8c63293c7 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Update.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoImportJob": { + "properties": { + "adminStatus": "Disable" + } + }, + "autoImportJobName": "autojob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Disable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 0, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastCompletionTimeUTC": "2024-03-21T18:25:43.511Z", + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 0, + "rateOfBlobWalk": 0, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "Disabling", + "statusMessage": "Auto import job is being disabled.", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + } + } + }, + "operationId": "autoImportJobs_Update", + "title": "autoImportJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/checkAmlFSSubnets.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/checkAmlFSSubnets.json new file mode 100644 index 000000000000..b3a9e46ce587 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/checkAmlFSSubnets.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "amlFilesystemSubnetInfo": { + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "sku": { + "name": "AMLFS-Durable-Premium-125" + }, + "storageCapacityTiB": 16 + }, + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "400": { + "body": { + "filesystemSubnet": { + "message": "A subnet with a minimum size of /24 is required.", + "status": "Invalid" + } + } + } + }, + "operationId": "checkAmlFSSubnets", + "title": "checkAmlFSSubnets" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_CreateOrUpdate.json new file mode 100644 index 000000000000..981220ba0569 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_CreateOrUpdate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "expansionJob": { + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16 + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "expansionJobName": "expansionjob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Succeeded", + "status": { + "percentComplete": 85, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "statusMessage": "Expansion is in progress" + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "201": { + "body": { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Creating", + "status": { + "percentComplete": 0, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "statusMessage": "Expansion job is starting" + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "expansionJobs_CreateOrUpdate", + "title": "expansionJobs_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Delete.json new file mode 100644 index 000000000000..541a223f3fa6 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "expansionJobName": "expansionjob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/expansionJobs/expansionjob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "expansionJobs_Delete", + "title": "expansionJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json new file mode 100644 index 000000000000..0ca2152edcfd --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "expansionJobName": "expansionjob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Succeeded", + "status": { + "completionTimeUTC": "2024-03-21T19:15:43.511Z", + "percentComplete": 100, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "Completed", + "statusMessage": "Expansion completed successfully" + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "expansionJobs_Get", + "title": "expansionJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..733cda60812c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_ListByAmlFilesystem.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs?api-version=2026-01-01&$skiptoken=abc123", + "value": [ + { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Succeeded", + "status": { + "completionTimeUTC": "2024-03-21T19:15:43.511Z", + "percentComplete": 100, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "Completed", + "statusMessage": "Expansion completed successfully" + } + }, + "tags": { + "Dept": "ContosoAds" + } + }, + { + "name": "expansionjob2", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob2", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 32, + "provisioningState": "Succeeded", + "status": { + "percentComplete": 45, + "startTimeUTC": "2024-03-22T10:30:15.120Z", + "state": "InProgress", + "statusMessage": "Expansion is in progress" + } + }, + "tags": { + "Dept": "ContosoFinance" + } + }, + { + "name": "expansionjob3", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob3", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 24, + "provisioningState": "Failed", + "status": { + "completionTimeUTC": "2024-03-21T08:50:22.334Z", + "percentComplete": 0, + "startTimeUTC": "2024-03-21T08:45:22.334Z", + "state": "Failed", + "statusCode": "InsufficientCapacity", + "statusMessage": "Insufficient capacity available in the region for the requested expansion" + } + }, + "tags": { + "Dept": "ContosoHR" + } + } + ] + } + } + }, + "operationId": "expansionJobs_ListByAmlFilesystem", + "title": "expansionJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Update.json new file mode 100644 index 000000000000..5f2f999b6cb9 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Update.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "expansionJob": { + "tags": { + "Dept": "ContosoFinance" + } + }, + "expansionJobName": "expansionjob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Succeeded", + "status": { + "completionTimeUTC": "2024-03-21T19:15:43.511Z", + "percentComplete": 100, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "Completed", + "statusMessage": "Expansion completed successfully" + } + }, + "tags": { + "Dept": "ContosoFinance" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "expansionJobs_Update", + "title": "expansionJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/getRequiredAmlFSSubnetsSize.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/getRequiredAmlFSSubnetsSize.json new file mode 100644 index 000000000000..efe24f3e3148 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/getRequiredAmlFSSubnetsSize.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "amlFilesystemSubnetInfo": { + "sku": { + "name": "AMLFS-Durable-Premium-125" + }, + "storageCapacityTiB": 16 + }, + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "filesystemSubnetSize": 24 + } + } + }, + "operationId": "getRequiredAmlFSSubnetsSize", + "title": "getRequiredAmlFilesystemSubnetsSize" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJob_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJob_Update.json new file mode 100644 index 000000000000..064af9d540dc --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJob_Update.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "importJob": { + "tags": { + "Dept": "ContosoAds" + } + }, + "importJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "importJobs_Update", + "title": "importJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_CreateOrUpdate.json new file mode 100644 index 000000000000..86459dd09321 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_CreateOrUpdate.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "importJob": { + "location": "eastus", + "properties": { + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0 + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "importJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "201": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "importJobs_CreateOrUpdate", + "title": "importJobs_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Delete.json new file mode 100644 index 000000000000..60825e6f9baf --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "importJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "importJobs_Delete", + "title": "importJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Get.json new file mode 100644 index 000000000000..f92fef1c47dd --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Get.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "importJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + } + } + } + }, + "operationId": "importJobs_Get", + "title": "importJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..12ba87bd8506 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_ListByAmlFilesystem.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + } + }, + { + "name": "job2", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job2", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "Skip", + "importPrefixes": [ + "/dir1" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + } + } + ] + } + } + }, + "operationId": "importJobs_ListByAmlFilesystem", + "title": "importJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/main.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/main.tsp index a47d2018d2f4..e5e6d5383a4f 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/main.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/main.tsp @@ -46,6 +46,11 @@ enum Versions { * The 2026-01-01 API version. */ v2026_01_01: "2026-01-01", + + /** + * The 2026-08-01 API version. + */ + v2026_08_01: "2026-08-01", } interface Operations diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscOperations_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscOperations_Get.json new file mode 100644 index 000000000000..07db25ad1ac0 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscOperations_Get.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "testoperationid", + "api-version": "2026-01-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testoperationid", + "endTime": "2023-01-01T16:13:13.933Z", + "id": "/subscriptions/id/locations/westus/ascOperations/testoperationid", + "startTime": "2023-01-01T13:13:13.933Z", + "status": "Succeeded" + } + } + }, + "operationId": "AscOperations_Get", + "title": "AscOperations_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscResourceUsages_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscResourceUsages_Get.json new file mode 100644 index 000000000000..befd9387f44e --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscResourceUsages_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Cache", + "value": "Cache" + }, + "currentValue": 1, + "limit": 4, + "unit": "Count" + }, + { + "name": { + "localizedValue": "AmlFilesystem", + "value": "AmlFilesystem" + }, + "currentValue": 0, + "limit": 4, + "unit": "Count" + } + ] + } + } + }, + "operationId": "AscUsages_List", + "title": "AscUsages_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate.json new file mode 100644 index 000000000000..0f8d13844cfa --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate.json @@ -0,0 +1,326 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cache": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "credentials": { + "password": "", + "username": "consotoAdmin" + }, + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "credentials": { + "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local", + "bindPassword": "" + }, + "extendedGroups": true, + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2047/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + } + }, + "sku": { + "name": "Standard_2G" + }, + "tags": { + "Dept": "Contoso" + } + }, + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "201": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "No", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "No", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "5.3.23", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "5.3.24" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "202": {} + }, + "operationId": "Caches_CreateOrUpdate", + "title": "Caches_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate_ldap_only.json new file mode 100644 index 000000000000..8c675d1b95ce --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate_ldap_only.json @@ -0,0 +1,293 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cache": { + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "credentials": { + "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local", + "bindPassword": "" + }, + "extendedGroups": true, + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + } + }, + "sku": { + "name": "Standard_2G" + }, + "tags": { + "Dept": "Contoso" + } + }, + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "201": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "No", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "5.3.23", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "5.3.24" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "202": {} + }, + "operationId": "Caches_CreateOrUpdate", + "title": "Caches_CreateOrUpdate_ldap_only" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_DebugInfo.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_DebugInfo.json new file mode 100644 index 000000000000..8c39ba2bcb15 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_DebugInfo.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_DebugInfo", + "title": "Caches_DebugInfo" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Delete.json new file mode 100644 index 000000000000..55ddf30ba58b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_Delete", + "title": "Caches_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Flush.json new file mode 100644 index 000000000000..0c7d7680acf5 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Flush.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_Flush", + "title": "Caches_Flush" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Get.json new file mode 100644 index 000000000000..c40431672f51 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Get.json @@ -0,0 +1,155 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + } + }, + "operationId": "Caches_Get", + "title": "Caches_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_List.json new file mode 100644 index 000000000000..4032c4d38850 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_List.json @@ -0,0 +1,265 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + } + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + }, + { + "name": "sc2", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc2", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "", + "ldapServer": "", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "AD" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub2", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + ] + } + } + }, + "operationId": "Caches_List", + "title": "Caches_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_ListByResourceGroup.json new file mode 100644 index 000000000000..f9dfa792ba1f --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_ListByResourceGroup.json @@ -0,0 +1,269 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "LDAP" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [], + "provisioningState": "Succeeded", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "1" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + }, + { + "name": "sc2", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc2", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "", + "ldapServer": "", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "AD" + } + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub2", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + }, + "zones": [ + "2" + ] + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + ] + } + } + }, + "operationId": "Caches_ListByResourceGroup", + "title": "Caches_ListByResourceGroup" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Start.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Start.json new file mode 100644 index 000000000000..07b786ed2da6 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Start.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_Start", + "title": "Caches_Start" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Stop.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Stop.json new file mode 100644 index 000000000000..a4822fcfe300 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Stop.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_Stop", + "title": "Caches_Stop" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update.json new file mode 100644 index 000000000000..f47ad3019e35 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update.json @@ -0,0 +1,265 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cache": { + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "extendedGroups": true, + "usernameSource": "AD" + } + }, + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + }, + { + "name": "restrictive", + "accessRules": [ + { + "access": "rw", + "filter": "10.99.3.145", + "rootSquash": false, + "scope": "host", + "submountAccess": true, + "suid": true + }, + { + "access": "rw", + "filter": "10.99.1.0/24", + "rootSquash": false, + "scope": "network", + "submountAccess": true, + "suid": true + }, + { + "access": "no", + "anonymousGID": "65534", + "anonymousUID": "65534", + "rootSquash": true, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + } + }, + "sku": { + "name": "Standard_2G" + }, + "tags": { + "Dept": "Contoso" + } + }, + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "activeDirectory": { + "cacheNetBiosName": "contosoSmb", + "domainJoined": "Yes", + "domainName": "contosoAd.contoso.local", + "domainNetBiosName": "contosoAd", + "primaryDnsIpAddress": "192.0.2.10", + "secondaryDnsIpAddress": "192.0.2.11" + }, + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "", + "ldapServer": "", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "Yes", + "usernameSource": "AD" + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + }, + { + "name": "restrictive", + "accessRules": [ + { + "access": "rw", + "filter": "10.99.3.145", + "rootSquash": false, + "scope": "host", + "submountAccess": true, + "suid": true + }, + { + "access": "rw", + "filter": "10.99.1.0/24", + "rootSquash": false, + "scope": "network", + "submountAccess": true, + "suid": true + }, + { + "access": "no", + "anonymousGID": "65534", + "anonymousUID": "65534", + "rootSquash": true, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + } + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "Caches_Update", + "title": "Caches_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update_ldap_only.json new file mode 100644 index 000000000000..c97a3831ec17 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update_ldap_only.json @@ -0,0 +1,243 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cache": { + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "credentials": { + "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local", + "bindPassword": "" + }, + "extendedGroups": true, + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "usernameSource": "LDAP" + } + }, + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + }, + { + "name": "restrictive", + "accessRules": [ + { + "access": "rw", + "filter": "10.99.3.145", + "rootSquash": false, + "scope": "host", + "submountAccess": true, + "suid": true + }, + { + "access": "rw", + "filter": "10.99.1.0/24", + "rootSquash": false, + "scope": "network", + "submountAccess": true, + "suid": true + }, + { + "access": "no", + "anonymousGID": "65534", + "anonymousUID": "65534", + "rootSquash": true, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + } + }, + "sku": { + "name": "Standard_2G" + }, + "tags": { + "Dept": "Contoso" + } + }, + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sc1", + "type": "Microsoft.StorageCache/Cache", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", + "location": "westus", + "properties": { + "cacheSizeGB": 3072, + "directoryServicesSettings": { + "usernameDownload": { + "autoDownloadCertificate": false, + "caCertificateURI": "http://contoso.net/cacert.pem", + "encryptLdapConnection": false, + "extendedGroups": true, + "groupFileURI": "http://contoso.net/group.file", + "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", + "ldapServer": "192.0.2.12", + "requireValidCertificate": false, + "userFileURI": "http://contoso.net/passwd.file", + "usernameDownloaded": "No", + "usernameSource": "LDAP" + } + }, + "health": { + "conditions": [ + { + "message": "Cannot contact DNS server", + "timestamp": "2021-04-21T18:25:43.511Z" + } + ], + "state": "Transitioning", + "statusDescription": "Cache is being created." + }, + "mountAddresses": [ + "192.168.1.1", + "192.168.1.2" + ], + "networkSettings": { + "dnsSearchDomain": "contoso.com", + "dnsServers": [ + "10.1.22.33", + "10.1.12.33" + ], + "mtu": 1500, + "ntpServer": "time.contoso.com" + }, + "primingJobs": [ + { + "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", + "primingJobId": "00000000000_0000000000", + "primingJobName": "contosoJob1", + "primingJobPercentComplete": 100, + "primingJobState": "Complete", + "primingJobStatus": "success" + }, + { + "primingJobDetails": "", + "primingJobId": "11111111111_1111111111", + "primingJobName": "contosoJob2", + "primingJobPercentComplete": 0, + "primingJobState": "Queued", + "primingJobStatus": "" + } + ], + "provisioningState": "Updating", + "securitySettings": { + "accessPolicies": [ + { + "name": "default", + "accessRules": [ + { + "access": "rw", + "rootSquash": false, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + }, + { + "name": "restrictive", + "accessRules": [ + { + "access": "rw", + "filter": "10.99.3.145", + "rootSquash": false, + "scope": "host", + "submountAccess": true, + "suid": true + }, + { + "access": "rw", + "filter": "10.99.1.0/24", + "rootSquash": false, + "scope": "network", + "submountAccess": true, + "suid": true + }, + { + "access": "no", + "anonymousGID": "65534", + "anonymousUID": "65534", + "rootSquash": true, + "scope": "default", + "submountAccess": true, + "suid": false + } + ] + } + ] + }, + "spaceAllocation": [], + "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", + "upgradeSettings": { + "scheduledTime": "2022-04-26T18:25:43.511Z", + "upgradeScheduleEnabled": true + }, + "upgradeStatus": { + "currentFirmwareVersion": "2022.08.1", + "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", + "firmwareUpdateStatus": "available", + "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", + "pendingFirmwareVersion": "2022.08.1" + } + }, + "sku": { + "name": "Standard_2G" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + }, + "tags": { + "Dept": "Contoso" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "Caches_Update", + "title": "Caches_Update_ldap_only" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_UpgradeFirmware.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_UpgradeFirmware.json new file mode 100644 index 000000000000..10cb7036e4b3 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_UpgradeFirmware.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "201": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_UpgradeFirmware", + "title": "Caches_UpgradeFirmware" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Operations_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Operations_List.json new file mode 100644 index 000000000000..448ac76cbcea --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Operations_List.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2026-01-01", + "x-ms-client-request-id": [ + "7e655b68-e491-4cb6-90c3-6a5b10b7bd17" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageCache/caches/write", + "display": { + "operation": "Create or Update Cache", + "provider": "Azure Storage Cache", + "resource": "Caches" + } + }, + { + "name": "Microsoft.StorageCache/caches/delete", + "display": { + "operation": "Delete Cache", + "provider": "Azure Storage Cache", + "resource": "Caches" + } + }, + { + "name": "Microsoft.StorageCache/caches/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Reads Cache Metric Definitions.", + "operation": "Get Cache Metric Definitions", + "provider": "Microsoft Azure HPC Cache", + "resource": "StorageCache Metric Definitions" + }, + "isDataAction": false, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "ClientIOPS", + "aggregationType": "Average", + "displayDescription": "The rate of client file operations processed by the Cache.", + "displayName": "Total Client IOPS", + "metricClass": "Transactions", + "supportedAggregationTypes": [ + "Minimum", + "Maximum", + "Average" + ], + "unit": "Count" + }, + { + "name": "ClientLatency", + "aggregationType": "Average", + "displayDescription": "Average latency of client file operations to the Cache.", + "displayName": "Average Client Latency", + "metricClass": "Latency", + "supportedAggregationTypes": [ + "Minimum", + "Maximum", + "Average" + ], + "unit": "Milliseconds" + } + ] + } + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/PausePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/PausePrimingJob.json new file mode 100644 index 000000000000..9b41b7bf9839 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/PausePrimingJob.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "primingJobId": { + "primingJobId": "00000000000_0000000000" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_PausePrimingJob", + "title": "PausePrimingJob" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/ResumePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/ResumePrimingJob.json new file mode 100644 index 000000000000..b9add0ba8a03 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/ResumePrimingJob.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "primingJobId": { + "primingJobId": "00000000000_0000000000" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_ResumePrimingJob", + "title": "ResumePrimingJob" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Skus_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Skus_List.json new file mode 100644 index 000000000000..6f94271ee79c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Skus_List.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_2G", + "capabilities": [ + { + "name": "throughput GB/s", + "value": "2" + }, + { + "name": "cache sizes(GB)", + "value": "3072,6144,12288" + } + ], + "locationInfo": [ + { + "location": "eastus", + "zones": [] + } + ], + "locations": [ + "eastus" + ], + "resourceType": "caches", + "restrictions": [] + }, + { + "name": "Standard_4G", + "capabilities": [ + { + "name": "throughput GB/s", + "value": "4" + }, + { + "name": "cache sizes(GB)", + "value": "6144,12288,24576" + } + ], + "locationInfo": [ + { + "location": "eastus", + "zones": [] + } + ], + "locations": [ + "eastus" + ], + "resourceType": "caches", + "restrictions": [] + }, + { + "name": "Standard_8G", + "capabilities": [ + { + "name": "throughput GB/s", + "value": "8" + }, + { + "name": "cache sizes(GB)", + "value": "12288,24576,49152" + } + ], + "locationInfo": [ + { + "location": "eastus", + "zones": [] + } + ], + "locations": [ + "eastus" + ], + "resourceType": "caches", + "restrictions": [] + } + ] + } + } + }, + "operationId": "Skus_List", + "title": "Skus_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/SpaceAllocation_Post.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/SpaceAllocation_Post.json new file mode 100644 index 000000000000..13585e2bf6b5 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/SpaceAllocation_Post.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "spaceAllocation": [ + { + "name": "st1", + "allocationPercentage": 25 + }, + { + "name": "st2", + "allocationPercentage": 50 + }, + { + "name": "st3", + "allocationPercentage": 25 + } + ], + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "Caches_SpaceAllocation", + "title": "SpaceAllocation_Post" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StartPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StartPrimingJob.json new file mode 100644 index 000000000000..9fdb66d150dd --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StartPrimingJob.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "primingjob": { + "primingJobName": "contosoJob", + "primingManifestUrl": "https://contosostorage.blob.core.windows.net/contosoblob/00000000_00000000000000000000000000000000.00000000000.FFFFFFFF.00000000?sp=r&st=2021-08-11T19:33:35Z&se=2021-08-12T03:33:35Z&spr=https&sv=2020-08-04&sr=b&sig=" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "Caches_StartPrimingJob", + "title": "StartPrimingJob" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StopPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StopPrimingJob.json new file mode 100644 index 000000000000..13c4a78b38e3 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StopPrimingJob.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "primingJobId": { + "primingJobId": "00000000000_0000000000" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "Caches_StopPrimingJob", + "title": "StopPrimingJob" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate.json new file mode 100644 index 000000000000..0a942133b778 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "storagetarget": { + "properties": { + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "rootSquash", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "targetType": "nfs3" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "rootSquash", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "rootSquash", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "202": {} + }, + "operationId": "StorageTargets_CreateOrUpdate", + "title": "StorageTargets_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json new file mode 100644 index 000000000000..51d526a69431 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "storagetarget": { + "properties": { + "blobNfs": { + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs", + "usageModel": "READ_WRITE", + "verificationTimer": 28800, + "writeBackTimer": 3600 + }, + "junctions": [ + { + "namespacePath": "/blobnfs" + } + ], + "targetType": "blobNfs" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "blobNfs": { + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs", + "usageModel": "READ_WRITE", + "verificationTimer": 28800, + "writeBackTimer": 3600 + }, + "junctions": [ + { + "namespacePath": "/blobnfs" + } + ], + "state": "Ready", + "targetType": "blobNfs" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "blobNfs": { + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs", + "usageModel": "READ_WRITE", + "verificationTimer": 28800, + "writeBackTimer": 3600 + }, + "junctions": [ + { + "namespacePath": "/blobnfs" + } + ], + "state": "Ready", + "targetType": "blobNfs" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "202": {} + }, + "operationId": "StorageTargets_CreateOrUpdate", + "title": "StorageTargets_CreateOrUpdate_BlobNfs" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json new file mode 100644 index 000000000000..e2fc8bca517b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "storagetarget": { + "properties": { + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "targetType": "nfs3" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY", + "verificationTimer": 30 + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + }, + "202": {} + }, + "operationId": "StorageTargets_CreateOrUpdate", + "title": "StorageTargets_CreateOrUpdate_NoJunctions" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Delete.json new file mode 100644 index 000000000000..6e6e6d0447e4 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTargets_Delete", + "title": "StorageTargets_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_DnsRefresh.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_DnsRefresh.json new file mode 100644 index 000000000000..a38368a9ea5c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_DnsRefresh.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "StorageTargets_DnsRefresh", + "title": "Caches_DnsRefresh" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Flush.json new file mode 100644 index 000000000000..3b9f0f6547f3 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Flush.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTarget_Flush", + "title": "StorageTargets_Flush" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Get.json new file mode 100644 index 000000000000..74e756389c65 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Get.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "allocationPercentage": 25, + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_HEAVY_FREQ" + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "StorageTargets_Get", + "title": "StorageTargets_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Invalidate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Invalidate.json new file mode 100644 index 000000000000..59292d6f4fab --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Invalidate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTarget_Invalidate", + "title": "StorageTargets_Invalidate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_ListByCache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_ListByCache.json new file mode 100644 index 000000000000..ffe630a08636 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_ListByCache.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "st1", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1", + "properties": { + "allocationPercentage": 25, + "junctions": [ + { + "namespacePath": "/path/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp1", + "targetPath": "/path/on/exp1" + }, + { + "namespacePath": "/path2/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "exp2", + "targetPath": "/path2/on/exp2" + } + ], + "nfs3": { + "target": "10.0.44.44", + "usageModel": "READ_ONLY" + }, + "state": "Ready", + "targetType": "nfs3" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + }, + { + "name": "st2", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st2", + "properties": { + "allocationPercentage": 50, + "clfs": { + "target": "https://contoso123.blob.core.windows.net/contoso123" + }, + "junctions": [ + { + "namespacePath": "/some/arbitrary/place/on/cache", + "nfsAccessPolicy": "default", + "targetPath": "/" + } + ], + "state": "Ready", + "targetType": "clfs" + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + }, + { + "name": "st3", + "type": "Microsoft.StorageCache/Cache/StorageTarget", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st3", + "properties": { + "allocationPercentage": 25, + "junctions": [ + { + "namespacePath": "/some/crazier/place/on/cache", + "nfsAccessPolicy": "default", + "nfsExport": "", + "targetPath": "/" + } + ], + "state": "Ready", + "targetType": "unknown", + "unknown": { + "attributes": { + "foo": "bar", + "foo2": "test" + } + } + }, + "systemData": { + "createdAt": "2020-01-01T17:18:19.1234567Z", + "createdBy": "user1", + "createdByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "StorageTargets_ListByCache", + "title": "StorageTargets_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_RestoreDefaults.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_RestoreDefaults.json new file mode 100644 index 000000000000..e8239ed6348c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_RestoreDefaults.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "StorageTargets_RestoreDefaults", + "title": "StorageTargets_RestoreDefaults" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Resume.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Resume.json new file mode 100644 index 000000000000..32fc75053531 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Resume.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTarget_Resume", + "title": "StorageTargets_Resume" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Suspend.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Suspend.json new file mode 100644 index 000000000000..03ce747c575b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Suspend.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "cacheName": "sc", + "resourceGroupName": "scgroup", + "storageTargetName": "st1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "StorageTarget_Suspend", + "title": "StorageTargets_Suspend" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/UsageModels_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/UsageModels_List.json new file mode 100644 index 000000000000..9164c07e70a6 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/UsageModels_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "display": { + "description": "Read only, with a default verification timer of 30 seconds. Verification timer has a minimum value of 1 and maximum value of 31536000. Write-back timer must have value of 0 or be null." + }, + "modelName": "READ_ONLY", + "targetType": "nfs3" + }, + { + "display": { + "description": "Read-write, with a default verification timer of 8 hours and default write-back timer of 1 hour. Verification timer and write-back timer have a minimum value of 1 and maximum value of 31536000." + }, + "modelName": "READ_WRITE", + "targetType": "nfs3" + } + ] + } + } + }, + "operationId": "UsageModels_List", + "title": "UsageModels_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Archive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Archive.json new file mode 100644 index 000000000000..281d6441fd58 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Archive.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "amlFilesystemName": "sc", + "api-version": "2026-01-01", + "archiveInfo": { + "filesystemPath": "/" + }, + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "amlFilesystems_Archive", + "title": "amlFilesystems_Archive" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CancelArchive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CancelArchive.json new file mode 100644 index 000000000000..a71be23c12bc --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CancelArchive.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "amlFilesystemName": "sc", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "amlFilesystems_CancelArchive", + "title": "amlFilesystems_cancelArchive" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CreateOrUpdate.json new file mode 100644 index 000000000000..6d854c21e53d --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CreateOrUpdate.json @@ -0,0 +1,209 @@ +{ + "parameters": { + "amlFilesystem": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "hsm": { + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99 + }, + "storageCapacityTiB": 16 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + }, + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "amlFilesystems_CreateOrUpdate", + "title": "amlFilesystems_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Delete.json new file mode 100644 index 000000000000..2b50f6e5386b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "amlFilesystems_Delete", + "title": "amlFilesystems_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Get.json new file mode 100644 index 000000000000..a1c3a0d323ed --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Get.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000001", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "amlFilesystems_Get", + "title": "amlFilesystems_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_List.json new file mode 100644 index 000000000000..289d87096f4d --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_List.json @@ -0,0 +1,178 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000001", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub1", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + }, + { + "name": "fs2", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs2", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000002", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub2", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "amlFilesystems_List", + "title": "amlFilesystems_List" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_ListByResourceGroup.json new file mode 100644 index 000000000000..f9191630f6f6 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_ListByResourceGroup.json @@ -0,0 +1,179 @@ +{ + "parameters": { + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000001", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub1", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + }, + { + "name": "fs2", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs2", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "clusterUuid": "00000000-0000-0000-0000-000000000002", + "currentStorageCapacityTiB": 16, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub2", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "amlFilesystems_ListByResourceGroup", + "title": "amlFilesystems_ListByResourceGroup" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Update.json new file mode 100644 index 000000000000..94f38d6cb23c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Update.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "amlFilesystem": { + "properties": { + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99 + } + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fs1", + "type": "Microsoft.StorageCache/amlFilesystem", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "clientInfo": { + "containerStorageInterface": { + "persistentVolume": "", + "persistentVolumeClaim": "", + "storageClass": "" + }, + "lustreVersion": "2.15.0", + "mgsAddress": "10.0.0.4", + "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs" + }, + "encryptionSettings": { + "keyEncryptionKey": { + "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af", + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" + } + } + }, + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "health": { + "state": "Available", + "statusDescription": "amlFilesystem is ok." + }, + "hsm": { + "archiveStatus": [ + { + "filesystemPath": "/", + "status": { + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed" + } + } + ], + "settings": { + "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername", + "importPrefixesInitial": [ + "/" + ], + "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername" + } + }, + "maintenanceWindow": { + "dayOfWeek": "Friday", + "timeOfDayUTC": "22:00" + }, + "provisioningState": "Succeeded", + "rootSquashSettings": { + "mode": "All", + "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp", + "squashGID": 99, + "squashUID": 99, + "status": "nodemap.active=1" + }, + "storageCapacityTiB": 16, + "throughputProvisionedMBps": 500 + }, + "sku": { + "name": "AMLFS-Durable-Premium-250" + }, + "tags": { + "Dept": "ContosoAds" + }, + "zones": [ + "1" + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "amlFilesystems_Update", + "title": "amlFilesystems_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_CreateOrUpdate.json new file mode 100644 index 000000000000..e3c80e2a513b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_CreateOrUpdate.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoExportJob": { + "location": "eastus", + "properties": { + "autoExportPrefixes": [ + "/" + ] + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "autoExportJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "201": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "autoExportJobs_CreateOrUpdate", + "title": "autoExportJobs_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Delete.json new file mode 100644 index 000000000000..62726731646b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoExportJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "autoExportJobs_Delete", + "title": "autoExportJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Get.json new file mode 100644 index 000000000000..1f5f8cddc311 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoExportJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + } + } + } + }, + "operationId": "autoExportJobs_Get", + "title": "autoExportJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..8bec42f9e38e --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_ListByAmlFilesystem.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + } + }, + { + "name": "job2", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job2", + "location": "eastus", + "properties": { + "adminStatus": "Disable", + "autoExportPrefixes": [ + "/dir1" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastCompletionTimeUTC": "2024-04-21T20:25:43.511Z", + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "Disabled", + "statusMessage": "Auto Export job is disabled", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + } + } + ] + } + } + }, + "operationId": "autoExportJobs_ListByAmlFilesystem", + "title": "autoExportJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Update.json new file mode 100644 index 000000000000..0b003735eaba --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Update.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoExportJob": { + "tags": { + "Dept": "ContosoAds" + } + }, + "autoExportJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/autoExportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoExportPrefixes": [ + "/" + ], + "provisioningState": "Succeeded", + "status": { + "currentIterationFilesDiscovered": 10, + "currentIterationFilesExported": 5, + "currentIterationFilesFailed": 1, + "currentIterationMiBDiscovered": 4000, + "currentIterationMiBExported": 500, + "exportIterationCount": 100, + "lastStartedTimeUTC": "2024-04-21T17:25:43.511Z", + "lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z", + "state": "InProgress", + "statusMessage": "Auto Export is in progress", + "totalFilesExported": 1000000, + "totalFilesFailed": 5, + "totalMiBExported": 10000 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "autoExportJobs_Update", + "title": "autoExportJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_CreateOrUpdate.json new file mode 100644 index 000000000000..c9cc6a36f802 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_CreateOrUpdate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoImportJob": { + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0 + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "autoImportJobName": "autojob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 120, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 4000, + "rateOfBlobWalk": 10000, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "201": { + "body": { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 120, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 4000, + "rateOfBlobWalk": 10000, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "autoImportJobs_CreateOrUpdate", + "title": "autoImportJobs_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Delete.json new file mode 100644 index 000000000000..73b947c484fe --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoImportJobName": "autojob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "autoImportJobs_Delete", + "title": "autoImportJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Get.json new file mode 100644 index 000000000000..2e95285adb4b --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Get.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoImportJobName": "autojob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 120, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 4000, + "rateOfBlobWalk": 10000, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "autoImportJobs_Get", + "title": "autoImportJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..a655d9fc398e --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_ListByAmlFilesystem.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs?$skipToken=autojob2&api-version=2026-01-01", + "value": [ + { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Enable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 120, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 4000, + "rateOfBlobWalk": 10000, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + }, + { + "name": "autojob2", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob2", + "location": "eastus", + "properties": { + "adminStatus": "Disable", + "autoImportPrefixes": [ + "/finance" + ], + "conflictResolutionMode": "Fail", + "enableDeletions": true, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 15, + "importedDirectories": 80, + "importedFiles": 300, + "importedSymlinks": 20, + "lastChangeFeedEventConsumedTime": "2024-03-19T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-19T18:25:43.511Z", + "preexistingDirectories": 800, + "preexistingFiles": 8000, + "preexistingSymlinks": 150, + "rateOfBlobImport": 0, + "totalBlobsImported": 9350, + "totalConflicts": 0, + "totalErrors": 2 + }, + "importedDirectories": 800, + "importedFiles": 7000, + "importedSymlinks": 500, + "lastCompletionTimeUTC": "2024-03-21T18:25:43.511Z", + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 70000, + "preexistingFiles": 700000, + "preexistingSymlinks": 8000, + "rateOfBlobImport": 0, + "rateOfBlobWalk": 0, + "scanEndTime": "2024-03-19T18:25:43.511Z", + "scanStartTime": "2024-03-19T17:25:43.511Z", + "state": "Disabled", + "statusMessage": "Disabled", + "totalBlobsImported": 750000, + "totalBlobsWalked": 800000, + "totalConflicts": 3, + "totalErrors": 8 + } + }, + "tags": { + "Dept": "ContosoFinance" + } + } + ] + } + } + }, + "operationId": "autoImportJobs_ListByAmlFilesystem", + "title": "autoImportJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Update.json new file mode 100644 index 000000000000..92f8c63293c7 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Update.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "autoImportJob": { + "properties": { + "adminStatus": "Disable" + } + }, + "autoImportJobName": "autojob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "autojob1", + "type": "Microsoft.StorageCache/amlFilesystem/autoImportJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoImportJobs/autojob1", + "location": "eastus", + "properties": { + "adminStatus": "Disable", + "autoImportPrefixes": [ + "/" + ], + "conflictResolutionMode": "Skip", + "enableDeletions": false, + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobSyncEvents": { + "deletions": 20, + "importedDirectories": 100, + "importedFiles": 500, + "importedSymlinks": 50, + "lastChangeFeedEventConsumedTime": "2024-03-21T18:35:43.511Z", + "lastTimeFullySynchronized": "2024-03-21T18:25:43.511Z", + "preexistingDirectories": 1000, + "preexistingFiles": 10000, + "preexistingSymlinks": 200, + "rateOfBlobImport": 0, + "totalBlobsImported": 11850, + "totalConflicts": 1, + "totalErrors": 3 + }, + "importedDirectories": 1000, + "importedFiles": 8000, + "importedSymlinks": 1000, + "lastCompletionTimeUTC": "2024-03-21T18:25:43.511Z", + "lastStartedTimeUTC": "2024-03-21T17:25:43.511Z", + "preexistingDirectories": 80000, + "preexistingFiles": 800000, + "preexistingSymlinks": 10000, + "rateOfBlobImport": 0, + "rateOfBlobWalk": 0, + "scanEndTime": "2024-03-21T18:25:43.511Z", + "scanStartTime": "2024-03-21T17:25:43.511Z", + "state": "Disabling", + "statusMessage": "Auto import job is being disabled.", + "totalBlobsImported": 900000, + "totalBlobsWalked": 1000000, + "totalConflicts": 5, + "totalErrors": 10 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + } + } + }, + "operationId": "autoImportJobs_Update", + "title": "autoImportJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/checkAmlFSSubnets.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/checkAmlFSSubnets.json new file mode 100644 index 000000000000..b3a9e46ce587 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/checkAmlFSSubnets.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "amlFilesystemSubnetInfo": { + "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub", + "sku": { + "name": "AMLFS-Durable-Premium-125" + }, + "storageCapacityTiB": 16 + }, + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "400": { + "body": { + "filesystemSubnet": { + "message": "A subnet with a minimum size of /24 is required.", + "status": "Invalid" + } + } + } + }, + "operationId": "checkAmlFSSubnets", + "title": "checkAmlFSSubnets" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_CreateOrUpdate.json new file mode 100644 index 000000000000..981220ba0569 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_CreateOrUpdate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "expansionJob": { + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16 + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "expansionJobName": "expansionjob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Succeeded", + "status": { + "percentComplete": 85, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "statusMessage": "Expansion is in progress" + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "201": { + "body": { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Creating", + "status": { + "percentComplete": 0, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "InProgress", + "statusMessage": "Expansion job is starting" + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "expansionJobs_CreateOrUpdate", + "title": "expansionJobs_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Delete.json new file mode 100644 index 000000000000..541a223f3fa6 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "expansionJobName": "expansionjob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/expansionJobs/expansionjob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "expansionJobs_Delete", + "title": "expansionJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json new file mode 100644 index 000000000000..0ca2152edcfd --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "expansionJobName": "expansionjob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Succeeded", + "status": { + "completionTimeUTC": "2024-03-21T19:15:43.511Z", + "percentComplete": 100, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "Completed", + "statusMessage": "Expansion completed successfully" + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "expansionJobs_Get", + "title": "expansionJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..733cda60812c --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_ListByAmlFilesystem.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs?api-version=2026-01-01&$skiptoken=abc123", + "value": [ + { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Succeeded", + "status": { + "completionTimeUTC": "2024-03-21T19:15:43.511Z", + "percentComplete": 100, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "Completed", + "statusMessage": "Expansion completed successfully" + } + }, + "tags": { + "Dept": "ContosoAds" + } + }, + { + "name": "expansionjob2", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob2", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 32, + "provisioningState": "Succeeded", + "status": { + "percentComplete": 45, + "startTimeUTC": "2024-03-22T10:30:15.120Z", + "state": "InProgress", + "statusMessage": "Expansion is in progress" + } + }, + "tags": { + "Dept": "ContosoFinance" + } + }, + { + "name": "expansionjob3", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob3", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 24, + "provisioningState": "Failed", + "status": { + "completionTimeUTC": "2024-03-21T08:50:22.334Z", + "percentComplete": 0, + "startTimeUTC": "2024-03-21T08:45:22.334Z", + "state": "Failed", + "statusCode": "InsufficientCapacity", + "statusMessage": "Insufficient capacity available in the region for the requested expansion" + } + }, + "tags": { + "Dept": "ContosoHR" + } + } + ] + } + } + }, + "operationId": "expansionJobs_ListByAmlFilesystem", + "title": "expansionJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Update.json new file mode 100644 index 000000000000..5f2f999b6cb9 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Update.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "expansionJob": { + "tags": { + "Dept": "ContosoFinance" + } + }, + "expansionJobName": "expansionjob1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1", + "type": "Microsoft.StorageCache/amlFilesystem/expansionJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs/expansionjob1", + "location": "eastus", + "properties": { + "newStorageCapacityTiB": 16, + "provisioningState": "Succeeded", + "status": { + "completionTimeUTC": "2024-03-21T19:15:43.511Z", + "percentComplete": 100, + "startTimeUTC": "2024-03-21T17:25:43.511Z", + "state": "Completed", + "statusMessage": "Expansion completed successfully" + } + }, + "tags": { + "Dept": "ContosoFinance" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "expansionJobs_Update", + "title": "expansionJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/getRequiredAmlFSSubnetsSize.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/getRequiredAmlFSSubnetsSize.json new file mode 100644 index 000000000000..efe24f3e3148 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/getRequiredAmlFSSubnetsSize.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "amlFilesystemSubnetInfo": { + "sku": { + "name": "AMLFS-Durable-Premium-125" + }, + "storageCapacityTiB": 16 + }, + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "filesystemSubnetSize": 24 + } + } + }, + "operationId": "getRequiredAmlFSSubnetsSize", + "title": "getRequiredAmlFilesystemSubnetsSize" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJob_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJob_Update.json new file mode 100644 index 000000000000..064af9d540dc --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJob_Update.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "importJob": { + "tags": { + "Dept": "ContosoAds" + } + }, + "importJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + } + }, + "operationId": "importJobs_Update", + "title": "importJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_CreateOrUpdate.json new file mode 100644 index 000000000000..86459dd09321 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_CreateOrUpdate.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "importJob": { + "location": "eastus", + "properties": { + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0 + }, + "tags": { + "Dept": "ContosoAds" + } + }, + "importJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + }, + "201": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "importJobs_CreateOrUpdate", + "title": "importJobs_CreateOrUpdate" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Delete.json new file mode 100644 index 000000000000..60825e6f9baf --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "importJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + } + }, + "204": {} + }, + "operationId": "importJobs_Delete", + "title": "importJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Get.json new file mode 100644 index 000000000000..f92fef1c47dd --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Get.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "importJobName": "job1", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + } + } + } + }, + "operationId": "importJobs_Get", + "title": "importJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..12ba87bd8506 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_ListByAmlFilesystem.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-01-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "job1", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "OverwriteAlways", + "importPrefixes": [ + "/" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + } + }, + { + "name": "job2", + "type": "Microsoft.StorageCache/amlFilesystem/importJob", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job2", + "location": "eastus", + "properties": { + "adminStatus": "Active", + "conflictResolutionMode": "Skip", + "importPrefixes": [ + "/dir1" + ], + "maximumErrors": 0, + "provisioningState": "Succeeded", + "status": { + "blobsImportedPerSecond": 4000, + "blobsWalkedPerSecond": 10000, + "importedDirectories": 500, + "importedFiles": 1000, + "importedSymlinks": 1000, + "lastCompletionTime": "2019-04-21T18:25:43.511Z", + "lastStartedTime": "2019-04-21T17:25:43.511Z", + "preexistingDirectories": 100, + "preexistingFiles": 500, + "preexistingSymlinks": 200, + "state": "Completed", + "statusMessage": "Import job completed successfully", + "totalBlobsImported": 1000000, + "totalBlobsWalked": 1000000, + "totalConflicts": 1, + "totalErrors": 1 + } + } + } + ] + } + } + }, + "operationId": "importJobs_ListByAmlFilesystem", + "title": "importJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json new file mode 100644 index 000000000000..cdff6ec75a36 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json @@ -0,0 +1,8350 @@ +{ + "swagger": "2.0", + "info": { + "title": "Storage Cache Mgmt Client", + "version": "2026-08-01", + "description": "A Storage Cache provides scalable caching service for NAS clients, serving data from either NFSv3 or Blob at-rest storage (referred to as \"Storage Targets\"). These operations allow you to manage Caches.", + "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": "amlFilesystems" + }, + { + "name": "Operations" + }, + { + "name": "autoExportJobs" + }, + { + "name": "autoExportJob" + }, + { + "name": "importJobs" + }, + { + "name": "autoImportJobs" + }, + { + "name": "expansionJobs" + }, + { + "name": "Caches" + }, + { + "name": "StorageTargets" + }, + { + "name": "SKUs" + }, + { + "name": "UsageModels" + }, + { + "name": "AscOperations" + }, + { + "name": "AscUsages" + } + ], + "paths": { + "/providers/Microsoft.StorageCache/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "Lists all of the available Resource Provider operations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ApiOperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems": { + "get": { + "operationId": "amlFilesystems_List", + "tags": [ + "amlFilesystems" + ], + "description": "Returns all AML file systems the user has access to under a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AmlFilesystemsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "amlFilesystems_List": { + "$ref": "./examples/amlFilesystems_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches": { + "get": { + "operationId": "Caches_List", + "tags": [ + "Caches" + ], + "description": "Returns all caches the user has access to under a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CachesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_List": { + "$ref": "./examples/Caches_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets": { + "post": { + "operationId": "checkAmlFSSubnets", + "tags": [ + "amlFilesystems" + ], + "description": "Check that subnets will be valid for AML file system create calls.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "amlFilesystemSubnetInfo", + "in": "body", + "description": "The request body", + "required": false, + "schema": { + "$ref": "#/definitions/AmlFilesystemSubnetInfo" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "400": { + "description": "The error details provided when the checkAmlFSSubnets call fails.", + "schema": { + "$ref": "#/definitions/AmlFilesystemCheckSubnetError" + }, + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "checkAmlFSSubnets": { + "$ref": "./examples/checkAmlFSSubnets.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize": { + "post": { + "operationId": "getRequiredAmlFSSubnetsSize", + "tags": [ + "amlFilesystems" + ], + "description": "Get the number of available IP addresses needed for the AML file system information provided.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "requiredAMLFilesystemSubnetsSizeInfo", + "in": "body", + "description": "The request body", + "required": false, + "schema": { + "$ref": "#/definitions/RequiredAmlFilesystemSubnetsSizeInfo" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/RequiredAmlFilesystemSubnetsSize" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "getRequiredAmlFilesystemSubnetsSize": { + "$ref": "./examples/getRequiredAmlFSSubnetsSize.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}": { + "get": { + "operationId": "AscOperations_Get", + "tags": [ + "AscOperations" + ], + "description": "Gets the status of an asynchronous operation for the Azure HPC Cache", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "operationId", + "in": "path", + "description": "The ID of an ongoing async operation.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AscOperation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "AscOperations_Get": { + "$ref": "./examples/AscOperations_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/usages": { + "get": { + "operationId": "AscUsages_List", + "tags": [ + "AscUsages" + ], + "description": "Gets the quantity used and quota limit for resources", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ResourceUsagesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "AscUsages_List": { + "$ref": "./examples/AscResourceUsages_Get.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus": { + "get": { + "operationId": "Skus_List", + "tags": [ + "SKUs" + ], + "description": "Get the list of StorageCache.Cache SKUs available to this subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ResourceSkusResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Skus_List": { + "$ref": "./examples/Skus_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels": { + "get": { + "operationId": "UsageModels_List", + "tags": [ + "UsageModels" + ], + "description": "Get the list of cache usage models available to this subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsageModelsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "UsageModels_List": { + "$ref": "./examples/UsageModels_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems": { + "get": { + "operationId": "amlFilesystems_ListByResourceGroup", + "tags": [ + "amlFilesystems" + ], + "description": "Returns all AML file systems the user has access to under a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AmlFilesystemsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "amlFilesystems_ListByResourceGroup": { + "$ref": "./examples/amlFilesystems_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}": { + "get": { + "operationId": "amlFilesystems_Get", + "tags": [ + "amlFilesystems" + ], + "description": "Returns an AML file system.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AmlFilesystem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "amlFilesystems_Get": { + "$ref": "./examples/amlFilesystems_Get.json" + } + } + }, + "put": { + "operationId": "amlFilesystems_CreateOrUpdate", + "tags": [ + "amlFilesystems" + ], + "description": "Create or update an AML file system.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "amlFilesystem", + "in": "body", + "description": "Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/AmlFilesystem" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AmlFilesystem' update operation succeeded", + "schema": { + "$ref": "#/definitions/AmlFilesystem" + } + }, + "201": { + "description": "Resource 'AmlFilesystem' create operation succeeded", + "schema": { + "$ref": "#/definitions/AmlFilesystem" + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "amlFilesystems_CreateOrUpdate": { + "$ref": "./examples/amlFilesystems_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AmlFilesystem" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "amlFilesystems_Update", + "tags": [ + "amlFilesystems" + ], + "description": "Update an AML file system instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "amlFilesystem", + "in": "body", + "description": "Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/AmlFilesystemUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AmlFilesystem" + } + }, + "202": { + "description": "Resource update request 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/CloudError" + } + } + }, + "x-ms-examples": { + "amlFilesystems_Update": { + "$ref": "./examples/amlFilesystems_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AmlFilesystem" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "amlFilesystems_Delete", + "tags": [ + "amlFilesystems" + ], + "description": "Schedules an AML file system for deletion.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion 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": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "amlFilesystems_Delete": { + "$ref": "./examples/amlFilesystems_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/archive": { + "post": { + "operationId": "amlFilesystems_Archive", + "tags": [ + "amlFilesystems" + ], + "description": "Archive data from the AML file system.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "archiveInfo", + "in": "body", + "description": "Information about the archive operation", + "required": false, + "schema": { + "$ref": "#/definitions/AmlFilesystemArchiveInfo" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "amlFilesystems_Archive": { + "$ref": "./examples/amlFilesystems_Archive.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs": { + "get": { + "operationId": "autoExportJobs_ListByAmlFilesystem", + "tags": [ + "autoExportJob" + ], + "description": "Returns all the auto export jobs the user has access to under an AML File System.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AutoExportJobsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "autoExportJobs_ListByAmlFilesystem": { + "$ref": "./examples/autoExportJobs_ListByAmlFilesystem.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}": { + "get": { + "operationId": "autoExportJobs_Get", + "tags": [ + "autoExportJobs" + ], + "description": "Returns an auto export job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoExportJobName", + "in": "path", + "description": "Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AutoExportJob" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "autoExportJobs_Get": { + "$ref": "./examples/autoExportJobs_Get.json" + } + } + }, + "put": { + "operationId": "autoExportJobs_CreateOrUpdate", + "tags": [ + "autoExportJob" + ], + "description": "Create or update an auto export job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoExportJobName", + "in": "path", + "description": "Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoExportJob", + "in": "body", + "description": "Object containing the user-selectable properties of the auto export job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/AutoExportJob" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AutoExportJob' update operation succeeded", + "schema": { + "$ref": "#/definitions/AutoExportJob" + } + }, + "201": { + "description": "Resource 'AutoExportJob' create operation succeeded", + "schema": { + "$ref": "#/definitions/AutoExportJob" + }, + "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/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "autoExportJobs_CreateOrUpdate": { + "$ref": "./examples/autoExportJobs_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AutoExportJob" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "autoExportJobs_Update", + "tags": [ + "autoExportJob" + ], + "description": "Update an auto export job instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoExportJobName", + "in": "path", + "description": "Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoExportJob", + "in": "body", + "description": "Object containing the user-selectable properties of the auto export job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/AutoExportJobUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AutoExportJob" + } + }, + "202": { + "description": "Resource update request 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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "autoExportJobs_Update": { + "$ref": "./examples/autoExportJobs_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AutoExportJob" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "autoExportJobs_Delete", + "tags": [ + "autoExportJobs" + ], + "description": "Schedules an auto export job for deletion.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoExportJobName", + "in": "path", + "description": "Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion 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": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "autoExportJobs_Delete": { + "$ref": "./examples/autoExportJobs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoImportJobs": { + "get": { + "operationId": "autoImportJobs_ListByAmlFilesystem", + "tags": [ + "autoImportJobs" + ], + "description": "Returns all the auto import jobs the user has access to under an AML File System.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AutoImportJobsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "autoImportJobs_ListByAmlFilesystem": { + "$ref": "./examples/autoImportJobs_ListByAmlFilesystem.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoImportJobs/{autoImportJobName}": { + "get": { + "operationId": "autoImportJobs_Get", + "tags": [ + "autoImportJobs" + ], + "description": "Returns an auto import job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoImportJobName", + "in": "path", + "description": "Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AutoImportJob" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "autoImportJobs_Get": { + "$ref": "./examples/autoImportJobs_Get.json" + } + } + }, + "put": { + "operationId": "autoImportJobs_CreateOrUpdate", + "tags": [ + "autoImportJobs" + ], + "description": "Create or update an auto import job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoImportJobName", + "in": "path", + "description": "Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoImportJob", + "in": "body", + "description": "Object containing the user-selectable properties of the auto import job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/AutoImportJob" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AutoImportJob' update operation succeeded", + "schema": { + "$ref": "#/definitions/AutoImportJob" + } + }, + "201": { + "description": "Resource 'AutoImportJob' create operation succeeded", + "schema": { + "$ref": "#/definitions/AutoImportJob" + }, + "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/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "autoImportJobs_CreateOrUpdate": { + "$ref": "./examples/autoImportJobs_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AutoImportJob" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "autoImportJobs_Update", + "tags": [ + "autoImportJobs" + ], + "description": "Update an auto import job instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoImportJobName", + "in": "path", + "description": "Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoImportJob", + "in": "body", + "description": "Object containing the user-selectable properties of the auto import job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/AutoImportJobUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AutoImportJob" + } + }, + "202": { + "description": "Resource update request 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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "autoImportJobs_Update": { + "$ref": "./examples/autoImportJobs_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AutoImportJob" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "autoImportJobs_Delete", + "tags": [ + "autoImportJobs" + ], + "description": "Schedules an auto import job for deletion.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "autoImportJobName", + "in": "path", + "description": "Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion 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": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "autoImportJobs_Delete": { + "$ref": "./examples/autoImportJobs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/cancelArchive": { + "post": { + "operationId": "amlFilesystems_CancelArchive", + "tags": [ + "amlFilesystems" + ], + "description": "Cancel archiving data from the AML file system.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "amlFilesystems_cancelArchive": { + "$ref": "./examples/amlFilesystems_CancelArchive.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs": { + "get": { + "operationId": "expansionJobs_ListByAmlFilesystem", + "tags": [ + "expansionJobs" + ], + "description": "Returns all the expansion jobs the user has access to under an AML File System.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpansionJobsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "expansionJobs_ListByAmlFilesystem": { + "$ref": "./examples/expansionJobs_ListByAmlFilesystem.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/expansionJobs/{expansionJobName}": { + "get": { + "operationId": "expansionJobs_Get", + "tags": [ + "expansionJobs" + ], + "description": "Returns an expansion job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "expansionJobName", + "in": "path", + "description": "Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpansionJob" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "expansionJobs_Get": { + "$ref": "./examples/expansionJobs_Get.json" + } + } + }, + "put": { + "operationId": "expansionJobs_CreateOrUpdate", + "tags": [ + "expansionJobs" + ], + "description": "Create or update an expansion job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "expansionJobName", + "in": "path", + "description": "Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "expansionJob", + "in": "body", + "description": "Object containing the user-selectable properties of the expansion job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpansionJob" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpansionJob' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpansionJob" + } + }, + "201": { + "description": "Resource 'ExpansionJob' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpansionJob" + }, + "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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "expansionJobs_CreateOrUpdate": { + "$ref": "./examples/expansionJobs_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpansionJob" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "expansionJobs_Update", + "tags": [ + "expansionJobs" + ], + "description": "Update an expansion job instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "expansionJobName", + "in": "path", + "description": "Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "expansionJob", + "in": "body", + "description": "Object containing the user-selectable properties of the expansion job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpansionJobUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpansionJob" + } + }, + "202": { + "description": "Resource update request 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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "expansionJobs_Update": { + "$ref": "./examples/expansionJobs_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpansionJob" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "expansionJobs_Delete", + "tags": [ + "expansionJobs" + ], + "description": "Schedules an expansion job for deletion.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "expansionJobName", + "in": "path", + "description": "Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion 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": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "expansionJobs_Delete": { + "$ref": "./examples/expansionJobs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/importJobs": { + "get": { + "operationId": "importJobs_ListByAmlFilesystem", + "tags": [ + "importJobs" + ], + "description": "Returns all import jobs the user has access to under an AML File System.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImportJobsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "importJobs_ListByAmlFilesystem": { + "$ref": "./examples/importJobs_ListByAmlFilesystem.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/importJobs/{importJobName}": { + "get": { + "operationId": "importJobs_Get", + "tags": [ + "importJobs" + ], + "description": "Returns an import job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "importJobName", + "in": "path", + "description": "Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImportJob" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "importJobs_Get": { + "$ref": "./examples/importJobs_Get.json" + } + } + }, + "put": { + "operationId": "importJobs_CreateOrUpdate", + "tags": [ + "importJobs" + ], + "description": "Create or update an import job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "importJobName", + "in": "path", + "description": "Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "importJob", + "in": "body", + "description": "Object containing the user-selectable properties of the import job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportJob" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ImportJob' update operation succeeded", + "schema": { + "$ref": "#/definitions/ImportJob" + } + }, + "201": { + "description": "Resource 'ImportJob' create operation succeeded", + "schema": { + "$ref": "#/definitions/ImportJob" + }, + "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/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "importJobs_CreateOrUpdate": { + "$ref": "./examples/importJobs_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ImportJob" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "importJobs_Update", + "tags": [ + "importJobs" + ], + "description": "Update an import job instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "importJobName", + "in": "path", + "description": "Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "importJob", + "in": "body", + "description": "Object containing the user-selectable properties of the import job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ImportJobUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImportJob" + } + }, + "202": { + "description": "Resource update request 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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "importJobs_Update": { + "$ref": "./examples/importJob_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ImportJob" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "importJobs_Delete", + "tags": [ + "importJobs" + ], + "description": "Schedules an import job for deletion.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "importJobName", + "in": "path", + "description": "Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion 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": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "importJobs_Delete": { + "$ref": "./examples/importJobs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches": { + "get": { + "operationId": "Caches_ListByResourceGroup", + "tags": [ + "Caches" + ], + "description": "Returns all caches the user has access to under a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CachesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_ListByResourceGroup": { + "$ref": "./examples/Caches_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}": { + "get": { + "operationId": "Caches_Get", + "tags": [ + "Caches" + ], + "description": "Returns a cache.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cache" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_Get": { + "$ref": "./examples/Caches_Get.json" + } + } + }, + "put": { + "operationId": "Caches_CreateOrUpdate", + "tags": [ + "Caches" + ], + "description": "Create or update a cache.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "cache", + "in": "body", + "description": "Object containing the user-selectable properties of the new cache. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/Cache" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Cache' update operation succeeded", + "schema": { + "$ref": "#/definitions/Cache" + } + }, + "201": { + "description": "Resource 'Cache' create operation succeeded", + "schema": { + "$ref": "#/definitions/Cache" + }, + "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." + } + } + }, + "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": { + "Caches_CreateOrUpdate": { + "$ref": "./examples/Caches_CreateOrUpdate.json" + }, + "Caches_CreateOrUpdate_ldap_only": { + "$ref": "./examples/Caches_CreateOrUpdate_ldap_only.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Cache" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Caches_Update", + "tags": [ + "Caches" + ], + "description": "Update a cache instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "cache", + "in": "body", + "description": "Object containing the user-selectable properties of the cache. If read-only properties are included, they must match the existing values of those properties.", + "required": false, + "schema": { + "$ref": "#/definitions/Cache" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cache" + } + }, + "202": { + "description": "Resource update request 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/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_Update": { + "$ref": "./examples/Caches_Update.json" + }, + "Caches_Update_ldap_only": { + "$ref": "./examples/Caches_Update_ldap_only.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Cache" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Caches_Delete", + "tags": [ + "Caches" + ], + "description": "Schedules a cache for deletion.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion 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": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_Delete": { + "$ref": "./examples/Caches_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/debugInfo": { + "post": { + "operationId": "Caches_DebugInfo", + "tags": [ + "Caches" + ], + "description": "Tells a cache to write generate debug info for support to process.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_DebugInfo": { + "$ref": "./examples/Caches_DebugInfo.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush": { + "post": { + "operationId": "Caches_Flush", + "tags": [ + "Caches" + ], + "description": "Tells a cache to write all dirty data to the Storage Target(s). During the flush, clients will see errors returned until the flush is complete.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_Flush": { + "$ref": "./examples/Caches_Flush.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/pausePrimingJob": { + "post": { + "operationId": "Caches_PausePrimingJob", + "tags": [ + "Caches" + ], + "description": "Schedule a priming job to be paused.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "primingJobId", + "in": "body", + "description": "Object containing the priming job ID.", + "required": false, + "schema": { + "$ref": "#/definitions/PrimingJobIdParameter" + } + } + ], + "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/CloudError" + } + } + }, + "x-ms-examples": { + "PausePrimingJob": { + "$ref": "./examples/PausePrimingJob.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/resumePrimingJob": { + "post": { + "operationId": "Caches_ResumePrimingJob", + "tags": [ + "Caches" + ], + "description": "Resumes a paused priming job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "primingJobId", + "in": "body", + "description": "Object containing the priming job ID.", + "required": false, + "schema": { + "$ref": "#/definitions/PrimingJobIdParameter" + } + } + ], + "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/CloudError" + } + } + }, + "x-ms-examples": { + "ResumePrimingJob": { + "$ref": "./examples/ResumePrimingJob.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/spaceAllocation": { + "post": { + "operationId": "Caches_SpaceAllocation", + "tags": [ + "Caches" + ], + "description": "Update cache space allocation.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "spaceAllocation", + "in": "body", + "description": "List containing storage target cache space percentage allocations.", + "required": false, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageTargetSpaceAllocation" + } + } + } + ], + "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." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "SpaceAllocation_Post": { + "$ref": "./examples/SpaceAllocation_Post.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start": { + "post": { + "operationId": "Caches_Start", + "tags": [ + "Caches" + ], + "description": "Tells a Stopped state cache to transition to Active state.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_Start": { + "$ref": "./examples/Caches_Start.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/startPrimingJob": { + "post": { + "operationId": "Caches_StartPrimingJob", + "tags": [ + "Caches" + ], + "description": "Create a priming job. This operation is only allowed when the cache is healthy.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "primingjob", + "in": "body", + "description": "Object containing the definition of a priming job.", + "required": false, + "schema": { + "$ref": "#/definitions/PrimingJob" + } + } + ], + "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." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StartPrimingJob": { + "$ref": "./examples/StartPrimingJob.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop": { + "post": { + "operationId": "Caches_Stop", + "tags": [ + "Caches" + ], + "description": "Tells an Active cache to transition to Stopped state.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_Stop": { + "$ref": "./examples/Caches_Stop.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stopPrimingJob": { + "post": { + "operationId": "Caches_StopPrimingJob", + "tags": [ + "Caches" + ], + "description": "Schedule a priming job for deletion.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "primingJobId", + "in": "body", + "description": "Object containing the priming job ID.", + "required": false, + "schema": { + "$ref": "#/definitions/PrimingJobIdParameter" + } + } + ], + "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/CloudError" + } + } + }, + "x-ms-examples": { + "StopPrimingJob": { + "$ref": "./examples/StopPrimingJob.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets": { + "get": { + "operationId": "StorageTargets_ListByCache", + "tags": [ + "StorageTargets" + ], + "description": "Returns a list of Storage Targets for the specified cache.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTargetsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageTargets_List": { + "$ref": "./examples/StorageTargets_ListByCache.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}": { + "get": { + "operationId": "StorageTargets_Get", + "tags": [ + "StorageTargets" + ], + "description": "Returns a Storage Target from a cache.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTarget" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageTargets_Get": { + "$ref": "./examples/StorageTargets_Get.json" + } + } + }, + "put": { + "operationId": "StorageTargets_CreateOrUpdate", + "tags": [ + "StorageTargets" + ], + "description": "Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storagetarget", + "in": "body", + "description": "Object containing the definition of a Storage Target.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageTarget" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StorageTarget' update operation succeeded", + "schema": { + "$ref": "#/definitions/StorageTarget" + } + }, + "201": { + "description": "Resource 'StorageTarget' create operation succeeded", + "schema": { + "$ref": "#/definitions/StorageTarget" + }, + "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." + } + } + }, + "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": { + "StorageTargets_CreateOrUpdate": { + "$ref": "./examples/StorageTargets_CreateOrUpdate.json" + }, + "StorageTargets_CreateOrUpdate_BlobNfs": { + "$ref": "./examples/StorageTargets_CreateOrUpdate_BlobNfs.json" + }, + "StorageTargets_CreateOrUpdate_NoJunctions": { + "$ref": "./examples/StorageTargets_CreateOrUpdate_NoJunctions.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StorageTarget" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StorageTargets_Delete", + "tags": [ + "StorageTargets" + ], + "description": "Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is healthy again. Note that if the cache has data to flush to the Storage Target, the data will be flushed before the Storage Target will be deleted.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "force", + "in": "query", + "description": "Boolean value requesting the force delete operation for a storage target. Force delete discards unwritten-data in the cache instead of flushing it to back-end storage.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion 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": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageTargets_Delete": { + "$ref": "./examples/StorageTargets_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh": { + "post": { + "operationId": "StorageTargets_DnsRefresh", + "tags": [ + "StorageTargets" + ], + "description": "Tells a storage target to refresh its DNS information.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_DnsRefresh": { + "$ref": "./examples/StorageTargets_DnsRefresh.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/flush": { + "post": { + "operationId": "StorageTarget_Flush", + "tags": [ + "StorageTargets" + ], + "description": "Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to this storage target's namespace will return errors until the flush operation completes.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "StorageTargets_Flush": { + "$ref": "./examples/StorageTargets_Flush.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/invalidate": { + "post": { + "operationId": "StorageTarget_Invalidate", + "tags": [ + "StorageTargets" + ], + "description": "Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "StorageTargets_Invalidate": { + "$ref": "./examples/StorageTargets_Invalidate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/restoreDefaults": { + "post": { + "operationId": "StorageTargets_RestoreDefaults", + "tags": [ + "StorageTargets" + ], + "description": "Tells a storage target to restore its settings to their default values.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "StorageTargets_RestoreDefaults": { + "$ref": "./examples/StorageTargets_RestoreDefaults.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/resume": { + "post": { + "operationId": "StorageTarget_Resume", + "tags": [ + "StorageTargets" + ], + "description": "Resumes client access to a previously suspended storage target.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "StorageTargets_Resume": { + "$ref": "./examples/StorageTargets_Resume.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/suspend": { + "post": { + "operationId": "StorageTarget_Suspend", + "tags": [ + "StorageTargets" + ], + "description": "Suspends client access to a storage target.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "name": "storageTargetName", + "in": "path", + "description": "Name of Storage Target.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "StorageTargets_Suspend": { + "$ref": "./examples/StorageTargets_Suspend.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/upgrade": { + "post": { + "operationId": "Caches_UpgradeFirmware", + "tags": [ + "Caches" + ], + "description": "Upgrade a cache's firmware if a new version is available. Otherwise, this operation has no effect.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "cacheName", + "in": "path", + "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.", + "required": true, + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + ], + "responses": { + "201": { + "description": "The request has succeeded and a new resource has been created as a result." + }, + "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/CloudError" + } + } + }, + "x-ms-examples": { + "Caches_UpgradeFirmware": { + "$ref": "./examples/Caches_UpgradeFirmware.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AmlFilesystem": { + "type": "object", + "description": "An AML file system instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md", + "properties": { + "properties": { + "$ref": "#/definitions/AmlFilesystemProperties", + "description": "Properties of the AML file system.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/AmlFilesystemIdentity", + "description": "The managed identity used by the AML file system, if configured." + }, + "sku": { + "$ref": "#/definitions/SkuName", + "description": "SKU for the resource." + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "AmlFilesystemArchive": { + "type": "object", + "description": "Information about the AML file system archive", + "properties": { + "filesystemPath": { + "type": "string", + "description": "Lustre file system path to archive relative to the file system root. Specify '/' to archive all modified data.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/AmlFilesystemArchiveStatus", + "description": "The status of the archive", + "readOnly": true + } + } + }, + "AmlFilesystemArchiveInfo": { + "type": "object", + "description": "Information required to execute the archive operation", + "properties": { + "filesystemPath": { + "type": "string", + "description": "Lustre file system path to archive relative to the file system root. Specify '/' to archive all modified data.", + "default": "/" + } + } + }, + "AmlFilesystemArchiveStatus": { + "type": "object", + "description": "The status of the archive", + "properties": { + "state": { + "$ref": "#/definitions/ArchiveStatusType", + "description": "The state of the archive operation", + "readOnly": true + }, + "lastCompletionTime": { + "type": "string", + "format": "date-time", + "description": "The time of the last completed archive operation", + "readOnly": true + }, + "lastStartedTime": { + "type": "string", + "format": "date-time", + "description": "The time the latest archive operation started", + "readOnly": true + }, + "percentComplete": { + "type": "integer", + "format": "int32", + "description": "The completion percentage of the archive operation", + "readOnly": true + }, + "errorCode": { + "type": "string", + "description": "Server-defined error code for the archive operation", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "description": "Server-defined error message for the archive operation", + "readOnly": true + } + } + }, + "AmlFilesystemCheckSubnetError": { + "type": "object", + "description": "The error details provided when the checkAmlFSSubnets call fails.", + "properties": { + "filesystemSubnet": { + "$ref": "#/definitions/AmlFilesystemCheckSubnetErrorFilesystemSubnet", + "description": "The error details for the AML file system's subnet." + } + } + }, + "AmlFilesystemCheckSubnetErrorFilesystemSubnet": { + "type": "object", + "description": "The error details for the AML file system's subnet.", + "properties": { + "status": { + "$ref": "#/definitions/FilesystemSubnetStatusType", + "description": "The status of the AML file system subnet check." + }, + "message": { + "type": "string", + "description": "The details of the AML file system subnet check." + } + } + }, + "AmlFilesystemClientInfo": { + "type": "object", + "description": "AML file system client information", + "properties": { + "mgsAddress": { + "type": "string", + "description": "The IPv4 address used by clients to mount the AML file system's Lustre Management Service (MGS).", + "readOnly": true + }, + "mountCommand": { + "type": "string", + "description": "Recommended command to mount the AML file system", + "readOnly": true + }, + "lustreVersion": { + "type": "string", + "description": "The version of Lustre running in the AML file system", + "readOnly": true + }, + "containerStorageInterface": { + "$ref": "#/definitions/AmlFilesystemContainerStorageInterface", + "description": "Container Storage Interface information for the AML file system.", + "readOnly": true + } + } + }, + "AmlFilesystemContainerStorageInterface": { + "type": "object", + "description": "AML file system container storage interface information", + "properties": { + "persistentVolumeClaim": { + "type": "string", + "description": "Recommended AKS Persistent Volume Claim for the CSI driver, in Base64 encoded YAML", + "readOnly": true + }, + "persistentVolume": { + "type": "string", + "description": "Recommended AKS Persistent Volume for the CSI driver, in Base64 encoded YAML", + "readOnly": true + }, + "storageClass": { + "type": "string", + "description": "Recommended AKS Storage Class for the CSI driver, in Base64 encoded YAML", + "readOnly": true + } + } + }, + "AmlFilesystemEncryptionSettings": { + "type": "object", + "description": "AML file system encryption settings.", + "properties": { + "keyEncryptionKey": { + "$ref": "#/definitions/KeyVaultKeyReference", + "description": "Specifies the location of the encryption key in Key Vault." + } + } + }, + "AmlFilesystemHealth": { + "type": "object", + "description": "An indication of AML file system health. Gives more information about health than just that related to provisioning.", + "properties": { + "state": { + "$ref": "#/definitions/AmlFilesystemHealthStateType", + "description": "List of AML file system health states." + }, + "statusCode": { + "type": "string", + "description": "Server-defined error code for the AML file system health" + }, + "statusDescription": { + "type": "string", + "description": "Describes the health state." + } + } + }, + "AmlFilesystemHealthStateType": { + "type": "string", + "description": "List of AML file system health states.", + "enum": [ + "Unavailable", + "Available", + "Degraded", + "Transitioning", + "Maintenance", + "Expanding" + ], + "x-ms-enum": { + "name": "AmlFilesystemHealthStateType", + "modelAsString": true, + "values": [ + { + "name": "Unavailable", + "value": "Unavailable", + "description": "Unavailable" + }, + { + "name": "Available", + "value": "Available", + "description": "Available" + }, + { + "name": "Degraded", + "value": "Degraded", + "description": "Degraded" + }, + { + "name": "Transitioning", + "value": "Transitioning", + "description": "Transitioning" + }, + { + "name": "Maintenance", + "value": "Maintenance", + "description": "Maintenance" + }, + { + "name": "Expanding", + "value": "Expanding", + "description": "Expanding" + } + ] + } + }, + "AmlFilesystemHsmSettings": { + "type": "object", + "description": "AML file system HSM settings.", + "properties": { + "container": { + "type": "string", + "description": "Resource ID of storage container used for hydrating the namespace and archiving from the namespace. The resource provider must have permission to create SAS tokens on the storage account." + }, + "loggingContainer": { + "type": "string", + "description": "Resource ID of storage container used for logging events and errors. Must be a separate container in the same storage account as the hydration and archive container. The resource provider must have permission to create SAS tokens on the storage account." + }, + "importPrefix": { + "type": "string", + "description": "Only blobs in the non-logging container that start with this path/prefix get imported into the cluster namespace. This is only used during initial creation of the AML file system. It automatically creates an import job resource that can be deleted.", + "default": "/" + }, + "importPrefixesInitial": { + "type": "array", + "description": "Only blobs in the non-logging container that start with one of the paths/prefixes in this array get imported into the cluster namespace. This is only used during initial creation of the AML file system and has '/' as the default value. It automatically creates an import job resource that can be deleted.", + "items": { + "type": "string" + } + } + }, + "required": [ + "container", + "loggingContainer" + ] + }, + "AmlFilesystemIdentity": { + "type": "object", + "description": "Managed Identity properties.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID for the user-assigned identity of the resource.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant ID associated with the resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/AmlFilesystemIdentityType", + "description": "The type of identity used for the resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.", + "additionalProperties": { + "$ref": "#/definitions/userAssignedIdentitiesValue" + } + } + } + }, + "AmlFilesystemIdentityType": { + "type": "string", + "description": "The type of identity used for the resource.", + "enum": [ + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "AmlFilesystemIdentityType", + "modelAsString": false, + "values": [ + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "UserAssigned" + }, + { + "name": "None", + "value": "None", + "description": "None" + } + ] + } + }, + "AmlFilesystemProperties": { + "type": "object", + "description": "Properties of the AML file system.", + "properties": { + "storageCapacityTiB": { + "type": "number", + "format": "float", + "description": "The size of the AML file system, in TiB. This might be rounded up.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "currentStorageCapacityTiB": { + "type": "number", + "format": "float", + "description": "The current storage capacity of the AML file system, in TiB. This reflects the actual capacity including any expansions.", + "readOnly": true + }, + "clusterUuid": { + "type": "string", + "format": "uuid", + "description": "The unique identifier of the AML file system cluster.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/AmlFilesystemHealth", + "description": "Health of the AML file system.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/AmlFilesystemProvisioningStateType", + "description": "ARM provisioning state.", + "readOnly": true + }, + "filesystemSubnet": { + "type": "string", + "description": "Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "clientInfo": { + "$ref": "#/definitions/AmlFilesystemClientInfo", + "description": "Client information for the AML file system.", + "readOnly": true + }, + "throughputProvisionedMBps": { + "type": "integer", + "format": "int32", + "description": "Throughput provisioned in MB per sec, calculated as storageCapacityTiB * per-unit storage throughput", + "readOnly": true + }, + "encryptionSettings": { + "$ref": "#/definitions/AmlFilesystemEncryptionSettings", + "description": "Specifies encryption settings of the AML file system." + }, + "maintenanceWindow": { + "$ref": "#/definitions/AmlFilesystemPropertiesMaintenanceWindow", + "description": "Start time of a 30-minute weekly maintenance window." + }, + "hsm": { + "$ref": "#/definitions/AmlFilesystemPropertiesHsm", + "description": "Hydration and archive settings and status" + }, + "rootSquashSettings": { + "$ref": "#/definitions/AmlFilesystemRootSquashSettings", + "description": "Specifies root squash settings of the AML file system." + } + }, + "required": [ + "storageCapacityTiB", + "filesystemSubnet", + "maintenanceWindow" + ] + }, + "AmlFilesystemPropertiesHsm": { + "type": "object", + "description": "Hydration and archive settings and status", + "properties": { + "settings": { + "$ref": "#/definitions/AmlFilesystemHsmSettings", + "description": "Specifies HSM settings of the AML file system." + }, + "archiveStatus": { + "type": "array", + "description": "Archive status", + "items": { + "$ref": "#/definitions/AmlFilesystemArchive" + }, + "readOnly": true, + "x-ms-identifiers": [ + "filesystemPath" + ] + } + } + }, + "AmlFilesystemPropertiesMaintenanceWindow": { + "type": "object", + "description": "Start time of a 30-minute weekly maintenance window.", + "properties": { + "dayOfWeek": { + "$ref": "#/definitions/MaintenanceDayOfWeekType", + "description": "Day of the week on which the maintenance window will occur." + }, + "timeOfDayUTC": { + "type": "string", + "description": "The time of day (in UTC) to start the maintenance window.", + "pattern": "^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$" + } + } + }, + "AmlFilesystemProvisioningStateType": { + "type": "string", + "description": "ARM provisioning state.", + "enum": [ + "Succeeded", + "Failed", + "Creating", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "AmlFilesystemProvisioningStateType", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + } + ] + } + }, + "AmlFilesystemRootSquashSettings": { + "type": "object", + "description": "AML file system squash settings.", + "properties": { + "mode": { + "$ref": "#/definitions/AmlFilesystemSquashMode", + "description": "Squash mode of the AML file system. 'All': User and Group IDs on files will be squashed to the provided values for all users on non-trusted systems. 'RootOnly': User and Group IDs on files will be squashed to provided values for solely the root user on non-trusted systems. 'None': No squashing of User and Group IDs is performed for any users on any systems." + }, + "noSquashNidLists": { + "type": "string", + "description": "Semicolon separated NID IP Address list(s) to be added to the TrustedSystems." + }, + "squashUID": { + "type": "integer", + "format": "int64", + "description": "User ID to squash to." + }, + "squashGID": { + "type": "integer", + "format": "int64", + "description": "Group ID to squash to." + }, + "status": { + "type": "string", + "description": "AML file system squash status.", + "readOnly": true + } + } + }, + "AmlFilesystemSquashMode": { + "type": "string", + "description": "Squash mode of the AML file system. 'All': User and Group IDs on files will be squashed to the provided values for all users on non-trusted systems. 'RootOnly': User and Group IDs on files will be squashed to provided values for solely the root user on non-trusted systems. 'None': No squashing of User and Group IDs is performed for any users on any systems.", + "enum": [ + "None", + "RootOnly", + "All" + ], + "x-ms-enum": { + "name": "AmlFilesystemSquashMode", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "RootOnly", + "value": "RootOnly", + "description": "RootOnly" + }, + { + "name": "All", + "value": "All", + "description": "All" + } + ] + } + }, + "AmlFilesystemSubnetInfo": { + "type": "object", + "description": "Information required to validate the subnet that will be used in AML file system create", + "properties": { + "filesystemSubnet": { + "type": "string", + "description": "Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space." + }, + "storageCapacityTiB": { + "type": "number", + "format": "float", + "description": "The size of the AML file system, in TiB." + }, + "sku": { + "$ref": "#/definitions/SkuName", + "description": "SKU for the resource." + }, + "location": { + "type": "string", + "description": "Region that the AML file system will be created in.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "AmlFilesystemUpdate": { + "type": "object", + "description": "An AML file system update instance.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/AmlFilesystemUpdateProperties", + "description": "Properties of the AML file system.", + "x-ms-client-flatten": true + } + } + }, + "AmlFilesystemUpdateProperties": { + "type": "object", + "description": "Properties of the AML file system.", + "properties": { + "encryptionSettings": { + "$ref": "#/definitions/AmlFilesystemEncryptionSettings", + "description": "Specifies encryption settings of the AML file system." + }, + "maintenanceWindow": { + "$ref": "#/definitions/AmlFilesystemUpdatePropertiesMaintenanceWindow", + "description": "Start time of a 30-minute weekly maintenance window." + }, + "rootSquashSettings": { + "$ref": "#/definitions/AmlFilesystemRootSquashSettings", + "description": "Specifies root squash settings of the AML file system." + } + } + }, + "AmlFilesystemUpdatePropertiesMaintenanceWindow": { + "type": "object", + "description": "Start time of a 30-minute weekly maintenance window.", + "properties": { + "dayOfWeek": { + "$ref": "#/definitions/MaintenanceDayOfWeekType", + "description": "Day of the week on which the maintenance window will occur." + }, + "timeOfDayUTC": { + "type": "string", + "description": "The time of day (in UTC) to start the maintenance window.", + "pattern": "^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$" + } + } + }, + "AmlFilesystemsListResult": { + "type": "object", + "description": "Result of the request to list AML file systems. It contains a list of AML file systems and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of AML file systems.", + "items": { + "$ref": "#/definitions/AmlFilesystem" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of AML file system list results, if there are any." + } + } + }, + "ApiOperation": { + "type": "object", + "description": "REST API operation description: see https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation", + "properties": { + "display": { + "$ref": "#/definitions/ApiOperationDisplay", + "description": "The object that represents the operation." + }, + "origin": { + "type": "string", + "description": "Origin of the operation." + }, + "isDataAction": { + "type": "boolean", + "description": "The flag that indicates whether the operation applies to data plane." + }, + "name": { + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "properties": { + "$ref": "#/definitions/ApiOperationProperties", + "description": "Additional details about an operation.", + "x-ms-client-flatten": true + } + } + }, + "ApiOperationDisplay": { + "type": "object", + "description": "The object that represents the operation.", + "properties": { + "operation": { + "type": "string", + "description": "Operation type: Read, write, delete, etc." + }, + "provider": { + "type": "string", + "description": "Service provider: Microsoft.StorageCache" + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed: Cache, etc." + }, + "description": { + "type": "string", + "description": "The description of the operation" + } + } + }, + "ApiOperationListResult": { + "type": "object", + "description": "Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of Resource Provider operations supported by the Microsoft.StorageCache resource provider.", + "items": { + "$ref": "#/definitions/ApiOperation" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "ApiOperationProperties": { + "type": "object", + "description": "Additional details about an operation.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ApiOperationPropertiesServiceSpecification", + "description": "Specification of the all the metrics provided for a resource type." + } + } + }, + "ApiOperationPropertiesServiceSpecification": { + "type": "object", + "description": "Specification of the all the metrics provided for a resource type.", + "properties": { + "metricSpecifications": { + "type": "array", + "description": "Details about operations related to metrics.", + "items": { + "$ref": "#/definitions/MetricSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "type": "array", + "description": "Details about operations related to logs.", + "items": { + "$ref": "#/definitions/LogSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "ArchiveStatusType": { + "type": "string", + "description": "The state of the archive operation", + "enum": [ + "NotConfigured", + "Idle", + "InProgress", + "Canceled", + "Completed", + "Failed", + "Cancelling", + "FSScanInProgress" + ], + "x-ms-enum": { + "name": "ArchiveStatusType", + "modelAsString": true, + "values": [ + { + "name": "NotConfigured", + "value": "NotConfigured", + "description": "NotConfigured" + }, + { + "name": "Idle", + "value": "Idle", + "description": "Idle" + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "InProgress" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + }, + { + "name": "Completed", + "value": "Completed", + "description": "Completed" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Cancelling", + "value": "Cancelling", + "description": "Cancelling" + }, + { + "name": "FSScanInProgress", + "value": "FSScanInProgress", + "description": "FSScanInProgress" + } + ] + } + }, + "AscOperation": { + "type": "object", + "description": "The status of operation.", + "properties": { + "id": { + "type": "string", + "description": "The operation Id." + }, + "name": { + "type": "string", + "description": "The operation name." + }, + "startTime": { + "type": "string", + "description": "The start time of the operation." + }, + "endTime": { + "type": "string", + "description": "The end time of the operation." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "error": { + "$ref": "#/definitions/AscOperationErrorResponse", + "description": "The error detail of the operation if any." + }, + "properties": { + "$ref": "#/definitions/AscOperationProperties", + "description": "Additional operation-specific properties", + "x-ms-client-flatten": true + } + } + }, + "AscOperationErrorResponse": { + "type": "object", + "description": "Describes the format of Error response.", + "properties": { + "code": { + "type": "string", + "description": "Error code" + }, + "message": { + "type": "string", + "description": "Error message indicating why the operation failed." + } + } + }, + "AscOperationProperties": { + "type": "object", + "description": "Additional operation-specific output.", + "properties": { + "output": { + "type": "object", + "description": "Additional operation-specific output.", + "additionalProperties": {} + } + } + }, + "AutoExportJob": { + "type": "object", + "description": "An auto export job instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md", + "properties": { + "properties": { + "$ref": "#/definitions/AutoExportJobProperties", + "description": "Properties of the auto export job.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "AutoExportJobAdminStatus": { + "type": "string", + "description": "The administrative status of the auto export job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto export job. By default it is set to 'Enable'.", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "AutoExportJobAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "Disable" + } + ] + } + }, + "AutoExportJobProperties": { + "type": "object", + "description": "Properties of the auto export job.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/AutoExportJobProvisioningStateType", + "description": "ARM provisioning state.", + "readOnly": true + }, + "adminStatus": { + "type": "string", + "description": "The administrative status of the auto export job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto export job. By default it is set to 'Enable'.", + "default": "Enable", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "AutoExportJobAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "Disable" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "autoExportPrefixes": { + "type": "array", + "description": "An array of blob paths/prefixes that get auto exported to the cluster namespace. It has '/' as the default value. Number of maximum allowed paths for now is 1.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "status": { + "$ref": "#/definitions/AutoExportJobPropertiesStatus", + "description": "The status of the auto export", + "readOnly": true, + "x-ms-client-flatten": true + } + } + }, + "AutoExportJobPropertiesStatus": { + "type": "object", + "description": "The status of the auto export", + "properties": { + "state": { + "$ref": "#/definitions/AutoExportStatusType", + "description": "The operational state of auto export. InProgress indicates the export is running. Disabling indicates the user has requested to disable the export but the disabling is still in progress. Disabled indicates auto export has been disabled. DisableFailed indicates the disabling has failed. Failed means the export was unable to continue, due to a fatal error." + }, + "statusCode": { + "type": "string", + "description": "Server-defined status code for auto export job.", + "readOnly": true + }, + "statusMessage": { + "type": "string", + "description": "Server-defined status message for auto export job.", + "readOnly": true + }, + "totalFilesExported": { + "type": "integer", + "format": "int64", + "description": "Total files exported since the start of the export. This is accumulative, some files may be counted repeatedly.", + "readOnly": true + }, + "totalMiBExported": { + "type": "integer", + "format": "int64", + "description": "Total data (in MiB) exported since the start of the export. This is accumulative, some files may be counted repeatedly.", + "readOnly": true + }, + "totalFilesFailed": { + "type": "integer", + "format": "int64", + "description": "Total files failed to be export since the last successfully completed iteration. This is accumulative, some files may be counted repeatedly.", + "readOnly": true + }, + "exportIterationCount": { + "type": "integer", + "format": "int32", + "description": "Number of iterations completed since the start of the export.", + "readOnly": true + }, + "lastSuccessfulIterationCompletionTimeUTC": { + "type": "string", + "format": "date-time", + "description": "Time (in UTC) of the last successfully completed export iteration. Look at logging container for details.", + "readOnly": true + }, + "currentIterationFilesDiscovered": { + "type": "integer", + "format": "int64", + "description": "Files discovered for export in current iteration. It may increase while more export items are found.", + "readOnly": true + }, + "currentIterationMiBDiscovered": { + "type": "integer", + "format": "int64", + "description": "Data (in MiB) discovered for export in current iteration. It may increase while more export items are found.", + "readOnly": true + }, + "currentIterationFilesExported": { + "type": "integer", + "format": "int64", + "description": "Files that have been exported in current iteration.", + "readOnly": true + }, + "currentIterationMiBExported": { + "type": "integer", + "format": "int64", + "description": "Data (in MiB) that have been exported in current iteration.", + "readOnly": true + }, + "currentIterationFilesFailed": { + "type": "integer", + "format": "int64", + "description": "Files failed to export in current iteration.", + "readOnly": true + }, + "lastStartedTimeUTC": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) the latest auto export job started.", + "readOnly": true + }, + "lastCompletionTimeUTC": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) of the last completed auto export job.", + "readOnly": true + } + } + }, + "AutoExportJobProvisioningStateType": { + "type": "string", + "description": "ARM provisioning state.", + "enum": [ + "Succeeded", + "Failed", + "Creating", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "AutoExportJobProvisioningStateType", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + } + ] + } + }, + "AutoExportJobUpdate": { + "type": "object", + "description": "An auto export job update instance.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/AutoExportJobUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "AutoExportJobUpdateProperties": { + "type": "object", + "properties": { + "adminStatus": { + "$ref": "#/definitions/AutoExportJobAdminStatus", + "description": "The administrative status of the auto export job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto export job. By default it is set to 'Enable'." + } + } + }, + "AutoExportJobsListResult": { + "type": "object", + "description": "Result of the request to list auto export jobs. It contains a list of auto export jobs and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of auto export jobs.", + "items": { + "$ref": "#/definitions/AutoExportJob" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of auto export job list results, if there are any." + } + } + }, + "AutoExportStatusType": { + "type": "string", + "description": "The operational state of auto export. InProgress indicates the export is running. Disabling indicates the user has requested to disable the export but the disabling is still in progress. Disabled indicates auto export has been disabled. DisableFailed indicates the disabling has failed. Failed means the export was unable to continue, due to a fatal error.", + "enum": [ + "InProgress", + "Disabling", + "Disabled", + "DisableFailed", + "Failed" + ], + "x-ms-enum": { + "name": "AutoExportStatusType", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "InProgress" + }, + { + "name": "Disabling", + "value": "Disabling", + "description": "Disabling" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "DisableFailed", + "value": "DisableFailed", + "description": "DisableFailed" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "AutoImportJob": { + "type": "object", + "description": "An auto import job instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md", + "properties": { + "properties": { + "$ref": "#/definitions/AutoImportJobProperties", + "description": "Properties of the auto import job.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "AutoImportJobProperties": { + "type": "object", + "description": "Properties of the auto import job.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/AutoImportJobPropertiesProvisioningState", + "description": "ARM provisioning state.", + "readOnly": true + }, + "adminStatus": { + "type": "string", + "description": "The administrative status of the auto import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto import job. By default it is set to 'Enable'.", + "default": "Enable", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "AutoImportJobPropertiesAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "Disable" + } + ] + } + }, + "autoImportPrefixes": { + "type": "array", + "description": "An array of blob paths/prefixes that get auto imported to the cluster namespace. It has '/' as the default value. Number of maximum allowed paths is 100.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "conflictResolutionMode": { + "type": "string", + "description": "How the auto import job will handle conflicts. For example, if the auto import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the auto import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the auto import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or is currently released. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/blob-integration#conflict-resolution-mode for a thorough explanation of these resolution modes.", + "default": "Skip", + "enum": [ + "Fail", + "Skip", + "OverwriteIfDirty", + "OverwriteAlways" + ], + "x-ms-enum": { + "name": "ConflictResolutionMode", + "modelAsString": true, + "values": [ + { + "name": "Fail", + "value": "Fail", + "description": "Fail" + }, + { + "name": "Skip", + "value": "Skip", + "description": "Skip" + }, + { + "name": "OverwriteIfDirty", + "value": "OverwriteIfDirty", + "description": "OverwriteIfDirty" + }, + { + "name": "OverwriteAlways", + "value": "OverwriteAlways", + "description": "OverwriteAlways" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "enableDeletions": { + "type": "boolean", + "description": "Whether or not to enable deletions during auto import. This only affects overwrite-dirty.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "maximumErrors": { + "type": "integer", + "format": "int64", + "description": "Total non-conflict-oriented errors (e.g., OS errors) Import will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately on any error.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "status": { + "$ref": "#/definitions/AutoImportJobPropertiesStatus", + "description": "The status of the auto import job.", + "readOnly": true, + "x-ms-client-flatten": true + } + } + }, + "AutoImportJobPropertiesProvisioningState": { + "type": "string", + "description": "ARM provisioning state.", + "enum": [ + "Succeeded", + "Failed", + "Creating", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "AutoImportJobPropertiesProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + } + ] + } + }, + "AutoImportJobPropertiesStatus": { + "type": "object", + "description": "The status of the auto import job.", + "properties": { + "state": { + "$ref": "#/definitions/AutoImportJobState", + "description": "The state of the auto import operation.", + "readOnly": true + }, + "statusCode": { + "type": "string", + "description": "Server-defined status code for auto import job.", + "readOnly": true + }, + "statusMessage": { + "type": "string", + "description": "Server-defined status message for auto import job.", + "readOnly": true + }, + "scanStartTime": { + "type": "string", + "format": "date-time", + "description": "Date and time of when the currently running full scan began.", + "readOnly": true + }, + "scanEndTime": { + "type": "string", + "format": "date-time", + "description": "Date and time of when the full scan ended.", + "readOnly": true + }, + "totalBlobsWalked": { + "type": "integer", + "format": "int64", + "description": "Total number of blobs walked during full scan.", + "readOnly": true + }, + "rateOfBlobWalk": { + "type": "integer", + "format": "int64", + "description": "Rate of blobs walked during full scan.", + "readOnly": true + }, + "totalBlobsImported": { + "type": "integer", + "format": "int64", + "description": "Total number of blobs imported during full scan.", + "readOnly": true + }, + "rateOfBlobImport": { + "type": "integer", + "format": "int64", + "description": "Rate of blob import during full scan.", + "readOnly": true + }, + "importedFiles": { + "type": "integer", + "format": "int64", + "description": "Number of files imported during full scan.", + "readOnly": true + }, + "importedDirectories": { + "type": "integer", + "format": "int64", + "description": "Number of directories imported during full scan.", + "readOnly": true + }, + "importedSymlinks": { + "type": "integer", + "format": "int64", + "description": "Number of symlinks imported during full scan.", + "readOnly": true + }, + "preexistingFiles": { + "type": "integer", + "format": "int64", + "description": "Number of preexisting files during full scan.", + "readOnly": true + }, + "preexistingDirectories": { + "type": "integer", + "format": "int64", + "description": "Number of preexisting directories during full scan.", + "readOnly": true + }, + "preexistingSymlinks": { + "type": "integer", + "format": "int64", + "description": "Number of preexisting symlinks during full scan.", + "readOnly": true + }, + "totalErrors": { + "type": "integer", + "format": "int64", + "description": "Total errors encountered during full scan.", + "readOnly": true + }, + "totalConflicts": { + "type": "integer", + "format": "int64", + "description": "Total conflicts encountered during full scan.", + "readOnly": true + }, + "blobSyncEvents": { + "$ref": "#/definitions/AutoImportJobPropertiesStatusBlobSyncEvents", + "description": "The storage account blob change feed status of the auto import job.", + "readOnly": true + }, + "lastStartedTimeUTC": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) the latest auto import job started.", + "readOnly": true + }, + "lastCompletionTimeUTC": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) of the last completed auto import job.", + "readOnly": true + } + } + }, + "AutoImportJobPropertiesStatusBlobSyncEvents": { + "type": "object", + "description": "The storage account blob change feed status of the auto import job.", + "properties": { + "importedFiles": { + "type": "integer", + "format": "int64", + "description": "Number of files imported during auto import.", + "readOnly": true + }, + "importedDirectories": { + "type": "integer", + "format": "int64", + "description": "Number of directories imported during auto import.", + "readOnly": true + }, + "importedSymlinks": { + "type": "integer", + "format": "int64", + "description": "Number of symlinks imported during auto import.", + "readOnly": true + }, + "preexistingFiles": { + "type": "integer", + "format": "int64", + "description": "Number of preexisting files during auto import.", + "readOnly": true + }, + "preexistingDirectories": { + "type": "integer", + "format": "int64", + "description": "Number of preexisting directories during auto import.", + "readOnly": true + }, + "preexistingSymlinks": { + "type": "integer", + "format": "int64", + "description": "Number of preexisting symlinks during auto import.", + "readOnly": true + }, + "totalBlobsImported": { + "type": "integer", + "format": "int64", + "description": "Total number of blobs imported during auto import.", + "readOnly": true + }, + "rateOfBlobImport": { + "type": "integer", + "format": "int64", + "description": "Rate of blob import per second during auto import.", + "readOnly": true + }, + "totalErrors": { + "type": "integer", + "format": "int64", + "description": "Total errors encountered during auto import.", + "readOnly": true + }, + "totalConflicts": { + "type": "integer", + "format": "int64", + "description": "Total conflicts encountered during auto import.", + "readOnly": true + }, + "deletions": { + "type": "integer", + "format": "int64", + "description": "Number of deletions during auto import.", + "readOnly": true + }, + "lastChangeFeedEventConsumedTime": { + "type": "string", + "format": "date-time", + "description": "Date and time of the last Change Feed event consumed.", + "readOnly": true + }, + "lastTimeFullySynchronized": { + "type": "string", + "format": "date-time", + "description": "Date and time when last fully synchronized.", + "readOnly": true + } + } + }, + "AutoImportJobState": { + "type": "string", + "description": "The state of the auto import operation.", + "enum": [ + "InProgress", + "Failed", + "Disabling", + "Disabled" + ], + "x-ms-enum": { + "name": "AutoImportJobState", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "InProgress" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Disabling", + "value": "Disabling", + "description": "Disabling" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "AutoImportJobUpdate": { + "type": "object", + "description": "An auto import job update instance.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/AutoImportJobUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "AutoImportJobUpdateProperties": { + "type": "object", + "properties": { + "adminStatus": { + "$ref": "#/definitions/AutoImportJobUpdatePropertiesAdminStatus", + "description": "The administrative status of the auto import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto import job. By default it is set to 'Enable'." + } + } + }, + "AutoImportJobUpdatePropertiesAdminStatus": { + "type": "string", + "description": "The administrative status of the auto import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto import job. By default it is set to 'Enable'.", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "AutoImportJobUpdatePropertiesAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "Disable" + } + ] + } + }, + "AutoImportJobsListResult": { + "type": "object", + "description": "Result of the request to list auto import jobs. It contains a list of auto import jobs and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of auto import jobs.", + "items": { + "$ref": "#/definitions/AutoImportJob" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of auto import job list results, if there are any." + } + } + }, + "BlobNfsTarget": { + "type": "object", + "description": "Properties pertaining to the BlobNfsTarget.", + "properties": { + "target": { + "type": "string", + "description": "Resource ID of the storage container.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "usageModel": { + "type": "string", + "description": "Identifies the StorageCache usage model to be used for this storage target." + }, + "verificationTimer": { + "type": "integer", + "format": "int32", + "description": "Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates." + }, + "writeBackTimer": { + "type": "integer", + "format": "int32", + "description": "Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage." + } + } + }, + "Cache": { + "type": "object", + "description": "A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md", + "properties": { + "properties": { + "$ref": "#/definitions/CacheProperties", + "description": "Properties of the cache.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "type": "string", + "description": "Region name string.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "identity": { + "$ref": "#/definitions/CacheIdentity", + "description": "The identity of the cache, if configured." + }, + "sku": { + "$ref": "#/definitions/CacheSku", + "description": "SKU for the cache.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "CacheActiveDirectorySettings": { + "type": "object", + "description": "Active Directory settings used to join a cache to a domain.", + "properties": { + "primaryDnsIpAddress": { + "type": "string", + "description": "Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name." + }, + "secondaryDnsIpAddress": { + "type": "string", + "description": "Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name." + }, + "domainName": { + "type": "string", + "description": "The fully qualified domain name of the Active Directory domain controller." + }, + "domainNetBiosName": { + "type": "string", + "description": "The Active Directory domain's NetBIOS name." + }, + "cacheNetBiosName": { + "type": "string", + "description": "The NetBIOS name to assign to the HPC Cache when it joins the Active Directory domain as a server. Length must 1-15 characters from the class [-0-9a-zA-Z].", + "pattern": "^[-0-9a-zA-Z]{1,15}$" + }, + "domainJoined": { + "$ref": "#/definitions/DomainJoinedType", + "description": "True if the HPC Cache is joined to the Active Directory domain.", + "readOnly": true + }, + "credentials": { + "$ref": "#/definitions/CacheActiveDirectorySettingsCredentials", + "description": "Active Directory admin credentials used to join the HPC Cache to a domain." + } + }, + "required": [ + "primaryDnsIpAddress", + "domainName", + "domainNetBiosName", + "cacheNetBiosName" + ] + }, + "CacheActiveDirectorySettingsCredentials": { + "type": "object", + "description": "Active Directory admin credentials used to join the HPC Cache to a domain.", + "properties": { + "username": { + "type": "string", + "description": "Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response." + }, + "password": { + "type": "string", + "format": "password", + "description": "Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response.", + "x-ms-mutability": [ + "read", + "update", + "create" + ], + "x-ms-secret": true + } + }, + "required": [ + "username" + ] + }, + "CacheDirectorySettings": { + "type": "object", + "description": "Cache Directory Services settings.", + "properties": { + "activeDirectory": { + "$ref": "#/definitions/CacheActiveDirectorySettings", + "description": "Specifies settings for joining the HPC Cache to an Active Directory domain." + }, + "usernameDownload": { + "$ref": "#/definitions/CacheUsernameDownloadSettings", + "description": "Specifies settings for Extended Groups. Extended Groups allows users to be members of more than 16 groups." + } + } + }, + "CacheEncryptionSettings": { + "type": "object", + "description": "Cache encryption settings.", + "properties": { + "keyEncryptionKey": { + "$ref": "#/definitions/KeyVaultKeyReference", + "format": "password", + "description": "Specifies the location of the key encryption key in key vault.", + "x-ms-secret": true + }, + "rotationToLatestKeyVersionEnabled": { + "type": "boolean", + "description": "Specifies whether the service will automatically rotate to the newest version of the key in the key vault." + } + } + }, + "CacheHealth": { + "type": "object", + "description": "An indication of cache health. Gives more information about health than just that related to provisioning.", + "properties": { + "state": { + "$ref": "#/definitions/HealthStateType", + "description": "List of cache health states. Down is when the cluster is not responding. Degraded is when its functioning but has some alerts. Transitioning when it is creating or deleting. Unknown will be returned in old api versions when a new value is added in future versions. WaitingForKey is when the create is waiting for the system assigned identity to be given access to the encryption key in the encryption settings." + }, + "statusDescription": { + "type": "string", + "description": "Describes explanation of state." + }, + "conditions": { + "type": "array", + "description": "Outstanding conditions that need to be investigated and resolved.", + "items": { + "$ref": "#/definitions/Condition" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "CacheIdentity": { + "type": "object", + "description": "Cache identity properties.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID for the system-assigned identity of the cache.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant ID associated with the cache.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/CacheIdentityType", + "description": "The type of identity used for the cache" + }, + "userAssignedIdentities": { + "type": "object", + "description": "A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.", + "additionalProperties": { + "$ref": "#/definitions/userAssignedIdentitiesValue" + } + } + } + }, + "CacheIdentityType": { + "type": "string", + "description": "The type of identity used for the cache", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "CacheIdentityType", + "modelAsString": false, + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned", + "description": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "UserAssigned" + }, + { + "name": "SystemAssigned, UserAssigned", + "value": "SystemAssigned, UserAssigned", + "description": "SystemAssigned, UserAssigned" + }, + { + "name": "None", + "value": "None", + "description": "None" + } + ] + } + }, + "CacheNetworkSettings": { + "type": "object", + "description": "Cache network settings.", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "The IPv4 maximum transmission unit configured for the subnet.", + "default": 1500, + "minimum": 576, + "maximum": 1500 + }, + "utilityAddresses": { + "type": "array", + "description": "Array of additional IP addresses used by this cache.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "dnsServers": { + "type": "array", + "description": "DNS servers for the cache to use. It will be set from the network configuration if no value is provided.", + "items": { + "type": "string" + } + }, + "dnsSearchDomain": { + "type": "string", + "description": "DNS search domain" + }, + "ntpServer": { + "type": "string", + "description": "NTP server IP Address or FQDN for the cache to use. The default is time.windows.com.", + "default": "time.windows.com" + } + } + }, + "CacheProperties": { + "type": "object", + "description": "Properties of the cache.", + "properties": { + "cacheSizeGB": { + "type": "integer", + "format": "int32", + "description": "The size of this Cache, in GB.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "health": { + "$ref": "#/definitions/CacheHealth", + "description": "Health of the cache.", + "readOnly": true + }, + "mountAddresses": { + "type": "array", + "description": "Array of IPv4 addresses that can be used by clients mounting this cache.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningStateType", + "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property", + "readOnly": true + }, + "subnet": { + "type": "string", + "description": "Subnet used for the cache.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "upgradeStatus": { + "$ref": "#/definitions/CacheUpgradeStatus", + "description": "Upgrade status of the cache.", + "readOnly": true + }, + "upgradeSettings": { + "$ref": "#/definitions/CacheUpgradeSettings", + "description": "Upgrade settings of the cache." + }, + "networkSettings": { + "$ref": "#/definitions/CacheNetworkSettings", + "description": "Specifies network settings of the cache." + }, + "encryptionSettings": { + "$ref": "#/definitions/CacheEncryptionSettings", + "description": "Specifies encryption settings of the cache." + }, + "securitySettings": { + "$ref": "#/definitions/CacheSecuritySettings", + "description": "Specifies security settings of the cache." + }, + "directoryServicesSettings": { + "$ref": "#/definitions/CacheDirectorySettings", + "description": "Specifies Directory Services settings of the cache." + }, + "zones": { + "type": "array", + "description": "Availability zones for resources. This field should only contain a single element in the array.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "primingJobs": { + "type": "array", + "description": "Specifies the priming jobs defined in the cache.", + "items": { + "$ref": "#/definitions/PrimingJob" + }, + "x-ms-identifiers": [ + "primingJobId" + ] + }, + "spaceAllocation": { + "type": "array", + "description": "Specifies the space allocation percentage for each storage target in the cache.", + "items": { + "$ref": "#/definitions/StorageTargetSpaceAllocation" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "CacheSecuritySettings": { + "type": "object", + "description": "Cache security settings.", + "properties": { + "accessPolicies": { + "type": "array", + "description": "NFS access policies defined for this cache.", + "items": { + "$ref": "#/definitions/NfsAccessPolicy" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "CacheSku": { + "type": "object", + "description": "SKU for the cache.", + "properties": { + "name": { + "type": "string", + "description": "SKU name for this cache." + } + } + }, + "CacheUpgradeSettings": { + "type": "object", + "description": "Cache Upgrade Settings.", + "properties": { + "upgradeScheduleEnabled": { + "type": "boolean", + "description": "True if the user chooses to select an installation time between now and firmwareUpdateDeadline. Else the firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation." + }, + "scheduledTime": { + "type": "string", + "format": "date-time", + "description": "When upgradeScheduleEnabled is true, this field holds the user-chosen upgrade time. At the user-chosen time, the firmware update will automatically be installed on the cache." + } + } + }, + "CacheUpgradeStatus": { + "type": "object", + "description": "Properties describing the software upgrade state of the cache.", + "properties": { + "currentFirmwareVersion": { + "type": "string", + "description": "Version string of the firmware currently installed on this cache.", + "readOnly": true + }, + "firmwareUpdateStatus": { + "$ref": "#/definitions/FirmwareStatusType", + "description": "True if there is a firmware update ready to install on this cache. The firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.", + "readOnly": true + }, + "firmwareUpdateDeadline": { + "type": "string", + "format": "date-time", + "description": "Time at which the pending firmware update will automatically be installed on the cache.", + "readOnly": true + }, + "lastFirmwareUpdate": { + "type": "string", + "format": "date-time", + "description": "Time of the last successful firmware update.", + "readOnly": true + }, + "pendingFirmwareVersion": { + "type": "string", + "description": "When firmwareUpdateAvailable is true, this field holds the version string for the update.", + "readOnly": true + } + } + }, + "CacheUsernameDownloadSettings": { + "type": "object", + "description": "Settings for Extended Groups username and group download.", + "properties": { + "extendedGroups": { + "type": "boolean", + "description": "Whether or not Extended Groups is enabled." + }, + "usernameSource": { + "type": "string", + "description": "This setting determines how the cache gets username and group names for clients.", + "default": "None", + "enum": [ + "AD", + "LDAP", + "File", + "None" + ], + "x-ms-enum": { + "name": "UsernameSource", + "modelAsString": true, + "values": [ + { + "name": "AD", + "value": "AD", + "description": "AD" + }, + { + "name": "LDAP", + "value": "LDAP", + "description": "LDAP" + }, + { + "name": "File", + "value": "File", + "description": "File" + }, + { + "name": "None", + "value": "None", + "description": "None" + } + ] + } + }, + "groupFileURI": { + "type": "string", + "description": "The URI of the file containing group information (in /etc/group file format). This field must be populated when 'usernameSource' is set to 'File'." + }, + "userFileURI": { + "type": "string", + "description": "The URI of the file containing user information (in /etc/passwd file format). This field must be populated when 'usernameSource' is set to 'File'." + }, + "ldapServer": { + "type": "string", + "description": "The fully qualified domain name or IP address of the LDAP server to use." + }, + "ldapBaseDN": { + "type": "string", + "description": "The base distinguished name for the LDAP domain." + }, + "encryptLdapConnection": { + "type": "boolean", + "description": "Whether or not the LDAP connection should be encrypted.", + "default": false + }, + "requireValidCertificate": { + "type": "boolean", + "description": "Determines if the certificates must be validated by a certificate authority. When true, caCertificateURI must be provided.", + "default": false + }, + "autoDownloadCertificate": { + "type": "boolean", + "description": "Determines if the certificate should be automatically downloaded. This applies to 'caCertificateURI' only if 'requireValidCertificate' is true.", + "default": false + }, + "caCertificateURI": { + "type": "string", + "description": "The URI of the CA certificate to validate the LDAP secure connection. This field must be populated when 'requireValidCertificate' is set to true." + }, + "usernameDownloaded": { + "$ref": "#/definitions/UsernameDownloadedType", + "description": "Indicates whether or not the HPC Cache has performed the username download successfully.", + "readOnly": true + }, + "credentials": { + "$ref": "#/definitions/CacheUsernameDownloadSettingsCredentials", + "description": "When present, these are the credentials for the secure LDAP connection." + } + } + }, + "CacheUsernameDownloadSettingsCredentials": { + "type": "object", + "description": "When present, these are the credentials for the secure LDAP connection.", + "properties": { + "bindDn": { + "type": "string", + "description": "The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "bindPassword": { + "type": "string", + "format": "password", + "description": "The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.", + "x-ms-secret": true + } + } + }, + "CachesListResult": { + "type": "object", + "description": "Result of the request to list caches. It contains a list of caches and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of caches.", + "items": { + "$ref": "#/definitions/Cache" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of cache list results, if there are any." + } + } + }, + "ClfsTarget": { + "type": "object", + "description": "Properties pertaining to the ClfsTarget", + "properties": { + "target": { + "type": "string", + "description": "Resource ID of storage container.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "CloudError": { + "type": "object", + "description": "An error response.", + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "The body of the error." + } + }, + "x-ms-external": true + }, + "CloudErrorBody": { + "type": "object", + "description": "An error response.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "details": { + "type": "array", + "description": "A list of additional details about the error.", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "x-ms-identifiers": [] + }, + "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." + } + } + }, + "Condition": { + "type": "object", + "description": "Outstanding conditions that will need to be resolved.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the condition was raised.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "The issue requiring attention.", + "readOnly": true + } + } + }, + "DomainJoinedType": { + "type": "string", + "description": "True if the HPC Cache is joined to the Active Directory domain.", + "enum": [ + "Yes", + "No", + "Error" + ], + "x-ms-enum": { + "name": "DomainJoinedType", + "modelAsString": true, + "values": [ + { + "name": "Yes", + "value": "Yes", + "description": "Yes" + }, + { + "name": "No", + "value": "No", + "description": "No" + }, + { + "name": "Error", + "value": "Error", + "description": "Error" + } + ] + } + }, + "ExpansionJob": { + "type": "object", + "description": "An expansion job instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md", + "properties": { + "properties": { + "$ref": "#/definitions/ExpansionJobProperties", + "description": "Properties of the expansion job.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ExpansionJobProperties": { + "type": "object", + "description": "Properties of the expansion job.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ExpansionJobPropertiesProvisioningState", + "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property", + "readOnly": true + }, + "newStorageCapacityTiB": { + "type": "number", + "format": "float", + "description": "The new storage capacity in TiB for the AML file system after expansion. This must be a multiple of the Sku step size, and greater than the current storage capacity of the AML file system.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "status": { + "$ref": "#/definitions/ExpansionJobPropertiesStatus", + "description": "The status of the expansion job.", + "readOnly": true, + "x-ms-client-flatten": true + } + } + }, + "ExpansionJobPropertiesProvisioningState": { + "type": "string", + "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property", + "enum": [ + "Succeeded", + "Failed", + "Creating", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "ExpansionJobPropertiesProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + } + ] + } + }, + "ExpansionJobPropertiesStatus": { + "type": "object", + "description": "The status of the expansion job.", + "properties": { + "state": { + "$ref": "#/definitions/ExpansionJobStatusType", + "description": "The operational state of the expansion job. InProgress indicates the expansion is still running. Completed indicates expansion finished successfully. Failed means the expansion was unable to complete due to a fatal error. Deleting indicates the expansion is being rolled back.", + "readOnly": true + }, + "statusCode": { + "type": "string", + "description": "Server-defined status code for expansion job.", + "readOnly": true + }, + "statusMessage": { + "type": "string", + "description": "Server-defined status message for expansion job.", + "readOnly": true + }, + "percentComplete": { + "type": "number", + "format": "float", + "description": "The percentage of expansion job completion.", + "minimum": 0, + "maximum": 100, + "readOnly": true + }, + "startTimeUTC": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) the expansion job started.", + "readOnly": true + }, + "completionTimeUTC": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) when the expansion job completed. Only populated when job reaches a terminal state.", + "readOnly": true + } + } + }, + "ExpansionJobStatusType": { + "type": "string", + "description": "The operational state of the expansion job. InProgress indicates the expansion is still running. Completed indicates expansion finished successfully. Failed means the expansion was unable to complete due to a fatal error. Deleting indicates the expansion is being rolled back.", + "enum": [ + "InProgress", + "Completed", + "Failed", + "Deleting", + "RollingBack" + ], + "x-ms-enum": { + "name": "ExpansionJobStatusType", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "InProgress" + }, + { + "name": "Completed", + "value": "Completed", + "description": "Completed" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "RollingBack", + "value": "RollingBack", + "description": "RollingBack" + } + ] + } + }, + "ExpansionJobUpdate": { + "type": "object", + "description": "An expansion job update instance.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ExpansionJobsListResult": { + "type": "object", + "description": "Result of the request to list expansion jobs. It contains a list of expansion jobs and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of expansion jobs.", + "items": { + "$ref": "#/definitions/ExpansionJob" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of expansion job list results, if there are any." + } + } + }, + "FilesystemSubnetStatusType": { + "type": "string", + "description": "The status of the AML file system subnet check.", + "enum": [ + "Ok", + "Invalid" + ], + "x-ms-enum": { + "name": "FilesystemSubnetStatusType", + "modelAsString": true, + "values": [ + { + "name": "Ok", + "value": "Ok", + "description": "Ok" + }, + { + "name": "Invalid", + "value": "Invalid", + "description": "Invalid" + } + ] + } + }, + "FirmwareStatusType": { + "type": "string", + "description": "True if there is a firmware update ready to install on this cache. The firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.", + "enum": [ + "available", + "unavailable" + ], + "x-ms-enum": { + "name": "FirmwareStatusType", + "modelAsString": true, + "values": [ + { + "name": "available", + "value": "available", + "description": "available" + }, + { + "name": "unavailable", + "value": "unavailable", + "description": "unavailable" + } + ] + } + }, + "HealthStateType": { + "type": "string", + "description": "List of cache health states. Down is when the cluster is not responding. Degraded is when its functioning but has some alerts. Transitioning when it is creating or deleting. Unknown will be returned in old api versions when a new value is added in future versions. WaitingForKey is when the create is waiting for the system assigned identity to be given access to the encryption key in the encryption settings.", + "enum": [ + "Unknown", + "Healthy", + "Degraded", + "Down", + "Transitioning", + "Stopping", + "Stopped", + "Upgrading", + "Flushing", + "WaitingForKey", + "StartFailed", + "UpgradeFailed" + ], + "x-ms-enum": { + "name": "HealthStateType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Healthy", + "value": "Healthy", + "description": "Healthy" + }, + { + "name": "Degraded", + "value": "Degraded", + "description": "Degraded" + }, + { + "name": "Down", + "value": "Down", + "description": "Down" + }, + { + "name": "Transitioning", + "value": "Transitioning", + "description": "Transitioning" + }, + { + "name": "Stopping", + "value": "Stopping", + "description": "Stopping" + }, + { + "name": "Stopped", + "value": "Stopped", + "description": "Stopped" + }, + { + "name": "Upgrading", + "value": "Upgrading", + "description": "Upgrading" + }, + { + "name": "Flushing", + "value": "Flushing", + "description": "Flushing" + }, + { + "name": "WaitingForKey", + "value": "WaitingForKey", + "description": "WaitingForKey" + }, + { + "name": "StartFailed", + "value": "StartFailed", + "description": "StartFailed" + }, + { + "name": "UpgradeFailed", + "value": "UpgradeFailed", + "description": "UpgradeFailed" + } + ] + } + }, + "ImportJob": { + "type": "object", + "description": "An import job instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md", + "properties": { + "properties": { + "$ref": "#/definitions/ImportJobProperties", + "description": "Properties of the import job.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ImportJobAdminStatus": { + "type": "string", + "description": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.", + "enum": [ + "Active", + "Cancel" + ], + "x-ms-enum": { + "name": "ImportJobAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Active" + }, + { + "name": "Cancel", + "value": "Cancel", + "description": "Cancel" + } + ] + } + }, + "ImportJobProperties": { + "type": "object", + "description": "Properties of the import job.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ImportJobProvisioningStateType", + "description": "ARM provisioning state.", + "readOnly": true + }, + "adminStatus": { + "type": "string", + "description": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.", + "default": "Active", + "enum": [ + "Active", + "Cancel" + ], + "x-ms-enum": { + "name": "ImportJobAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Active" + }, + { + "name": "Cancel", + "value": "Cancel", + "description": "Cancel" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "importPrefixes": { + "type": "array", + "description": "An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "conflictResolutionMode": { + "type": "string", + "description": "How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.", + "default": "Fail", + "enum": [ + "Fail", + "Skip", + "OverwriteIfDirty", + "OverwriteAlways" + ], + "x-ms-enum": { + "name": "ConflictResolutionMode", + "modelAsString": true, + "values": [ + { + "name": "Fail", + "value": "Fail", + "description": "Fail" + }, + { + "name": "Skip", + "value": "Skip", + "description": "Skip" + }, + { + "name": "OverwriteIfDirty", + "value": "OverwriteIfDirty", + "description": "OverwriteIfDirty" + }, + { + "name": "OverwriteAlways", + "value": "OverwriteAlways", + "description": "OverwriteAlways" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "maximumErrors": { + "type": "integer", + "format": "int32", + "description": "Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default.", + "default": 0, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "status": { + "$ref": "#/definitions/ImportJobPropertiesStatus", + "description": "The status of the import", + "readOnly": true, + "x-ms-client-flatten": true + } + } + }, + "ImportJobPropertiesStatus": { + "type": "object", + "description": "The status of the import", + "properties": { + "state": { + "$ref": "#/definitions/ImportStatusType", + "description": "The operational state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.", + "readOnly": true + }, + "statusMessage": { + "type": "string", + "description": "The status message of the import job.", + "readOnly": true + }, + "totalBlobsWalked": { + "type": "integer", + "format": "int64", + "description": "The total blob objects walked.", + "readOnly": true + }, + "blobsWalkedPerSecond": { + "type": "integer", + "format": "int64", + "description": "A recent and frequently updated rate of blobs walked per second.", + "readOnly": true + }, + "totalBlobsImported": { + "type": "integer", + "format": "int64", + "description": "The total blobs that have been imported since import began.", + "readOnly": true + }, + "importedFiles": { + "type": "integer", + "format": "int64", + "description": "New or modified files that have been imported into the filesystem.", + "readOnly": true + }, + "importedDirectories": { + "type": "integer", + "format": "int64", + "description": "New or modified directories that have been imported into the filesystem.", + "readOnly": true + }, + "importedSymlinks": { + "type": "integer", + "format": "int64", + "description": "Newly added symbolic links into the filesystem.", + "readOnly": true + }, + "preexistingFiles": { + "type": "integer", + "format": "int64", + "description": "Files that already exist in the filesystem and have not been modified.", + "readOnly": true + }, + "preexistingDirectories": { + "type": "integer", + "format": "int64", + "description": "Directories that already exist in the filesystem and have not been modified.", + "readOnly": true + }, + "preexistingSymlinks": { + "type": "integer", + "format": "int64", + "description": "Symbolic links that already exist in the filesystem and have not been modified.", + "readOnly": true + }, + "blobsImportedPerSecond": { + "type": "integer", + "format": "int64", + "description": "A recent and frequently updated rate of total files, directories, and symlinks imported per second.", + "readOnly": true + }, + "lastCompletionTime": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) of the last completed import job.", + "readOnly": true + }, + "lastStartedTime": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) the latest import job started.", + "readOnly": true + }, + "totalErrors": { + "type": "integer", + "format": "int32", + "description": "Number of errors in the import job.", + "readOnly": true + }, + "totalConflicts": { + "type": "integer", + "format": "int32", + "description": "Number of conflicts in the import job.", + "readOnly": true + } + } + }, + "ImportJobProvisioningStateType": { + "type": "string", + "description": "ARM provisioning state.", + "enum": [ + "Succeeded", + "Failed", + "Creating", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "ImportJobProvisioningStateType", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + } + ] + } + }, + "ImportJobUpdate": { + "type": "object", + "description": "An import job update instance.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ImportJobUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "ImportJobUpdateProperties": { + "type": "object", + "properties": { + "adminStatus": { + "$ref": "#/definitions/ImportJobAdminStatus", + "description": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job." + } + } + }, + "ImportJobsListResult": { + "type": "object", + "description": "Result of the request to list import jobs. It contains a list of import jobs and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of import jobs.", + "items": { + "$ref": "#/definitions/ImportJob" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of import job list results, if there are any." + } + } + }, + "ImportStatusType": { + "type": "string", + "description": "The operational state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.", + "enum": [ + "InProgress", + "Cancelling", + "Canceled", + "Completed", + "CompletedPartial", + "Failed" + ], + "x-ms-enum": { + "name": "ImportStatusType", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "InProgress" + }, + { + "name": "Cancelling", + "value": "Cancelling", + "description": "Cancelling" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + }, + { + "name": "Completed", + "value": "Completed", + "description": "Completed" + }, + { + "name": "CompletedPartial", + "value": "CompletedPartial", + "description": "CompletedPartial" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "KeyVaultKeyReference": { + "type": "object", + "description": "Describes a reference to key vault key.", + "properties": { + "keyUrl": { + "type": "string", + "description": "The URL referencing a key encryption key in key vault." + }, + "sourceVault": { + "$ref": "#/definitions/KeyVaultKeyReferenceSourceVault", + "description": "Describes a resource Id to source key vault." + } + }, + "required": [ + "keyUrl", + "sourceVault" + ] + }, + "KeyVaultKeyReferenceSourceVault": { + "type": "object", + "description": "Describes a resource Id to source key vault.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id." + } + } + }, + "LogSpecification": { + "type": "object", + "description": "Details about operation related to logs.", + "properties": { + "name": { + "type": "string", + "description": "The name of the log." + }, + "displayName": { + "type": "string", + "description": "Localized display name of the log." + } + } + }, + "MaintenanceDayOfWeekType": { + "type": "string", + "description": "Day of the week on which the maintenance window will occur.", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], + "x-ms-enum": { + "name": "MaintenanceDayOfWeekType", + "modelAsString": false, + "values": [ + { + "name": "Monday", + "value": "Monday", + "description": "Monday" + }, + { + "name": "Tuesday", + "value": "Tuesday", + "description": "Tuesday" + }, + { + "name": "Wednesday", + "value": "Wednesday", + "description": "Wednesday" + }, + { + "name": "Thursday", + "value": "Thursday", + "description": "Thursday" + }, + { + "name": "Friday", + "value": "Friday", + "description": "Friday" + }, + { + "name": "Saturday", + "value": "Saturday", + "description": "Saturday" + }, + { + "name": "Sunday", + "value": "Sunday", + "description": "Sunday" + } + ] + } + }, + "MetricAggregationType": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "x-ms-enum": { + "name": "MetricAggregationType", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "NotSpecified" + }, + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Average", + "value": "Average", + "description": "Average" + }, + { + "name": "Minimum", + "value": "Minimum", + "description": "Minimum" + }, + { + "name": "Maximum", + "value": "Maximum", + "description": "Maximum" + }, + { + "name": "Total", + "value": "Total", + "description": "Total" + }, + { + "name": "Count", + "value": "Count", + "description": "Count" + } + ] + } + }, + "MetricDimension": { + "type": "object", + "description": "Specifications of the Dimension of metrics.", + "properties": { + "name": { + "type": "string", + "description": "Name of the dimension" + }, + "displayName": { + "type": "string", + "description": "Localized friendly display name of the dimension" + }, + "internalName": { + "type": "string", + "description": "Internal name of the dimension." + }, + "toBeExportedForShoebox": { + "type": "boolean", + "description": "To be exported to shoe box." + } + } + }, + "MetricSpecification": { + "type": "object", + "description": "Details about operation related to metrics.", + "properties": { + "name": { + "type": "string", + "description": "The name of the metric." + }, + "displayName": { + "type": "string", + "description": "Localized display name of the metric." + }, + "displayDescription": { + "type": "string", + "description": "The description of the metric." + }, + "unit": { + "type": "string", + "description": "The unit that the metric is measured in." + }, + "aggregationType": { + "type": "string", + "description": "The type of metric aggregation." + }, + "supportedAggregationTypes": { + "type": "array", + "description": "Support metric aggregation type.", + "items": { + "$ref": "#/definitions/MetricAggregationType" + } + }, + "metricClass": { + "type": "string", + "description": "Type of metrics." + }, + "dimensions": { + "type": "array", + "description": "Dimensions of the metric", + "items": { + "$ref": "#/definitions/MetricDimension" + }, + "x-ms-identifiers": [] + } + } + }, + "NamespaceJunction": { + "type": "object", + "description": "A namespace junction.", + "properties": { + "namespacePath": { + "type": "string", + "description": "Namespace path on a cache for a Storage Target." + }, + "targetPath": { + "type": "string", + "description": "Path in Storage Target to which namespacePath points." + }, + "nfsExport": { + "type": "string", + "description": "NFS export where targetPath exists." + }, + "nfsAccessPolicy": { + "type": "string", + "description": "Name of the access policy applied to this junction.", + "default": "default" + } + } + }, + "Nfs3Target": { + "type": "object", + "description": "Properties pertaining to the Nfs3Target", + "properties": { + "target": { + "type": "string", + "description": "IP address or host name of an NFSv3 host (e.g., 10.0.44.44).", + "pattern": "^[-.,0-9a-zA-Z]+$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "usageModel": { + "type": "string", + "description": "Identifies the StorageCache usage model to be used for this storage target." + }, + "verificationTimer": { + "type": "integer", + "format": "int32", + "description": "Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates." + }, + "writeBackTimer": { + "type": "integer", + "format": "int32", + "description": "Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage." + } + } + }, + "NfsAccessPolicy": { + "type": "object", + "description": "A set of rules describing access policies applied to NFSv3 clients of the cache.", + "properties": { + "name": { + "type": "string", + "description": "Name identifying this policy. Access Policy names are not case sensitive." + }, + "accessRules": { + "type": "array", + "description": "The set of rules describing client accesses allowed under this policy.", + "items": { + "$ref": "#/definitions/NfsAccessRule" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "name", + "accessRules" + ] + }, + "NfsAccessRule": { + "type": "object", + "description": "Rule to place restrictions on portions of the cache namespace being presented to clients.", + "properties": { + "scope": { + "$ref": "#/definitions/NfsAccessRuleScope", + "description": "Scope for this rule. The scope and filter determine which clients match the rule." + }, + "filter": { + "type": "string", + "description": "Filter applied to the scope for this rule. The filter's format depends on its scope. 'default' scope matches all clients and has no filter value. 'network' scope takes a filter in CIDR format (for example, 10.99.1.0/24). 'host' takes an IP address or fully qualified domain name as filter. If a client does not match any filter rule and there is no default rule, access is denied." + }, + "access": { + "$ref": "#/definitions/NfsAccessRuleAccess", + "description": "Access allowed by this rule." + }, + "suid": { + "type": "boolean", + "description": "Allow SUID semantics." + }, + "submountAccess": { + "type": "boolean", + "description": "For the default policy, allow access to subdirectories under the root export. If this is set to no, clients can only mount the path '/'. If set to yes, clients can mount a deeper path, like '/a/b'." + }, + "rootSquash": { + "type": "boolean", + "description": "Map root accesses to anonymousUID and anonymousGID." + }, + "anonymousUID": { + "type": "string", + "description": "UID value that replaces 0 when rootSquash is true. 65534 will be used if not provided." + }, + "anonymousGID": { + "type": "string", + "description": "GID value that replaces 0 when rootSquash is true. This will use the value of anonymousUID if not provided." + } + }, + "required": [ + "scope", + "access" + ] + }, + "NfsAccessRuleAccess": { + "type": "string", + "description": "Access allowed by this rule.", + "enum": [ + "no", + "ro", + "rw" + ], + "x-ms-enum": { + "name": "NfsAccessRuleAccess", + "modelAsString": true, + "values": [ + { + "name": "no", + "value": "no", + "description": "no" + }, + { + "name": "ro", + "value": "ro", + "description": "ro" + }, + { + "name": "rw", + "value": "rw", + "description": "rw" + } + ] + } + }, + "NfsAccessRuleScope": { + "type": "string", + "description": "Scope for this rule. The scope and filter determine which clients match the rule.", + "enum": [ + "default", + "network", + "host" + ], + "x-ms-enum": { + "name": "NfsAccessRuleScope", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default", + "description": "default" + }, + { + "name": "network", + "value": "network", + "description": "network" + }, + { + "name": "host", + "value": "host", + "description": "host" + } + ] + } + }, + "OperationalStateType": { + "type": "string", + "description": "Storage target operational state.", + "enum": [ + "Ready", + "Busy", + "Suspended", + "Flushing" + ], + "x-ms-enum": { + "name": "OperationalStateType", + "modelAsString": true, + "values": [ + { + "name": "Ready", + "value": "Ready", + "description": "Ready" + }, + { + "name": "Busy", + "value": "Busy", + "description": "Busy" + }, + { + "name": "Suspended", + "value": "Suspended", + "description": "Suspended" + }, + { + "name": "Flushing", + "value": "Flushing", + "description": "Flushing" + } + ] + } + }, + "PrimingJob": { + "type": "object", + "description": "A priming job instance.", + "properties": { + "primingJobName": { + "type": "string", + "description": "The priming job name.", + "pattern": "^[-0-9a-zA-Z_]{1,80}$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "primingManifestUrl": { + "type": "string", + "format": "password", + "description": "The URL for the priming manifest file to download. This file must be readable from the HPC Cache. When the file is in Azure blob storage the URL should include a Shared Access Signature (SAS) granting read permissions on the blob.", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true + }, + "primingJobId": { + "type": "string", + "description": "The unique identifier of the priming job.", + "pattern": "^[-0-9a-zA-Z_]{1,80}$", + "readOnly": true + }, + "primingJobState": { + "$ref": "#/definitions/PrimingJobState", + "description": "The state of the priming operation.", + "readOnly": true + }, + "primingJobStatus": { + "type": "string", + "description": "The status code of the priming job.", + "readOnly": true + }, + "primingJobDetails": { + "type": "string", + "description": "The job details or error information if any.", + "readOnly": true + }, + "primingJobPercentComplete": { + "type": "number", + "format": "double", + "description": "The current progress of the priming job, as a percentage.", + "minimum": 0, + "maximum": 100, + "readOnly": true + } + }, + "required": [ + "primingJobName", + "primingManifestUrl" + ] + }, + "PrimingJobIdParameter": { + "type": "object", + "description": "Object containing the priming job ID.", + "properties": { + "primingJobId": { + "type": "string", + "description": "The unique identifier of the priming job.", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + } + }, + "required": [ + "primingJobId" + ] + }, + "PrimingJobState": { + "type": "string", + "description": "The state of the priming operation.", + "enum": [ + "Queued", + "Running", + "Paused", + "Complete" + ], + "x-ms-enum": { + "name": "PrimingJobState", + "modelAsString": true, + "values": [ + { + "name": "Queued", + "value": "Queued", + "description": "Queued" + }, + { + "name": "Running", + "value": "Running", + "description": "Running" + }, + { + "name": "Paused", + "value": "Paused", + "description": "Paused" + }, + { + "name": "Complete", + "value": "Complete", + "description": "Complete" + } + ] + } + }, + "ProvisioningStateType": { + "type": "string", + "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningStateType", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + } + ] + } + }, + "ReasonCode": { + "type": "string", + "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". \"QuotaId\" is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. \"NotAvailableForSubscription\" is related to capacity at the datacenter.", + "enum": [ + "QuotaId", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true, + "values": [ + { + "name": "QuotaId", + "value": "QuotaId", + "description": "QuotaId" + }, + { + "name": "NotAvailableForSubscription", + "value": "NotAvailableForSubscription", + "description": "NotAvailableForSubscription" + } + ] + } + }, + "RequiredAmlFilesystemSubnetsSize": { + "type": "object", + "description": "Information about the number of available IP addresses that are required for the AML file system.", + "properties": { + "filesystemSubnetSize": { + "type": "integer", + "format": "int32", + "description": "The number of available IP addresses that are required for the AML file system." + } + } + }, + "RequiredAmlFilesystemSubnetsSizeInfo": { + "type": "object", + "description": "Information required to get the number of available IP addresses a subnet should have that will be used in AML file system create", + "properties": { + "storageCapacityTiB": { + "type": "number", + "format": "float", + "description": "The size of the AML file system, in TiB." + }, + "sku": { + "$ref": "#/definitions/SkuName", + "description": "SKU for the resource." + } + } + }, + "ResourceSku": { + "type": "object", + "description": "A resource SKU.", + "properties": { + "resourceType": { + "type": "string", + "description": "The type of resource the SKU applies to.", + "readOnly": true + }, + "capabilities": { + "type": "array", + "description": "A list of capabilities of this SKU, such as throughput or ops/sec.", + "items": { + "$ref": "#/definitions/ResourceSkuCapabilities" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "locations": { + "type": "array", + "description": "The set of locations where the SKU is available. This is the supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.).", + "items": { + "type": "string" + }, + "readOnly": true + }, + "locationInfo": { + "type": "array", + "description": "The set of locations where the SKU is available.", + "items": { + "$ref": "#/definitions/ResourceSkuLocationInfo" + }, + "x-ms-identifiers": [] + }, + "name": { + "type": "string", + "description": "The name of this SKU." + }, + "restrictions": { + "type": "array", + "description": "The restrictions preventing this SKU from being used. This is empty if there are no restrictions.", + "items": { + "$ref": "#/definitions/Restriction" + }, + "x-ms-identifiers": [] + } + } + }, + "ResourceSkuCapabilities": { + "type": "object", + "description": "A resource SKU capability.", + "properties": { + "name": { + "type": "string", + "description": "Name of a capability, such as ops/sec." + }, + "value": { + "type": "string", + "description": "Quantity, if the capability is measured by quantity." + } + } + }, + "ResourceSkuLocationInfo": { + "type": "object", + "description": "Resource SKU location information.", + "properties": { + "location": { + "type": "string", + "description": "Location where this SKU is available." + }, + "zones": { + "type": "array", + "description": "Zones if any.", + "items": { + "type": "string" + } + } + } + }, + "ResourceSkusResult": { + "type": "object", + "description": "The response from the List Cache SKUs operation.", + "properties": { + "value": { + "type": "array", + "description": "The list of SKUs available for the subscription.", + "items": { + "$ref": "#/definitions/ResourceSku" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The URI to fetch the next page of cache SKUs." + } + } + }, + "ResourceUsage": { + "type": "object", + "description": "The usage and limit (quota) for a resource.", + "properties": { + "limit": { + "type": "integer", + "format": "int32", + "description": "The limit (quota) for this resource.", + "minimum": 0, + "readOnly": true + }, + "unit": { + "type": "string", + "description": "Unit that the limit and usages are expressed in, such as 'Count'.", + "readOnly": true + }, + "currentValue": { + "type": "integer", + "format": "int32", + "description": "The current usage of this resource.", + "minimum": 0, + "readOnly": true + }, + "name": { + "$ref": "#/definitions/ResourceUsageName", + "description": "Naming information for this resource type.", + "readOnly": true + } + } + }, + "ResourceUsageName": { + "type": "object", + "description": "Naming information for this resource type.", + "properties": { + "value": { + "type": "string", + "description": "Canonical name for this resource type." + }, + "localizedValue": { + "type": "string", + "description": "Localized name for this resource type." + } + } + }, + "ResourceUsagesListResult": { + "type": "object", + "description": "Result of the request to list resource usages. It contains a list of resource usages & limits and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of usages and limits for resources controlled by the Microsoft.StorageCache resource provider.", + "items": { + "$ref": "#/definitions/ResourceUsage" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of resource usage list results if there are any.", + "readOnly": true + } + } + }, + "Restriction": { + "type": "object", + "description": "The restrictions preventing this SKU from being used.", + "properties": { + "type": { + "type": "string", + "description": "The type of restrictions. In this version, the 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, then this would be the 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\". \"QuotaId\" is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. \"NotAvailableForSubscription\" is related to capacity at the datacenter." + } + } + }, + "SkuName": { + "type": "object", + "description": "SKU for the resource.", + "properties": { + "name": { + "type": "string", + "description": "SKU name for this resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "StorageTarget": { + "type": "object", + "description": "Type of the Storage Target.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageTargetProperties", + "description": "StorageTarget properties", + "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "Region name string.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "StorageTargetProperties": { + "type": "object", + "description": "Properties of the Storage Target.", + "properties": { + "junctions": { + "type": "array", + "description": "List of cache namespace junctions to target for namespace associations.", + "items": { + "$ref": "#/definitions/NamespaceJunction" + }, + "x-ms-identifiers": [] + }, + "targetType": { + "$ref": "#/definitions/StorageTargetType", + "description": "Type of the Storage Target.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningStateType", + "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/OperationalStateType", + "description": "Storage target operational state." + }, + "nfs3": { + "$ref": "#/definitions/Nfs3Target", + "description": "Properties when targetType is nfs3." + }, + "clfs": { + "$ref": "#/definitions/ClfsTarget", + "description": "Properties when targetType is clfs." + }, + "unknown": { + "$ref": "#/definitions/UnknownTarget", + "description": "Properties when targetType is unknown." + }, + "blobNfs": { + "$ref": "#/definitions/BlobNfsTarget", + "description": "Properties when targetType is blobNfs." + }, + "allocationPercentage": { + "type": "integer", + "format": "int32", + "description": "The percentage of cache space allocated for this storage target", + "minimum": 1, + "maximum": 100, + "readOnly": true + } + }, + "required": [ + "targetType" + ] + }, + "StorageTargetSpaceAllocation": { + "type": "object", + "description": "Storage Target space allocation properties.", + "properties": { + "name": { + "type": "string", + "description": "Name of the storage target.", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + "allocationPercentage": { + "type": "integer", + "format": "int32", + "description": "The percentage of cache space allocated for this storage target", + "minimum": 1, + "maximum": 100 + } + } + }, + "StorageTargetType": { + "type": "string", + "description": "Type of the Storage Target.", + "enum": [ + "nfs3", + "clfs", + "unknown", + "blobNfs" + ], + "x-ms-enum": { + "name": "StorageTargetType", + "modelAsString": true, + "values": [ + { + "name": "nfs3", + "value": "nfs3", + "description": "nfs3" + }, + { + "name": "clfs", + "value": "clfs", + "description": "clfs" + }, + { + "name": "unknown", + "value": "unknown", + "description": "unknown" + }, + { + "name": "blobNfs", + "value": "blobNfs", + "description": "blobNfs" + } + ] + } + }, + "StorageTargetsResult": { + "type": "object", + "description": "A list of Storage Targets.", + "properties": { + "value": { + "type": "array", + "description": "The list of Storage Targets defined for the cache.", + "items": { + "$ref": "#/definitions/StorageTarget" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The URI to fetch the next page of Storage Targets." + } + } + }, + "UnknownTarget": { + "type": "object", + "description": "Properties pertaining to the UnknownTarget", + "properties": { + "attributes": { + "type": "object", + "description": "Dictionary of string->string pairs containing information about the Storage Target.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UsageModel": { + "type": "object", + "description": "A usage model.", + "properties": { + "display": { + "$ref": "#/definitions/UsageModelDisplay", + "description": "Localized information describing this usage model." + }, + "modelName": { + "type": "string", + "description": "Non-localized keyword name for this usage model." + }, + "targetType": { + "type": "string", + "description": "The type of Storage Target to which this model is applicable (only nfs3 as of this version)." + } + } + }, + "UsageModelDisplay": { + "type": "object", + "description": "Localized information describing this usage model.", + "properties": { + "description": { + "type": "string", + "description": "String to display for this usage model." + } + } + }, + "UsageModelsResult": { + "type": "object", + "description": "A list of cache usage models.", + "properties": { + "value": { + "type": "array", + "description": "The list of usage models available for the subscription.", + "items": { + "$ref": "#/definitions/UsageModel" + }, + "x-ms-identifiers": [ + "modelName" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The URI to fetch the next page of cache usage models." + } + } + }, + "UsernameDownloadedType": { + "type": "string", + "description": "Indicates whether or not the HPC Cache has performed the username download successfully.", + "enum": [ + "Yes", + "No", + "Error" + ], + "x-ms-enum": { + "name": "UsernameDownloadedType", + "modelAsString": true, + "values": [ + { + "name": "Yes", + "value": "Yes", + "description": "Yes" + }, + { + "name": "No", + "value": "No", + "description": "No" + }, + { + "name": "Error", + "value": "Error", + "description": "Error" + } + ] + } + }, + "userAssignedIdentitiesValue": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of the user-assigned identity.", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "The client ID of the user-assigned identity.", + "readOnly": true + } + } + } + }, + "parameters": {} +} From 8ab8a2de758236377081f3cb6e361506ebd442ca Mon Sep 17 00:00:00 2001 From: Brian Panasko Date: Mon, 8 Jun 2026 20:09:55 -0400 Subject: [PATCH 2/7] Add RebalanceJob sub-resource and Expansion rebalance fields for 2026-08-01 - New RebalanceJob.tsp: TrackedResource with GET, PATCH (cancel via adminStatus), DELETE, and LIST operations. No PUT (creation via Expansion only). - models.tsp: RebalanceJobProperties, RebalanceJobPropertiesStatus, RebalanceJobUpdate, RebalanceJobUpdateProperties, RebalanceJobsListResult, RebalanceJobPropertiesProvisioningState, RebalanceJobStatusType, RebalanceJobAdminStatus unions. - ExpansionJobProperties: added rebalance (bool, create-only) and rebalanceJobName (string, read-only) with @added(Versions.v2026_08_01). - main.tsp: import RebalanceJob.tsp. - Examples for all 4 RebalanceJob operations + updated expansion GET example. - Generated openapi.json for 2026-08-01 updated (2026-01-01 unchanged). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../StorageCache/RebalanceJob.tsp | 94 +++ .../2026-08-01/expansionJobs_Get.json | 4 +- .../2026-08-01/rebalanceJobs_Delete.json | 20 + .../2026-08-01/rebalanceJobs_Get.json | 42 ++ .../rebalanceJobs_ListByAmlFilesystem.json | 44 ++ .../2026-08-01/rebalanceJobs_Update.json | 56 ++ .../StorageCache/main.tsp | 1 + .../StorageCache/models.tsp | 255 +++++++- .../examples/expansionJobs_Get.json | 4 +- .../examples/rebalanceJobs_Delete.json | 20 + .../examples/rebalanceJobs_Get.json | 42 ++ .../rebalanceJobs_ListByAmlFilesystem.json | 44 ++ .../examples/rebalanceJobs_Update.json | 56 ++ .../stable/2026-08-01/openapi.json | 590 +++++++++++++++++- 14 files changed, 1268 insertions(+), 4 deletions(-) create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Update.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Delete.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Get.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_ListByAmlFilesystem.json create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Update.json diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp new file mode 100644 index 000000000000..5a7e2106638a --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp @@ -0,0 +1,94 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "./models.tsp"; +import "./AmlFilesystem.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.StorageCache; + +/** + * A rebalance job instance. Rebalances OST data across storage targets after a cluster expansion. + * Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md + */ +@added(Versions.v2026_08_01) +@parentResource(AmlFilesystem) +model RebalanceJob + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = RebalanceJob, + KeyName = "rebalanceJobName", + SegmentName = "rebalanceJobs", + NamePattern = "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + >; +} + +@added(Versions.v2026_08_01) +@armResourceOperations(#{ omitTags: true }) +interface RebalanceJobs { + /** + * Returns a rebalance job. + */ + @operationId("rebalanceJobs_Get") + @tag("rebalanceJobs") + get is ArmResourceRead; + + /** + * Update a rebalance job instance. + */ + @operationId("rebalanceJobs_Update") + @tag("rebalanceJobs") + @patch(#{ implicitOptionality: false }) + @Azure.Core.useFinalStateVia("azure-async-operation") + update is ArmCustomPatchAsync< + RebalanceJob, + PatchModel = RebalanceJobUpdate, + LroHeaders = ArmCombinedLroHeaders & + Azure.Core.Foundations.RetryAfterHeader, + Error = ErrorResponse + >; + + /** + * Schedules a rebalance job for deletion. + */ + @operationId("rebalanceJobs_Delete") + @tag("rebalanceJobs") + delete is ArmResourceDeleteWithoutOkAsync< + RebalanceJob, + Response = + | ArmDeleteAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> + | ArmDeletedNoContentResponse, + Error = ErrorResponse + >; + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + */ + @operationId("rebalanceJobs_ListByAmlFilesystem") + @tag("rebalanceJobs") + listByAmlFilesystem is ArmResourceListByParent< + RebalanceJob, + Response = ArmResponse, + Error = CloudError + >; +} + +@@maxLength(RebalanceJob.name, 80); +@@minLength(RebalanceJob.name, 2); +@@doc( + RebalanceJob.name, + "Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric." +); +@@doc(RebalanceJob.properties, "Properties of the rebalance job."); +@@doc( + RebalanceJobs.update::parameters.properties, + "Object containing the user-selectable properties of the rebalance job. If read-only properties are included, they must match the existing values of those properties." +); diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json index 0ca2152edcfd..c7e07d529aaf 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "expansionJobName": "expansionjob1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -16,6 +16,8 @@ "properties": { "newStorageCapacityTiB": 16, "provisioningState": "Succeeded", + "rebalance": true, + "rebalanceJobName": "expansionjob1-rebalance", "status": { "completionTimeUTC": "2024-03-21T19:15:43.511Z", "percentComplete": 100, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Delete.json new file mode 100644 index 000000000000..952b3f191e88 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-08-01", + "rebalanceJobName": "expansionjob1-rebalance", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" + } + }, + "204": {} + }, + "operationId": "rebalanceJobs_Delete", + "title": "rebalanceJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Get.json new file mode 100644 index 000000000000..9f28852e85ad --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-08-01", + "rebalanceJobName": "expansionjob1-rebalance", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1-rebalance", + "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "adminStatus": "Active", + "expansionJobName": "expansionjob1", + "status": { + "state": "InProgress", + "statusCode": "RebalanceInProgress", + "statusMessage": "Rebalance is 45% complete, migrating files.", + "balancePercent": 45.2, + "estimatedRemainingSeconds": 3600, + "filesMigrated": 150000, + "bytesMoved": 1073741824, + "filesMovedPerSecond": 250.5, + "throughputMbps": 1200.0, + "startTimeUTC": "2025-09-12T10:00:00Z", + "completionTimeUTC": null + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "rebalanceJobs_Get", + "title": "rebalanceJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..e40685c3a1e1 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_ListByAmlFilesystem.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-08-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expansionjob1-rebalance", + "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "adminStatus": "Active", + "expansionJobName": "expansionjob1", + "status": { + "state": "Completed", + "statusCode": "Success", + "statusMessage": "Rebalance completed successfully.", + "balancePercent": 100, + "filesMigrated": 500000, + "bytesMoved": 5368709120, + "filesMovedPerSecond": 0, + "throughputMbps": 0, + "startTimeUTC": "2025-09-12T10:00:00Z", + "completionTimeUTC": "2025-09-14T06:30:00Z" + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + ] + } + } + }, + "operationId": "rebalanceJobs_ListByAmlFilesystem", + "title": "rebalanceJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Update.json new file mode 100644 index 000000000000..83a37ac4f941 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Update.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-08-01", + "rebalanceJobName": "expansionjob1-rebalance", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "rebalanceJob": { + "tags": { + "Dept": "ContosoFinance" + }, + "properties": { + "adminStatus": "Cancel" + } + } + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1-rebalance", + "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "adminStatus": "Cancel", + "expansionJobName": "expansionjob1", + "status": { + "state": "Cancelling", + "statusCode": "CancelRequested", + "statusMessage": "Rebalance cancellation has been requested.", + "balancePercent": 67.8, + "estimatedRemainingSeconds": null, + "filesMigrated": 320000, + "bytesMoved": 3435973836, + "filesMovedPerSecond": 0, + "throughputMbps": 0, + "startTimeUTC": "2025-09-12T10:00:00Z", + "completionTimeUTC": null + } + }, + "tags": { + "Dept": "ContosoFinance" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" + } + } + }, + "operationId": "rebalanceJobs_Update", + "title": "rebalanceJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/main.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/main.tsp index e5e6d5383a4f..9fa14917aeb0 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/main.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/main.tsp @@ -18,6 +18,7 @@ import "./AutoExportJob.tsp"; import "./ImportJob.tsp"; import "./AutoImportJob.tsp"; import "./ExpansionJob.tsp"; +import "./RebalanceJob.tsp"; import "./Cache.tsp"; import "./StorageTarget.tsp"; import "./routes.tsp"; diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp index 7e59a3d875cb..2c1fabf65862 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp @@ -1,10 +1,12 @@ import "@typespec/rest"; import "@typespec/http"; +import "@typespec/versioning"; import "@azure-tools/typespec-azure-resource-manager"; import "@azure-tools/typespec-azure-core"; using TypeSpec.Rest; using TypeSpec.Http; +using TypeSpec.Versioning; using Azure.ResourceManager; using Azure.ResourceManager.Foundations; @@ -44,6 +46,24 @@ model ExpansionJobsListResult { nextLink?: url; } +/** + * Result of the request to list rebalance jobs. It contains a list of rebalance jobs and a URL link to get the next set of results. + */ +@added(Versions.v2026_08_01) +model RebalanceJobsListResult { + /** + * List of rebalance jobs. + */ + @pageItems + value?: RebalanceJob[]; + + /** + * URL to get the next set of rebalance job list results, if there are any. + */ + @nextLink + nextLink?: url; +} + /** * Result of the request to list auto import jobs. It contains a list of auto import jobs and a URL link to get the next set of results. */ @@ -671,8 +691,93 @@ union ExpansionJobStatusType { } /** - * The status of the AML file system subnet check. + * ARM provisioning state for the rebalance job. + */ +@added(Versions.v2026_08_01) +union RebalanceJobPropertiesProvisioningState { + string, + + /** + * Succeeded + */ + Succeeded: "Succeeded", + + /** + * Failed + */ + Failed: "Failed", + + /** + * Creating + */ + Creating: "Creating", + + /** + * Deleting + */ + Deleting: "Deleting", + + /** + * Updating + */ + Updating: "Updating", + + /** + * Canceled + */ + Canceled: "Canceled", +} + +/** + * The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully (imbalance below low watermark). Failed indicates the rebalance was unable to complete due to a fatal error. */ +@added(Versions.v2026_08_01) +union RebalanceJobStatusType { + string, + + /** + * InProgress + */ + InProgress: "InProgress", + + /** + * Cancelling + */ + Cancelling: "Cancelling", + + /** + * Canceled + */ + Canceled: "Canceled", + + /** + * Completed + */ + Completed: "Completed", + + /** + * Failed + */ + Failed: "Failed", +} + +/** + * The administrative status of the rebalance job. Active means the job is running normally. Cancel requests the job to stop. + */ +@added(Versions.v2026_08_01) +union RebalanceJobAdminStatus { + string, + + /** + * Active + */ + Active: "Active", + + /** + * Cancel + */ + Cancel: "Cancel", +} union FilesystemSubnetStatusType { string, @@ -2262,6 +2367,20 @@ model ExpansionJobProperties { */ @visibility(Lifecycle.Read) status?: ExpansionJobPropertiesStatus; + + /** + * When true, expansion creates a RebalanceJob after completing. Optional, defaults to false. + */ + @added(Versions.v2026_08_01) + @visibility(Lifecycle.Read, Lifecycle.Create) + rebalance?: boolean; + + /** + * Name of the child rebalance job created by this expansion. Populated after RebalanceJob is created. + */ + @added(Versions.v2026_08_01) + @visibility(Lifecycle.Read) + rebalanceJobName?: string; } /** @@ -2322,6 +2441,140 @@ model ExpansionJobUpdate { tags?: Record; } +/** + * Properties of the rebalance job. + */ +@added(Versions.v2026_08_01) +model RebalanceJobProperties { + /** + * ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property + */ + @visibility(Lifecycle.Read) + provisioningState?: RebalanceJobPropertiesProvisioningState; + + /** + * The administrative status of the rebalance job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active rebalance job. By default it is set to 'Active'. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + adminStatus?: RebalanceJobAdminStatus = RebalanceJobAdminStatus.Active; + + /** + * Name of the parent expansion job that initiated this rebalance. Populated when the rebalance was created as part of an expansion. + */ + @visibility(Lifecycle.Read) + expansionJobName?: string; + + /** + * The status of the rebalance job. + */ + @visibility(Lifecycle.Read) + status?: RebalanceJobPropertiesStatus; +} + +/** + * The status of the rebalance job. + */ +@added(Versions.v2026_08_01) +model RebalanceJobPropertiesStatus { + /** + * The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully. Failed indicates the rebalance was unable to complete due to a fatal error. + */ + @visibility(Lifecycle.Read) + state?: RebalanceJobStatusType; + + /** + * Server-defined status code for rebalance job. + */ + @visibility(Lifecycle.Read) + statusCode?: string; + + /** + * Server-defined status message for rebalance job. + */ + @visibility(Lifecycle.Read) + statusMessage?: string; + + /** + * The balance percentage (0-100). Represents cumulative progress since the rebalance started. Sourced from heartbeat messages. + */ + @visibility(Lifecycle.Read) + @maxValue(100) + @minValue(0) + balancePercent?: float32; + + /** + * Estimated remaining time in seconds. May be null during initial assessment. + */ + @visibility(Lifecycle.Read) + estimatedRemainingSeconds?: int32; + + /** + * Total number of files migrated since the rebalance started. + */ + @visibility(Lifecycle.Read) + filesMigrated?: int64; + + /** + * Total number of bytes moved since the rebalance started. + */ + @visibility(Lifecycle.Read) + bytesMoved?: int64; + + /** + * Rolling 60-second average of files moved per second. + */ + @visibility(Lifecycle.Read) + filesMovedPerSecond?: float32; + + /** + * Rolling 60-second average throughput in megabytes per second. + */ + @visibility(Lifecycle.Read) + throughputMbps?: float32; + + /** + * The time (in UTC) the rebalance job started. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Non-standard casing matches existing convention in this project" + @visibility(Lifecycle.Read) + startTimeUTC?: utcDateTime; + + /** + * The time (in UTC) when the rebalance job completed. Only populated when job reaches a terminal state. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Non-standard casing matches existing convention in this project" + @visibility(Lifecycle.Read) + completionTimeUTC?: utcDateTime; +} + +/** + * A rebalance job update instance. + */ +@added(Versions.v2026_08_01) +model RebalanceJobUpdate { + /** + * Resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Tags use Record per ARM convention" + tags?: Record; + + /** + * Properties for the rebalance job update. + */ + properties?: RebalanceJobUpdateProperties; +} + +/** + * Properties for updating a rebalance job. + */ +@added(Versions.v2026_08_01) +model RebalanceJobUpdateProperties { + /** + * The administrative status of the rebalance job. Passing in a value of 'Cancel' will cancel the current active rebalance job. + */ + adminStatus?: RebalanceJobAdminStatus; +} + /** * Information required to validate the subnet that will be used in AML file system create */ diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json index 0ca2152edcfd..c7e07d529aaf 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "expansionJobName": "expansionjob1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -16,6 +16,8 @@ "properties": { "newStorageCapacityTiB": 16, "provisioningState": "Succeeded", + "rebalance": true, + "rebalanceJobName": "expansionjob1-rebalance", "status": { "completionTimeUTC": "2024-03-21T19:15:43.511Z", "percentComplete": 100, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Delete.json new file mode 100644 index 000000000000..952b3f191e88 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-08-01", + "rebalanceJobName": "expansionjob1-rebalance", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" + } + }, + "204": {} + }, + "operationId": "rebalanceJobs_Delete", + "title": "rebalanceJobs_Delete" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Get.json new file mode 100644 index 000000000000..9f28852e85ad --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-08-01", + "rebalanceJobName": "expansionjob1-rebalance", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1-rebalance", + "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "adminStatus": "Active", + "expansionJobName": "expansionjob1", + "status": { + "state": "InProgress", + "statusCode": "RebalanceInProgress", + "statusMessage": "Rebalance is 45% complete, migrating files.", + "balancePercent": 45.2, + "estimatedRemainingSeconds": 3600, + "filesMigrated": 150000, + "bytesMoved": 1073741824, + "filesMovedPerSecond": 250.5, + "throughputMbps": 1200.0, + "startTimeUTC": "2025-09-12T10:00:00Z", + "completionTimeUTC": null + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + } + }, + "operationId": "rebalanceJobs_Get", + "title": "rebalanceJobs_Get" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_ListByAmlFilesystem.json new file mode 100644 index 000000000000..e40685c3a1e1 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_ListByAmlFilesystem.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-08-01", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expansionjob1-rebalance", + "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "adminStatus": "Active", + "expansionJobName": "expansionjob1", + "status": { + "state": "Completed", + "statusCode": "Success", + "statusMessage": "Rebalance completed successfully.", + "balancePercent": 100, + "filesMigrated": 500000, + "bytesMoved": 5368709120, + "filesMovedPerSecond": 0, + "throughputMbps": 0, + "startTimeUTC": "2025-09-12T10:00:00Z", + "completionTimeUTC": "2025-09-14T06:30:00Z" + } + }, + "tags": { + "Dept": "ContosoAds" + } + } + ] + } + } + }, + "operationId": "rebalanceJobs_ListByAmlFilesystem", + "title": "rebalanceJobs_ListByAmlFilesystem" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Update.json new file mode 100644 index 000000000000..83a37ac4f941 --- /dev/null +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Update.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "amlFilesystemName": "fs1", + "api-version": "2026-08-01", + "rebalanceJobName": "expansionjob1-rebalance", + "resourceGroupName": "scgroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "rebalanceJob": { + "tags": { + "Dept": "ContosoFinance" + }, + "properties": { + "adminStatus": "Cancel" + } + } + }, + "responses": { + "200": { + "body": { + "name": "expansionjob1-rebalance", + "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "adminStatus": "Cancel", + "expansionJobName": "expansionjob1", + "status": { + "state": "Cancelling", + "statusCode": "CancelRequested", + "statusMessage": "Rebalance cancellation has been requested.", + "balancePercent": 67.8, + "estimatedRemainingSeconds": null, + "filesMigrated": 320000, + "bytesMoved": 3435973836, + "filesMovedPerSecond": 0, + "throughputMbps": 0, + "startTimeUTC": "2025-09-12T10:00:00Z", + "completionTimeUTC": null + } + }, + "tags": { + "Dept": "ContosoFinance" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" + } + } + }, + "operationId": "rebalanceJobs_Update", + "title": "rebalanceJobs_Update" +} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json index cdff6ec75a36..2664ef7d5528 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json @@ -60,6 +60,9 @@ { "name": "expansionJobs" }, + { + "name": "rebalanceJobs" + }, { "name": "Caches" }, @@ -2344,6 +2347,284 @@ "x-ms-long-running-operation": true } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs": { + "get": { + "operationId": "rebalanceJobs_ListByAmlFilesystem", + "tags": [ + "rebalanceJobs" + ], + "description": "Returns all the rebalance jobs the user has access to under an AML File System.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RebalanceJobsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "rebalanceJobs_ListByAmlFilesystem": { + "$ref": "./examples/rebalanceJobs_ListByAmlFilesystem.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs/{rebalanceJobName}": { + "get": { + "operationId": "rebalanceJobs_Get", + "tags": [ + "rebalanceJobs" + ], + "description": "Returns a rebalance job.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "rebalanceJobName", + "in": "path", + "description": "Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RebalanceJob" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "rebalanceJobs_Get": { + "$ref": "./examples/rebalanceJobs_Get.json" + } + } + }, + "patch": { + "operationId": "rebalanceJobs_Update", + "tags": [ + "rebalanceJobs" + ], + "description": "Update a rebalance job instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "rebalanceJobName", + "in": "path", + "description": "Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "properties", + "in": "body", + "description": "Object containing the user-selectable properties of the rebalance job. If read-only properties are included, they must match the existing values of those properties.", + "required": true, + "schema": { + "$ref": "#/definitions/RebalanceJobUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RebalanceJob" + } + }, + "202": { + "description": "Resource update request 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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "rebalanceJobs_Update": { + "$ref": "./examples/rebalanceJobs_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/RebalanceJob" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "rebalanceJobs_Delete", + "tags": [ + "rebalanceJobs" + ], + "description": "Schedules a rebalance job for deletion.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "amlFilesystemName", + "in": "path", + "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + }, + { + "name": "rebalanceJobName", + "in": "path", + "description": "Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.", + "required": true, + "type": "string", + "minLength": 2, + "maxLength": 80, + "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion 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": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "rebalanceJobs_Delete": { + "$ref": "./examples/rebalanceJobs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches": { "get": { "operationId": "Caches_ListByResourceGroup", @@ -6566,6 +6847,19 @@ "description": "The status of the expansion job.", "readOnly": true, "x-ms-client-flatten": true + }, + "rebalance": { + "type": "boolean", + "description": "When true, expansion creates a RebalanceJob after completing. Optional, defaults to false.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "rebalanceJobName": { + "type": "string", + "description": "Name of the child rebalance job created by this expansion. Populated after RebalanceJob is created.", + "readOnly": true } } }, @@ -6733,7 +7027,6 @@ }, "FilesystemSubnetStatusType": { "type": "string", - "description": "The status of the AML file system subnet check.", "enum": [ "Ok", "Invalid" @@ -7858,6 +8151,301 @@ ] } }, + "RebalanceJob": { + "type": "object", + "description": "A rebalance job instance. Rebalances OST data across storage targets after a cluster expansion.\nFollows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md", + "properties": { + "properties": { + "$ref": "#/definitions/RebalanceJobProperties", + "description": "Properties of the rebalance job." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "RebalanceJobAdminStatus": { + "type": "string", + "description": "The administrative status of the rebalance job. Active means the job is running normally. Cancel requests the job to stop.", + "enum": [ + "Active", + "Cancel" + ], + "x-ms-enum": { + "name": "RebalanceJobAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Active" + }, + { + "name": "Cancel", + "value": "Cancel", + "description": "Cancel" + } + ] + } + }, + "RebalanceJobProperties": { + "type": "object", + "description": "Properties of the rebalance job.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/RebalanceJobPropertiesProvisioningState", + "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property", + "readOnly": true + }, + "adminStatus": { + "type": "string", + "description": "The administrative status of the rebalance job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active rebalance job. By default it is set to 'Active'.", + "default": "Active", + "enum": [ + "Active", + "Cancel" + ], + "x-ms-enum": { + "name": "RebalanceJobAdminStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Active" + }, + { + "name": "Cancel", + "value": "Cancel", + "description": "Cancel" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "expansionJobName": { + "type": "string", + "description": "Name of the parent expansion job that initiated this rebalance. Populated when the rebalance was created as part of an expansion.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/RebalanceJobPropertiesStatus", + "description": "The status of the rebalance job.", + "readOnly": true + } + } + }, + "RebalanceJobPropertiesProvisioningState": { + "type": "string", + "description": "ARM provisioning state for the rebalance job.", + "enum": [ + "Succeeded", + "Failed", + "Creating", + "Deleting", + "Updating", + "Canceled" + ], + "x-ms-enum": { + "name": "RebalanceJobPropertiesProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + } + ] + } + }, + "RebalanceJobPropertiesStatus": { + "type": "object", + "description": "The status of the rebalance job.", + "properties": { + "state": { + "$ref": "#/definitions/RebalanceJobStatusType", + "description": "The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully. Failed indicates the rebalance was unable to complete due to a fatal error.", + "readOnly": true + }, + "statusCode": { + "type": "string", + "description": "Server-defined status code for rebalance job.", + "readOnly": true + }, + "statusMessage": { + "type": "string", + "description": "Server-defined status message for rebalance job.", + "readOnly": true + }, + "balancePercent": { + "type": "number", + "format": "float", + "description": "The balance percentage (0-100). Represents cumulative progress since the rebalance started. Sourced from heartbeat messages.", + "minimum": 0, + "maximum": 100, + "readOnly": true + }, + "estimatedRemainingSeconds": { + "type": "integer", + "format": "int32", + "description": "Estimated remaining time in seconds. May be null during initial assessment.", + "readOnly": true + }, + "filesMigrated": { + "type": "integer", + "format": "int64", + "description": "Total number of files migrated since the rebalance started.", + "readOnly": true + }, + "bytesMoved": { + "type": "integer", + "format": "int64", + "description": "Total number of bytes moved since the rebalance started.", + "readOnly": true + }, + "filesMovedPerSecond": { + "type": "number", + "format": "float", + "description": "Rolling 60-second average of files moved per second.", + "readOnly": true + }, + "throughputMbps": { + "type": "number", + "format": "float", + "description": "Rolling 60-second average throughput in megabytes per second.", + "readOnly": true + }, + "startTimeUTC": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) the rebalance job started.", + "readOnly": true + }, + "completionTimeUTC": { + "type": "string", + "format": "date-time", + "description": "The time (in UTC) when the rebalance job completed. Only populated when job reaches a terminal state.", + "readOnly": true + } + } + }, + "RebalanceJobStatusType": { + "type": "string", + "description": "The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully (imbalance below low watermark). Failed indicates the rebalance was unable to complete due to a fatal error.", + "enum": [ + "InProgress", + "Cancelling", + "Canceled", + "Completed", + "Failed" + ], + "x-ms-enum": { + "name": "RebalanceJobStatusType", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "InProgress" + }, + { + "name": "Cancelling", + "value": "Cancelling", + "description": "Cancelling" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + }, + { + "name": "Completed", + "value": "Completed", + "description": "Completed" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "RebalanceJobUpdate": { + "type": "object", + "description": "A rebalance job update instance.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/RebalanceJobUpdateProperties", + "description": "Properties for the rebalance job update." + } + } + }, + "RebalanceJobUpdateProperties": { + "type": "object", + "description": "Properties for updating a rebalance job.", + "properties": { + "adminStatus": { + "$ref": "#/definitions/RebalanceJobAdminStatus", + "description": "The administrative status of the rebalance job. Passing in a value of 'Cancel' will cancel the current active rebalance job." + } + } + }, + "RebalanceJobsListResult": { + "type": "object", + "description": "Result of the request to list rebalance jobs. It contains a list of rebalance jobs and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "List of rebalance jobs.", + "items": { + "$ref": "#/definitions/RebalanceJob" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "URL to get the next set of rebalance job list results, if there are any." + } + } + }, "RequiredAmlFilesystemSubnetsSize": { "type": "object", "description": "Information about the number of available IP addresses that are required for the AML file system.", From e9e01e721640403b396e09873a7c215c2cc17abc Mon Sep 17 00:00:00 2001 From: Brian Panasko Date: Tue, 30 Jun 2026 13:23:04 -0400 Subject: [PATCH 3/7] Add RebalanceJob resource for StorageCache 2026-08-01 - New ProxyResource: Microsoft.StorageCache/amlFilesystems/rebalanceJobs - Operations: Get, List, Update (PATCH), Delete - Uses common-types v6 - Examples with PascalCase operationIds Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../StorageCache/RebalanceJob.tsp | 8 +- .../StorageCache/StorageTarget.tsp | 2 + .../StorageCache/back-compatible.tsp | 3 + .../2026-08-01/AscOperations_Get.json | 2 +- .../2026-08-01/AscResourceUsages_Get.json | 2 +- .../2026-08-01/Caches_CreateOrUpdate.json | 2 +- .../Caches_CreateOrUpdate_ldap_only.json | 2 +- .../examples/2026-08-01/Caches_DebugInfo.json | 6 +- .../examples/2026-08-01/Caches_Delete.json | 6 +- .../examples/2026-08-01/Caches_Flush.json | 6 +- .../examples/2026-08-01/Caches_Get.json | 2 +- .../examples/2026-08-01/Caches_List.json | 2 +- .../Caches_ListByResourceGroup.json | 2 +- .../examples/2026-08-01/Caches_Start.json | 6 +- .../examples/2026-08-01/Caches_Stop.json | 6 +- .../examples/2026-08-01/Caches_Update.json | 6 +- .../2026-08-01/Caches_Update_ldap_only.json | 6 +- .../2026-08-01/Caches_UpgradeFirmware.json | 6 +- .../examples/2026-08-01/Operations_List.json | 2 +- .../examples/2026-08-01/PausePrimingJob.json | 6 +- ..._Delete.json => RebalanceJobs_Delete.json} | 4 +- .../2026-08-01/RebalanceJobs_Get.json} | 14 +- ...=> RebalanceJobs_ListByAmlFilesystem.json} | 11 +- .../2026-08-01/RebalanceJobs_Update.json} | 22 +-- .../examples/2026-08-01/ResumePrimingJob.json | 6 +- .../examples/2026-08-01/Skus_List.json | 2 +- .../2026-08-01/SpaceAllocation_Post.json | 6 +- .../examples/2026-08-01/StartPrimingJob.json | 6 +- .../examples/2026-08-01/StopPrimingJob.json | 6 +- .../StorageTargets_CreateOrUpdate.json | 2 +- ...StorageTargets_CreateOrUpdate_BlobNfs.json | 2 +- ...ageTargets_CreateOrUpdate_NoJunctions.json | 2 +- .../2026-08-01/StorageTargets_Delete.json | 6 +- .../2026-08-01/StorageTargets_DnsRefresh.json | 6 +- .../2026-08-01/StorageTargets_Flush.json | 6 +- .../2026-08-01/StorageTargets_Get.json | 2 +- .../2026-08-01/StorageTargets_Invalidate.json | 6 +- .../StorageTargets_ListByCache.json | 2 +- .../StorageTargets_RestoreDefaults.json | 6 +- .../2026-08-01/StorageTargets_Resume.json | 6 +- .../2026-08-01/StorageTargets_Suspend.json | 6 +- .../examples/2026-08-01/UsageModels_List.json | 2 +- .../2026-08-01/amlFilesystems_Archive.json | 2 +- .../amlFilesystems_CancelArchive.json | 2 +- .../amlFilesystems_CreateOrUpdate.json | 6 +- .../2026-08-01/amlFilesystems_Delete.json | 6 +- .../2026-08-01/amlFilesystems_Get.json | 2 +- .../2026-08-01/amlFilesystems_List.json | 2 +- .../amlFilesystems_ListByResourceGroup.json | 2 +- .../2026-08-01/amlFilesystems_Update.json | 6 +- .../autoExportJobs_CreateOrUpdate.json | 2 +- .../2026-08-01/autoExportJobs_Delete.json | 6 +- .../2026-08-01/autoExportJobs_Get.json | 2 +- .../autoExportJobs_ListByAmlFilesystem.json | 2 +- .../2026-08-01/autoExportJobs_Update.json | 6 +- .../autoImportJobs_CreateOrUpdate.json | 2 +- .../2026-08-01/autoImportJobs_Delete.json | 6 +- .../2026-08-01/autoImportJobs_Get.json | 2 +- .../autoImportJobs_ListByAmlFilesystem.json | 4 +- .../2026-08-01/autoImportJobs_Update.json | 6 +- .../2026-08-01/checkAmlFSSubnets.json | 2 +- .../expansionJobs_CreateOrUpdate.json | 2 +- .../2026-08-01/expansionJobs_Delete.json | 6 +- .../expansionJobs_ListByAmlFilesystem.json | 4 +- .../2026-08-01/expansionJobs_Update.json | 6 +- .../getRequiredAmlFSSubnetsSize.json | 2 +- .../examples/2026-08-01/importJob_Update.json | 6 +- .../2026-08-01/importJobs_CreateOrUpdate.json | 2 +- .../2026-08-01/importJobs_Delete.json | 6 +- .../examples/2026-08-01/importJobs_Get.json | 2 +- .../importJobs_ListByAmlFilesystem.json | 2 +- .../StorageCache/models.tsp | 106 ++++++++----- .../StorageCache/readme.md | 10 +- .../stable/2026-01-01/openapi.json | 21 ++- .../examples/AscOperations_Get.json | 2 +- .../examples/AscResourceUsages_Get.json | 2 +- .../examples/Caches_CreateOrUpdate.json | 2 +- .../Caches_CreateOrUpdate_ldap_only.json | 2 +- .../2026-08-01/examples/Caches_DebugInfo.json | 6 +- .../2026-08-01/examples/Caches_Delete.json | 6 +- .../2026-08-01/examples/Caches_Flush.json | 6 +- .../2026-08-01/examples/Caches_Get.json | 2 +- .../2026-08-01/examples/Caches_List.json | 2 +- .../examples/Caches_ListByResourceGroup.json | 2 +- .../2026-08-01/examples/Caches_Start.json | 6 +- .../2026-08-01/examples/Caches_Stop.json | 6 +- .../2026-08-01/examples/Caches_Update.json | 6 +- .../examples/Caches_Update_ldap_only.json | 6 +- .../examples/Caches_UpgradeFirmware.json | 6 +- .../2026-08-01/examples/Operations_List.json | 2 +- .../2026-08-01/examples/PausePrimingJob.json | 6 +- ..._Delete.json => RebalanceJobs_Delete.json} | 4 +- .../examples/RebalanceJobs_Get.json} | 14 +- ...=> RebalanceJobs_ListByAmlFilesystem.json} | 11 +- .../examples/RebalanceJobs_Update.json} | 22 +-- .../2026-08-01/examples/ResumePrimingJob.json | 6 +- .../stable/2026-08-01/examples/Skus_List.json | 2 +- .../examples/SpaceAllocation_Post.json | 6 +- .../2026-08-01/examples/StartPrimingJob.json | 6 +- .../2026-08-01/examples/StopPrimingJob.json | 6 +- .../StorageTargets_CreateOrUpdate.json | 2 +- ...StorageTargets_CreateOrUpdate_BlobNfs.json | 2 +- ...ageTargets_CreateOrUpdate_NoJunctions.json | 2 +- .../examples/StorageTargets_Delete.json | 6 +- .../examples/StorageTargets_DnsRefresh.json | 6 +- .../examples/StorageTargets_Flush.json | 6 +- .../examples/StorageTargets_Get.json | 2 +- .../examples/StorageTargets_Invalidate.json | 6 +- .../examples/StorageTargets_ListByCache.json | 2 +- .../StorageTargets_RestoreDefaults.json | 6 +- .../examples/StorageTargets_Resume.json | 6 +- .../examples/StorageTargets_Suspend.json | 6 +- .../2026-08-01/examples/UsageModels_List.json | 2 +- .../examples/amlFilesystems_Archive.json | 2 +- .../amlFilesystems_CancelArchive.json | 2 +- .../amlFilesystems_CreateOrUpdate.json | 6 +- .../examples/amlFilesystems_Delete.json | 6 +- .../examples/amlFilesystems_Get.json | 2 +- .../examples/amlFilesystems_List.json | 2 +- .../amlFilesystems_ListByResourceGroup.json | 2 +- .../examples/amlFilesystems_Update.json | 6 +- .../autoExportJobs_CreateOrUpdate.json | 2 +- .../examples/autoExportJobs_Delete.json | 6 +- .../examples/autoExportJobs_Get.json | 2 +- .../autoExportJobs_ListByAmlFilesystem.json | 2 +- .../examples/autoExportJobs_Update.json | 6 +- .../autoImportJobs_CreateOrUpdate.json | 2 +- .../examples/autoImportJobs_Delete.json | 6 +- .../examples/autoImportJobs_Get.json | 2 +- .../autoImportJobs_ListByAmlFilesystem.json | 4 +- .../examples/autoImportJobs_Update.json | 6 +- .../examples/checkAmlFSSubnets.json | 2 +- .../expansionJobs_CreateOrUpdate.json | 2 +- .../examples/expansionJobs_Delete.json | 6 +- .../expansionJobs_ListByAmlFilesystem.json | 4 +- .../examples/expansionJobs_Update.json | 6 +- .../examples/getRequiredAmlFSSubnetsSize.json | 2 +- .../2026-08-01/examples/importJob_Update.json | 6 +- .../examples/importJobs_CreateOrUpdate.json | 2 +- .../examples/importJobs_Delete.json | 6 +- .../2026-08-01/examples/importJobs_Get.json | 2 +- .../importJobs_ListByAmlFilesystem.json | 2 +- .../stable/2026-08-01/openapi.json | 145 +++++++++++------- 143 files changed, 492 insertions(+), 417 deletions(-) rename specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/{rebalanceJobs_Delete.json => RebalanceJobs_Delete.json} (92%) rename specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/{stable/2026-08-01/examples/rebalanceJobs_Get.json => examples/2026-08-01/RebalanceJobs_Get.json} (82%) rename specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/{rebalanceJobs_ListByAmlFilesystem.json => RebalanceJobs_ListByAmlFilesystem.json} (86%) rename specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/{stable/2026-08-01/examples/rebalanceJobs_Update.json => examples/2026-08-01/RebalanceJobs_Update.json} (80%) rename specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/{rebalanceJobs_Delete.json => RebalanceJobs_Delete.json} (92%) rename specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/{examples/2026-08-01/rebalanceJobs_Get.json => stable/2026-08-01/examples/RebalanceJobs_Get.json} (82%) rename specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/{rebalanceJobs_ListByAmlFilesystem.json => RebalanceJobs_ListByAmlFilesystem.json} (86%) rename specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/{examples/2026-08-01/rebalanceJobs_Update.json => stable/2026-08-01/examples/RebalanceJobs_Update.json} (80%) diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp index 5a7e2106638a..cf38af20acbd 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/RebalanceJob.tsp @@ -1,6 +1,5 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; -import "@typespec/openapi"; import "@typespec/rest"; import "@typespec/versioning"; import "./models.tsp"; @@ -10,7 +9,6 @@ using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.StorageCache; @@ -21,7 +19,7 @@ namespace Microsoft.StorageCache; @added(Versions.v2026_08_01) @parentResource(AmlFilesystem) model RebalanceJob - is Azure.ResourceManager.TrackedResource { + is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< Resource = RebalanceJob, KeyName = "rebalanceJobName", @@ -36,14 +34,12 @@ interface RebalanceJobs { /** * Returns a rebalance job. */ - @operationId("rebalanceJobs_Get") @tag("rebalanceJobs") get is ArmResourceRead; /** * Update a rebalance job instance. */ - @operationId("rebalanceJobs_Update") @tag("rebalanceJobs") @patch(#{ implicitOptionality: false }) @Azure.Core.useFinalStateVia("azure-async-operation") @@ -58,7 +54,6 @@ interface RebalanceJobs { /** * Schedules a rebalance job for deletion. */ - @operationId("rebalanceJobs_Delete") @tag("rebalanceJobs") delete is ArmResourceDeleteWithoutOkAsync< RebalanceJob, @@ -72,7 +67,6 @@ interface RebalanceJobs { /** * Returns all the rebalance jobs the user has access to under an AML File System. */ - @operationId("rebalanceJobs_ListByAmlFilesystem") @tag("rebalanceJobs") listByAmlFilesystem is ArmResourceListByParent< RebalanceJob, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/StorageTarget.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/StorageTarget.tsp index 9e73e17b7dd7..4e4c91b063e4 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/StorageTarget.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/StorageTarget.tsp @@ -28,6 +28,8 @@ model StorageTarget * Region name string. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-mutability required by LocationMustHaveXmsMutability lint rule" + @extension("x-ms-mutability", #["read"]) @visibility(Lifecycle.Read) location?: string; } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/back-compatible.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/back-compatible.tsp index 7e2d2319e597..6e8d7979538a 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/back-compatible.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/back-compatible.tsp @@ -108,6 +108,9 @@ using Microsoft.StorageCache; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Legacy.flattenProperty(ExpansionJob.properties); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Required for ProvisioningStateMustBeReadOnly lint rule to traverse properties" +@@Legacy.flattenProperty(RebalanceJob.properties); + @@clientName(Caches.createOrUpdate::parameters.resource, "cache"); @@clientName(Caches.update::parameters.properties, "cache"); @@clientName(Caches.startPrimingJob::parameters.body, "primingjob"); diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json index 07db25ad1ac0..53896e751141 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscOperations_Get.json @@ -1,7 +1,7 @@ { "parameters": { "operationId": "testoperationid", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "location": "westus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json index befd9387f44e..1ac49ba1e88d 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/AscResourceUsages_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "location": "eastus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json index 0f8d13844cfa..e146ef807bf9 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cache": { "identity": { "type": "UserAssigned", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json index 8c675d1b95ce..709a26e1ffbc 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_CreateOrUpdate_ldap_only.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cache": { "location": "westus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json index 8c39ba2bcb15..17ce799273a6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_DebugInfo.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json index 55ddf30ba58b..b6ca8c8b7edf 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json index 0c7d7680acf5..8b6b07b071cb 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Flush.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json index c40431672f51..2c9e12c85cdd 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json index 4032c4d38850..ce287d836a54 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_ListByResourceGroup.json index f9dfa792ba1f..fa55ee87c56a 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_ListByResourceGroup.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_ListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Start.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Start.json index 07b786ed2da6..754abfa0f8d5 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Start.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Start.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Stop.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Stop.json index a4822fcfe300..132c7819a17c 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Stop.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Stop.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update.json index f47ad3019e35..f269eb1b1bea 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cache": { "location": "westus", "properties": { @@ -255,8 +255,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update_ldap_only.json index c97a3831ec17..825af14228e0 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update_ldap_only.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_Update_ldap_only.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cache": { "location": "westus", "properties": { @@ -233,8 +233,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_UpgradeFirmware.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_UpgradeFirmware.json index 10cb7036e4b3..d744837d5164 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_UpgradeFirmware.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Caches_UpgradeFirmware.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "201": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Operations_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Operations_List.json index 448ac76cbcea..7a89bed384c5 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Operations_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Operations_List.json @@ -3,7 +3,7 @@ "accept-language": [ "en-US" ], - "api-version": "2026-01-01", + "api-version": "2026-08-01", "x-ms-client-request-id": [ "7e655b68-e491-4cb6-90c3-6a5b10b7bd17" ] diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/PausePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/PausePrimingJob.json index 9b41b7bf9839..9497c3e6f6ea 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/PausePrimingJob.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/PausePrimingJob.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "primingJobId": { "primingJobId": "00000000000_0000000000" @@ -11,8 +11,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Delete.json similarity index 92% rename from specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Delete.json rename to specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Delete.json index 952b3f191e88..25fd67c6bc82 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Delete.json @@ -15,6 +15,6 @@ }, "204": {} }, - "operationId": "rebalanceJobs_Delete", - "title": "rebalanceJobs_Delete" + "operationId": "RebalanceJobs_Delete", + "title": "RebalanceJobs_Delete" } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Get.json similarity index 82% rename from specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Get.json rename to specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Get.json index 9f28852e85ad..f38ccdf91c86 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Get.json @@ -12,7 +12,6 @@ "name": "expansionjob1-rebalance", "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", - "location": "eastus", "properties": { "provisioningState": "Succeeded", "adminStatus": "Active", @@ -24,19 +23,18 @@ "balancePercent": 45.2, "estimatedRemainingSeconds": 3600, "filesMigrated": 150000, + "dirsMigrated": 12000, "bytesMoved": 1073741824, "filesMovedPerSecond": 250.5, "throughputMbps": 1200.0, - "startTimeUTC": "2025-09-12T10:00:00Z", - "completionTimeUTC": null + "totalErrors": 0, + "totalSkipped": 42, + "startTimeUTC": "2025-09-12T10:00:00Z" } - }, - "tags": { - "Dept": "ContosoAds" } } } }, - "operationId": "rebalanceJobs_Get", - "title": "rebalanceJobs_Get" + "operationId": "RebalanceJobs_Get", + "title": "RebalanceJobs_Get" } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_ListByAmlFilesystem.json similarity index 86% rename from specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_ListByAmlFilesystem.json rename to specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_ListByAmlFilesystem.json index e40685c3a1e1..525bf1c9323b 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_ListByAmlFilesystem.json @@ -13,7 +13,6 @@ "name": "expansionjob1-rebalance", "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", - "location": "eastus", "properties": { "provisioningState": "Succeeded", "adminStatus": "Active", @@ -24,21 +23,21 @@ "statusMessage": "Rebalance completed successfully.", "balancePercent": 100, "filesMigrated": 500000, + "dirsMigrated": 40000, "bytesMoved": 5368709120, "filesMovedPerSecond": 0, "throughputMbps": 0, + "totalErrors": 0, + "totalSkipped": 230, "startTimeUTC": "2025-09-12T10:00:00Z", "completionTimeUTC": "2025-09-14T06:30:00Z" } - }, - "tags": { - "Dept": "ContosoAds" } } ] } } }, - "operationId": "rebalanceJobs_ListByAmlFilesystem", - "title": "rebalanceJobs_ListByAmlFilesystem" + "operationId": "RebalanceJobs_ListByAmlFilesystem", + "title": "RebalanceJobs_ListByAmlFilesystem" } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Update.json similarity index 80% rename from specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Update.json rename to specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Update.json index 83a37ac4f941..051f39437efd 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Update.json @@ -5,10 +5,7 @@ "rebalanceJobName": "expansionjob1-rebalance", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "rebalanceJob": { - "tags": { - "Dept": "ContosoFinance" - }, + "properties": { "properties": { "adminStatus": "Cancel" } @@ -20,27 +17,24 @@ "name": "expansionjob1-rebalance", "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", - "location": "eastus", "properties": { "provisioningState": "Succeeded", "adminStatus": "Cancel", "expansionJobName": "expansionjob1", "status": { - "state": "Cancelling", + "state": "InProgress", "statusCode": "CancelRequested", "statusMessage": "Rebalance cancellation has been requested.", "balancePercent": 67.8, - "estimatedRemainingSeconds": null, "filesMigrated": 320000, + "dirsMigrated": 25000, "bytesMoved": 3435973836, "filesMovedPerSecond": 0, "throughputMbps": 0, - "startTimeUTC": "2025-09-12T10:00:00Z", - "completionTimeUTC": null + "totalErrors": 2, + "totalSkipped": 150, + "startTimeUTC": "2025-09-12T10:00:00Z" } - }, - "tags": { - "Dept": "ContosoFinance" } } }, @@ -51,6 +45,6 @@ } } }, - "operationId": "rebalanceJobs_Update", - "title": "rebalanceJobs_Update" + "operationId": "RebalanceJobs_Update", + "title": "RebalanceJobs_Update" } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/ResumePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/ResumePrimingJob.json index b9add0ba8a03..f3a588296590 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/ResumePrimingJob.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/ResumePrimingJob.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "primingJobId": { "primingJobId": "00000000000_0000000000" @@ -11,8 +11,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Skus_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Skus_List.json index 6f94271ee79c..65b98e931465 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Skus_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/Skus_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/SpaceAllocation_Post.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/SpaceAllocation_Post.json index 13585e2bf6b5..f8e752761f2b 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/SpaceAllocation_Post.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/SpaceAllocation_Post.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "spaceAllocation": [ @@ -22,8 +22,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StartPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StartPrimingJob.json index 9fdb66d150dd..969cee6c141f 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StartPrimingJob.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StartPrimingJob.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "primingjob": { "primingJobName": "contosoJob", @@ -12,8 +12,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StopPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StopPrimingJob.json index 13c4a78b38e3..b22459a9e3ce 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StopPrimingJob.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StopPrimingJob.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "primingJobId": { "primingJobId": "00000000000_0000000000" @@ -11,8 +11,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate.json index 0a942133b778..fd05be5921f4 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json index 51d526a69431..3a43000760a7 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json index e2fc8bca517b..190afa856192 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Delete.json index 6e6e6d0447e4..de0d48a78218 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_DnsRefresh.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_DnsRefresh.json index a38368a9ea5c..891436f42ded 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_DnsRefresh.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_DnsRefresh.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Flush.json index 3b9f0f6547f3..4729b7a79f63 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Flush.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Flush.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Get.json index 74e756389c65..303930dbb5cd 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Invalidate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Invalidate.json index 59292d6f4fab..143f18571354 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Invalidate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Invalidate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_ListByCache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_ListByCache.json index ffe630a08636..87f8f6b726b2 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_ListByCache.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_ListByCache.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_RestoreDefaults.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_RestoreDefaults.json index e8239ed6348c..ccf46664543c 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_RestoreDefaults.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_RestoreDefaults.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Resume.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Resume.json index 32fc75053531..8d8b3dd1d257 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Resume.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Resume.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Suspend.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Suspend.json index 03ce747c575b..5694543a328f 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Suspend.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/StorageTargets_Suspend.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/UsageModels_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/UsageModels_List.json index 9164c07e70a6..e87f480ad9b8 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/UsageModels_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/UsageModels_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Archive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Archive.json index 281d6441fd58..8278ceb8aeae 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Archive.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Archive.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "sc", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "archiveInfo": { "filesystemPath": "/" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CancelArchive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CancelArchive.json index a71be23c12bc..c376f6d123bc 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CancelArchive.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CancelArchive.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "sc", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CreateOrUpdate.json index 6d854c21e53d..85287f794b57 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_CreateOrUpdate.json @@ -50,7 +50,7 @@ ] }, "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, @@ -199,8 +199,8 @@ ] }, "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Delete.json index 2b50f6e5386b..566b04362053 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Get.json index a1c3a0d323ed..f17a71ec9610 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_List.json index 289d87096f4d..154520df266f 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_ListByResourceGroup.json index f9191630f6f6..351848ad22f6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_ListByResourceGroup.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_ListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Update.json index 94f38d6cb23c..4a2741ef90f5 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/amlFilesystems_Update.json @@ -26,7 +26,7 @@ } }, "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, @@ -114,8 +114,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_CreateOrUpdate.json index e3c80e2a513b..72845cd0cb42 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_CreateOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoExportJob": { "location": "eastus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Delete.json index 62726731646b..d5e29746ff04 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoExportJobName": "job1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Get.json index 1f5f8cddc311..ffe591c942a6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoExportJobName": "job1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_ListByAmlFilesystem.json index 8bec42f9e38e..1098054e2125 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_ListByAmlFilesystem.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Update.json index 0b003735eaba..f47b26231b01 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoExportJobs_Update.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoExportJob": { "tags": { "Dept": "ContosoAds" @@ -47,8 +47,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_CreateOrUpdate.json index c9cc6a36f802..4a9673540df1 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_CreateOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoImportJob": { "location": "eastus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Delete.json index 73b947c484fe..d4fc4f1eae01 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoImportJobName": "autojob1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Get.json index 2e95285adb4b..d24916b55f80 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoImportJobName": "autojob1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_ListByAmlFilesystem.json index a655d9fc398e..a580b45ac1f6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_ListByAmlFilesystem.json @@ -1,14 +1,14 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs?$skipToken=autojob2&api-version=2026-01-01", + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs?$skipToken=autojob2&api-version=2026-08-01", "value": [ { "name": "autojob1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Update.json index 92f8c63293c7..728a4271c9b7 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/autoImportJobs_Update.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoImportJob": { "properties": { "adminStatus": "Disable" @@ -70,8 +70,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/checkAmlFSSubnets.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/checkAmlFSSubnets.json index b3a9e46ce587..c2eac19d4174 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/checkAmlFSSubnets.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/checkAmlFSSubnets.json @@ -7,7 +7,7 @@ }, "storageCapacityTiB": 16 }, - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_CreateOrUpdate.json index 981220ba0569..8adeb08bc22b 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_CreateOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "expansionJob": { "location": "eastus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Delete.json index 541a223f3fa6..899c1390c623 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "expansionJobName": "expansionjob1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/expansionJobs/expansionjob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/expansionJobs/expansionjob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_ListByAmlFilesystem.json index 733cda60812c..6308be9f6248 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_ListByAmlFilesystem.json @@ -1,14 +1,14 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs?api-version=2026-01-01&$skiptoken=abc123", + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs?api-version=2026-08-01&$skiptoken=abc123", "value": [ { "name": "expansionjob1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Update.json index 5f2f999b6cb9..fc89078b5ae7 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Update.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "expansionJob": { "tags": { "Dept": "ContosoFinance" @@ -36,8 +36,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/getRequiredAmlFSSubnetsSize.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/getRequiredAmlFSSubnetsSize.json index efe24f3e3148..42fa1eba13a1 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/getRequiredAmlFSSubnetsSize.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/getRequiredAmlFSSubnetsSize.json @@ -6,7 +6,7 @@ }, "storageCapacityTiB": 16 }, - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJob_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJob_Update.json index 064af9d540dc..d02e068f0e38 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJob_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJob_Update.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "importJob": { "tags": { "Dept": "ContosoAds" @@ -52,8 +52,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_CreateOrUpdate.json index 86459dd09321..bd88cf149b66 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_CreateOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "importJob": { "location": "eastus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Delete.json index 60825e6f9baf..9e18270c2939 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "importJobName": "job1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Get.json index f92fef1c47dd..4f044b96ae0a 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "importJobName": "job1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_ListByAmlFilesystem.json index 12ba87bd8506..82ab24ff96a8 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/importJobs_ListByAmlFilesystem.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp index 2c1fabf65862..71142fcb5e20 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp @@ -1,11 +1,12 @@ import "@typespec/rest"; import "@typespec/http"; +import "@typespec/openapi"; import "@typespec/versioning"; import "@azure-tools/typespec-azure-resource-manager"; import "@azure-tools/typespec-azure-core"; - using TypeSpec.Rest; using TypeSpec.Http; +using TypeSpec.OpenAPI; using TypeSpec.Versioning; using Azure.ResourceManager; using Azure.ResourceManager.Foundations; @@ -698,67 +699,77 @@ union RebalanceJobPropertiesProvisioningState { string, /** - * Succeeded + * Resource has been created successfully. */ Succeeded: "Succeeded", /** - * Failed + * Resource creation failed. */ Failed: "Failed", /** - * Creating + * Resource is being created. */ Creating: "Creating", /** - * Deleting + * Resource is being deleted. */ Deleting: "Deleting", /** - * Updating + * Resource is being updated. */ Updating: "Updating", /** - * Canceled + * Resource creation was canceled. */ Canceled: "Canceled", } /** - * The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully (imbalance below low watermark). Failed indicates the rebalance was unable to complete due to a fatal error. + * The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully (imbalance below low watermark). Failed indicates the rebalance was unable to complete due to a fatal error. Deleting indicates the job is being cleaned up during deletion. RollingBack indicates the orchestrator is rolling back provisioned resources after a failure. */ @added(Versions.v2026_08_01) union RebalanceJobStatusType { string, /** - * InProgress + * The rebalance job is currently running on the cluster. */ InProgress: "InProgress", /** - * Cancelling + * A cancel has been requested and the job is stopping. */ Cancelling: "Cancelling", /** - * Canceled + * The rebalance job was canceled before completion. */ Canceled: "Canceled", /** - * Completed + * The rebalance job finished successfully. */ Completed: "Completed", /** - * Failed + * The rebalance job failed due to a fatal error. */ Failed: "Failed", + + /** + * The job is being cleaned up during deletion. + */ + Deleting: "Deleting", + + /** + * The orchestrator is rolling back provisioned resources after a failure. + */ + RollingBack: "RollingBack", } /** @@ -769,15 +780,19 @@ union RebalanceJobAdminStatus { string, /** - * Active + * The rebalance job is running normally. */ Active: "Active", /** - * Cancel + * Request the rebalance job to stop. */ Cancel: "Cancel", } + +/** + * The status of the AML file system subnet check. + */ union FilesystemSubnetStatusType { string, @@ -792,7 +807,7 @@ union FilesystemSubnetStatusType { Invalid: "Invalid", } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** Metric aggregation type. */ union MetricAggregationType { string, @@ -1277,8 +1292,8 @@ model AmlFilesystemIdentity { userAssignedIdentities?: Record; } +/** User-assigned identity properties. */ #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" model userAssignedIdentitiesValue { /** * The principal ID of the user-assigned identity. @@ -1888,7 +1903,7 @@ model AutoExportJobUpdate { properties?: AutoExportJobUpdateProperties; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** Properties for updating an auto export job. */ model AutoExportJobUpdateProperties { /** * The administrative status of the auto export job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto export job. By default it is set to 'Enable'. @@ -2054,7 +2069,7 @@ model ImportJobUpdate { properties?: ImportJobUpdateProperties; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** Properties for updating an import job. */ model ImportJobUpdateProperties { /** * The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. @@ -2338,7 +2353,7 @@ model AutoImportJobUpdate { properties?: AutoImportJobUpdateProperties; } -#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +/** Properties for updating an auto import job. */ model AutoImportJobUpdateProperties { /** * The administrative status of the auto import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto import job. By default it is set to 'Enable'. @@ -2373,7 +2388,7 @@ model ExpansionJobProperties { */ @added(Versions.v2026_08_01) @visibility(Lifecycle.Read, Lifecycle.Create) - rebalance?: boolean; + rebalance?: boolean = false; /** * Name of the child rebalance job created by this expansion. Populated after RebalanceJob is created. @@ -2477,7 +2492,7 @@ model RebalanceJobProperties { @added(Versions.v2026_08_01) model RebalanceJobPropertiesStatus { /** - * The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully. Failed indicates the rebalance was unable to complete due to a fatal error. + * The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully. Failed indicates the rebalance was unable to complete due to a fatal error. Deleting indicates the job is being cleaned up during deletion. RollingBack indicates the orchestrator is rolling back provisioned resources after a failure. */ @visibility(Lifecycle.Read) state?: RebalanceJobStatusType; @@ -2495,42 +2510,60 @@ model RebalanceJobPropertiesStatus { statusMessage?: string; /** - * The balance percentage (0-100). Represents cumulative progress since the rebalance started. Sourced from heartbeat messages. + * The balance percentage (0-100). Represents cumulative progress since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts. */ @visibility(Lifecycle.Read) @maxValue(100) @minValue(0) - balancePercent?: float32; + balancePercent?: float64; /** - * Estimated remaining time in seconds. May be null during initial assessment. + * Estimated remaining time in seconds. Omitted during initial assessment before the rebalancer has enough data to estimate. */ @visibility(Lifecycle.Read) estimatedRemainingSeconds?: int32; /** - * Total number of files migrated since the rebalance started. + * Total number of files migrated since the rebalance started. Counts OST-phase (data) work items. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts. */ @visibility(Lifecycle.Read) filesMigrated?: int64; /** - * Total number of bytes moved since the rebalance started. + * Total number of directories migrated since the rebalance started. Counts MDT-phase (metadata) work items, reported separately from filesMigrated (OST-phase data migrations). Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts. + */ + @visibility(Lifecycle.Read) + dirsMigrated?: int64; + + /** + * Total number of bytes moved since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts. */ @visibility(Lifecycle.Read) bytesMoved?: int64; /** - * Rolling 60-second average of files moved per second. + * Average files moved per second over the most recent reporting interval. + */ + @visibility(Lifecycle.Read) + filesMovedPerSecond?: float64; + + /** + * Average throughput in MiB/s (1024x1024 bytes per second) over the most recent reporting interval. */ @visibility(Lifecycle.Read) - filesMovedPerSecond?: float32; + throughputMbps?: float64; /** - * Rolling 60-second average throughput in megabytes per second. + * Total cumulative non-skip errors since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts. */ @visibility(Lifecycle.Read) - throughputMbps?: float32; + totalErrors?: int32; + + /** + * Total cumulative benign skips since the rebalance started: files intentionally not migrated (for example, a lost migration lease or a stale layout), as distinct from the hard failures counted in totalErrors. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts. + */ + @visibility(Lifecycle.Read) + totalSkipped?: int64; /** * The time (in UTC) the rebalance job started. @@ -2540,7 +2573,7 @@ model RebalanceJobPropertiesStatus { startTimeUTC?: utcDateTime; /** - * The time (in UTC) when the rebalance job completed. Only populated when job reaches a terminal state. + * The time (in UTC) when the rebalance job completed. Only populated when the job reaches a terminal state (Completed, Failed, or Canceled). */ #suppress "@azure-tools/typespec-azure-core/casing-style" "Non-standard casing matches existing convention in this project" @visibility(Lifecycle.Read) @@ -2552,12 +2585,6 @@ model RebalanceJobPropertiesStatus { */ @added(Versions.v2026_08_01) model RebalanceJobUpdate { - /** - * Resource tags. - */ - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Tags use Record per ARM convention" - tags?: Record; - /** * Properties for the rebalance job update. */ @@ -2833,6 +2860,7 @@ model ResourceSkusResult { */ @visibility(Lifecycle.Read) @pageItems + @identifiers(#["name"]) value?: ResourceSku[]; /** @@ -2904,6 +2932,8 @@ model ResourceSkuLocationInfo { /** * Location where this SKU is available. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-mutability required by LocationMustHaveXmsMutability lint rule" + @extension("x-ms-mutability", #["read", "create"]) location?: string; /** diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/readme.md b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/readme.md index ad4c0bbbfb4f..551cb591aeff 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/readme.md +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/readme.md @@ -26,11 +26,19 @@ These are the global settings for the StorageCache API. ``` yaml openapi-type: arm -tag: package-2026-01-01 +tag: package-2026-08-01 add-credentials: true title: StorageCacheManagementClient ``` +### Tag: package-2026-08-01 +These settings apply only when `--tag=package-2026-08-01` is specified on the command line. + +```yaml $(tag) == 'package-2026-08-01' +input-file: + - stable/2026-08-01/openapi.json +``` + ### Tag: package-2026-01-01 These settings apply only when `--tag=package-2026-01-01` is specified on the command line. diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-01-01/openapi.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-01-01/openapi.json index 717880fc35f5..90cb52b85170 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-01-01/openapi.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-01-01/openapi.json @@ -5283,6 +5283,7 @@ }, "AutoExportJobUpdateProperties": { "type": "object", + "description": "Properties for updating an auto export job.", "properties": { "adminStatus": { "$ref": "#/definitions/AutoExportJobAdminStatus", @@ -5787,6 +5788,7 @@ }, "AutoImportJobUpdateProperties": { "type": "object", + "description": "Properties for updating an auto import job.", "properties": { "adminStatus": { "$ref": "#/definitions/AutoImportJobUpdatePropertiesAdminStatus", @@ -7178,6 +7180,7 @@ }, "ImportJobUpdateProperties": { "type": "object", + "description": "Properties for updating an import job.", "properties": { "adminStatus": { "$ref": "#/definitions/ImportJobAdminStatus", @@ -7349,6 +7352,7 @@ }, "MetricAggregationType": { "type": "string", + "description": "Metric aggregation type.", "enum": [ "NotSpecified", "None", @@ -7953,7 +7957,11 @@ "properties": { "location": { "type": "string", - "description": "Location where this SKU is available." + "description": "Location where this SKU is available.", + "x-ms-mutability": [ + "read", + "create" + ] }, "zones": { "type": "array", @@ -7974,7 +7982,10 @@ "items": { "$ref": "#/definitions/ResourceSku" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] }, "nextLink": { "type": "string", @@ -8099,7 +8110,10 @@ "location": { "type": "string", "description": "Region name string.", - "readOnly": true + "readOnly": true, + "x-ms-mutability": [ + "read" + ] } }, "allOf": [ @@ -8332,6 +8346,7 @@ }, "userAssignedIdentitiesValue": { "type": "object", + "description": "User-assigned identity properties.", "properties": { "principalId": { "type": "string", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscOperations_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscOperations_Get.json index 07db25ad1ac0..53896e751141 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscOperations_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscOperations_Get.json @@ -1,7 +1,7 @@ { "parameters": { "operationId": "testoperationid", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "location": "westus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscResourceUsages_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscResourceUsages_Get.json index befd9387f44e..1ac49ba1e88d 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscResourceUsages_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/AscResourceUsages_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "location": "eastus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate.json index 0f8d13844cfa..e146ef807bf9 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cache": { "identity": { "type": "UserAssigned", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate_ldap_only.json index 8c675d1b95ce..709a26e1ffbc 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate_ldap_only.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_CreateOrUpdate_ldap_only.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cache": { "location": "westus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_DebugInfo.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_DebugInfo.json index 8c39ba2bcb15..17ce799273a6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_DebugInfo.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_DebugInfo.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Delete.json index 55ddf30ba58b..b6ca8c8b7edf 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Flush.json index 0c7d7680acf5..8b6b07b071cb 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Flush.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Flush.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Get.json index c40431672f51..2c9e12c85cdd 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_List.json index 4032c4d38850..ce287d836a54 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_ListByResourceGroup.json index f9dfa792ba1f..fa55ee87c56a 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_ListByResourceGroup.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_ListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Start.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Start.json index 07b786ed2da6..754abfa0f8d5 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Start.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Start.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Stop.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Stop.json index a4822fcfe300..132c7819a17c 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Stop.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Stop.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update.json index f47ad3019e35..f269eb1b1bea 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cache": { "location": "westus", "properties": { @@ -255,8 +255,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update_ldap_only.json index c97a3831ec17..825af14228e0 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update_ldap_only.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_Update_ldap_only.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cache": { "location": "westus", "properties": { @@ -233,8 +233,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_UpgradeFirmware.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_UpgradeFirmware.json index 10cb7036e4b3..d744837d5164 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_UpgradeFirmware.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Caches_UpgradeFirmware.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "201": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Operations_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Operations_List.json index 448ac76cbcea..7a89bed384c5 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Operations_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Operations_List.json @@ -3,7 +3,7 @@ "accept-language": [ "en-US" ], - "api-version": "2026-01-01", + "api-version": "2026-08-01", "x-ms-client-request-id": [ "7e655b68-e491-4cb6-90c3-6a5b10b7bd17" ] diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/PausePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/PausePrimingJob.json index 9b41b7bf9839..9497c3e6f6ea 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/PausePrimingJob.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/PausePrimingJob.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "primingJobId": { "primingJobId": "00000000000_0000000000" @@ -11,8 +11,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Delete.json similarity index 92% rename from specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Delete.json rename to specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Delete.json index 952b3f191e88..25fd67c6bc82 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Delete.json @@ -15,6 +15,6 @@ }, "204": {} }, - "operationId": "rebalanceJobs_Delete", - "title": "rebalanceJobs_Delete" + "operationId": "RebalanceJobs_Delete", + "title": "RebalanceJobs_Delete" } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Get.json similarity index 82% rename from specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Get.json rename to specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Get.json index 9f28852e85ad..f38ccdf91c86 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Get.json @@ -12,7 +12,6 @@ "name": "expansionjob1-rebalance", "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", - "location": "eastus", "properties": { "provisioningState": "Succeeded", "adminStatus": "Active", @@ -24,19 +23,18 @@ "balancePercent": 45.2, "estimatedRemainingSeconds": 3600, "filesMigrated": 150000, + "dirsMigrated": 12000, "bytesMoved": 1073741824, "filesMovedPerSecond": 250.5, "throughputMbps": 1200.0, - "startTimeUTC": "2025-09-12T10:00:00Z", - "completionTimeUTC": null + "totalErrors": 0, + "totalSkipped": 42, + "startTimeUTC": "2025-09-12T10:00:00Z" } - }, - "tags": { - "Dept": "ContosoAds" } } } }, - "operationId": "rebalanceJobs_Get", - "title": "rebalanceJobs_Get" + "operationId": "RebalanceJobs_Get", + "title": "RebalanceJobs_Get" } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_ListByAmlFilesystem.json similarity index 86% rename from specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_ListByAmlFilesystem.json rename to specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_ListByAmlFilesystem.json index e40685c3a1e1..525bf1c9323b 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/rebalanceJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_ListByAmlFilesystem.json @@ -13,7 +13,6 @@ "name": "expansionjob1-rebalance", "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", - "location": "eastus", "properties": { "provisioningState": "Succeeded", "adminStatus": "Active", @@ -24,21 +23,21 @@ "statusMessage": "Rebalance completed successfully.", "balancePercent": 100, "filesMigrated": 500000, + "dirsMigrated": 40000, "bytesMoved": 5368709120, "filesMovedPerSecond": 0, "throughputMbps": 0, + "totalErrors": 0, + "totalSkipped": 230, "startTimeUTC": "2025-09-12T10:00:00Z", "completionTimeUTC": "2025-09-14T06:30:00Z" } - }, - "tags": { - "Dept": "ContosoAds" } } ] } } }, - "operationId": "rebalanceJobs_ListByAmlFilesystem", - "title": "rebalanceJobs_ListByAmlFilesystem" + "operationId": "RebalanceJobs_ListByAmlFilesystem", + "title": "RebalanceJobs_ListByAmlFilesystem" } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Update.json similarity index 80% rename from specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Update.json rename to specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Update.json index 83a37ac4f941..051f39437efd 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/rebalanceJobs_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Update.json @@ -5,10 +5,7 @@ "rebalanceJobName": "expansionjob1-rebalance", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "rebalanceJob": { - "tags": { - "Dept": "ContosoFinance" - }, + "properties": { "properties": { "adminStatus": "Cancel" } @@ -20,27 +17,24 @@ "name": "expansionjob1-rebalance", "type": "Microsoft.StorageCache/amlFilesystems/rebalanceJobs", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance", - "location": "eastus", "properties": { "provisioningState": "Succeeded", "adminStatus": "Cancel", "expansionJobName": "expansionjob1", "status": { - "state": "Cancelling", + "state": "InProgress", "statusCode": "CancelRequested", "statusMessage": "Rebalance cancellation has been requested.", "balancePercent": 67.8, - "estimatedRemainingSeconds": null, "filesMigrated": 320000, + "dirsMigrated": 25000, "bytesMoved": 3435973836, "filesMovedPerSecond": 0, "throughputMbps": 0, - "startTimeUTC": "2025-09-12T10:00:00Z", - "completionTimeUTC": null + "totalErrors": 2, + "totalSkipped": 150, + "startTimeUTC": "2025-09-12T10:00:00Z" } - }, - "tags": { - "Dept": "ContosoFinance" } } }, @@ -51,6 +45,6 @@ } } }, - "operationId": "rebalanceJobs_Update", - "title": "rebalanceJobs_Update" + "operationId": "RebalanceJobs_Update", + "title": "RebalanceJobs_Update" } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/ResumePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/ResumePrimingJob.json index b9add0ba8a03..f3a588296590 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/ResumePrimingJob.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/ResumePrimingJob.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "primingJobId": { "primingJobId": "00000000000_0000000000" @@ -11,8 +11,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Skus_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Skus_List.json index 6f94271ee79c..65b98e931465 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Skus_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/Skus_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/SpaceAllocation_Post.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/SpaceAllocation_Post.json index 13585e2bf6b5..f8e752761f2b 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/SpaceAllocation_Post.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/SpaceAllocation_Post.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "spaceAllocation": [ @@ -22,8 +22,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StartPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StartPrimingJob.json index 9fdb66d150dd..969cee6c141f 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StartPrimingJob.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StartPrimingJob.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "primingjob": { "primingJobName": "contosoJob", @@ -12,8 +12,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StopPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StopPrimingJob.json index 13c4a78b38e3..b22459a9e3ce 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StopPrimingJob.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StopPrimingJob.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "primingJobId": { "primingJobId": "00000000000_0000000000" @@ -11,8 +11,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate.json index 0a942133b778..fd05be5921f4 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json index 51d526a69431..3a43000760a7 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json index e2fc8bca517b..190afa856192 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Delete.json index 6e6e6d0447e4..de0d48a78218 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_DnsRefresh.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_DnsRefresh.json index a38368a9ea5c..891436f42ded 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_DnsRefresh.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_DnsRefresh.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Flush.json index 3b9f0f6547f3..4729b7a79f63 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Flush.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Flush.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Get.json index 74e756389c65..303930dbb5cd 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "storageTargetName": "st1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Invalidate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Invalidate.json index 59292d6f4fab..143f18571354 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Invalidate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Invalidate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_ListByCache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_ListByCache.json index ffe630a08636..87f8f6b726b2 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_ListByCache.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_ListByCache.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_RestoreDefaults.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_RestoreDefaults.json index e8239ed6348c..ccf46664543c 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_RestoreDefaults.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_RestoreDefaults.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Resume.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Resume.json index 32fc75053531..8d8b3dd1d257 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Resume.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Resume.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Suspend.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Suspend.json index 03ce747c575b..5694543a328f 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Suspend.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/StorageTargets_Suspend.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "cacheName": "sc", "resourceGroupName": "scgroup", "storageTargetName": "st1", @@ -10,8 +10,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/UsageModels_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/UsageModels_List.json index 9164c07e70a6..e87f480ad9b8 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/UsageModels_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/UsageModels_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Archive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Archive.json index 281d6441fd58..8278ceb8aeae 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Archive.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Archive.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "sc", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "archiveInfo": { "filesystemPath": "/" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CancelArchive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CancelArchive.json index a71be23c12bc..c376f6d123bc 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CancelArchive.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CancelArchive.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "sc", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CreateOrUpdate.json index 6d854c21e53d..85287f794b57 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_CreateOrUpdate.json @@ -50,7 +50,7 @@ ] }, "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, @@ -199,8 +199,8 @@ ] }, "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Delete.json index 2b50f6e5386b..566b04362053 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, @@ -9,8 +9,8 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Get.json index a1c3a0d323ed..f17a71ec9610 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_List.json index 289d87096f4d..154520df266f 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_List.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_ListByResourceGroup.json index f9191630f6f6..351848ad22f6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_ListByResourceGroup.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_ListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Update.json index 94f38d6cb23c..4a2741ef90f5 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/amlFilesystems_Update.json @@ -26,7 +26,7 @@ } }, "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, @@ -114,8 +114,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_CreateOrUpdate.json index e3c80e2a513b..72845cd0cb42 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_CreateOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoExportJob": { "location": "eastus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Delete.json index 62726731646b..d5e29746ff04 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoExportJobName": "job1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Get.json index 1f5f8cddc311..ffe591c942a6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoExportJobName": "job1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_ListByAmlFilesystem.json index 8bec42f9e38e..1098054e2125 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_ListByAmlFilesystem.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Update.json index 0b003735eaba..f47b26231b01 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoExportJobs_Update.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoExportJob": { "tags": { "Dept": "ContosoAds" @@ -47,8 +47,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_CreateOrUpdate.json index c9cc6a36f802..4a9673540df1 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_CreateOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoImportJob": { "location": "eastus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Delete.json index 73b947c484fe..d4fc4f1eae01 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoImportJobName": "autojob1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Get.json index 2e95285adb4b..d24916b55f80 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoImportJobName": "autojob1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_ListByAmlFilesystem.json index a655d9fc398e..a580b45ac1f6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_ListByAmlFilesystem.json @@ -1,14 +1,14 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs?$skipToken=autojob2&api-version=2026-01-01", + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs?$skipToken=autojob2&api-version=2026-08-01", "value": [ { "name": "autojob1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Update.json index 92f8c63293c7..728a4271c9b7 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/autoImportJobs_Update.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "autoImportJob": { "properties": { "adminStatus": "Disable" @@ -70,8 +70,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/autoImportJobs/autojob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/checkAmlFSSubnets.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/checkAmlFSSubnets.json index b3a9e46ce587..c2eac19d4174 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/checkAmlFSSubnets.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/checkAmlFSSubnets.json @@ -7,7 +7,7 @@ }, "storageCapacityTiB": 16 }, - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_CreateOrUpdate.json index 981220ba0569..8adeb08bc22b 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_CreateOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "expansionJob": { "location": "eastus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Delete.json index 541a223f3fa6..899c1390c623 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "expansionJobName": "expansionjob1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/expansionJobs/expansionjob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/expansionJobs/expansionjob1/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_ListByAmlFilesystem.json index 733cda60812c..6308be9f6248 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_ListByAmlFilesystem.json @@ -1,14 +1,14 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs?api-version=2026-01-01&$skiptoken=abc123", + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/expansionJobs?api-version=2026-08-01&$skiptoken=abc123", "value": [ { "name": "expansionjob1", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Update.json index 5f2f999b6cb9..fc89078b5ae7 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Update.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "expansionJob": { "tags": { "Dept": "ContosoFinance" @@ -36,8 +36,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/getRequiredAmlFSSubnetsSize.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/getRequiredAmlFSSubnetsSize.json index efe24f3e3148..42fa1eba13a1 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/getRequiredAmlFSSubnetsSize.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/getRequiredAmlFSSubnetsSize.json @@ -6,7 +6,7 @@ }, "storageCapacityTiB": 16 }, - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJob_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJob_Update.json index 064af9d540dc..d02e068f0e38 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJob_Update.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJob_Update.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "importJob": { "tags": { "Dept": "ContosoAds" @@ -52,8 +52,8 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } } }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_CreateOrUpdate.json index 86459dd09321..bd88cf149b66 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_CreateOrUpdate.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_CreateOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "importJob": { "location": "eastus", "properties": { diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Delete.json index 60825e6f9baf..9e18270c2939 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Delete.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "importJobName": "job1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-01-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-01-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Get.json index f92fef1c47dd..4f044b96ae0a 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_Get.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "importJobName": "job1", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_ListByAmlFilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_ListByAmlFilesystem.json index 12ba87bd8506..82ab24ff96a8 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_ListByAmlFilesystem.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/importJobs_ListByAmlFilesystem.json @@ -1,7 +1,7 @@ { "parameters": { "amlFilesystemName": "fs1", - "api-version": "2026-01-01", + "api-version": "2026-08-01", "resourceGroupName": "scgroup", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json index 2664ef7d5528..8bba518954ef 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json @@ -2349,7 +2349,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs": { "get": { - "operationId": "rebalanceJobs_ListByAmlFilesystem", + "operationId": "RebalanceJobs_ListByAmlFilesystem", "tags": [ "rebalanceJobs" ], @@ -2390,8 +2390,8 @@ } }, "x-ms-examples": { - "rebalanceJobs_ListByAmlFilesystem": { - "$ref": "./examples/rebalanceJobs_ListByAmlFilesystem.json" + "RebalanceJobs_ListByAmlFilesystem": { + "$ref": "./examples/RebalanceJobs_ListByAmlFilesystem.json" } }, "x-ms-pageable": { @@ -2401,7 +2401,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs/{rebalanceJobName}": { "get": { - "operationId": "rebalanceJobs_Get", + "operationId": "RebalanceJobs_Get", "tags": [ "rebalanceJobs" ], @@ -2452,13 +2452,13 @@ } }, "x-ms-examples": { - "rebalanceJobs_Get": { - "$ref": "./examples/rebalanceJobs_Get.json" + "RebalanceJobs_Get": { + "$ref": "./examples/RebalanceJobs_Get.json" } } }, "patch": { - "operationId": "rebalanceJobs_Update", + "operationId": "RebalanceJobs_Update", "tags": [ "rebalanceJobs" ], @@ -2537,8 +2537,8 @@ } }, "x-ms-examples": { - "rebalanceJobs_Update": { - "$ref": "./examples/rebalanceJobs_Update.json" + "RebalanceJobs_Update": { + "$ref": "./examples/RebalanceJobs_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2548,7 +2548,7 @@ "x-ms-long-running-operation": true }, "delete": { - "operationId": "rebalanceJobs_Delete", + "operationId": "RebalanceJobs_Delete", "tags": [ "rebalanceJobs" ], @@ -2615,8 +2615,8 @@ } }, "x-ms-examples": { - "rebalanceJobs_Delete": { - "$ref": "./examples/rebalanceJobs_Delete.json" + "RebalanceJobs_Delete": { + "$ref": "./examples/RebalanceJobs_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -5564,6 +5564,7 @@ }, "AutoExportJobUpdateProperties": { "type": "object", + "description": "Properties for updating an auto export job.", "properties": { "adminStatus": { "$ref": "#/definitions/AutoExportJobAdminStatus", @@ -6068,6 +6069,7 @@ }, "AutoImportJobUpdateProperties": { "type": "object", + "description": "Properties for updating an auto import job.", "properties": { "adminStatus": { "$ref": "#/definitions/AutoImportJobUpdatePropertiesAdminStatus", @@ -6851,6 +6853,7 @@ "rebalance": { "type": "boolean", "description": "When true, expansion creates a RebalanceJob after completing. Optional, defaults to false.", + "default": false, "x-ms-mutability": [ "read", "create" @@ -7027,6 +7030,7 @@ }, "FilesystemSubnetStatusType": { "type": "string", + "description": "The status of the AML file system subnet check.", "enum": [ "Ok", "Invalid" @@ -7471,6 +7475,7 @@ }, "ImportJobUpdateProperties": { "type": "object", + "description": "Properties for updating an import job.", "properties": { "adminStatus": { "$ref": "#/definitions/ImportJobAdminStatus", @@ -7642,6 +7647,7 @@ }, "MetricAggregationType": { "type": "string", + "description": "Metric aggregation type.", "enum": [ "NotSpecified", "None", @@ -8157,12 +8163,13 @@ "properties": { "properties": { "$ref": "#/definitions/RebalanceJobProperties", - "description": "Properties of the rebalance job." + "description": "Properties of the rebalance job.", + "x-ms-client-flatten": true } }, "allOf": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ] }, @@ -8180,12 +8187,12 @@ { "name": "Active", "value": "Active", - "description": "Active" + "description": "The rebalance job is running normally." }, { "name": "Cancel", "value": "Cancel", - "description": "Cancel" + "description": "Request the rebalance job to stop." } ] } @@ -8214,12 +8221,12 @@ { "name": "Active", "value": "Active", - "description": "Active" + "description": "The rebalance job is running normally." }, { "name": "Cancel", "value": "Cancel", - "description": "Cancel" + "description": "Request the rebalance job to stop." } ] }, @@ -8258,32 +8265,32 @@ { "name": "Succeeded", "value": "Succeeded", - "description": "Succeeded" + "description": "Resource has been created successfully." }, { "name": "Failed", "value": "Failed", - "description": "Failed" + "description": "Resource creation failed." }, { "name": "Creating", "value": "Creating", - "description": "Creating" + "description": "Resource is being created." }, { "name": "Deleting", "value": "Deleting", - "description": "Deleting" + "description": "Resource is being deleted." }, { "name": "Updating", "value": "Updating", - "description": "Updating" + "description": "Resource is being updated." }, { "name": "Canceled", "value": "Canceled", - "description": "Canceled" + "description": "Resource creation was canceled." } ] } @@ -8294,7 +8301,7 @@ "properties": { "state": { "$ref": "#/definitions/RebalanceJobStatusType", - "description": "The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully. Failed indicates the rebalance was unable to complete due to a fatal error.", + "description": "The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully. Failed indicates the rebalance was unable to complete due to a fatal error. Deleting indicates the job is being cleaned up during deletion. RollingBack indicates the orchestrator is rolling back provisioned resources after a failure.", "readOnly": true }, "statusCode": { @@ -8309,8 +8316,8 @@ }, "balancePercent": { "type": "number", - "format": "float", - "description": "The balance percentage (0-100). Represents cumulative progress since the rebalance started. Sourced from heartbeat messages.", + "format": "double", + "description": "The balance percentage (0-100). Represents cumulative progress since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.", "minimum": 0, "maximum": 100, "readOnly": true @@ -8318,31 +8325,49 @@ "estimatedRemainingSeconds": { "type": "integer", "format": "int32", - "description": "Estimated remaining time in seconds. May be null during initial assessment.", + "description": "Estimated remaining time in seconds. Omitted during initial assessment before the rebalancer has enough data to estimate.", "readOnly": true }, "filesMigrated": { "type": "integer", "format": "int64", - "description": "Total number of files migrated since the rebalance started.", + "description": "Total number of files migrated since the rebalance started. Counts OST-phase (data) work items. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.", + "readOnly": true + }, + "dirsMigrated": { + "type": "integer", + "format": "int64", + "description": "Total number of directories migrated since the rebalance started. Counts MDT-phase (metadata) work items, reported separately from filesMigrated (OST-phase data migrations). Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.", "readOnly": true }, "bytesMoved": { "type": "integer", "format": "int64", - "description": "Total number of bytes moved since the rebalance started.", + "description": "Total number of bytes moved since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.", "readOnly": true }, "filesMovedPerSecond": { "type": "number", - "format": "float", - "description": "Rolling 60-second average of files moved per second.", + "format": "double", + "description": "Average files moved per second over the most recent reporting interval.", "readOnly": true }, "throughputMbps": { "type": "number", - "format": "float", - "description": "Rolling 60-second average throughput in megabytes per second.", + "format": "double", + "description": "Average throughput in MiB/s (1024x1024 bytes per second) over the most recent reporting interval.", + "readOnly": true + }, + "totalErrors": { + "type": "integer", + "format": "int32", + "description": "Total cumulative non-skip errors since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.", + "readOnly": true + }, + "totalSkipped": { + "type": "integer", + "format": "int64", + "description": "Total cumulative benign skips since the rebalance started: files intentionally not migrated (for example, a lost migration lease or a stale layout), as distinct from the hard failures counted in totalErrors. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.", "readOnly": true }, "startTimeUTC": { @@ -8354,20 +8379,22 @@ "completionTimeUTC": { "type": "string", "format": "date-time", - "description": "The time (in UTC) when the rebalance job completed. Only populated when job reaches a terminal state.", + "description": "The time (in UTC) when the rebalance job completed. Only populated when the job reaches a terminal state (Completed, Failed, or Canceled).", "readOnly": true } } }, "RebalanceJobStatusType": { "type": "string", - "description": "The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully (imbalance below low watermark). Failed indicates the rebalance was unable to complete due to a fatal error.", + "description": "The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully (imbalance below low watermark). Failed indicates the rebalance was unable to complete due to a fatal error. Deleting indicates the job is being cleaned up during deletion. RollingBack indicates the orchestrator is rolling back provisioned resources after a failure.", "enum": [ "InProgress", "Cancelling", "Canceled", "Completed", - "Failed" + "Failed", + "Deleting", + "RollingBack" ], "x-ms-enum": { "name": "RebalanceJobStatusType", @@ -8376,27 +8403,37 @@ { "name": "InProgress", "value": "InProgress", - "description": "InProgress" + "description": "The rebalance job is currently running on the cluster." }, { "name": "Cancelling", "value": "Cancelling", - "description": "Cancelling" + "description": "A cancel has been requested and the job is stopping." }, { "name": "Canceled", "value": "Canceled", - "description": "Canceled" + "description": "The rebalance job was canceled before completion." }, { "name": "Completed", "value": "Completed", - "description": "Completed" + "description": "The rebalance job finished successfully." }, { "name": "Failed", "value": "Failed", - "description": "Failed" + "description": "The rebalance job failed due to a fatal error." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The job is being cleaned up during deletion." + }, + { + "name": "RollingBack", + "value": "RollingBack", + "description": "The orchestrator is rolling back provisioned resources after a failure." } ] } @@ -8405,13 +8442,6 @@ "type": "object", "description": "A rebalance job update instance.", "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, "properties": { "$ref": "#/definitions/RebalanceJobUpdateProperties", "description": "Properties for the rebalance job update." @@ -8541,7 +8571,11 @@ "properties": { "location": { "type": "string", - "description": "Location where this SKU is available." + "description": "Location where this SKU is available.", + "x-ms-mutability": [ + "read", + "create" + ] }, "zones": { "type": "array", @@ -8562,7 +8596,10 @@ "items": { "$ref": "#/definitions/ResourceSku" }, - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] }, "nextLink": { "type": "string", @@ -8687,7 +8724,10 @@ "location": { "type": "string", "description": "Region name string.", - "readOnly": true + "readOnly": true, + "x-ms-mutability": [ + "read" + ] } }, "allOf": [ @@ -8920,6 +8960,7 @@ }, "userAssignedIdentitiesValue": { "type": "object", + "description": "User-assigned identity properties.", "properties": { "principalId": { "type": "string", From fb7b0c8ff0d1d5ee8314ea02bf72488d43ea8577 Mon Sep 17 00:00:00 2001 From: Brian Panasko Date: Wed, 1 Jul 2026 17:36:00 -0400 Subject: [PATCH 4/7] RebalanceJob 2026-08-01: rename expansion 'rebalance' field to 'runRebalanceJob'; fix RebalanceJobs_Delete async headers to ascOperations form Renames ExpansionJobProperties.rebalance -> runRebalanceJob (avoids bare-noun boolean, matches RP internal name) and regenerates openapi.json. Corrects the RebalanceJobs_Delete 202 Azure-AsyncOperation/Location headers to the subscription-scoped ascOperations form emitted by Compute-CPlat-Core, consistent with importJobs_Delete. --- .../examples/2026-08-01/RebalanceJobs_Delete.json | 4 ++-- .../StorageCache/examples/2026-08-01/expansionJobs_Get.json | 2 +- .../Microsoft.StorageCache/StorageCache/models.tsp | 2 +- .../stable/2026-08-01/examples/RebalanceJobs_Delete.json | 4 ++-- .../stable/2026-08-01/examples/expansionJobs_Get.json | 2 +- .../StorageCache/stable/2026-08-01/openapi.json | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Delete.json index 25fd67c6bc82..ba25fb0ff45c 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/RebalanceJobs_Delete.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json index c7e07d529aaf..408d15f32315 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/examples/2026-08-01/expansionJobs_Get.json @@ -16,7 +16,7 @@ "properties": { "newStorageCapacityTiB": 16, "provisioningState": "Succeeded", - "rebalance": true, + "runRebalanceJob": true, "rebalanceJobName": "expansionjob1-rebalance", "status": { "completionTimeUTC": "2024-03-21T19:15:43.511Z", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp index 71142fcb5e20..954ba9b2e794 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp @@ -2388,7 +2388,7 @@ model ExpansionJobProperties { */ @added(Versions.v2026_08_01) @visibility(Lifecycle.Read, Lifecycle.Create) - rebalance?: boolean = false; + runRebalanceJob?: boolean = false; /** * Name of the child rebalance job created by this expansion. Populated after RebalanceJob is created. diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Delete.json index 25fd67c6bc82..ba25fb0ff45c 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Delete.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/RebalanceJobs_Delete.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/locations/eastus/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1/rebalanceJobs/expansionjob1-rebalance/operationResults/d05aebf3-3c1a-4c34-911c-93c51d49ef1e?api-version=2026-08-01" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2026-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2026-08-01" } }, "204": {} diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json index c7e07d529aaf..408d15f32315 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/examples/expansionJobs_Get.json @@ -16,7 +16,7 @@ "properties": { "newStorageCapacityTiB": 16, "provisioningState": "Succeeded", - "rebalance": true, + "runRebalanceJob": true, "rebalanceJobName": "expansionjob1-rebalance", "status": { "completionTimeUTC": "2024-03-21T19:15:43.511Z", diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json index 8bba518954ef..4ec03f655ba6 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json @@ -6850,7 +6850,7 @@ "readOnly": true, "x-ms-client-flatten": true }, - "rebalance": { + "runRebalanceJob": { "type": "boolean", "description": "When true, expansion creates a RebalanceJob after completing. Optional, defaults to false.", "default": false, From b883a66e2d080ebcd92b8fa2ebf96e0b4ff34c3e Mon Sep 17 00:00:00 2001 From: Brian Panasko Date: Wed, 1 Jul 2026 17:40:19 -0400 Subject: [PATCH 5/7] RebalanceJob 2026-08-01: clarify throughputMbps description to spell out mebibytes per second --- .../Microsoft.StorageCache/StorageCache/models.tsp | 2 +- .../StorageCache/stable/2026-08-01/openapi.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp index 954ba9b2e794..e061a691dded 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp @@ -2548,7 +2548,7 @@ model RebalanceJobPropertiesStatus { filesMovedPerSecond?: float64; /** - * Average throughput in MiB/s (1024x1024 bytes per second) over the most recent reporting interval. + * Average throughput in mebibytes per second (1024x1024 bytes per second) over the most recent reporting interval. */ @visibility(Lifecycle.Read) throughputMbps?: float64; diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json index 4ec03f655ba6..31e592924954 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json @@ -8355,7 +8355,7 @@ "throughputMbps": { "type": "number", "format": "double", - "description": "Average throughput in MiB/s (1024x1024 bytes per second) over the most recent reporting interval.", + "description": "Average throughput in mebibytes per second (1024x1024 bytes per second) over the most recent reporting interval.", "readOnly": true }, "totalErrors": { From ca236e1cc254a3c7c561cedc64f6c7c8bec7f2e8 Mon Sep 17 00:00:00 2001 From: Brian Panasko Date: Thu, 2 Jul 2026 13:24:27 -0400 Subject: [PATCH 6/7] [StorageCache] Remove erroneous x-ms-mutability from location properties Removed x-ms-mutability extensions (and their no-openapi suppressions) from ResourceSkuLocationInfo.location and StorageTarget.location. Both suppressions cited the R4002 LocationMustHaveXmsMutability rule, which applies only to a *tracked* resource's location property. ResourceSkuLocationInfo is a plain model and StorageTarget is a ProxyResource, so R4002 never applied to either. This reverts the ResourceSkuLocationInfo.location mutability constraint that had regenerated into the already-shipped stable/2026-01-01 GA contract, clearing the inert breaking-change flagged in review. Regenerated OpenAPI for both 2026-01-01 and 2026-08-01; tsp compile passes with no errors or warnings. --- .../StorageCache/StorageTarget.tsp | 2 -- .../Microsoft.StorageCache/StorageCache/models.tsp | 2 -- .../StorageCache/stable/2026-01-01/openapi.json | 11 ++--------- .../StorageCache/stable/2026-08-01/openapi.json | 11 ++--------- 4 files changed, 4 insertions(+), 22 deletions(-) diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/StorageTarget.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/StorageTarget.tsp index 4e4c91b063e4..9e73e17b7dd7 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/StorageTarget.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/StorageTarget.tsp @@ -28,8 +28,6 @@ model StorageTarget * Region name string. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" - #suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-mutability required by LocationMustHaveXmsMutability lint rule" - @extension("x-ms-mutability", #["read"]) @visibility(Lifecycle.Read) location?: string; } diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp index e061a691dded..0413e03657e4 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/models.tsp @@ -2932,8 +2932,6 @@ model ResourceSkuLocationInfo { /** * Location where this SKU is available. */ - #suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-mutability required by LocationMustHaveXmsMutability lint rule" - @extension("x-ms-mutability", #["read", "create"]) location?: string; /** diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-01-01/openapi.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-01-01/openapi.json index 90cb52b85170..4f2dc9c8306f 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-01-01/openapi.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-01-01/openapi.json @@ -7957,11 +7957,7 @@ "properties": { "location": { "type": "string", - "description": "Location where this SKU is available.", - "x-ms-mutability": [ - "read", - "create" - ] + "description": "Location where this SKU is available." }, "zones": { "type": "array", @@ -8110,10 +8106,7 @@ "location": { "type": "string", "description": "Region name string.", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "readOnly": true } }, "allOf": [ diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json index 31e592924954..ba31c25ee615 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache/stable/2026-08-01/openapi.json @@ -8571,11 +8571,7 @@ "properties": { "location": { "type": "string", - "description": "Location where this SKU is available.", - "x-ms-mutability": [ - "read", - "create" - ] + "description": "Location where this SKU is available." }, "zones": { "type": "array", @@ -8724,10 +8720,7 @@ "location": { "type": "string", "description": "Region name string.", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "readOnly": true } }, "allOf": [ From bb6da1a6f8cfa9195a3671a6597956bcdfbfab4f Mon Sep 17 00:00:00 2001 From: Brian Panasko Date: Thu, 2 Jul 2026 13:57:45 -0400 Subject: [PATCH 7/7] [StorageCache] Add 'mebibytes' to cspell allowlist to fix SpellCheck --- specification/storagecache/cspell.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/storagecache/cspell.yaml b/specification/storagecache/cspell.yaml index e49b4cf56c65..8a69eabd1b0c 100644 --- a/specification/storagecache/cspell.yaml +++ b/specification/storagecache/cspell.yaml @@ -10,4 +10,5 @@ import: words: - amlfilesystem - clfs + - mebibytes