diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 5e2f29323c55..2acdb3b612fb 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -318,7 +318,7 @@ com.azure.resourcemanager:azure-resourcemanager-confluent;1.2.0;1.3.0-beta.2 com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.3.0;1.4.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-discovery;1.0.0-beta.1;1.0.0-beta.2 com.azure.resourcemanager:azure-resourcemanager-netapp;2.4.0;2.5.0-beta.2 -com.azure.resourcemanager:azure-resourcemanager-storagecache;1.2.0;1.3.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-storagecache;1.2.0;1.3.0 com.azure.resourcemanager:azure-resourcemanager-redisenterprise;2.1.0;2.2.0-beta.2 com.azure.resourcemanager:azure-resourcemanager-hybridkubernetes;1.0.0;1.1.0-beta.2 com.azure.resourcemanager:azure-resourcemanager-iothub;1.3.0;1.4.0-beta.4 diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/CHANGELOG.md b/sdk/storagecache/azure-resourcemanager-storagecache/CHANGELOG.md index 60b82fe77667..0b465ed704ee 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/CHANGELOG.md +++ b/sdk/storagecache/azure-resourcemanager-storagecache/CHANGELOG.md @@ -1,14 +1,41 @@ # Release History -## 1.3.0-beta.1 (Unreleased) +## 1.3.0 (2026-08-17) + +- Azure Resource Manager StorageCache client library for Java. This package contains Microsoft Azure SDK for StorageCache Management SDK. 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. Package api-version 2026-08-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Features Added -### Breaking Changes +* `models.RebalanceJob` was added -### Bugs Fixed +* `models.RebalanceJobs` was added -### Other Changes +* `models.RebalanceJobPropertiesStatus` was added + +* `models.RebalanceJobUpdate` was added + +* `models.RebalanceJobProperties` was added + +* `models.RebalanceJobUpdateProperties` was added + +* `models.RebalanceJobPropertiesProvisioningState` was added + +* `models.RebalanceJobAdminStatus` was added + +* `models.RebalanceJobStatusType` was added + +#### `models.ExpansionJob$Definition` was modified + +* `withRunRebalanceJob(java.lang.Boolean)` was added + +#### `StorageCacheManager` was modified + +* `rebalanceJobs()` was added + +#### `models.ExpansionJob` was modified + +* `rebalanceJobId()` was added +* `runRebalanceJob()` was added ## 1.2.0 (2026-04-30) diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/README.md b/sdk/storagecache/azure-resourcemanager-storagecache/README.md index db27bae1fa79..b52c84b58832 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/README.md +++ b/sdk/storagecache/azure-resourcemanager-storagecache/README.md @@ -2,7 +2,7 @@ Azure Resource Manager StorageCache client library for Java. -This package contains Microsoft Azure SDK for StorageCache Management SDK. 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. Package api-version 2026-01-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). +This package contains Microsoft Azure SDK for StorageCache Management SDK. 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. Package api-version 2026-08-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ## We'd love to hear your feedback @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-storagecache - 1.2.0 + 1.3.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/SAMPLE.md b/sdk/storagecache/azure-resourcemanager-storagecache/SAMPLE.md index e52d063a8781..4909f32fc5f3 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/SAMPLE.md +++ b/sdk/storagecache/azure-resourcemanager-storagecache/SAMPLE.md @@ -75,6 +75,13 @@ - [List](#operations_list) +## RebalanceJobs + +- [Delete](#rebalancejobs_delete) +- [Get](#rebalancejobs_get) +- [ListByAmlFilesystem](#rebalancejobs_listbyamlfilesystem) +- [Update](#rebalancejobs_update) + ## ResourceProvider - [CheckAmlFSSubnets](#resourceprovider_checkamlfssubnets) @@ -113,7 +120,7 @@ import com.azure.resourcemanager.storagecache.models.AmlFilesystemArchiveInfo; */ public final class AmlFilesystemsArchiveSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_Archive.json + * x-ms-original-file: 2026-08-01/amlFilesystems_Archive.json */ /** * Sample code: amlFilesystems_Archive. @@ -136,7 +143,7 @@ public final class AmlFilesystemsArchiveSamples { */ public final class AmlFilesystemsCancelArchiveSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_CancelArchive.json + * x-ms-original-file: 2026-08-01/amlFilesystems_CancelArchive.json */ /** * Sample code: amlFilesystems_cancelArchive. @@ -174,7 +181,7 @@ import java.util.Map; */ public final class AmlFilesystemsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/amlFilesystems_CreateOrUpdate.json */ /** * Sample code: amlFilesystems_CreateOrUpdate. @@ -238,7 +245,7 @@ public final class AmlFilesystemsCreateOrUpdateSamples { */ public final class AmlFilesystemsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_Delete.json + * x-ms-original-file: 2026-08-01/amlFilesystems_Delete.json */ /** * Sample code: amlFilesystems_Delete. @@ -259,7 +266,7 @@ public final class AmlFilesystemsDeleteSamples { */ public final class AmlFilesystemsGetByResourceGroupSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_Get.json + * x-ms-original-file: 2026-08-01/amlFilesystems_Get.json */ /** * Sample code: amlFilesystems_Get. @@ -280,7 +287,7 @@ public final class AmlFilesystemsGetByResourceGroupSamples { */ public final class AmlFilesystemsListSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_List.json + * x-ms-original-file: 2026-08-01/amlFilesystems_List.json */ /** * Sample code: amlFilesystems_List. @@ -301,7 +308,7 @@ public final class AmlFilesystemsListSamples { */ public final class AmlFilesystemsListByResourceGroupSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_ListByResourceGroup.json + * x-ms-original-file: 2026-08-01/amlFilesystems_ListByResourceGroup.json */ /** * Sample code: amlFilesystems_ListByResourceGroup. @@ -334,7 +341,7 @@ import java.util.Map; */ public final class AmlFilesystemsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_Update.json + * x-ms-original-file: 2026-08-01/amlFilesystems_Update.json */ /** * Sample code: amlFilesystems_Update. @@ -383,7 +390,7 @@ public final class AmlFilesystemsUpdateSamples { */ public final class AscOperationsGetSamples { /* - * x-ms-original-file: 2026-01-01/AscOperations_Get.json + * x-ms-original-file: 2026-08-01/AscOperations_Get.json */ /** * Sample code: AscOperations_Get. @@ -404,7 +411,7 @@ public final class AscOperationsGetSamples { */ public final class AscUsagesListSamples { /* - * x-ms-original-file: 2026-01-01/AscResourceUsages_Get.json + * x-ms-original-file: 2026-08-01/AscResourceUsages_Get.json */ /** * Sample code: AscUsages_List. @@ -429,7 +436,7 @@ import java.util.Map; */ public final class AutoExportJobsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/autoExportJobs_CreateOrUpdate.json */ /** * Sample code: autoExportJobs_CreateOrUpdate. @@ -469,7 +476,7 @@ public final class AutoExportJobsCreateOrUpdateSamples { */ public final class AutoExportJobsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_Delete.json + * x-ms-original-file: 2026-08-01/autoExportJobs_Delete.json */ /** * Sample code: autoExportJobs_Delete. @@ -490,7 +497,7 @@ public final class AutoExportJobsDeleteSamples { */ public final class AutoExportJobsGetSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_Get.json + * x-ms-original-file: 2026-08-01/autoExportJobs_Get.json */ /** * Sample code: autoExportJobs_Get. @@ -511,7 +518,7 @@ public final class AutoExportJobsGetSamples { */ public final class AutoExportJobsListByAmlFilesystemSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_ListByAmlFilesystem.json + * x-ms-original-file: 2026-08-01/autoExportJobs_ListByAmlFilesystem.json */ /** * Sample code: autoExportJobs_ListByAmlFilesystem. @@ -537,7 +544,7 @@ import java.util.Map; */ public final class AutoExportJobsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_Update.json + * x-ms-original-file: 2026-08-01/autoExportJobs_Update.json */ /** * Sample code: autoExportJobs_Update. @@ -579,7 +586,7 @@ import java.util.Map; */ public final class AutoImportJobsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/autoImportJobs_CreateOrUpdate.json */ /** * Sample code: autoImportJobs_CreateOrUpdate. @@ -623,7 +630,7 @@ public final class AutoImportJobsCreateOrUpdateSamples { */ public final class AutoImportJobsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_Delete.json + * x-ms-original-file: 2026-08-01/autoImportJobs_Delete.json */ /** * Sample code: autoImportJobs_Delete. @@ -644,7 +651,7 @@ public final class AutoImportJobsDeleteSamples { */ public final class AutoImportJobsGetSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_Get.json + * x-ms-original-file: 2026-08-01/autoImportJobs_Get.json */ /** * Sample code: autoImportJobs_Get. @@ -665,7 +672,7 @@ public final class AutoImportJobsGetSamples { */ public final class AutoImportJobsListByAmlFilesystemSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_ListByAmlFilesystem.json + * x-ms-original-file: 2026-08-01/autoImportJobs_ListByAmlFilesystem.json */ /** * Sample code: autoImportJobs_ListByAmlFilesystem. @@ -690,7 +697,7 @@ import com.azure.resourcemanager.storagecache.models.AutoImportJobUpdateProperti */ public final class AutoImportJobsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_Update.json + * x-ms-original-file: 2026-08-01/autoImportJobs_Update.json */ /** * Sample code: autoImportJobs_Update. @@ -738,7 +745,7 @@ import java.util.Map; */ public final class CachesCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/Caches_CreateOrUpdate_ldap_only.json + * x-ms-original-file: 2026-08-01/Caches_CreateOrUpdate_ldap_only.json */ /** * Sample code: Caches_CreateOrUpdate_ldap_only. @@ -781,7 +788,7 @@ public final class CachesCreateOrUpdateSamples { } /* - * x-ms-original-file: 2026-01-01/Caches_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/Caches_CreateOrUpdate.json */ /** * Sample code: Caches_CreateOrUpdate. @@ -855,7 +862,7 @@ public final class CachesCreateOrUpdateSamples { */ public final class CachesDebugInfoSamples { /* - * x-ms-original-file: 2026-01-01/Caches_DebugInfo.json + * x-ms-original-file: 2026-08-01/Caches_DebugInfo.json */ /** * Sample code: Caches_DebugInfo. @@ -876,7 +883,7 @@ public final class CachesDebugInfoSamples { */ public final class CachesDeleteSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Delete.json + * x-ms-original-file: 2026-08-01/Caches_Delete.json */ /** * Sample code: Caches_Delete. @@ -897,7 +904,7 @@ public final class CachesDeleteSamples { */ public final class CachesFlushSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Flush.json + * x-ms-original-file: 2026-08-01/Caches_Flush.json */ /** * Sample code: Caches_Flush. @@ -918,7 +925,7 @@ public final class CachesFlushSamples { */ public final class CachesGetByResourceGroupSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Get.json + * x-ms-original-file: 2026-08-01/Caches_Get.json */ /** * Sample code: Caches_Get. @@ -939,7 +946,7 @@ public final class CachesGetByResourceGroupSamples { */ public final class CachesListSamples { /* - * x-ms-original-file: 2026-01-01/Caches_List.json + * x-ms-original-file: 2026-08-01/Caches_List.json */ /** * Sample code: Caches_List. @@ -960,7 +967,7 @@ public final class CachesListSamples { */ public final class CachesListByResourceGroupSamples { /* - * x-ms-original-file: 2026-01-01/Caches_ListByResourceGroup.json + * x-ms-original-file: 2026-08-01/Caches_ListByResourceGroup.json */ /** * Sample code: Caches_ListByResourceGroup. @@ -983,7 +990,7 @@ import com.azure.resourcemanager.storagecache.models.PrimingJobIdParameter; */ public final class CachesPausePrimingJobSamples { /* - * x-ms-original-file: 2026-01-01/PausePrimingJob.json + * x-ms-original-file: 2026-08-01/PausePrimingJob.json */ /** * Sample code: PausePrimingJob. @@ -1008,7 +1015,7 @@ import com.azure.resourcemanager.storagecache.models.PrimingJobIdParameter; */ public final class CachesResumePrimingJobSamples { /* - * x-ms-original-file: 2026-01-01/ResumePrimingJob.json + * x-ms-original-file: 2026-08-01/ResumePrimingJob.json */ /** * Sample code: ResumePrimingJob. @@ -1034,7 +1041,7 @@ import java.util.Arrays; */ public final class CachesSpaceAllocationSamples { /* - * x-ms-original-file: 2026-01-01/SpaceAllocation_Post.json + * x-ms-original-file: 2026-08-01/SpaceAllocation_Post.json */ /** * Sample code: SpaceAllocation_Post. @@ -1060,7 +1067,7 @@ public final class CachesSpaceAllocationSamples { */ public final class CachesStartSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Start.json + * x-ms-original-file: 2026-08-01/Caches_Start.json */ /** * Sample code: Caches_Start. @@ -1083,7 +1090,7 @@ import com.azure.resourcemanager.storagecache.models.PrimingJob; */ public final class CachesStartPrimingJobSamples { /* - * x-ms-original-file: 2026-01-01/StartPrimingJob.json + * x-ms-original-file: 2026-08-01/StartPrimingJob.json */ /** * Sample code: StartPrimingJob. @@ -1108,7 +1115,7 @@ public final class CachesStartPrimingJobSamples { */ public final class CachesStopSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Stop.json + * x-ms-original-file: 2026-08-01/Caches_Stop.json */ /** * Sample code: Caches_Stop. @@ -1131,7 +1138,7 @@ import com.azure.resourcemanager.storagecache.models.PrimingJobIdParameter; */ public final class CachesStopPrimingJobSamples { /* - * x-ms-original-file: 2026-01-01/StopPrimingJob.json + * x-ms-original-file: 2026-08-01/StopPrimingJob.json */ /** * Sample code: StopPrimingJob. @@ -1172,7 +1179,7 @@ import java.util.Map; */ public final class CachesUpdateSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Update_ldap_only.json + * x-ms-original-file: 2026-08-01/Caches_Update_ldap_only.json */ /** * Sample code: Caches_Update_ldap_only. @@ -1231,7 +1238,7 @@ public final class CachesUpdateSamples { } /* - * x-ms-original-file: 2026-01-01/Caches_Update.json + * x-ms-original-file: 2026-08-01/Caches_Update.json */ /** * Sample code: Caches_Update. @@ -1311,7 +1318,7 @@ public final class CachesUpdateSamples { */ public final class CachesUpgradeFirmwareSamples { /* - * x-ms-original-file: 2026-01-01/Caches_UpgradeFirmware.json + * x-ms-original-file: 2026-08-01/Caches_UpgradeFirmware.json */ /** * Sample code: Caches_UpgradeFirmware. @@ -1335,7 +1342,7 @@ import java.util.Map; */ public final class ExpansionJobsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/expansionJobs_CreateOrUpdate.json */ /** * Sample code: expansionJobs_CreateOrUpdate. @@ -1374,7 +1381,7 @@ public final class ExpansionJobsCreateOrUpdateSamples { */ public final class ExpansionJobsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_Delete.json + * x-ms-original-file: 2026-08-01/expansionJobs_Delete.json */ /** * Sample code: expansionJobs_Delete. @@ -1395,7 +1402,7 @@ public final class ExpansionJobsDeleteSamples { */ public final class ExpansionJobsGetSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_Get.json + * x-ms-original-file: 2026-08-01/expansionJobs_Get.json */ /** * Sample code: expansionJobs_Get. @@ -1416,7 +1423,7 @@ public final class ExpansionJobsGetSamples { */ public final class ExpansionJobsListByAmlFilesystemSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_ListByAmlFilesystem.json + * x-ms-original-file: 2026-08-01/expansionJobs_ListByAmlFilesystem.json */ /** * Sample code: expansionJobs_ListByAmlFilesystem. @@ -1442,7 +1449,7 @@ import java.util.Map; */ public final class ExpansionJobsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_Update.json + * x-ms-original-file: 2026-08-01/expansionJobs_Update.json */ /** * Sample code: expansionJobs_Update. @@ -1483,7 +1490,7 @@ import java.util.Map; */ public final class ImportJobsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/importJobs_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/importJobs_CreateOrUpdate.json */ /** * Sample code: importJobs_CreateOrUpdate. @@ -1524,7 +1531,7 @@ public final class ImportJobsCreateOrUpdateSamples { */ public final class ImportJobsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/importJobs_Delete.json + * x-ms-original-file: 2026-08-01/importJobs_Delete.json */ /** * Sample code: importJobs_Delete. @@ -1545,7 +1552,7 @@ public final class ImportJobsDeleteSamples { */ public final class ImportJobsGetSamples { /* - * x-ms-original-file: 2026-01-01/importJobs_Get.json + * x-ms-original-file: 2026-08-01/importJobs_Get.json */ /** * Sample code: importJobs_Get. @@ -1566,7 +1573,7 @@ public final class ImportJobsGetSamples { */ public final class ImportJobsListByAmlFilesystemSamples { /* - * x-ms-original-file: 2026-01-01/importJobs_ListByAmlFilesystem.json + * x-ms-original-file: 2026-08-01/importJobs_ListByAmlFilesystem.json */ /** * Sample code: importJobs_ListByAmlFilesystem. @@ -1592,7 +1599,7 @@ import java.util.Map; */ public final class ImportJobsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/importJob_Update.json + * x-ms-original-file: 2026-08-01/importJob_Update.json */ /** * Sample code: importJobs_Update. @@ -1628,7 +1635,7 @@ public final class ImportJobsUpdateSamples { */ public final class OperationsListSamples { /* - * x-ms-original-file: 2026-01-01/Operations_List.json + * x-ms-original-file: 2026-08-01/Operations_List.json */ /** * Sample code: Operations_List. @@ -1641,6 +1648,100 @@ public final class OperationsListSamples { } ``` +### RebalanceJobs_Delete + +```java +/** + * Samples for RebalanceJobs Delete. + */ +public final class RebalanceJobsDeleteSamples { + /* + * x-ms-original-file: 2026-08-01/RebalanceJobs_Delete.json + */ + /** + * Sample code: RebalanceJobs_Delete. + * + * @param manager Entry point to StorageCacheManager. + */ + public static void rebalanceJobsDelete(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + manager.rebalanceJobs().delete("scgroup", "fs1", "expansionjob1-rebalance", com.azure.core.util.Context.NONE); + } +} +``` + +### RebalanceJobs_Get + +```java +/** + * Samples for RebalanceJobs Get. + */ +public final class RebalanceJobsGetSamples { + /* + * x-ms-original-file: 2026-08-01/RebalanceJobs_Get.json + */ + /** + * Sample code: RebalanceJobs_Get. + * + * @param manager Entry point to StorageCacheManager. + */ + public static void rebalanceJobsGet(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + manager.rebalanceJobs() + .getWithResponse("scgroup", "fs1", "expansionjob1-rebalance", com.azure.core.util.Context.NONE); + } +} +``` + +### RebalanceJobs_ListByAmlFilesystem + +```java +/** + * Samples for RebalanceJobs ListByAmlFilesystem. + */ +public final class RebalanceJobsListByAmlFilesystemSamples { + /* + * x-ms-original-file: 2026-08-01/RebalanceJobs_ListByAmlFilesystem.json + */ + /** + * Sample code: RebalanceJobs_ListByAmlFilesystem. + * + * @param manager Entry point to StorageCacheManager. + */ + public static void + rebalanceJobsListByAmlFilesystem(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + manager.rebalanceJobs().listByAmlFilesystem("scgroup", "fs1", com.azure.core.util.Context.NONE); + } +} +``` + +### RebalanceJobs_Update + +```java +import com.azure.resourcemanager.storagecache.models.RebalanceJobAdminStatus; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdate; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdateProperties; + +/** + * Samples for RebalanceJobs Update. + */ +public final class RebalanceJobsUpdateSamples { + /* + * x-ms-original-file: 2026-08-01/RebalanceJobs_Update.json + */ + /** + * Sample code: RebalanceJobs_Update. + * + * @param manager Entry point to StorageCacheManager. + */ + public static void rebalanceJobsUpdate(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + manager.rebalanceJobs() + .update("scgroup", "fs1", "expansionjob1-rebalance", + new RebalanceJobUpdate() + .withProperties(new RebalanceJobUpdateProperties().withAdminStatus(RebalanceJobAdminStatus.CANCEL)), + com.azure.core.util.Context.NONE); + } +} +``` + ### ResourceProvider_CheckAmlFSSubnets ```java @@ -1652,7 +1753,7 @@ import com.azure.resourcemanager.storagecache.models.SkuName; */ public final class ResourceProviderCheckAmlFSSubnetsSamples { /* - * x-ms-original-file: 2026-01-01/checkAmlFSSubnets.json + * x-ms-original-file: 2026-08-01/checkAmlFSSubnets.json */ /** * Sample code: checkAmlFSSubnets. @@ -1678,7 +1779,7 @@ public final class ResourceProviderCheckAmlFSSubnetsSamples { */ public final class ResourceProviderGetRequiredAmlFSSubnetsSizeSamples { /* - * x-ms-original-file: 2026-01-01/getRequiredAmlFSSubnetsSize.json + * x-ms-original-file: 2026-08-01/getRequiredAmlFSSubnetsSize.json */ /** * Sample code: getRequiredAmlFilesystemSubnetsSize. @@ -1700,7 +1801,7 @@ public final class ResourceProviderGetRequiredAmlFSSubnetsSizeSamples { */ public final class SkusListSamples { /* - * x-ms-original-file: 2026-01-01/Skus_List.json + * x-ms-original-file: 2026-08-01/Skus_List.json */ /** * Sample code: Skus_List. @@ -1721,7 +1822,7 @@ public final class SkusListSamples { */ public final class StorageTargetOperationFlushSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Flush.json + * x-ms-original-file: 2026-08-01/StorageTargets_Flush.json */ /** * Sample code: StorageTargets_Flush. @@ -1742,7 +1843,7 @@ public final class StorageTargetOperationFlushSamples { */ public final class StorageTargetOperationInvalidateSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Invalidate.json + * x-ms-original-file: 2026-08-01/StorageTargets_Invalidate.json */ /** * Sample code: StorageTargets_Invalidate. @@ -1763,7 +1864,7 @@ public final class StorageTargetOperationInvalidateSamples { */ public final class StorageTargetOperationResumeSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Resume.json + * x-ms-original-file: 2026-08-01/StorageTargets_Resume.json */ /** * Sample code: StorageTargets_Resume. @@ -1784,7 +1885,7 @@ public final class StorageTargetOperationResumeSamples { */ public final class StorageTargetOperationSuspendSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Suspend.json + * x-ms-original-file: 2026-08-01/StorageTargets_Suspend.json */ /** * Sample code: StorageTargets_Suspend. @@ -1811,7 +1912,7 @@ import java.util.Arrays; */ public final class StorageTargetsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/StorageTargets_CreateOrUpdate.json */ /** * Sample code: StorageTargets_CreateOrUpdate. @@ -1838,7 +1939,7 @@ public final class StorageTargetsCreateOrUpdateSamples { } /* - * x-ms-original-file: 2026-01-01/StorageTargets_CreateOrUpdate_BlobNfs.json + * x-ms-original-file: 2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json */ /** * Sample code: StorageTargets_CreateOrUpdate_BlobNfs. @@ -1861,7 +1962,7 @@ public final class StorageTargetsCreateOrUpdateSamples { } /* - * x-ms-original-file: 2026-01-01/StorageTargets_CreateOrUpdate_NoJunctions.json + * x-ms-original-file: 2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json */ /** * Sample code: StorageTargets_CreateOrUpdate_NoJunctions. @@ -1888,7 +1989,7 @@ public final class StorageTargetsCreateOrUpdateSamples { */ public final class StorageTargetsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Delete.json + * x-ms-original-file: 2026-08-01/StorageTargets_Delete.json */ /** * Sample code: StorageTargets_Delete. @@ -1909,14 +2010,14 @@ public final class StorageTargetsDeleteSamples { */ public final class StorageTargetsDnsRefreshSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_DnsRefresh.json + * x-ms-original-file: 2026-08-01/StorageTargets_DnsRefresh.json */ /** - * Sample code: Caches_DnsRefresh. + * Sample code: StorageTargets_DnsRefresh. * * @param manager Entry point to StorageCacheManager. */ - public static void cachesDnsRefresh(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + public static void storageTargetsDnsRefresh(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { manager.storageTargets().dnsRefresh("scgroup", "sc", "st1", com.azure.core.util.Context.NONE); } } @@ -1930,7 +2031,7 @@ public final class StorageTargetsDnsRefreshSamples { */ public final class StorageTargetsGetSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Get.json + * x-ms-original-file: 2026-08-01/StorageTargets_Get.json */ /** * Sample code: StorageTargets_Get. @@ -1951,7 +2052,7 @@ public final class StorageTargetsGetSamples { */ public final class StorageTargetsListByCacheSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_ListByCache.json + * x-ms-original-file: 2026-08-01/StorageTargets_ListByCache.json */ /** * Sample code: StorageTargets_List. @@ -1972,7 +2073,7 @@ public final class StorageTargetsListByCacheSamples { */ public final class StorageTargetsRestoreDefaultsSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_RestoreDefaults.json + * x-ms-original-file: 2026-08-01/StorageTargets_RestoreDefaults.json */ /** * Sample code: StorageTargets_RestoreDefaults. @@ -1994,7 +2095,7 @@ public final class StorageTargetsRestoreDefaultsSamples { */ public final class UsageModelsListSamples { /* - * x-ms-original-file: 2026-01-01/UsageModels_List.json + * x-ms-original-file: 2026-08-01/UsageModels_List.json */ /** * Sample code: UsageModels_List. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/pom.xml b/sdk/storagecache/azure-resourcemanager-storagecache/pom.xml index d0a12477d96a..6e8a2ada82c1 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/pom.xml +++ b/sdk/storagecache/azure-resourcemanager-storagecache/pom.xml @@ -14,11 +14,11 @@ com.azure.resourcemanager azure-resourcemanager-storagecache - 1.3.0-beta.1 + 1.3.0 jar Microsoft Azure SDK for StorageCache Management - This package contains Microsoft Azure SDK for StorageCache Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. 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. Package api-version 2026-01-01. + This package contains Microsoft Azure SDK for StorageCache Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. 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. Package api-version 2026-08-01. https://github.com/Azure/azure-sdk-for-java @@ -45,7 +45,7 @@ UTF-8 0 0 - true + false diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/StorageCacheManager.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/StorageCacheManager.java index 2d75af131854..9e9b97566520 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/StorageCacheManager.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/StorageCacheManager.java @@ -34,6 +34,7 @@ import com.azure.resourcemanager.storagecache.implementation.ExpansionJobsImpl; import com.azure.resourcemanager.storagecache.implementation.ImportJobsImpl; import com.azure.resourcemanager.storagecache.implementation.OperationsImpl; +import com.azure.resourcemanager.storagecache.implementation.RebalanceJobsImpl; import com.azure.resourcemanager.storagecache.implementation.ResourceProvidersImpl; import com.azure.resourcemanager.storagecache.implementation.SkusImpl; import com.azure.resourcemanager.storagecache.implementation.StorageCacheManagementClientBuilder; @@ -49,6 +50,7 @@ import com.azure.resourcemanager.storagecache.models.ExpansionJobs; import com.azure.resourcemanager.storagecache.models.ImportJobs; import com.azure.resourcemanager.storagecache.models.Operations; +import com.azure.resourcemanager.storagecache.models.RebalanceJobs; import com.azure.resourcemanager.storagecache.models.ResourceProviders; import com.azure.resourcemanager.storagecache.models.Skus; import com.azure.resourcemanager.storagecache.models.StorageTargetOperations; @@ -72,6 +74,8 @@ public final class StorageCacheManager { private Operations operations; + private RebalanceJobs rebalanceJobs; + private Caches caches; private StorageTargets storageTargets; @@ -335,6 +339,18 @@ public Operations operations() { return operations; } + /** + * Gets the resource collection API of RebalanceJobs. + * + * @return Resource collection API of RebalanceJobs. + */ + public RebalanceJobs rebalanceJobs() { + if (this.rebalanceJobs == null) { + this.rebalanceJobs = new RebalanceJobsImpl(clientObject.getRebalanceJobs(), this); + } + return rebalanceJobs; + } + /** * Gets the resource collection API of Caches. It manages Cache. * diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/RebalanceJobsClient.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/RebalanceJobsClient.java new file mode 100644 index 000000000000..3d3151f34169 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/RebalanceJobsClient.java @@ -0,0 +1,228 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.management.polling.PollResult; +import com.azure.core.util.Context; +import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.storagecache.fluent.models.RebalanceJobInner; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdate; + +/** + * An instance of this class provides access to all the operations defined in RebalanceJobsClient. + */ +public interface RebalanceJobsClient { + /** + * Returns a rebalance job. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, Context context); + + /** + * Returns a rebalance job. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + RebalanceJobInner get(String resourceGroupName, String amlFilesystemName, String rebalanceJobName); + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, RebalanceJobInner> beginUpdate(String resourceGroupName, + String amlFilesystemName, String rebalanceJobName, RebalanceJobUpdate properties); + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, RebalanceJobInner> beginUpdate(String resourceGroupName, + String amlFilesystemName, String rebalanceJobName, RebalanceJobUpdate properties, Context context); + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + RebalanceJobInner update(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + RebalanceJobUpdate properties); + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + RebalanceJobInner update(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + RebalanceJobUpdate properties, Context context); + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName); + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginDelete(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, Context context); + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String amlFilesystemName, String rebalanceJobName); + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, Context context); + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByAmlFilesystem(String resourceGroupName, String amlFilesystemName); + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listByAmlFilesystem(String resourceGroupName, String amlFilesystemName, + Context context); +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageCacheManagementClient.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageCacheManagementClient.java index d809d169dce5..bc09f9327987 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageCacheManagementClient.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageCacheManagementClient.java @@ -60,6 +60,13 @@ public interface StorageCacheManagementClient { */ OperationsClient getOperations(); + /** + * Gets the RebalanceJobsClient object to access its operations. + * + * @return the RebalanceJobsClient object. + */ + RebalanceJobsClient getRebalanceJobs(); + /** * Gets the CachesClient object to access its operations. * diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobUpdateProperties.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobUpdateProperties.java index 87f15055beed..79d0d7ccbbde 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobUpdateProperties.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobUpdateProperties.java @@ -13,7 +13,7 @@ import java.io.IOException; /** - * The AutoExportJobUpdateProperties model. + * Properties for updating an auto export job. */ @Fluent public final class AutoExportJobUpdateProperties implements JsonSerializable { diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobUpdateProperties.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobUpdateProperties.java index a554fa9fb68a..222fe3a76e12 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobUpdateProperties.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobUpdateProperties.java @@ -13,7 +13,7 @@ import java.io.IOException; /** - * The AutoImportJobUpdateProperties model. + * Properties for updating an auto import job. */ @Fluent public final class AutoImportJobUpdateProperties implements JsonSerializable { diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/CacheInner.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/CacheInner.java index b410a13559b2..67f2c4738eef 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/CacheInner.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/CacheInner.java @@ -43,7 +43,7 @@ public final class CacheInner extends ProxyResource { private Map tags; /* - * The geo-location where the resource lives + * Region name string. */ private String location; @@ -113,7 +113,7 @@ public CacheInner withTags(Map tags) { } /** - * Get the location property: The geo-location where the resource lives. + * Get the location property: Region name string. * * @return the location value. */ @@ -122,7 +122,7 @@ public String location() { } /** - * Set the location property: The geo-location where the resource lives. + * Set the location property: Region name string. * * @param location the location value to set. * @return the CacheInner object itself. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobInner.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobInner.java index 044b314c34dc..1f958a65b0dc 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobInner.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobInner.java @@ -156,6 +156,41 @@ public ExpansionJobInner withNewStorageCapacityTiB(Float newStorageCapacityTiB) return this; } + /** + * Get the runRebalanceJob property: When true, expansion creates a RebalanceJob after completing. Optional, + * defaults to true. + * + * @return the runRebalanceJob value. + */ + public Boolean runRebalanceJob() { + return this.innerProperties() == null ? null : this.innerProperties().runRebalanceJob(); + } + + /** + * Set the runRebalanceJob property: When true, expansion creates a RebalanceJob after completing. Optional, + * defaults to true. + * + * @param runRebalanceJob the runRebalanceJob value to set. + * @return the ExpansionJobInner object itself. + */ + public ExpansionJobInner withRunRebalanceJob(Boolean runRebalanceJob) { + if (this.innerProperties() == null) { + this.innerProperties = new ExpansionJobProperties(); + } + this.innerProperties().withRunRebalanceJob(runRebalanceJob); + return this; + } + + /** + * Get the rebalanceJobId property: Fully qualified ARM resource ID of the child rebalance job created by this + * expansion. Populated after RebalanceJob is created. + * + * @return the rebalanceJobId value. + */ + public String rebalanceJobId() { + return this.innerProperties() == null ? null : this.innerProperties().rebalanceJobId(); + } + /** * Get the state property: 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 diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobProperties.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobProperties.java index 5f4c357bb9c3..039b76c65560 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobProperties.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobProperties.java @@ -36,6 +36,17 @@ public final class ExpansionJobProperties implements JsonSerializable { diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/RebalanceJobInner.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/RebalanceJobInner.java new file mode 100644 index 000000000000..64ac94ee4190 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/fluent/models/RebalanceJobInner.java @@ -0,0 +1,146 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.fluent.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.management.ProxyResource; +import com.azure.core.management.SystemData; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.azure.resourcemanager.storagecache.models.RebalanceJobProperties; +import java.io.IOException; + +/** + * 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. + */ +@Immutable +public final class RebalanceJobInner extends ProxyResource { + /* + * Properties of the rebalance job. + */ + private RebalanceJobProperties properties; + + /* + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + private SystemData systemData; + + /* + * The type of the resource. + */ + private String type; + + /* + * The name of the resource. + */ + private String name; + + /* + * Fully qualified resource Id for the resource. + */ + private String id; + + /** + * Creates an instance of RebalanceJobInner class. + */ + private RebalanceJobInner() { + } + + /** + * Get the properties property: Properties of the rebalance job. + * + * @return the properties value. + */ + public RebalanceJobProperties properties() { + return this.properties; + } + + /** + * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + public SystemData systemData() { + return this.systemData; + } + + /** + * Get the type property: The type of the resource. + * + * @return the type value. + */ + @Override + public String type() { + return this.type; + } + + /** + * Get the name property: The name of the resource. + * + * @return the name value. + */ + @Override + public String name() { + return this.name; + } + + /** + * Get the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + @Override + public String id() { + return this.id; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("properties", this.properties); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RebalanceJobInner from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RebalanceJobInner if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the RebalanceJobInner. + */ + public static RebalanceJobInner fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RebalanceJobInner deserializedRebalanceJobInner = new RebalanceJobInner(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("id".equals(fieldName)) { + deserializedRebalanceJobInner.id = reader.getString(); + } else if ("name".equals(fieldName)) { + deserializedRebalanceJobInner.name = reader.getString(); + } else if ("type".equals(fieldName)) { + deserializedRebalanceJobInner.type = reader.getString(); + } else if ("properties".equals(fieldName)) { + deserializedRebalanceJobInner.properties = RebalanceJobProperties.fromJson(reader); + } else if ("systemData".equals(fieldName)) { + deserializedRebalanceJobInner.systemData = SystemData.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedRebalanceJobInner; + }); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobImpl.java index 47eb015c1709..3b77daaaa7de 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobImpl.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobImpl.java @@ -58,6 +58,14 @@ public Float newStorageCapacityTiB() { return this.innerModel().newStorageCapacityTiB(); } + public Boolean runRebalanceJob() { + return this.innerModel().runRebalanceJob(); + } + + public String rebalanceJobId() { + return this.innerModel().rebalanceJobId(); + } + public ExpansionJobStatusType state() { return this.innerModel().state(); } @@ -205,6 +213,11 @@ public ExpansionJobImpl withNewStorageCapacityTiB(Float newStorageCapacityTiB) { return this; } + public ExpansionJobImpl withRunRebalanceJob(Boolean runRebalanceJob) { + this.innerModel().withRunRebalanceJob(runRebalanceJob); + return this; + } + private boolean isInCreateMode() { return this.innerModel() == null || this.innerModel().id() == null; } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobImpl.java new file mode 100644 index 000000000000..337448eaf2f8 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobImpl.java @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.implementation; + +import com.azure.core.management.SystemData; +import com.azure.resourcemanager.storagecache.fluent.models.RebalanceJobInner; +import com.azure.resourcemanager.storagecache.models.RebalanceJob; +import com.azure.resourcemanager.storagecache.models.RebalanceJobProperties; + +public final class RebalanceJobImpl implements RebalanceJob { + private RebalanceJobInner innerObject; + + private final com.azure.resourcemanager.storagecache.StorageCacheManager serviceManager; + + RebalanceJobImpl(RebalanceJobInner innerObject, + com.azure.resourcemanager.storagecache.StorageCacheManager serviceManager) { + this.innerObject = innerObject; + this.serviceManager = serviceManager; + } + + public String id() { + return this.innerModel().id(); + } + + public String name() { + return this.innerModel().name(); + } + + public String type() { + return this.innerModel().type(); + } + + public RebalanceJobProperties properties() { + return this.innerModel().properties(); + } + + public SystemData systemData() { + return this.innerModel().systemData(); + } + + public RebalanceJobInner innerModel() { + return this.innerObject; + } + + private com.azure.resourcemanager.storagecache.StorageCacheManager manager() { + return this.serviceManager; + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobsClientImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobsClientImpl.java new file mode 100644 index 000000000000..66cc30d534c1 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobsClientImpl.java @@ -0,0 +1,835 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.Patch; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.management.polling.PollResult; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.polling.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient; +import com.azure.resourcemanager.storagecache.fluent.models.RebalanceJobInner; +import com.azure.resourcemanager.storagecache.implementation.models.RebalanceJobsListResult; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdate; +import java.nio.ByteBuffer; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +/** + * An instance of this class provides access to all the operations defined in RebalanceJobsClient. + */ +public final class RebalanceJobsClientImpl implements RebalanceJobsClient { + /** + * The proxy service used to perform REST calls. + */ + private final RebalanceJobsService service; + + /** + * The service client containing this operation class. + */ + private final StorageCacheManagementClientImpl client; + + /** + * Initializes an instance of RebalanceJobsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + RebalanceJobsClientImpl(StorageCacheManagementClientImpl client) { + this.service + = RestProxy.create(RebalanceJobsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for StorageCacheManagementClientRebalanceJobs to be used by the proxy + * service to perform REST calls. + */ + @Host("{endpoint}") + @ServiceInterface(name = "StorageCacheManagementClientRebalanceJobs") + public interface RebalanceJobsService { + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs/{rebalanceJobName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> get(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("amlFilesystemName") String amlFilesystemName, + @PathParam("rebalanceJobName") String rebalanceJobName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs/{rebalanceJobName}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response getSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("amlFilesystemName") String amlFilesystemName, + @PathParam("rebalanceJobName") String rebalanceJobName, @HeaderParam("Accept") String accept, + Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs/{rebalanceJobName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> update(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("amlFilesystemName") String amlFilesystemName, + @PathParam("rebalanceJobName") String rebalanceJobName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") RebalanceJobUpdate properties, + Context context); + + @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs/{rebalanceJobName}") + @ExpectedResponses({ 200, 202 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response updateSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("amlFilesystemName") String amlFilesystemName, + @PathParam("rebalanceJobName") String rebalanceJobName, @HeaderParam("Content-Type") String contentType, + @HeaderParam("Accept") String accept, @BodyParam("application/json") RebalanceJobUpdate properties, + Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs/{rebalanceJobName}") + @ExpectedResponses({ 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> delete(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("amlFilesystemName") String amlFilesystemName, + @PathParam("rebalanceJobName") String rebalanceJobName, Context context); + + @Headers({ "Accept: application/json;q=0.9", "Content-Type: application/json" }) + @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs/{rebalanceJobName}") + @ExpectedResponses({ 202, 204 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response deleteSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("amlFilesystemName") String amlFilesystemName, + @PathParam("rebalanceJobName") String rebalanceJobName, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listByAmlFilesystem(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("amlFilesystemName") String amlFilesystemName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/rebalanceJobs") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listByAmlFilesystemSync(@HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("amlFilesystemName") String amlFilesystemName, @HeaderParam("Accept") String accept, + Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listByAmlFilesystemNext( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + + @Headers({ "Content-Type: application/json" }) + @Get("{nextLink}") + @ExpectedResponses({ 200 }) + @UnexpectedResponseExceptionType(ManagementException.class) + Response listByAmlFilesystemNextSync( + @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, + @HeaderParam("Accept") String accept, Context context); + } + + /** + * Returns a rebalance job. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName) { + final String accept = "application/json"; + return FluxUtil.withContext(context -> service.get(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, rebalanceJobName, accept, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Returns a rebalance job. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono getAsync(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName) { + return getWithResponseAsync(resourceGroupName, amlFilesystemName, rebalanceJobName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Returns a rebalance job. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, Context context) { + final String accept = "application/json"; + return service.getSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(), + resourceGroupName, amlFilesystemName, rebalanceJobName, accept, context); + } + + /** + * Returns a rebalance job. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public RebalanceJobInner get(String resourceGroupName, String amlFilesystemName, String rebalanceJobName) { + return getWithResponse(resourceGroupName, amlFilesystemName, rebalanceJobName, Context.NONE).getValue(); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> updateWithResponseAsync(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, RebalanceJobUpdate properties) { + final String contentType = "application/json"; + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.update(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, rebalanceJobName, contentType, + accept, properties, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response updateWithResponse(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, RebalanceJobUpdate properties) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, rebalanceJobName, contentType, + accept, properties, Context.NONE); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response updateWithResponse(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, RebalanceJobUpdate properties, Context context) { + final String contentType = "application/json"; + final String accept = "application/json"; + return service.updateSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, rebalanceJobName, contentType, + accept, properties, context); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, RebalanceJobInner> beginUpdateAsync(String resourceGroupName, + String amlFilesystemName, String rebalanceJobName, RebalanceJobUpdate properties) { + Mono>> mono + = updateWithResponseAsync(resourceGroupName, amlFilesystemName, rebalanceJobName, properties); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), + RebalanceJobInner.class, RebalanceJobInner.class, this.client.getContext()); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, RebalanceJobInner> beginUpdate(String resourceGroupName, + String amlFilesystemName, String rebalanceJobName, RebalanceJobUpdate properties) { + Response response + = updateWithResponse(resourceGroupName, amlFilesystemName, rebalanceJobName, properties); + return this.client.getLroResult(response, RebalanceJobInner.class, + RebalanceJobInner.class, Context.NONE); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, RebalanceJobInner> beginUpdate(String resourceGroupName, + String amlFilesystemName, String rebalanceJobName, RebalanceJobUpdate properties, Context context) { + Response response + = updateWithResponse(resourceGroupName, amlFilesystemName, rebalanceJobName, properties, context); + return this.client.getLroResult(response, RebalanceJobInner.class, + RebalanceJobInner.class, context); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono updateAsync(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, RebalanceJobUpdate properties) { + return beginUpdateAsync(resourceGroupName, amlFilesystemName, rebalanceJobName, properties).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public RebalanceJobInner update(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + RebalanceJobUpdate properties) { + return beginUpdate(resourceGroupName, amlFilesystemName, rebalanceJobName, properties).getFinalResult(); + } + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public RebalanceJobInner update(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + RebalanceJobUpdate properties, Context context) { + return beginUpdate(resourceGroupName, amlFilesystemName, rebalanceJobName, properties, context) + .getFinalResult(); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> deleteWithResponseAsync(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName) { + return FluxUtil + .withContext(context -> service.delete(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, rebalanceJobName, context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response deleteWithResponse(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName) { + return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, rebalanceJobName, Context.NONE); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the response body along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Response deleteWithResponse(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, Context context) { + return service.deleteSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, rebalanceJobName, context); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginDeleteAsync(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName) { + Mono>> mono + = deleteWithResponseAsync(resourceGroupName, amlFilesystemName, rebalanceJobName); + return this.client.getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, + this.client.getContext()); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName) { + Response response = deleteWithResponse(resourceGroupName, amlFilesystemName, rebalanceJobName); + return this.client.getLroResult(response, Void.class, Void.class, Context.NONE); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginDelete(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, Context context) { + Response response + = deleteWithResponse(resourceGroupName, amlFilesystemName, rebalanceJobName, context); + return this.client.getLroResult(response, Void.class, Void.class, context); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync(String resourceGroupName, String amlFilesystemName, String rebalanceJobName) { + return beginDeleteAsync(resourceGroupName, amlFilesystemName, rebalanceJobName).last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String amlFilesystemName, String rebalanceJobName) { + beginDelete(resourceGroupName, amlFilesystemName, rebalanceJobName).getFinalResult(); + } + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, Context context) { + beginDelete(resourceGroupName, amlFilesystemName, rebalanceJobName, context).getFinalResult(); + } + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByAmlFilesystemSinglePageAsync(String resourceGroupName, + String amlFilesystemName) { + final String accept = "application/json"; + return FluxUtil + .withContext(context -> service.listByAmlFilesystem(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listByAmlFilesystemAsync(String resourceGroupName, String amlFilesystemName) { + return new PagedFlux<>(() -> listByAmlFilesystemSinglePageAsync(resourceGroupName, amlFilesystemName), + nextLink -> listByAmlFilesystemNextSinglePageAsync(nextLink)); + } + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByAmlFilesystemSinglePage(String resourceGroupName, + String amlFilesystemName) { + final String accept = "application/json"; + Response res + = service.listByAmlFilesystemSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByAmlFilesystemSinglePage(String resourceGroupName, + String amlFilesystemName, Context context) { + final String accept = "application/json"; + Response res + = service.listByAmlFilesystemSync(this.client.getEndpoint(), this.client.getApiVersion(), + this.client.getSubscriptionId(), resourceGroupName, amlFilesystemName, accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByAmlFilesystem(String resourceGroupName, String amlFilesystemName) { + return new PagedIterable<>(() -> listByAmlFilesystemSinglePage(resourceGroupName, amlFilesystemName), + nextLink -> listByAmlFilesystemNextSinglePage(nextLink)); + } + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listByAmlFilesystem(String resourceGroupName, String amlFilesystemName, + Context context) { + return new PagedIterable<>(() -> listByAmlFilesystemSinglePage(resourceGroupName, amlFilesystemName, context), + nextLink -> listByAmlFilesystemNextSinglePage(nextLink, context)); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listByAmlFilesystemNextSinglePageAsync(String nextLink) { + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> service.listByAmlFilesystemNext(nextLink, this.client.getEndpoint(), accept, context)) + .>map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), + res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByAmlFilesystemNextSinglePage(String nextLink) { + final String accept = "application/json"; + Response res + = service.listByAmlFilesystemNextSync(nextLink, this.client.getEndpoint(), accept, Context.NONE); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } + + /** + * Get the next page of items. + * + * @param nextLink The URL to get the next list of items. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse listByAmlFilesystemNextSinglePage(String nextLink, Context context) { + final String accept = "application/json"; + Response res + = service.listByAmlFilesystemNextSync(nextLink, this.client.getEndpoint(), accept, context); + return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), + res.getValue().nextLink(), null); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobsImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobsImpl.java new file mode 100644 index 000000000000..5e92f26637a1 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobsImpl.java @@ -0,0 +1,98 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.implementation; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient; +import com.azure.resourcemanager.storagecache.fluent.models.RebalanceJobInner; +import com.azure.resourcemanager.storagecache.models.RebalanceJob; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdate; +import com.azure.resourcemanager.storagecache.models.RebalanceJobs; + +public final class RebalanceJobsImpl implements RebalanceJobs { + private static final ClientLogger LOGGER = new ClientLogger(RebalanceJobsImpl.class); + + private final RebalanceJobsClient innerClient; + + private final com.azure.resourcemanager.storagecache.StorageCacheManager serviceManager; + + public RebalanceJobsImpl(RebalanceJobsClient innerClient, + com.azure.resourcemanager.storagecache.StorageCacheManager serviceManager) { + this.innerClient = innerClient; + this.serviceManager = serviceManager; + } + + public Response getWithResponse(String resourceGroupName, String amlFilesystemName, + String rebalanceJobName, Context context) { + Response inner + = this.serviceClient().getWithResponse(resourceGroupName, amlFilesystemName, rebalanceJobName, context); + return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(), + new RebalanceJobImpl(inner.getValue(), this.manager())); + } + + public RebalanceJob get(String resourceGroupName, String amlFilesystemName, String rebalanceJobName) { + RebalanceJobInner inner = this.serviceClient().get(resourceGroupName, amlFilesystemName, rebalanceJobName); + if (inner != null) { + return new RebalanceJobImpl(inner, this.manager()); + } else { + return null; + } + } + + public RebalanceJob update(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + RebalanceJobUpdate properties) { + RebalanceJobInner inner + = this.serviceClient().update(resourceGroupName, amlFilesystemName, rebalanceJobName, properties); + if (inner != null) { + return new RebalanceJobImpl(inner, this.manager()); + } else { + return null; + } + } + + public RebalanceJob update(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + RebalanceJobUpdate properties, Context context) { + RebalanceJobInner inner + = this.serviceClient().update(resourceGroupName, amlFilesystemName, rebalanceJobName, properties, context); + if (inner != null) { + return new RebalanceJobImpl(inner, this.manager()); + } else { + return null; + } + } + + public void delete(String resourceGroupName, String amlFilesystemName, String rebalanceJobName) { + this.serviceClient().delete(resourceGroupName, amlFilesystemName, rebalanceJobName); + } + + public void delete(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, Context context) { + this.serviceClient().delete(resourceGroupName, amlFilesystemName, rebalanceJobName, context); + } + + public PagedIterable listByAmlFilesystem(String resourceGroupName, String amlFilesystemName) { + PagedIterable inner + = this.serviceClient().listByAmlFilesystem(resourceGroupName, amlFilesystemName); + return ResourceManagerUtils.mapPage(inner, inner1 -> new RebalanceJobImpl(inner1, this.manager())); + } + + public PagedIterable listByAmlFilesystem(String resourceGroupName, String amlFilesystemName, + Context context) { + PagedIterable inner + = this.serviceClient().listByAmlFilesystem(resourceGroupName, amlFilesystemName, context); + return ResourceManagerUtils.mapPage(inner, inner1 -> new RebalanceJobImpl(inner1, this.manager())); + } + + private RebalanceJobsClient serviceClient() { + return this.innerClient; + } + + private com.azure.resourcemanager.storagecache.StorageCacheManager manager() { + return this.serviceManager; + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageCacheManagementClientImpl.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageCacheManagementClientImpl.java index 65d70b2e03ae..7388e4211dd8 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageCacheManagementClientImpl.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageCacheManagementClientImpl.java @@ -35,6 +35,7 @@ import com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient; import com.azure.resourcemanager.storagecache.fluent.ImportJobsClient; import com.azure.resourcemanager.storagecache.fluent.OperationsClient; +import com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient; import com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient; import com.azure.resourcemanager.storagecache.fluent.SkusClient; import com.azure.resourcemanager.storagecache.fluent.StorageCacheManagementClient; @@ -167,6 +168,20 @@ public OperationsClient getOperations() { return this.operations; } + /** + * The RebalanceJobsClient object to access its operations. + */ + private final RebalanceJobsClient rebalanceJobs; + + /** + * Gets the RebalanceJobsClient object to access its operations. + * + * @return the RebalanceJobsClient object. + */ + public RebalanceJobsClient getRebalanceJobs() { + return this.rebalanceJobs; + } + /** * The CachesClient object to access its operations. */ @@ -352,9 +367,10 @@ public AscUsagesClient getAscUsages() { this.defaultPollInterval = defaultPollInterval; this.endpoint = endpoint; this.subscriptionId = subscriptionId; - this.apiVersion = "2026-01-01"; + this.apiVersion = "2026-08-01"; this.resourceProviders = new ResourceProvidersClientImpl(this); this.operations = new OperationsClientImpl(this); + this.rebalanceJobs = new RebalanceJobsClientImpl(this); this.caches = new CachesClientImpl(this); this.storageTargets = new StorageTargetsClientImpl(this); this.amlFilesystems = new AmlFilesystemsClientImpl(this); diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/models/RebalanceJobsListResult.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/models/RebalanceJobsListResult.java new file mode 100644 index 000000000000..e9629e38e5bf --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/implementation/models/RebalanceJobsListResult.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.implementation.models; + +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import com.azure.resourcemanager.storagecache.fluent.models.RebalanceJobInner; +import java.io.IOException; +import java.util.List; + +/** + * 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. + */ +@Immutable +public final class RebalanceJobsListResult implements JsonSerializable { + /* + * List of rebalance jobs. + */ + private List value; + + /* + * URL to get the next set of rebalance job list results, if there are any. + */ + private String nextLink; + + /** + * Creates an instance of RebalanceJobsListResult class. + */ + private RebalanceJobsListResult() { + } + + /** + * Get the value property: List of rebalance jobs. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Get the nextLink property: URL to get the next set of rebalance job list results, if there are any. + * + * @return the nextLink value. + */ + public String nextLink() { + return this.nextLink; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeArrayField("value", this.value, (writer, element) -> writer.writeJson(element)); + jsonWriter.writeStringField("nextLink", this.nextLink); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RebalanceJobsListResult from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RebalanceJobsListResult if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the RebalanceJobsListResult. + */ + public static RebalanceJobsListResult fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RebalanceJobsListResult deserializedRebalanceJobsListResult = new RebalanceJobsListResult(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("value".equals(fieldName)) { + List value = reader.readArray(reader1 -> RebalanceJobInner.fromJson(reader1)); + deserializedRebalanceJobsListResult.value = value; + } else if ("nextLink".equals(fieldName)) { + deserializedRebalanceJobsListResult.nextLink = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedRebalanceJobsListResult; + }); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/Cache.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/Cache.java index 6037e61bf140..de4f6f68ab06 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/Cache.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/Cache.java @@ -44,7 +44,7 @@ public interface Cache { Map tags(); /** - * Gets the location property: The geo-location where the resource lives. + * Gets the location property: Region name string. * * @return the location value. */ @@ -263,7 +263,7 @@ interface WithLocation { /** * Specifies the region for the resource. * - * @param location The geo-location where the resource lives. + * @param location Region name string. * @return the next definition stage. */ WithCreate withRegion(Region location); @@ -271,7 +271,7 @@ interface WithLocation { /** * Specifies the region for the resource. * - * @param location The geo-location where the resource lives. + * @param location Region name string. * @return the next definition stage. */ WithCreate withRegion(String location); diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJob.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJob.java index d3f7b011099c..7b8cd41b7ce9 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJob.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJob.java @@ -74,6 +74,22 @@ public interface ExpansionJob { */ Float newStorageCapacityTiB(); + /** + * Gets the runRebalanceJob property: When true, expansion creates a RebalanceJob after completing. Optional, + * defaults to true. + * + * @return the runRebalanceJob value. + */ + Boolean runRebalanceJob(); + + /** + * Gets the rebalanceJobId property: Fully qualified ARM resource ID of the child rebalance job created by this + * expansion. Populated after RebalanceJob is created. + * + * @return the rebalanceJobId value. + */ + String rebalanceJobId(); + /** * Gets the state property: 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 @@ -204,7 +220,8 @@ interface WithParentResource { * The stage of the ExpansionJob definition which contains all the minimum required properties for the resource * to be created, but also allows for any other optional properties to be specified. */ - interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithNewStorageCapacityTiB { + interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithNewStorageCapacityTiB, + DefinitionStages.WithRunRebalanceJob { /** * Executes the create request. * @@ -250,6 +267,21 @@ interface WithNewStorageCapacityTiB { */ WithCreate withNewStorageCapacityTiB(Float newStorageCapacityTiB); } + + /** + * The stage of the ExpansionJob definition allowing to specify runRebalanceJob. + */ + interface WithRunRebalanceJob { + /** + * Specifies the runRebalanceJob property: When true, expansion creates a RebalanceJob after completing. + * Optional, defaults to true.. + * + * @param runRebalanceJob When true, expansion creates a RebalanceJob after completing. Optional, defaults + * to true. + * @return the next definition stage. + */ + WithCreate withRunRebalanceJob(Boolean runRebalanceJob); + } } /** diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/MetricAggregationType.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/MetricAggregationType.java index 6cb797949737..2d70f37d8281 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/MetricAggregationType.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/MetricAggregationType.java @@ -8,7 +8,7 @@ import java.util.Collection; /** - * Defines values for MetricAggregationType. + * Metric aggregation type. */ public final class MetricAggregationType extends ExpandableStringEnum { /** diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJob.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJob.java new file mode 100644 index 000000000000..3b1bec958f9e --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJob.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.management.SystemData; +import com.azure.resourcemanager.storagecache.fluent.models.RebalanceJobInner; + +/** + * An immutable client-side representation of RebalanceJob. + */ +public interface RebalanceJob { + /** + * Gets the id property: Fully qualified resource Id for the resource. + * + * @return the id value. + */ + String id(); + + /** + * Gets the name property: The name of the resource. + * + * @return the name value. + */ + String name(); + + /** + * Gets the type property: The type of the resource. + * + * @return the type value. + */ + String type(); + + /** + * Gets the properties property: Properties of the rebalance job. + * + * @return the properties value. + */ + RebalanceJobProperties properties(); + + /** + * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. + * + * @return the systemData value. + */ + SystemData systemData(); + + /** + * Gets the inner com.azure.resourcemanager.storagecache.fluent.models.RebalanceJobInner object. + * + * @return the inner object. + */ + RebalanceJobInner innerModel(); +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobAdminStatus.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobAdminStatus.java new file mode 100644 index 000000000000..d3082b260ced --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobAdminStatus.java @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * The administrative status of the rebalance job. Active means the job is running normally. Cancel requests the job to + * stop. + */ +public final class RebalanceJobAdminStatus extends ExpandableStringEnum { + /** + * The rebalance job is running normally. + */ + public static final RebalanceJobAdminStatus ACTIVE = fromString("Active"); + + /** + * Request the rebalance job to stop. + */ + public static final RebalanceJobAdminStatus CANCEL = fromString("Cancel"); + + /** + * Creates a new instance of RebalanceJobAdminStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public RebalanceJobAdminStatus() { + } + + /** + * Creates or finds a RebalanceJobAdminStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding RebalanceJobAdminStatus. + */ + public static RebalanceJobAdminStatus fromString(String name) { + return fromString(name, RebalanceJobAdminStatus.class); + } + + /** + * Gets known RebalanceJobAdminStatus values. + * + * @return known RebalanceJobAdminStatus values. + */ + public static Collection values() { + return values(RebalanceJobAdminStatus.class); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobProperties.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobProperties.java new file mode 100644 index 000000000000..1cf3a3594117 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobProperties.java @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Properties of the rebalance job. + */ +@Immutable +public final class RebalanceJobProperties implements JsonSerializable { + /* + * ARM provisioning state, see + * https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property + */ + private RebalanceJobPropertiesProvisioningState provisioningState; + + /* + * The current administrative status of the rebalance job. 'Active' indicates the job is running normally; 'Cancel' + * indicates cancellation has been requested. + */ + private RebalanceJobAdminStatus adminStatus; + + /* + * Fully qualified ARM resource ID of the parent expansion job that initiated this rebalance. Populated when the + * rebalance was created as part of an expansion. + */ + private String expansionJobId; + + /* + * The status of the rebalance job. + */ + private RebalanceJobPropertiesStatus status; + + /** + * Creates an instance of RebalanceJobProperties class. + */ + private RebalanceJobProperties() { + } + + /** + * Get the provisioningState property: ARM provisioning state, see + * https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property. + * + * @return the provisioningState value. + */ + public RebalanceJobPropertiesProvisioningState provisioningState() { + return this.provisioningState; + } + + /** + * Get the adminStatus property: The current administrative status of the rebalance job. 'Active' indicates the job + * is running normally; 'Cancel' indicates cancellation has been requested. + * + * @return the adminStatus value. + */ + public RebalanceJobAdminStatus adminStatus() { + return this.adminStatus; + } + + /** + * Get the expansionJobId property: Fully qualified ARM resource ID of the parent expansion job that initiated this + * rebalance. Populated when the rebalance was created as part of an expansion. + * + * @return the expansionJobId value. + */ + public String expansionJobId() { + return this.expansionJobId; + } + + /** + * Get the status property: The status of the rebalance job. + * + * @return the status value. + */ + public RebalanceJobPropertiesStatus status() { + return this.status; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RebalanceJobProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RebalanceJobProperties if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the RebalanceJobProperties. + */ + public static RebalanceJobProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RebalanceJobProperties deserializedRebalanceJobProperties = new RebalanceJobProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("provisioningState".equals(fieldName)) { + deserializedRebalanceJobProperties.provisioningState + = RebalanceJobPropertiesProvisioningState.fromString(reader.getString()); + } else if ("adminStatus".equals(fieldName)) { + deserializedRebalanceJobProperties.adminStatus + = RebalanceJobAdminStatus.fromString(reader.getString()); + } else if ("expansionJobId".equals(fieldName)) { + deserializedRebalanceJobProperties.expansionJobId = reader.getString(); + } else if ("status".equals(fieldName)) { + deserializedRebalanceJobProperties.status = RebalanceJobPropertiesStatus.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedRebalanceJobProperties; + }); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobPropertiesProvisioningState.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobPropertiesProvisioningState.java new file mode 100644 index 000000000000..bcf8c4c8fbac --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobPropertiesProvisioningState.java @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * ARM provisioning state for the rebalance job. + */ +public final class RebalanceJobPropertiesProvisioningState + extends ExpandableStringEnum { + /** + * Resource has been created. + */ + public static final RebalanceJobPropertiesProvisioningState SUCCEEDED = fromString("Succeeded"); + + /** + * Resource creation failed. + */ + public static final RebalanceJobPropertiesProvisioningState FAILED = fromString("Failed"); + + /** + * Resource creation was canceled. + */ + public static final RebalanceJobPropertiesProvisioningState CANCELED = fromString("Canceled"); + + /** + * Resource is being created. + */ + public static final RebalanceJobPropertiesProvisioningState CREATING = fromString("Creating"); + + /** + * Resource is being updated. + */ + public static final RebalanceJobPropertiesProvisioningState UPDATING = fromString("Updating"); + + /** + * Resource is being deleted. + */ + public static final RebalanceJobPropertiesProvisioningState DELETING = fromString("Deleting"); + + /** + * Creates a new instance of RebalanceJobPropertiesProvisioningState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public RebalanceJobPropertiesProvisioningState() { + } + + /** + * Creates or finds a RebalanceJobPropertiesProvisioningState from its string representation. + * + * @param name a name to look for. + * @return the corresponding RebalanceJobPropertiesProvisioningState. + */ + public static RebalanceJobPropertiesProvisioningState fromString(String name) { + return fromString(name, RebalanceJobPropertiesProvisioningState.class); + } + + /** + * Gets known RebalanceJobPropertiesProvisioningState values. + * + * @return known RebalanceJobPropertiesProvisioningState values. + */ + public static Collection values() { + return values(RebalanceJobPropertiesProvisioningState.class); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobPropertiesStatus.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobPropertiesStatus.java new file mode 100644 index 000000000000..92961b645b34 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobPropertiesStatus.java @@ -0,0 +1,334 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.CoreUtils; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.time.OffsetDateTime; + +/** + * The status of the rebalance job. + */ +@Immutable +public final class RebalanceJobPropertiesStatus implements JsonSerializable { + /* + * 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. + */ + private RebalanceJobStatusType state; + + /* + * Server-defined status code for rebalance job. + */ + private String statusCode; + + /* + * Server-defined status message for rebalance job. + */ + private String statusMessage; + + /* + * The percentage of rebalance job completion. + */ + private Float percentComplete; + + /* + * 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. + */ + private Double balancePercent; + + /* + * Estimated remaining time in seconds. Omitted during initial assessment before the rebalancer has enough data to + * estimate. + */ + private Integer estimatedRemainingSeconds; + + /* + * 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. + */ + private Long filesMigrated; + + /* + * 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. + */ + private Long dirsMigrated; + + /* + * Total number of bytes moved since the rebalance started. Reported in periodic rebalance status updates. Resets to + * 0 if the rebalancer node restarts. + */ + private Long bytesMoved; + + /* + * Average files moved per second over the most recent reporting interval. + */ + private Double filesMovedPerSecond; + + /* + * Average throughput in mebibytes per second (1024x1024 bytes per second) over the most recent reporting interval. + */ + private Double throughputMiBps; + + /* + * Total cumulative non-skip errors since the rebalance started. Reported in periodic rebalance status updates. + * Resets to 0 if the rebalancer node restarts. + */ + private Integer totalErrors; + + /* + * 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. + */ + private Long totalSkipped; + + /* + * The time (in UTC) the rebalance job started. + */ + private OffsetDateTime startTimeUTC; + + /* + * The time (in UTC) when the rebalance job completed. Only populated when the job reaches a terminal state + * (Completed, Failed, or Canceled). + */ + private OffsetDateTime completionTimeUTC; + + /** + * Creates an instance of RebalanceJobPropertiesStatus class. + */ + private RebalanceJobPropertiesStatus() { + } + + /** + * Get the state property: 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. + * + * @return the state value. + */ + public RebalanceJobStatusType state() { + return this.state; + } + + /** + * Get the statusCode property: Server-defined status code for rebalance job. + * + * @return the statusCode value. + */ + public String statusCode() { + return this.statusCode; + } + + /** + * Get the statusMessage property: Server-defined status message for rebalance job. + * + * @return the statusMessage value. + */ + public String statusMessage() { + return this.statusMessage; + } + + /** + * Get the percentComplete property: The percentage of rebalance job completion. + * + * @return the percentComplete value. + */ + public Float percentComplete() { + return this.percentComplete; + } + + /** + * Get the balancePercent property: 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. + * + * @return the balancePercent value. + */ + public Double balancePercent() { + return this.balancePercent; + } + + /** + * Get the estimatedRemainingSeconds property: Estimated remaining time in seconds. Omitted during initial + * assessment before the rebalancer has enough data to estimate. + * + * @return the estimatedRemainingSeconds value. + */ + public Integer estimatedRemainingSeconds() { + return this.estimatedRemainingSeconds; + } + + /** + * Get the filesMigrated property: 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. + * + * @return the filesMigrated value. + */ + public Long filesMigrated() { + return this.filesMigrated; + } + + /** + * Get the dirsMigrated property: 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. + * + * @return the dirsMigrated value. + */ + public Long dirsMigrated() { + return this.dirsMigrated; + } + + /** + * Get the bytesMoved property: Total number of bytes moved since the rebalance started. Reported in periodic + * rebalance status updates. Resets to 0 if the rebalancer node restarts. + * + * @return the bytesMoved value. + */ + public Long bytesMoved() { + return this.bytesMoved; + } + + /** + * Get the filesMovedPerSecond property: Average files moved per second over the most recent reporting interval. + * + * @return the filesMovedPerSecond value. + */ + public Double filesMovedPerSecond() { + return this.filesMovedPerSecond; + } + + /** + * Get the throughputMiBps property: Average throughput in mebibytes per second (1024x1024 bytes per second) over + * the most recent reporting interval. + * + * @return the throughputMiBps value. + */ + public Double throughputMiBps() { + return this.throughputMiBps; + } + + /** + * Get the totalErrors property: Total cumulative non-skip errors since the rebalance started. Reported in periodic + * rebalance status updates. Resets to 0 if the rebalancer node restarts. + * + * @return the totalErrors value. + */ + public Integer totalErrors() { + return this.totalErrors; + } + + /** + * Get the totalSkipped property: 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. + * + * @return the totalSkipped value. + */ + public Long totalSkipped() { + return this.totalSkipped; + } + + /** + * Get the startTimeUTC property: The time (in UTC) the rebalance job started. + * + * @return the startTimeUTC value. + */ + public OffsetDateTime startTimeUTC() { + return this.startTimeUTC; + } + + /** + * Get the completionTimeUTC property: The time (in UTC) when the rebalance job completed. Only populated when the + * job reaches a terminal state (Completed, Failed, or Canceled). + * + * @return the completionTimeUTC value. + */ + public OffsetDateTime completionTimeUTC() { + return this.completionTimeUTC; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RebalanceJobPropertiesStatus from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RebalanceJobPropertiesStatus if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the RebalanceJobPropertiesStatus. + */ + public static RebalanceJobPropertiesStatus fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RebalanceJobPropertiesStatus deserializedRebalanceJobPropertiesStatus = new RebalanceJobPropertiesStatus(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("state".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.state + = RebalanceJobStatusType.fromString(reader.getString()); + } else if ("statusCode".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.statusCode = reader.getString(); + } else if ("statusMessage".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.statusMessage = reader.getString(); + } else if ("percentComplete".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.percentComplete = reader.getNullable(JsonReader::getFloat); + } else if ("balancePercent".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.balancePercent = reader.getNullable(JsonReader::getDouble); + } else if ("estimatedRemainingSeconds".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.estimatedRemainingSeconds + = reader.getNullable(JsonReader::getInt); + } else if ("filesMigrated".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.filesMigrated = reader.getNullable(JsonReader::getLong); + } else if ("dirsMigrated".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.dirsMigrated = reader.getNullable(JsonReader::getLong); + } else if ("bytesMoved".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.bytesMoved = reader.getNullable(JsonReader::getLong); + } else if ("filesMovedPerSecond".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.filesMovedPerSecond + = reader.getNullable(JsonReader::getDouble); + } else if ("throughputMiBps".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.throughputMiBps + = reader.getNullable(JsonReader::getDouble); + } else if ("totalErrors".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.totalErrors = reader.getNullable(JsonReader::getInt); + } else if ("totalSkipped".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.totalSkipped = reader.getNullable(JsonReader::getLong); + } else if ("startTimeUTC".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.startTimeUTC = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else if ("completionTimeUTC".equals(fieldName)) { + deserializedRebalanceJobPropertiesStatus.completionTimeUTC = reader + .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); + } else { + reader.skipChildren(); + } + } + + return deserializedRebalanceJobPropertiesStatus; + }); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobStatusType.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobStatusType.java new file mode 100644 index 000000000000..26018f52f64d --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobStatusType.java @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.util.ExpandableStringEnum; +import java.util.Collection; + +/** + * 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. + */ +public final class RebalanceJobStatusType extends ExpandableStringEnum { + /** + * The rebalance job is currently running on the cluster. + */ + public static final RebalanceJobStatusType IN_PROGRESS = fromString("InProgress"); + + /** + * A cancel has been requested and the job is stopping. + */ + public static final RebalanceJobStatusType CANCELLING = fromString("Cancelling"); + + /** + * The rebalance job was canceled before completion. + */ + public static final RebalanceJobStatusType CANCELED = fromString("Canceled"); + + /** + * The rebalance job finished successfully. + */ + public static final RebalanceJobStatusType COMPLETED = fromString("Completed"); + + /** + * The rebalance job failed due to a fatal error. + */ + public static final RebalanceJobStatusType FAILED = fromString("Failed"); + + /** + * The job is being cleaned up during deletion. + */ + public static final RebalanceJobStatusType DELETING = fromString("Deleting"); + + /** + * The orchestrator is rolling back provisioned resources after a failure. + */ + public static final RebalanceJobStatusType ROLLING_BACK = fromString("RollingBack"); + + /** + * Creates a new instance of RebalanceJobStatusType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public RebalanceJobStatusType() { + } + + /** + * Creates or finds a RebalanceJobStatusType from its string representation. + * + * @param name a name to look for. + * @return the corresponding RebalanceJobStatusType. + */ + public static RebalanceJobStatusType fromString(String name) { + return fromString(name, RebalanceJobStatusType.class); + } + + /** + * Gets known RebalanceJobStatusType values. + * + * @return known RebalanceJobStatusType values. + */ + public static Collection values() { + return values(RebalanceJobStatusType.class); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobUpdate.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobUpdate.java new file mode 100644 index 000000000000..60ad8886f339 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobUpdate.java @@ -0,0 +1,85 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A rebalance job update instance. + */ +@Fluent +public final class RebalanceJobUpdate implements JsonSerializable { + /* + * Properties for the rebalance job update. + */ + private RebalanceJobUpdateProperties properties; + + /** + * Creates an instance of RebalanceJobUpdate class. + */ + public RebalanceJobUpdate() { + } + + /** + * Get the properties property: Properties for the rebalance job update. + * + * @return the properties value. + */ + public RebalanceJobUpdateProperties properties() { + return this.properties; + } + + /** + * Set the properties property: Properties for the rebalance job update. + * + * @param properties the properties value to set. + * @return the RebalanceJobUpdate object itself. + */ + public RebalanceJobUpdate withProperties(RebalanceJobUpdateProperties properties) { + this.properties = properties; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeJsonField("properties", this.properties); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RebalanceJobUpdate from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RebalanceJobUpdate if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the RebalanceJobUpdate. + */ + public static RebalanceJobUpdate fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RebalanceJobUpdate deserializedRebalanceJobUpdate = new RebalanceJobUpdate(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("properties".equals(fieldName)) { + deserializedRebalanceJobUpdate.properties = RebalanceJobUpdateProperties.fromJson(reader); + } else { + reader.skipChildren(); + } + } + + return deserializedRebalanceJobUpdate; + }); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobUpdateProperties.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobUpdateProperties.java new file mode 100644 index 000000000000..665a367f33cb --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobUpdateProperties.java @@ -0,0 +1,89 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Properties for updating a rebalance job. + */ +@Fluent +public final class RebalanceJobUpdateProperties implements JsonSerializable { + /* + * The administrative status of the rebalance job. Passing in a value of 'Cancel' will cancel the current active + * rebalance job. + */ + private RebalanceJobAdminStatus adminStatus; + + /** + * Creates an instance of RebalanceJobUpdateProperties class. + */ + public RebalanceJobUpdateProperties() { + } + + /** + * Get the adminStatus property: The administrative status of the rebalance job. Passing in a value of 'Cancel' will + * cancel the current active rebalance job. + * + * @return the adminStatus value. + */ + public RebalanceJobAdminStatus adminStatus() { + return this.adminStatus; + } + + /** + * Set the adminStatus property: The administrative status of the rebalance job. Passing in a value of 'Cancel' will + * cancel the current active rebalance job. + * + * @param adminStatus the adminStatus value to set. + * @return the RebalanceJobUpdateProperties object itself. + */ + public RebalanceJobUpdateProperties withAdminStatus(RebalanceJobAdminStatus adminStatus) { + this.adminStatus = adminStatus; + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("adminStatus", this.adminStatus == null ? null : this.adminStatus.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of RebalanceJobUpdateProperties from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of RebalanceJobUpdateProperties if the JsonReader was pointing to an instance of it, or null + * if it was pointing to JSON null. + * @throws IOException If an error occurs while reading the RebalanceJobUpdateProperties. + */ + public static RebalanceJobUpdateProperties fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + RebalanceJobUpdateProperties deserializedRebalanceJobUpdateProperties = new RebalanceJobUpdateProperties(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("adminStatus".equals(fieldName)) { + deserializedRebalanceJobUpdateProperties.adminStatus + = RebalanceJobAdminStatus.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedRebalanceJobUpdateProperties; + }); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobs.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobs.java new file mode 100644 index 000000000000..f1f9354a8726 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobs.java @@ -0,0 +1,140 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.models; + +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; + +/** + * Resource collection API of RebalanceJobs. + */ +public interface RebalanceJobs { + /** + * Returns a rebalance job. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance along with {@link Response}. + */ + Response getWithResponse(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + Context context); + + /** + * Returns a rebalance job. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + RebalanceJob get(String resourceGroupName, String amlFilesystemName, String rebalanceJobName); + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + RebalanceJob update(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + RebalanceJobUpdate properties); + + /** + * Update a rebalance job instance. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a rebalance job instance. + */ + RebalanceJob update(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, + RebalanceJobUpdate properties, Context context); + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void delete(String resourceGroupName, String amlFilesystemName, String rebalanceJobName); + + /** + * Schedules a rebalance job for deletion. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param rebalanceJobName Name for the rebalance job. Allows alphanumerics, underscores, and hyphens. Start and end + * with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + void delete(String resourceGroupName, String amlFilesystemName, String rebalanceJobName, Context context); + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs as paginated response with {@link PagedIterable}. + */ + PagedIterable listByAmlFilesystem(String resourceGroupName, String amlFilesystemName); + + /** + * Returns all the rebalance jobs the user has access to under an AML File System. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and + * end with alphanumeric. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return result of the request to list rebalance jobs as paginated response with {@link PagedIterable}. + */ + PagedIterable listByAmlFilesystem(String resourceGroupName, String amlFilesystemName, + Context context); +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/UserAssignedIdentitiesValue.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/UserAssignedIdentitiesValue.java index 85ea48ecd9ba..92f0ef13d63c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/UserAssignedIdentitiesValue.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/java/com/azure/resourcemanager/storagecache/models/UserAssignedIdentitiesValue.java @@ -12,7 +12,7 @@ import java.io.IOException; /** - * The UserAssignedIdentitiesValue model. + * User-assigned identity properties. */ @Immutable public final class UserAssignedIdentitiesValue implements JsonSerializable { diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/resources/META-INF/azure-resourcemanager-storagecache_metadata.json b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/resources/META-INF/azure-resourcemanager-storagecache_metadata.json index 1d407c90e7c4..e93bd0e18a28 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/resources/META-INF/azure-resourcemanager-storagecache_metadata.json +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/resources/META-INF/azure-resourcemanager-storagecache_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersions":{"Microsoft.StorageCache":"2026-01-01"},"crossLanguageDefinitions":{"com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.archive":"Microsoft.StorageCache.AmlFilesystems.archive","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.archiveWithResponse":"Microsoft.StorageCache.AmlFilesystems.archive","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.beginCreateOrUpdate":"Microsoft.StorageCache.AmlFilesystems.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.beginDelete":"Microsoft.StorageCache.AmlFilesystems.delete","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.beginUpdate":"Microsoft.StorageCache.AmlFilesystems.update","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.cancelArchive":"Microsoft.StorageCache.AmlFilesystems.cancelArchive","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.cancelArchiveWithResponse":"Microsoft.StorageCache.AmlFilesystems.cancelArchive","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.createOrUpdate":"Microsoft.StorageCache.AmlFilesystems.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.delete":"Microsoft.StorageCache.AmlFilesystems.delete","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.getByResourceGroup":"Microsoft.StorageCache.AmlFilesystems.get","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.getByResourceGroupWithResponse":"Microsoft.StorageCache.AmlFilesystems.get","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.list":"Microsoft.StorageCache.AmlFilesystems.list","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.listByResourceGroup":"Microsoft.StorageCache.AmlFilesystems.listByResourceGroup","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.update":"Microsoft.StorageCache.AmlFilesystems.update","com.azure.resourcemanager.storagecache.fluent.AscOperationsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AscOperationsClient.get":"Microsoft.StorageCache.AscOperationsOperationGroup.get","com.azure.resourcemanager.storagecache.fluent.AscOperationsClient.getWithResponse":"Microsoft.StorageCache.AscOperationsOperationGroup.get","com.azure.resourcemanager.storagecache.fluent.AscUsagesClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AscUsagesClient.list":"Microsoft.StorageCache.AscUsagesOperationGroup.list","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.beginCreateOrUpdate":"Microsoft.StorageCache.AutoExportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.beginDelete":"Microsoft.StorageCache.AutoExportJobs.delete","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.beginUpdate":"Microsoft.StorageCache.AutoExportJobs.update","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.createOrUpdate":"Microsoft.StorageCache.AutoExportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.delete":"Microsoft.StorageCache.AutoExportJobs.delete","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.get":"Microsoft.StorageCache.AutoExportJobs.get","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.getWithResponse":"Microsoft.StorageCache.AutoExportJobs.get","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.AutoExportJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.update":"Microsoft.StorageCache.AutoExportJobs.update","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.beginCreateOrUpdate":"Microsoft.StorageCache.AutoImportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.beginDelete":"Microsoft.StorageCache.AutoImportJobs.delete","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.beginUpdate":"Microsoft.StorageCache.AutoImportJobs.update","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.createOrUpdate":"Microsoft.StorageCache.AutoImportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.delete":"Microsoft.StorageCache.AutoImportJobs.delete","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.get":"Microsoft.StorageCache.AutoImportJobs.get","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.getWithResponse":"Microsoft.StorageCache.AutoImportJobs.get","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.AutoImportJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.update":"Microsoft.StorageCache.AutoImportJobs.update","com.azure.resourcemanager.storagecache.fluent.CachesClient":"Microsoft.StorageCache.Caches","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginCreateOrUpdate":"Microsoft.StorageCache.Caches.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginDebugInfo":"Microsoft.StorageCache.Caches.debugInfo","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginDelete":"Microsoft.StorageCache.Caches.delete","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginFlush":"Microsoft.StorageCache.Caches.flush","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginPausePrimingJob":"Microsoft.StorageCache.Caches.pausePrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginResumePrimingJob":"Microsoft.StorageCache.Caches.resumePrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginSpaceAllocation":"Microsoft.StorageCache.Caches.spaceAllocation","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginStart":"Microsoft.StorageCache.Caches.start","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginStartPrimingJob":"Microsoft.StorageCache.Caches.startPrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginStop":"Microsoft.StorageCache.Caches.stop","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginStopPrimingJob":"Microsoft.StorageCache.Caches.stopPrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginUpdate":"Microsoft.StorageCache.Caches.update","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginUpgradeFirmware":"Microsoft.StorageCache.Caches.upgradeFirmware","com.azure.resourcemanager.storagecache.fluent.CachesClient.createOrUpdate":"Microsoft.StorageCache.Caches.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.CachesClient.debugInfo":"Microsoft.StorageCache.Caches.debugInfo","com.azure.resourcemanager.storagecache.fluent.CachesClient.delete":"Microsoft.StorageCache.Caches.delete","com.azure.resourcemanager.storagecache.fluent.CachesClient.flush":"Microsoft.StorageCache.Caches.flush","com.azure.resourcemanager.storagecache.fluent.CachesClient.getByResourceGroup":"Microsoft.StorageCache.Caches.get","com.azure.resourcemanager.storagecache.fluent.CachesClient.getByResourceGroupWithResponse":"Microsoft.StorageCache.Caches.get","com.azure.resourcemanager.storagecache.fluent.CachesClient.list":"Microsoft.StorageCache.Caches.list","com.azure.resourcemanager.storagecache.fluent.CachesClient.listByResourceGroup":"Microsoft.StorageCache.Caches.listByResourceGroup","com.azure.resourcemanager.storagecache.fluent.CachesClient.pausePrimingJob":"Microsoft.StorageCache.Caches.pausePrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.resumePrimingJob":"Microsoft.StorageCache.Caches.resumePrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.spaceAllocation":"Microsoft.StorageCache.Caches.spaceAllocation","com.azure.resourcemanager.storagecache.fluent.CachesClient.start":"Microsoft.StorageCache.Caches.start","com.azure.resourcemanager.storagecache.fluent.CachesClient.startPrimingJob":"Microsoft.StorageCache.Caches.startPrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.stop":"Microsoft.StorageCache.Caches.stop","com.azure.resourcemanager.storagecache.fluent.CachesClient.stopPrimingJob":"Microsoft.StorageCache.Caches.stopPrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.update":"Microsoft.StorageCache.Caches.update","com.azure.resourcemanager.storagecache.fluent.CachesClient.upgradeFirmware":"Microsoft.StorageCache.Caches.upgradeFirmware","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.beginCreateOrUpdate":"Microsoft.StorageCache.ExpansionJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.beginDelete":"Microsoft.StorageCache.ExpansionJobs.delete","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.beginUpdate":"Microsoft.StorageCache.ExpansionJobs.update","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.createOrUpdate":"Microsoft.StorageCache.ExpansionJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.delete":"Microsoft.StorageCache.ExpansionJobs.delete","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.get":"Microsoft.StorageCache.ExpansionJobs.get","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.getWithResponse":"Microsoft.StorageCache.ExpansionJobs.get","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.ExpansionJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.update":"Microsoft.StorageCache.ExpansionJobs.update","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.beginCreateOrUpdate":"Microsoft.StorageCache.ImportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.beginDelete":"Microsoft.StorageCache.ImportJobs.delete","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.beginUpdate":"Microsoft.StorageCache.ImportJobs.update","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.createOrUpdate":"Microsoft.StorageCache.ImportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.delete":"Microsoft.StorageCache.ImportJobs.delete","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.get":"Microsoft.StorageCache.ImportJobs.get","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.getWithResponse":"Microsoft.StorageCache.ImportJobs.get","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.ImportJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.update":"Microsoft.StorageCache.ImportJobs.update","com.azure.resourcemanager.storagecache.fluent.OperationsClient":"Microsoft.StorageCache.Operations","com.azure.resourcemanager.storagecache.fluent.OperationsClient.list":"Azure.ResourceManager.Legacy.Operations.list","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient.checkAmlFSSubnets":"Microsoft.StorageCache.checkAmlFSSubnets","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient.checkAmlFSSubnetsWithResponse":"Microsoft.StorageCache.checkAmlFSSubnets","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient.getRequiredAmlFSSubnetsSize":"Microsoft.StorageCache.getRequiredAmlFSSubnetsSize","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient.getRequiredAmlFSSubnetsSizeWithResponse":"Microsoft.StorageCache.getRequiredAmlFSSubnetsSize","com.azure.resourcemanager.storagecache.fluent.SkusClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.SkusClient.list":"Microsoft.StorageCache.SkusOperationGroup.list","com.azure.resourcemanager.storagecache.fluent.StorageCacheManagementClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.beginFlush":"Microsoft.StorageCache.StorageTargets.flush","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.beginInvalidate":"Microsoft.StorageCache.StorageTargets.invalidate","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.beginResume":"Microsoft.StorageCache.StorageTargets.resume","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.beginSuspend":"Microsoft.StorageCache.StorageTargets.suspend","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.flush":"Microsoft.StorageCache.StorageTargets.flush","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.invalidate":"Microsoft.StorageCache.StorageTargets.invalidate","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.resume":"Microsoft.StorageCache.StorageTargets.resume","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.suspend":"Microsoft.StorageCache.StorageTargets.suspend","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient":"Microsoft.StorageCache.StorageTargets","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.beginCreateOrUpdate":"Microsoft.StorageCache.StorageTargets.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.beginDelete":"Microsoft.StorageCache.StorageTargets.delete","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.beginDnsRefresh":"Microsoft.StorageCache.StorageTargets.dnsRefresh","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.beginRestoreDefaults":"Microsoft.StorageCache.StorageTargets.restoreDefaults","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.createOrUpdate":"Microsoft.StorageCache.StorageTargets.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.delete":"Microsoft.StorageCache.StorageTargets.delete","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.dnsRefresh":"Microsoft.StorageCache.StorageTargets.dnsRefresh","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.get":"Microsoft.StorageCache.StorageTargets.get","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.getWithResponse":"Microsoft.StorageCache.StorageTargets.get","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.listByCache":"Microsoft.StorageCache.StorageTargets.listByCache","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.restoreDefaults":"Microsoft.StorageCache.StorageTargets.restoreDefaults","com.azure.resourcemanager.storagecache.fluent.UsageModelsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.UsageModelsClient.list":"Microsoft.StorageCache.UsageModelsOperationGroup.list","com.azure.resourcemanager.storagecache.fluent.models.AmlFilesystemInner":"Microsoft.StorageCache.AmlFilesystem","com.azure.resourcemanager.storagecache.fluent.models.AmlFilesystemProperties":"Microsoft.StorageCache.AmlFilesystemProperties","com.azure.resourcemanager.storagecache.fluent.models.AmlFilesystemUpdateProperties":"Microsoft.StorageCache.AmlFilesystemUpdateProperties","com.azure.resourcemanager.storagecache.fluent.models.ApiOperationInner":"Microsoft.StorageCache.ApiOperation","com.azure.resourcemanager.storagecache.fluent.models.ApiOperationProperties":"Microsoft.StorageCache.ApiOperationProperties","com.azure.resourcemanager.storagecache.fluent.models.AscOperationInner":"Microsoft.StorageCache.AscOperation","com.azure.resourcemanager.storagecache.fluent.models.AscOperationProperties":"Microsoft.StorageCache.AscOperationProperties","com.azure.resourcemanager.storagecache.fluent.models.AutoExportJobInner":"Microsoft.StorageCache.AutoExportJob","com.azure.resourcemanager.storagecache.fluent.models.AutoExportJobProperties":"Microsoft.StorageCache.AutoExportJobProperties","com.azure.resourcemanager.storagecache.fluent.models.AutoExportJobPropertiesStatus":"Microsoft.StorageCache.AutoExportJobPropertiesStatus","com.azure.resourcemanager.storagecache.fluent.models.AutoExportJobUpdateProperties":"Microsoft.StorageCache.AutoExportJobUpdateProperties","com.azure.resourcemanager.storagecache.fluent.models.AutoImportJobInner":"Microsoft.StorageCache.AutoImportJob","com.azure.resourcemanager.storagecache.fluent.models.AutoImportJobProperties":"Microsoft.StorageCache.AutoImportJobProperties","com.azure.resourcemanager.storagecache.fluent.models.AutoImportJobPropertiesStatus":"Microsoft.StorageCache.AutoImportJobPropertiesStatus","com.azure.resourcemanager.storagecache.fluent.models.AutoImportJobUpdateProperties":"Microsoft.StorageCache.AutoImportJobUpdateProperties","com.azure.resourcemanager.storagecache.fluent.models.CacheInner":"Microsoft.StorageCache.Cache","com.azure.resourcemanager.storagecache.fluent.models.CacheProperties":"Microsoft.StorageCache.CacheProperties","com.azure.resourcemanager.storagecache.fluent.models.ExpansionJobInner":"Microsoft.StorageCache.ExpansionJob","com.azure.resourcemanager.storagecache.fluent.models.ExpansionJobProperties":"Microsoft.StorageCache.ExpansionJobProperties","com.azure.resourcemanager.storagecache.fluent.models.ExpansionJobPropertiesStatus":"Microsoft.StorageCache.ExpansionJobPropertiesStatus","com.azure.resourcemanager.storagecache.fluent.models.ImportJobInner":"Microsoft.StorageCache.ImportJob","com.azure.resourcemanager.storagecache.fluent.models.ImportJobProperties":"Microsoft.StorageCache.ImportJobProperties","com.azure.resourcemanager.storagecache.fluent.models.ImportJobPropertiesStatus":"Microsoft.StorageCache.ImportJobPropertiesStatus","com.azure.resourcemanager.storagecache.fluent.models.ImportJobUpdateProperties":"Microsoft.StorageCache.ImportJobUpdateProperties","com.azure.resourcemanager.storagecache.fluent.models.RequiredAmlFilesystemSubnetsSizeInner":"Microsoft.StorageCache.RequiredAmlFilesystemSubnetsSize","com.azure.resourcemanager.storagecache.fluent.models.ResourceSkuInner":"Microsoft.StorageCache.ResourceSku","com.azure.resourcemanager.storagecache.fluent.models.ResourceUsageInner":"Microsoft.StorageCache.ResourceUsage","com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner":"Microsoft.StorageCache.StorageTarget","com.azure.resourcemanager.storagecache.fluent.models.StorageTargetProperties":"Microsoft.StorageCache.StorageTargetProperties","com.azure.resourcemanager.storagecache.fluent.models.UsageModelInner":"Microsoft.StorageCache.UsageModel","com.azure.resourcemanager.storagecache.implementation.StorageCacheManagementClientBuilder":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.implementation.models.AmlFilesystemsListResult":"Microsoft.StorageCache.AmlFilesystemsListResult","com.azure.resourcemanager.storagecache.implementation.models.ApiOperationListResult":"Microsoft.StorageCache.ApiOperationListResult","com.azure.resourcemanager.storagecache.implementation.models.AutoExportJobsListResult":"Microsoft.StorageCache.AutoExportJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.AutoImportJobsListResult":"Microsoft.StorageCache.AutoImportJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.CachesListResult":"Microsoft.StorageCache.CachesListResult","com.azure.resourcemanager.storagecache.implementation.models.ExpansionJobsListResult":"Microsoft.StorageCache.ExpansionJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.ImportJobsListResult":"Microsoft.StorageCache.ImportJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.ResourceSkusResult":"Microsoft.StorageCache.ResourceSkusResult","com.azure.resourcemanager.storagecache.implementation.models.ResourceUsagesListResult":"Microsoft.StorageCache.ResourceUsagesListResult","com.azure.resourcemanager.storagecache.implementation.models.StorageTargetsResult":"Microsoft.StorageCache.StorageTargetsResult","com.azure.resourcemanager.storagecache.implementation.models.UsageModelsResult":"Microsoft.StorageCache.UsageModelsResult","com.azure.resourcemanager.storagecache.models.AmlFilesystemArchive":"Microsoft.StorageCache.AmlFilesystemArchive","com.azure.resourcemanager.storagecache.models.AmlFilesystemArchiveInfo":"Microsoft.StorageCache.AmlFilesystemArchiveInfo","com.azure.resourcemanager.storagecache.models.AmlFilesystemArchiveStatus":"Microsoft.StorageCache.AmlFilesystemArchiveStatus","com.azure.resourcemanager.storagecache.models.AmlFilesystemCheckSubnetError":"Microsoft.StorageCache.AmlFilesystemCheckSubnetError","com.azure.resourcemanager.storagecache.models.AmlFilesystemCheckSubnetErrorFilesystemSubnet":"Microsoft.StorageCache.AmlFilesystemCheckSubnetErrorFilesystemSubnet","com.azure.resourcemanager.storagecache.models.AmlFilesystemClientInfo":"Microsoft.StorageCache.AmlFilesystemClientInfo","com.azure.resourcemanager.storagecache.models.AmlFilesystemContainerStorageInterface":"Microsoft.StorageCache.AmlFilesystemContainerStorageInterface","com.azure.resourcemanager.storagecache.models.AmlFilesystemEncryptionSettings":"Microsoft.StorageCache.AmlFilesystemEncryptionSettings","com.azure.resourcemanager.storagecache.models.AmlFilesystemHealth":"Microsoft.StorageCache.AmlFilesystemHealth","com.azure.resourcemanager.storagecache.models.AmlFilesystemHealthStateType":"Microsoft.StorageCache.AmlFilesystemHealthStateType","com.azure.resourcemanager.storagecache.models.AmlFilesystemHsmSettings":"Microsoft.StorageCache.AmlFilesystemHsmSettings","com.azure.resourcemanager.storagecache.models.AmlFilesystemIdentity":"Microsoft.StorageCache.AmlFilesystemIdentity","com.azure.resourcemanager.storagecache.models.AmlFilesystemIdentityType":"Microsoft.StorageCache.AmlFilesystemIdentityType","com.azure.resourcemanager.storagecache.models.AmlFilesystemPropertiesHsm":"Microsoft.StorageCache.AmlFilesystemPropertiesHsm","com.azure.resourcemanager.storagecache.models.AmlFilesystemPropertiesMaintenanceWindow":"Microsoft.StorageCache.AmlFilesystemPropertiesMaintenanceWindow","com.azure.resourcemanager.storagecache.models.AmlFilesystemProvisioningStateType":"Microsoft.StorageCache.AmlFilesystemProvisioningStateType","com.azure.resourcemanager.storagecache.models.AmlFilesystemRootSquashSettings":"Microsoft.StorageCache.AmlFilesystemRootSquashSettings","com.azure.resourcemanager.storagecache.models.AmlFilesystemSquashMode":"Microsoft.StorageCache.AmlFilesystemSquashMode","com.azure.resourcemanager.storagecache.models.AmlFilesystemSubnetInfo":"Microsoft.StorageCache.AmlFilesystemSubnetInfo","com.azure.resourcemanager.storagecache.models.AmlFilesystemUpdate":"Microsoft.StorageCache.AmlFilesystemUpdate","com.azure.resourcemanager.storagecache.models.AmlFilesystemUpdatePropertiesMaintenanceWindow":"Microsoft.StorageCache.AmlFilesystemUpdatePropertiesMaintenanceWindow","com.azure.resourcemanager.storagecache.models.ApiOperationDisplay":"Microsoft.StorageCache.ApiOperationDisplay","com.azure.resourcemanager.storagecache.models.ApiOperationPropertiesServiceSpecification":"Microsoft.StorageCache.ApiOperationPropertiesServiceSpecification","com.azure.resourcemanager.storagecache.models.ArchiveStatusType":"Microsoft.StorageCache.ArchiveStatusType","com.azure.resourcemanager.storagecache.models.AscOperationErrorResponse":"Microsoft.StorageCache.AscOperationErrorResponse","com.azure.resourcemanager.storagecache.models.AutoExportJobAdminStatus":"Microsoft.StorageCache.AutoExportJobAdminStatus","com.azure.resourcemanager.storagecache.models.AutoExportJobProvisioningStateType":"Microsoft.StorageCache.AutoExportJobProvisioningStateType","com.azure.resourcemanager.storagecache.models.AutoExportJobUpdate":"Microsoft.StorageCache.AutoExportJobUpdate","com.azure.resourcemanager.storagecache.models.AutoExportStatusType":"Microsoft.StorageCache.AutoExportStatusType","com.azure.resourcemanager.storagecache.models.AutoImportJobPropertiesAdminStatus":"Microsoft.StorageCache.AutoImportJobPropertiesAdminStatus","com.azure.resourcemanager.storagecache.models.AutoImportJobPropertiesProvisioningState":"Microsoft.StorageCache.AutoImportJobPropertiesProvisioningState","com.azure.resourcemanager.storagecache.models.AutoImportJobPropertiesStatusBlobSyncEvents":"Microsoft.StorageCache.AutoImportJobPropertiesStatusBlobSyncEvents","com.azure.resourcemanager.storagecache.models.AutoImportJobState":"Microsoft.StorageCache.AutoImportJobState","com.azure.resourcemanager.storagecache.models.AutoImportJobUpdate":"Microsoft.StorageCache.AutoImportJobUpdate","com.azure.resourcemanager.storagecache.models.AutoImportJobUpdatePropertiesAdminStatus":"Microsoft.StorageCache.AutoImportJobUpdatePropertiesAdminStatus","com.azure.resourcemanager.storagecache.models.BlobNfsTarget":"Microsoft.StorageCache.BlobNfsTarget","com.azure.resourcemanager.storagecache.models.CacheActiveDirectorySettings":"Microsoft.StorageCache.CacheActiveDirectorySettings","com.azure.resourcemanager.storagecache.models.CacheActiveDirectorySettingsCredentials":"Microsoft.StorageCache.CacheActiveDirectorySettingsCredentials","com.azure.resourcemanager.storagecache.models.CacheDirectorySettings":"Microsoft.StorageCache.CacheDirectorySettings","com.azure.resourcemanager.storagecache.models.CacheEncryptionSettings":"Microsoft.StorageCache.CacheEncryptionSettings","com.azure.resourcemanager.storagecache.models.CacheHealth":"Microsoft.StorageCache.CacheHealth","com.azure.resourcemanager.storagecache.models.CacheIdentity":"Microsoft.StorageCache.CacheIdentity","com.azure.resourcemanager.storagecache.models.CacheIdentityType":"Microsoft.StorageCache.CacheIdentityType","com.azure.resourcemanager.storagecache.models.CacheNetworkSettings":"Microsoft.StorageCache.CacheNetworkSettings","com.azure.resourcemanager.storagecache.models.CacheSecuritySettings":"Microsoft.StorageCache.CacheSecuritySettings","com.azure.resourcemanager.storagecache.models.CacheSku":"Microsoft.StorageCache.CacheSku","com.azure.resourcemanager.storagecache.models.CacheUpgradeSettings":"Microsoft.StorageCache.CacheUpgradeSettings","com.azure.resourcemanager.storagecache.models.CacheUpgradeStatus":"Microsoft.StorageCache.CacheUpgradeStatus","com.azure.resourcemanager.storagecache.models.CacheUsernameDownloadSettings":"Microsoft.StorageCache.CacheUsernameDownloadSettings","com.azure.resourcemanager.storagecache.models.CacheUsernameDownloadSettingsCredentials":"Microsoft.StorageCache.CacheUsernameDownloadSettingsCredentials","com.azure.resourcemanager.storagecache.models.ClfsTarget":"Microsoft.StorageCache.ClfsTarget","com.azure.resourcemanager.storagecache.models.Condition":"Microsoft.StorageCache.Condition","com.azure.resourcemanager.storagecache.models.ConflictResolutionMode":"Microsoft.StorageCache.ConflictResolutionMode","com.azure.resourcemanager.storagecache.models.DomainJoinedType":"Microsoft.StorageCache.DomainJoinedType","com.azure.resourcemanager.storagecache.models.ExpansionJobPropertiesProvisioningState":"Microsoft.StorageCache.ExpansionJobPropertiesProvisioningState","com.azure.resourcemanager.storagecache.models.ExpansionJobStatusType":"Microsoft.StorageCache.ExpansionJobStatusType","com.azure.resourcemanager.storagecache.models.ExpansionJobUpdate":"Microsoft.StorageCache.ExpansionJobUpdate","com.azure.resourcemanager.storagecache.models.FilesystemSubnetStatusType":"Microsoft.StorageCache.FilesystemSubnetStatusType","com.azure.resourcemanager.storagecache.models.FirmwareStatusType":"Microsoft.StorageCache.FirmwareStatusType","com.azure.resourcemanager.storagecache.models.HealthStateType":"Microsoft.StorageCache.HealthStateType","com.azure.resourcemanager.storagecache.models.ImportJobAdminStatus":"Microsoft.StorageCache.ImportJobAdminStatus","com.azure.resourcemanager.storagecache.models.ImportJobProvisioningStateType":"Microsoft.StorageCache.ImportJobProvisioningStateType","com.azure.resourcemanager.storagecache.models.ImportJobUpdate":"Microsoft.StorageCache.ImportJobUpdate","com.azure.resourcemanager.storagecache.models.ImportStatusType":"Microsoft.StorageCache.ImportStatusType","com.azure.resourcemanager.storagecache.models.KeyVaultKeyReference":"Microsoft.StorageCache.KeyVaultKeyReference","com.azure.resourcemanager.storagecache.models.KeyVaultKeyReferenceSourceVault":"Microsoft.StorageCache.KeyVaultKeyReferenceSourceVault","com.azure.resourcemanager.storagecache.models.LogSpecification":"Microsoft.StorageCache.LogSpecification","com.azure.resourcemanager.storagecache.models.MaintenanceDayOfWeekType":"Microsoft.StorageCache.MaintenanceDayOfWeekType","com.azure.resourcemanager.storagecache.models.MetricAggregationType":"Microsoft.StorageCache.MetricAggregationType","com.azure.resourcemanager.storagecache.models.MetricDimension":"Microsoft.StorageCache.MetricDimension","com.azure.resourcemanager.storagecache.models.MetricSpecification":"Microsoft.StorageCache.MetricSpecification","com.azure.resourcemanager.storagecache.models.NamespaceJunction":"Microsoft.StorageCache.NamespaceJunction","com.azure.resourcemanager.storagecache.models.Nfs3Target":"Microsoft.StorageCache.Nfs3Target","com.azure.resourcemanager.storagecache.models.NfsAccessPolicy":"Microsoft.StorageCache.NfsAccessPolicy","com.azure.resourcemanager.storagecache.models.NfsAccessRule":"Microsoft.StorageCache.NfsAccessRule","com.azure.resourcemanager.storagecache.models.NfsAccessRuleAccess":"Microsoft.StorageCache.NfsAccessRuleAccess","com.azure.resourcemanager.storagecache.models.NfsAccessRuleScope":"Microsoft.StorageCache.NfsAccessRuleScope","com.azure.resourcemanager.storagecache.models.OperationalStateType":"Microsoft.StorageCache.OperationalStateType","com.azure.resourcemanager.storagecache.models.PrimingJob":"Microsoft.StorageCache.PrimingJob","com.azure.resourcemanager.storagecache.models.PrimingJobIdParameter":"Microsoft.StorageCache.PrimingJobIdParameter","com.azure.resourcemanager.storagecache.models.PrimingJobState":"Microsoft.StorageCache.PrimingJobState","com.azure.resourcemanager.storagecache.models.ProvisioningStateType":"Microsoft.StorageCache.ProvisioningStateType","com.azure.resourcemanager.storagecache.models.ReasonCode":"Microsoft.StorageCache.ReasonCode","com.azure.resourcemanager.storagecache.models.RequiredAmlFilesystemSubnetsSizeInfo":"Microsoft.StorageCache.RequiredAmlFilesystemSubnetsSizeInfo","com.azure.resourcemanager.storagecache.models.ResourceSkuCapabilities":"Microsoft.StorageCache.ResourceSkuCapabilities","com.azure.resourcemanager.storagecache.models.ResourceSkuLocationInfo":"Microsoft.StorageCache.ResourceSkuLocationInfo","com.azure.resourcemanager.storagecache.models.ResourceUsageName":"Microsoft.StorageCache.ResourceUsageName","com.azure.resourcemanager.storagecache.models.Restriction":"Microsoft.StorageCache.Restriction","com.azure.resourcemanager.storagecache.models.SkuName":"Microsoft.StorageCache.SkuName","com.azure.resourcemanager.storagecache.models.StorageTargetSpaceAllocation":"Microsoft.StorageCache.StorageTargetSpaceAllocation","com.azure.resourcemanager.storagecache.models.StorageTargetType":"Microsoft.StorageCache.StorageTargetType","com.azure.resourcemanager.storagecache.models.UnknownTarget":"Microsoft.StorageCache.UnknownTarget","com.azure.resourcemanager.storagecache.models.UsageModelDisplay":"Microsoft.StorageCache.UsageModelDisplay","com.azure.resourcemanager.storagecache.models.UserAssignedIdentitiesValue":"Microsoft.StorageCache.userAssignedIdentitiesValue","com.azure.resourcemanager.storagecache.models.UsernameDownloadedType":"Microsoft.StorageCache.UsernameDownloadedType","com.azure.resourcemanager.storagecache.models.UsernameSource":"Microsoft.StorageCache.UsernameSource"},"generatedFiles":["src/main/java/com/azure/resourcemanager/storagecache/StorageCacheManager.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AmlFilesystemsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AscOperationsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AscUsagesClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AutoExportJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AutoImportJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/CachesClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/ExpansionJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/ImportJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/ResourceProvidersClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/SkusClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageCacheManagementClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageTargetOperationsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageTargetsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/UsageModelsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AmlFilesystemInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AmlFilesystemProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AmlFilesystemUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ApiOperationInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ApiOperationProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AscOperationInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AscOperationProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/CacheInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/CacheProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ImportJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ImportJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ImportJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ImportJobUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/RequiredAmlFilesystemSubnetsSizeInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ResourceSkuInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ResourceUsageInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/StorageTargetInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/StorageTargetProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/UsageModelInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/package-info.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ApiOperationImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscUsagesClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscUsagesImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoExportJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoExportJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoExportJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoImportJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoImportJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoImportJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/CacheImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/CachesClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/CachesImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ImportJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ImportJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ImportJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/RequiredAmlFilesystemSubnetsSizeImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceProvidersImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceSkuImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceUsageImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/SkusClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/SkusImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageCacheManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageCacheManagementClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetOperationsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/UsageModelImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/UsageModelsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/UsageModelsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/AmlFilesystemsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ApiOperationListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/AutoExportJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/AutoImportJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/CachesListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ExpansionJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ImportJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ResourceSkusResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ResourceUsagesListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/StorageTargetsResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/UsageModelsResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/package-info.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystem.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemArchive.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemArchiveInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemArchiveStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemCheckSubnetError.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemCheckSubnetErrorException.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemCheckSubnetErrorFilesystemSubnet.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemClientInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemContainerStorageInterface.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemEncryptionSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemHealth.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemHealthStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemHsmSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemIdentity.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemIdentityType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemPropertiesHsm.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemPropertiesMaintenanceWindow.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemProvisioningStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemRootSquashSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemSquashMode.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemSubnetInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemUpdatePropertiesMaintenanceWindow.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystems.java","src/main/java/com/azure/resourcemanager/storagecache/models/ApiOperation.java","src/main/java/com/azure/resourcemanager/storagecache/models/ApiOperationDisplay.java","src/main/java/com/azure/resourcemanager/storagecache/models/ApiOperationPropertiesServiceSpecification.java","src/main/java/com/azure/resourcemanager/storagecache/models/ArchiveStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AscOperation.java","src/main/java/com/azure/resourcemanager/storagecache/models/AscOperationErrorResponse.java","src/main/java/com/azure/resourcemanager/storagecache/models/AscOperations.java","src/main/java/com/azure/resourcemanager/storagecache/models/AscUsages.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJobAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJobProvisioningStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobPropertiesAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobPropertiesProvisioningState.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobPropertiesStatusBlobSyncEvents.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobState.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobUpdatePropertiesAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/BlobNfsTarget.java","src/main/java/com/azure/resourcemanager/storagecache/models/Cache.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheActiveDirectorySettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheActiveDirectorySettingsCredentials.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheDirectorySettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheEncryptionSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheHealth.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheIdentity.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheIdentityType.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheNetworkSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheSecuritySettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheSku.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheUpgradeSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheUpgradeStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheUsernameDownloadSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheUsernameDownloadSettingsCredentials.java","src/main/java/com/azure/resourcemanager/storagecache/models/Caches.java","src/main/java/com/azure/resourcemanager/storagecache/models/ClfsTarget.java","src/main/java/com/azure/resourcemanager/storagecache/models/Condition.java","src/main/java/com/azure/resourcemanager/storagecache/models/ConflictResolutionMode.java","src/main/java/com/azure/resourcemanager/storagecache/models/DomainJoinedType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJobPropertiesProvisioningState.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJobStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/FilesystemSubnetStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/FirmwareStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/HealthStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJobAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJobProvisioningStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/KeyVaultKeyReference.java","src/main/java/com/azure/resourcemanager/storagecache/models/KeyVaultKeyReferenceSourceVault.java","src/main/java/com/azure/resourcemanager/storagecache/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/storagecache/models/MaintenanceDayOfWeekType.java","src/main/java/com/azure/resourcemanager/storagecache/models/MetricAggregationType.java","src/main/java/com/azure/resourcemanager/storagecache/models/MetricDimension.java","src/main/java/com/azure/resourcemanager/storagecache/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/storagecache/models/NamespaceJunction.java","src/main/java/com/azure/resourcemanager/storagecache/models/Nfs3Target.java","src/main/java/com/azure/resourcemanager/storagecache/models/NfsAccessPolicy.java","src/main/java/com/azure/resourcemanager/storagecache/models/NfsAccessRule.java","src/main/java/com/azure/resourcemanager/storagecache/models/NfsAccessRuleAccess.java","src/main/java/com/azure/resourcemanager/storagecache/models/NfsAccessRuleScope.java","src/main/java/com/azure/resourcemanager/storagecache/models/OperationalStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/Operations.java","src/main/java/com/azure/resourcemanager/storagecache/models/PrimingJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/PrimingJobIdParameter.java","src/main/java/com/azure/resourcemanager/storagecache/models/PrimingJobState.java","src/main/java/com/azure/resourcemanager/storagecache/models/ProvisioningStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ReasonCode.java","src/main/java/com/azure/resourcemanager/storagecache/models/RequiredAmlFilesystemSubnetsSize.java","src/main/java/com/azure/resourcemanager/storagecache/models/RequiredAmlFilesystemSubnetsSizeInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceProviders.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceSku.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceSkuCapabilities.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceSkuLocationInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceUsage.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceUsageName.java","src/main/java/com/azure/resourcemanager/storagecache/models/Restriction.java","src/main/java/com/azure/resourcemanager/storagecache/models/SkuName.java","src/main/java/com/azure/resourcemanager/storagecache/models/Skus.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTarget.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTargetOperations.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTargetSpaceAllocation.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTargetType.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTargets.java","src/main/java/com/azure/resourcemanager/storagecache/models/UnknownTarget.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsageModel.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsageModelDisplay.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsageModels.java","src/main/java/com/azure/resourcemanager/storagecache/models/UserAssignedIdentitiesValue.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsernameDownloadedType.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsernameSource.java","src/main/java/com/azure/resourcemanager/storagecache/models/package-info.java","src/main/java/com/azure/resourcemanager/storagecache/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file +{"flavor":"azure","apiVersions":{"Microsoft.StorageCache":"2026-08-01"},"crossLanguagePackageId":"Microsoft.StorageCache","crossLanguageVersion":"301ccc82d9ec","crossLanguageDefinitions":{"com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.archive":"Microsoft.StorageCache.AmlFilesystems.archive","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.archiveWithResponse":"Microsoft.StorageCache.AmlFilesystems.archive","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.beginCreateOrUpdate":"Microsoft.StorageCache.AmlFilesystems.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.beginDelete":"Microsoft.StorageCache.AmlFilesystems.delete","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.beginUpdate":"Microsoft.StorageCache.AmlFilesystems.update","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.cancelArchive":"Microsoft.StorageCache.AmlFilesystems.cancelArchive","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.cancelArchiveWithResponse":"Microsoft.StorageCache.AmlFilesystems.cancelArchive","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.createOrUpdate":"Microsoft.StorageCache.AmlFilesystems.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.delete":"Microsoft.StorageCache.AmlFilesystems.delete","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.getByResourceGroup":"Microsoft.StorageCache.AmlFilesystems.get","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.getByResourceGroupWithResponse":"Microsoft.StorageCache.AmlFilesystems.get","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.list":"Microsoft.StorageCache.AmlFilesystems.list","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.listByResourceGroup":"Microsoft.StorageCache.AmlFilesystems.listByResourceGroup","com.azure.resourcemanager.storagecache.fluent.AmlFilesystemsClient.update":"Microsoft.StorageCache.AmlFilesystems.update","com.azure.resourcemanager.storagecache.fluent.AscOperationsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AscOperationsClient.get":"Microsoft.StorageCache.AscOperationsOperationGroup.get","com.azure.resourcemanager.storagecache.fluent.AscOperationsClient.getWithResponse":"Microsoft.StorageCache.AscOperationsOperationGroup.get","com.azure.resourcemanager.storagecache.fluent.AscUsagesClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AscUsagesClient.list":"Microsoft.StorageCache.AscUsagesOperationGroup.list","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.beginCreateOrUpdate":"Microsoft.StorageCache.AutoExportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.beginDelete":"Microsoft.StorageCache.AutoExportJobs.delete","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.beginUpdate":"Microsoft.StorageCache.AutoExportJobs.update","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.createOrUpdate":"Microsoft.StorageCache.AutoExportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.delete":"Microsoft.StorageCache.AutoExportJobs.delete","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.get":"Microsoft.StorageCache.AutoExportJobs.get","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.getWithResponse":"Microsoft.StorageCache.AutoExportJobs.get","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.AutoExportJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.AutoExportJobsClient.update":"Microsoft.StorageCache.AutoExportJobs.update","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.beginCreateOrUpdate":"Microsoft.StorageCache.AutoImportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.beginDelete":"Microsoft.StorageCache.AutoImportJobs.delete","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.beginUpdate":"Microsoft.StorageCache.AutoImportJobs.update","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.createOrUpdate":"Microsoft.StorageCache.AutoImportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.delete":"Microsoft.StorageCache.AutoImportJobs.delete","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.get":"Microsoft.StorageCache.AutoImportJobs.get","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.getWithResponse":"Microsoft.StorageCache.AutoImportJobs.get","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.AutoImportJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.AutoImportJobsClient.update":"Microsoft.StorageCache.AutoImportJobs.update","com.azure.resourcemanager.storagecache.fluent.CachesClient":"Microsoft.StorageCache.Caches","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginCreateOrUpdate":"Microsoft.StorageCache.Caches.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginDebugInfo":"Microsoft.StorageCache.Caches.debugInfo","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginDelete":"Microsoft.StorageCache.Caches.delete","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginFlush":"Microsoft.StorageCache.Caches.flush","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginPausePrimingJob":"Microsoft.StorageCache.Caches.pausePrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginResumePrimingJob":"Microsoft.StorageCache.Caches.resumePrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginSpaceAllocation":"Microsoft.StorageCache.Caches.spaceAllocation","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginStart":"Microsoft.StorageCache.Caches.start","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginStartPrimingJob":"Microsoft.StorageCache.Caches.startPrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginStop":"Microsoft.StorageCache.Caches.stop","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginStopPrimingJob":"Microsoft.StorageCache.Caches.stopPrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginUpdate":"Microsoft.StorageCache.Caches.update","com.azure.resourcemanager.storagecache.fluent.CachesClient.beginUpgradeFirmware":"Microsoft.StorageCache.Caches.upgradeFirmware","com.azure.resourcemanager.storagecache.fluent.CachesClient.createOrUpdate":"Microsoft.StorageCache.Caches.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.CachesClient.debugInfo":"Microsoft.StorageCache.Caches.debugInfo","com.azure.resourcemanager.storagecache.fluent.CachesClient.delete":"Microsoft.StorageCache.Caches.delete","com.azure.resourcemanager.storagecache.fluent.CachesClient.flush":"Microsoft.StorageCache.Caches.flush","com.azure.resourcemanager.storagecache.fluent.CachesClient.getByResourceGroup":"Microsoft.StorageCache.Caches.get","com.azure.resourcemanager.storagecache.fluent.CachesClient.getByResourceGroupWithResponse":"Microsoft.StorageCache.Caches.get","com.azure.resourcemanager.storagecache.fluent.CachesClient.list":"Microsoft.StorageCache.Caches.list","com.azure.resourcemanager.storagecache.fluent.CachesClient.listByResourceGroup":"Microsoft.StorageCache.Caches.listByResourceGroup","com.azure.resourcemanager.storagecache.fluent.CachesClient.pausePrimingJob":"Microsoft.StorageCache.Caches.pausePrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.resumePrimingJob":"Microsoft.StorageCache.Caches.resumePrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.spaceAllocation":"Microsoft.StorageCache.Caches.spaceAllocation","com.azure.resourcemanager.storagecache.fluent.CachesClient.start":"Microsoft.StorageCache.Caches.start","com.azure.resourcemanager.storagecache.fluent.CachesClient.startPrimingJob":"Microsoft.StorageCache.Caches.startPrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.stop":"Microsoft.StorageCache.Caches.stop","com.azure.resourcemanager.storagecache.fluent.CachesClient.stopPrimingJob":"Microsoft.StorageCache.Caches.stopPrimingJob","com.azure.resourcemanager.storagecache.fluent.CachesClient.update":"Microsoft.StorageCache.Caches.update","com.azure.resourcemanager.storagecache.fluent.CachesClient.upgradeFirmware":"Microsoft.StorageCache.Caches.upgradeFirmware","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.beginCreateOrUpdate":"Microsoft.StorageCache.ExpansionJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.beginDelete":"Microsoft.StorageCache.ExpansionJobs.delete","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.beginUpdate":"Microsoft.StorageCache.ExpansionJobs.update","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.createOrUpdate":"Microsoft.StorageCache.ExpansionJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.delete":"Microsoft.StorageCache.ExpansionJobs.delete","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.get":"Microsoft.StorageCache.ExpansionJobs.get","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.getWithResponse":"Microsoft.StorageCache.ExpansionJobs.get","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.ExpansionJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.ExpansionJobsClient.update":"Microsoft.StorageCache.ExpansionJobs.update","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.beginCreateOrUpdate":"Microsoft.StorageCache.ImportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.beginDelete":"Microsoft.StorageCache.ImportJobs.delete","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.beginUpdate":"Microsoft.StorageCache.ImportJobs.update","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.createOrUpdate":"Microsoft.StorageCache.ImportJobs.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.delete":"Microsoft.StorageCache.ImportJobs.delete","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.get":"Microsoft.StorageCache.ImportJobs.get","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.getWithResponse":"Microsoft.StorageCache.ImportJobs.get","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.ImportJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.ImportJobsClient.update":"Microsoft.StorageCache.ImportJobs.update","com.azure.resourcemanager.storagecache.fluent.OperationsClient":"Microsoft.StorageCache.Operations","com.azure.resourcemanager.storagecache.fluent.OperationsClient.list":"Azure.ResourceManager.Legacy.Operations.list","com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient":"Microsoft.StorageCache.RebalanceJobs","com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient.beginDelete":"Microsoft.StorageCache.RebalanceJobs.delete","com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient.beginUpdate":"Microsoft.StorageCache.RebalanceJobs.update","com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient.delete":"Microsoft.StorageCache.RebalanceJobs.delete","com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient.get":"Microsoft.StorageCache.RebalanceJobs.get","com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient.getWithResponse":"Microsoft.StorageCache.RebalanceJobs.get","com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient.listByAmlFilesystem":"Microsoft.StorageCache.RebalanceJobs.listByAmlFilesystem","com.azure.resourcemanager.storagecache.fluent.RebalanceJobsClient.update":"Microsoft.StorageCache.RebalanceJobs.update","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient.checkAmlFSSubnets":"Microsoft.StorageCache.checkAmlFSSubnets","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient.checkAmlFSSubnetsWithResponse":"Microsoft.StorageCache.checkAmlFSSubnets","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient.getRequiredAmlFSSubnetsSize":"Microsoft.StorageCache.getRequiredAmlFSSubnetsSize","com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient.getRequiredAmlFSSubnetsSizeWithResponse":"Microsoft.StorageCache.getRequiredAmlFSSubnetsSize","com.azure.resourcemanager.storagecache.fluent.SkusClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.SkusClient.list":"Microsoft.StorageCache.SkusOperationGroup.list","com.azure.resourcemanager.storagecache.fluent.StorageCacheManagementClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.beginFlush":"Microsoft.StorageCache.StorageTargets.flush","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.beginInvalidate":"Microsoft.StorageCache.StorageTargets.invalidate","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.beginResume":"Microsoft.StorageCache.StorageTargets.resume","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.beginSuspend":"Microsoft.StorageCache.StorageTargets.suspend","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.flush":"Microsoft.StorageCache.StorageTargets.flush","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.invalidate":"Microsoft.StorageCache.StorageTargets.invalidate","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.resume":"Microsoft.StorageCache.StorageTargets.resume","com.azure.resourcemanager.storagecache.fluent.StorageTargetOperationsClient.suspend":"Microsoft.StorageCache.StorageTargets.suspend","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient":"Microsoft.StorageCache.StorageTargets","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.beginCreateOrUpdate":"Microsoft.StorageCache.StorageTargets.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.beginDelete":"Microsoft.StorageCache.StorageTargets.delete","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.beginDnsRefresh":"Microsoft.StorageCache.StorageTargets.dnsRefresh","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.beginRestoreDefaults":"Microsoft.StorageCache.StorageTargets.restoreDefaults","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.createOrUpdate":"Microsoft.StorageCache.StorageTargets.createOrUpdate","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.delete":"Microsoft.StorageCache.StorageTargets.delete","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.dnsRefresh":"Microsoft.StorageCache.StorageTargets.dnsRefresh","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.get":"Microsoft.StorageCache.StorageTargets.get","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.getWithResponse":"Microsoft.StorageCache.StorageTargets.get","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.listByCache":"Microsoft.StorageCache.StorageTargets.listByCache","com.azure.resourcemanager.storagecache.fluent.StorageTargetsClient.restoreDefaults":"Microsoft.StorageCache.StorageTargets.restoreDefaults","com.azure.resourcemanager.storagecache.fluent.UsageModelsClient":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.fluent.UsageModelsClient.list":"Microsoft.StorageCache.UsageModelsOperationGroup.list","com.azure.resourcemanager.storagecache.fluent.models.AmlFilesystemInner":"Microsoft.StorageCache.AmlFilesystem","com.azure.resourcemanager.storagecache.fluent.models.AmlFilesystemProperties":"Microsoft.StorageCache.AmlFilesystemProperties","com.azure.resourcemanager.storagecache.fluent.models.AmlFilesystemUpdateProperties":"Microsoft.StorageCache.AmlFilesystemUpdateProperties","com.azure.resourcemanager.storagecache.fluent.models.ApiOperationInner":"Microsoft.StorageCache.ApiOperation","com.azure.resourcemanager.storagecache.fluent.models.ApiOperationProperties":"Microsoft.StorageCache.ApiOperationProperties","com.azure.resourcemanager.storagecache.fluent.models.AscOperationInner":"Microsoft.StorageCache.AscOperation","com.azure.resourcemanager.storagecache.fluent.models.AscOperationProperties":"Microsoft.StorageCache.AscOperationProperties","com.azure.resourcemanager.storagecache.fluent.models.AutoExportJobInner":"Microsoft.StorageCache.AutoExportJob","com.azure.resourcemanager.storagecache.fluent.models.AutoExportJobProperties":"Microsoft.StorageCache.AutoExportJobProperties","com.azure.resourcemanager.storagecache.fluent.models.AutoExportJobPropertiesStatus":"Microsoft.StorageCache.AutoExportJobPropertiesStatus","com.azure.resourcemanager.storagecache.fluent.models.AutoExportJobUpdateProperties":"Microsoft.StorageCache.AutoExportJobUpdateProperties","com.azure.resourcemanager.storagecache.fluent.models.AutoImportJobInner":"Microsoft.StorageCache.AutoImportJob","com.azure.resourcemanager.storagecache.fluent.models.AutoImportJobProperties":"Microsoft.StorageCache.AutoImportJobProperties","com.azure.resourcemanager.storagecache.fluent.models.AutoImportJobPropertiesStatus":"Microsoft.StorageCache.AutoImportJobPropertiesStatus","com.azure.resourcemanager.storagecache.fluent.models.AutoImportJobUpdateProperties":"Microsoft.StorageCache.AutoImportJobUpdateProperties","com.azure.resourcemanager.storagecache.fluent.models.CacheInner":"Microsoft.StorageCache.Cache","com.azure.resourcemanager.storagecache.fluent.models.CacheProperties":"Microsoft.StorageCache.CacheProperties","com.azure.resourcemanager.storagecache.fluent.models.ExpansionJobInner":"Microsoft.StorageCache.ExpansionJob","com.azure.resourcemanager.storagecache.fluent.models.ExpansionJobProperties":"Microsoft.StorageCache.ExpansionJobProperties","com.azure.resourcemanager.storagecache.fluent.models.ExpansionJobPropertiesStatus":"Microsoft.StorageCache.ExpansionJobPropertiesStatus","com.azure.resourcemanager.storagecache.fluent.models.ImportJobInner":"Microsoft.StorageCache.ImportJob","com.azure.resourcemanager.storagecache.fluent.models.ImportJobProperties":"Microsoft.StorageCache.ImportJobProperties","com.azure.resourcemanager.storagecache.fluent.models.ImportJobPropertiesStatus":"Microsoft.StorageCache.ImportJobPropertiesStatus","com.azure.resourcemanager.storagecache.fluent.models.ImportJobUpdateProperties":"Microsoft.StorageCache.ImportJobUpdateProperties","com.azure.resourcemanager.storagecache.fluent.models.RebalanceJobInner":"Microsoft.StorageCache.RebalanceJob","com.azure.resourcemanager.storagecache.fluent.models.RequiredAmlFilesystemSubnetsSizeInner":"Microsoft.StorageCache.RequiredAmlFilesystemSubnetsSize","com.azure.resourcemanager.storagecache.fluent.models.ResourceSkuInner":"Microsoft.StorageCache.ResourceSku","com.azure.resourcemanager.storagecache.fluent.models.ResourceUsageInner":"Microsoft.StorageCache.ResourceUsage","com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner":"Microsoft.StorageCache.StorageTarget","com.azure.resourcemanager.storagecache.fluent.models.StorageTargetProperties":"Microsoft.StorageCache.StorageTargetProperties","com.azure.resourcemanager.storagecache.fluent.models.UsageModelInner":"Microsoft.StorageCache.UsageModel","com.azure.resourcemanager.storagecache.implementation.StorageCacheManagementClientBuilder":"Microsoft.StorageCache","com.azure.resourcemanager.storagecache.implementation.models.AmlFilesystemsListResult":"Microsoft.StorageCache.AmlFilesystemsListResult","com.azure.resourcemanager.storagecache.implementation.models.ApiOperationListResult":"Microsoft.StorageCache.ApiOperationListResult","com.azure.resourcemanager.storagecache.implementation.models.AutoExportJobsListResult":"Microsoft.StorageCache.AutoExportJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.AutoImportJobsListResult":"Microsoft.StorageCache.AutoImportJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.CachesListResult":"Microsoft.StorageCache.CachesListResult","com.azure.resourcemanager.storagecache.implementation.models.ExpansionJobsListResult":"Microsoft.StorageCache.ExpansionJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.ImportJobsListResult":"Microsoft.StorageCache.ImportJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.RebalanceJobsListResult":"Microsoft.StorageCache.RebalanceJobsListResult","com.azure.resourcemanager.storagecache.implementation.models.ResourceSkusResult":"Microsoft.StorageCache.ResourceSkusResult","com.azure.resourcemanager.storagecache.implementation.models.ResourceUsagesListResult":"Microsoft.StorageCache.ResourceUsagesListResult","com.azure.resourcemanager.storagecache.implementation.models.StorageTargetsResult":"Microsoft.StorageCache.StorageTargetsResult","com.azure.resourcemanager.storagecache.implementation.models.UsageModelsResult":"Microsoft.StorageCache.UsageModelsResult","com.azure.resourcemanager.storagecache.models.AmlFilesystemArchive":"Microsoft.StorageCache.AmlFilesystemArchive","com.azure.resourcemanager.storagecache.models.AmlFilesystemArchiveInfo":"Microsoft.StorageCache.AmlFilesystemArchiveInfo","com.azure.resourcemanager.storagecache.models.AmlFilesystemArchiveStatus":"Microsoft.StorageCache.AmlFilesystemArchiveStatus","com.azure.resourcemanager.storagecache.models.AmlFilesystemCheckSubnetError":"Microsoft.StorageCache.AmlFilesystemCheckSubnetError","com.azure.resourcemanager.storagecache.models.AmlFilesystemCheckSubnetErrorFilesystemSubnet":"Microsoft.StorageCache.AmlFilesystemCheckSubnetErrorFilesystemSubnet","com.azure.resourcemanager.storagecache.models.AmlFilesystemClientInfo":"Microsoft.StorageCache.AmlFilesystemClientInfo","com.azure.resourcemanager.storagecache.models.AmlFilesystemContainerStorageInterface":"Microsoft.StorageCache.AmlFilesystemContainerStorageInterface","com.azure.resourcemanager.storagecache.models.AmlFilesystemEncryptionSettings":"Microsoft.StorageCache.AmlFilesystemEncryptionSettings","com.azure.resourcemanager.storagecache.models.AmlFilesystemHealth":"Microsoft.StorageCache.AmlFilesystemHealth","com.azure.resourcemanager.storagecache.models.AmlFilesystemHealthStateType":"Microsoft.StorageCache.AmlFilesystemHealthStateType","com.azure.resourcemanager.storagecache.models.AmlFilesystemHsmSettings":"Microsoft.StorageCache.AmlFilesystemHsmSettings","com.azure.resourcemanager.storagecache.models.AmlFilesystemIdentity":"Microsoft.StorageCache.AmlFilesystemIdentity","com.azure.resourcemanager.storagecache.models.AmlFilesystemIdentityType":"Microsoft.StorageCache.AmlFilesystemIdentityType","com.azure.resourcemanager.storagecache.models.AmlFilesystemPropertiesHsm":"Microsoft.StorageCache.AmlFilesystemPropertiesHsm","com.azure.resourcemanager.storagecache.models.AmlFilesystemPropertiesMaintenanceWindow":"Microsoft.StorageCache.AmlFilesystemPropertiesMaintenanceWindow","com.azure.resourcemanager.storagecache.models.AmlFilesystemProvisioningStateType":"Microsoft.StorageCache.AmlFilesystemProvisioningStateType","com.azure.resourcemanager.storagecache.models.AmlFilesystemRootSquashSettings":"Microsoft.StorageCache.AmlFilesystemRootSquashSettings","com.azure.resourcemanager.storagecache.models.AmlFilesystemSquashMode":"Microsoft.StorageCache.AmlFilesystemSquashMode","com.azure.resourcemanager.storagecache.models.AmlFilesystemSubnetInfo":"Microsoft.StorageCache.AmlFilesystemSubnetInfo","com.azure.resourcemanager.storagecache.models.AmlFilesystemUpdate":"Microsoft.StorageCache.AmlFilesystemUpdate","com.azure.resourcemanager.storagecache.models.AmlFilesystemUpdatePropertiesMaintenanceWindow":"Microsoft.StorageCache.AmlFilesystemUpdatePropertiesMaintenanceWindow","com.azure.resourcemanager.storagecache.models.ApiOperationDisplay":"Microsoft.StorageCache.ApiOperationDisplay","com.azure.resourcemanager.storagecache.models.ApiOperationPropertiesServiceSpecification":"Microsoft.StorageCache.ApiOperationPropertiesServiceSpecification","com.azure.resourcemanager.storagecache.models.ArchiveStatusType":"Microsoft.StorageCache.ArchiveStatusType","com.azure.resourcemanager.storagecache.models.AscOperationErrorResponse":"Microsoft.StorageCache.AscOperationErrorResponse","com.azure.resourcemanager.storagecache.models.AutoExportJobAdminStatus":"Microsoft.StorageCache.AutoExportJobAdminStatus","com.azure.resourcemanager.storagecache.models.AutoExportJobProvisioningStateType":"Microsoft.StorageCache.AutoExportJobProvisioningStateType","com.azure.resourcemanager.storagecache.models.AutoExportJobUpdate":"Microsoft.StorageCache.AutoExportJobUpdate","com.azure.resourcemanager.storagecache.models.AutoExportStatusType":"Microsoft.StorageCache.AutoExportStatusType","com.azure.resourcemanager.storagecache.models.AutoImportJobPropertiesAdminStatus":"Microsoft.StorageCache.AutoImportJobPropertiesAdminStatus","com.azure.resourcemanager.storagecache.models.AutoImportJobPropertiesProvisioningState":"Microsoft.StorageCache.AutoImportJobPropertiesProvisioningState","com.azure.resourcemanager.storagecache.models.AutoImportJobPropertiesStatusBlobSyncEvents":"Microsoft.StorageCache.AutoImportJobPropertiesStatusBlobSyncEvents","com.azure.resourcemanager.storagecache.models.AutoImportJobState":"Microsoft.StorageCache.AutoImportJobState","com.azure.resourcemanager.storagecache.models.AutoImportJobUpdate":"Microsoft.StorageCache.AutoImportJobUpdate","com.azure.resourcemanager.storagecache.models.AutoImportJobUpdatePropertiesAdminStatus":"Microsoft.StorageCache.AutoImportJobUpdatePropertiesAdminStatus","com.azure.resourcemanager.storagecache.models.BlobNfsTarget":"Microsoft.StorageCache.BlobNfsTarget","com.azure.resourcemanager.storagecache.models.CacheActiveDirectorySettings":"Microsoft.StorageCache.CacheActiveDirectorySettings","com.azure.resourcemanager.storagecache.models.CacheActiveDirectorySettingsCredentials":"Microsoft.StorageCache.CacheActiveDirectorySettingsCredentials","com.azure.resourcemanager.storagecache.models.CacheDirectorySettings":"Microsoft.StorageCache.CacheDirectorySettings","com.azure.resourcemanager.storagecache.models.CacheEncryptionSettings":"Microsoft.StorageCache.CacheEncryptionSettings","com.azure.resourcemanager.storagecache.models.CacheHealth":"Microsoft.StorageCache.CacheHealth","com.azure.resourcemanager.storagecache.models.CacheIdentity":"Microsoft.StorageCache.CacheIdentity","com.azure.resourcemanager.storagecache.models.CacheIdentityType":"Microsoft.StorageCache.CacheIdentityType","com.azure.resourcemanager.storagecache.models.CacheNetworkSettings":"Microsoft.StorageCache.CacheNetworkSettings","com.azure.resourcemanager.storagecache.models.CacheSecuritySettings":"Microsoft.StorageCache.CacheSecuritySettings","com.azure.resourcemanager.storagecache.models.CacheSku":"Microsoft.StorageCache.CacheSku","com.azure.resourcemanager.storagecache.models.CacheUpgradeSettings":"Microsoft.StorageCache.CacheUpgradeSettings","com.azure.resourcemanager.storagecache.models.CacheUpgradeStatus":"Microsoft.StorageCache.CacheUpgradeStatus","com.azure.resourcemanager.storagecache.models.CacheUsernameDownloadSettings":"Microsoft.StorageCache.CacheUsernameDownloadSettings","com.azure.resourcemanager.storagecache.models.CacheUsernameDownloadSettingsCredentials":"Microsoft.StorageCache.CacheUsernameDownloadSettingsCredentials","com.azure.resourcemanager.storagecache.models.ClfsTarget":"Microsoft.StorageCache.ClfsTarget","com.azure.resourcemanager.storagecache.models.Condition":"Microsoft.StorageCache.Condition","com.azure.resourcemanager.storagecache.models.ConflictResolutionMode":"Microsoft.StorageCache.ConflictResolutionMode","com.azure.resourcemanager.storagecache.models.DomainJoinedType":"Microsoft.StorageCache.DomainJoinedType","com.azure.resourcemanager.storagecache.models.ExpansionJobPropertiesProvisioningState":"Microsoft.StorageCache.ExpansionJobPropertiesProvisioningState","com.azure.resourcemanager.storagecache.models.ExpansionJobStatusType":"Microsoft.StorageCache.ExpansionJobStatusType","com.azure.resourcemanager.storagecache.models.ExpansionJobUpdate":"Microsoft.StorageCache.ExpansionJobUpdate","com.azure.resourcemanager.storagecache.models.FilesystemSubnetStatusType":"Microsoft.StorageCache.FilesystemSubnetStatusType","com.azure.resourcemanager.storagecache.models.FirmwareStatusType":"Microsoft.StorageCache.FirmwareStatusType","com.azure.resourcemanager.storagecache.models.HealthStateType":"Microsoft.StorageCache.HealthStateType","com.azure.resourcemanager.storagecache.models.ImportJobAdminStatus":"Microsoft.StorageCache.ImportJobAdminStatus","com.azure.resourcemanager.storagecache.models.ImportJobProvisioningStateType":"Microsoft.StorageCache.ImportJobProvisioningStateType","com.azure.resourcemanager.storagecache.models.ImportJobUpdate":"Microsoft.StorageCache.ImportJobUpdate","com.azure.resourcemanager.storagecache.models.ImportStatusType":"Microsoft.StorageCache.ImportStatusType","com.azure.resourcemanager.storagecache.models.KeyVaultKeyReference":"Microsoft.StorageCache.KeyVaultKeyReference","com.azure.resourcemanager.storagecache.models.KeyVaultKeyReferenceSourceVault":"Microsoft.StorageCache.KeyVaultKeyReferenceSourceVault","com.azure.resourcemanager.storagecache.models.LogSpecification":"Microsoft.StorageCache.LogSpecification","com.azure.resourcemanager.storagecache.models.MaintenanceDayOfWeekType":"Microsoft.StorageCache.MaintenanceDayOfWeekType","com.azure.resourcemanager.storagecache.models.MetricAggregationType":"Microsoft.StorageCache.MetricAggregationType","com.azure.resourcemanager.storagecache.models.MetricDimension":"Microsoft.StorageCache.MetricDimension","com.azure.resourcemanager.storagecache.models.MetricSpecification":"Microsoft.StorageCache.MetricSpecification","com.azure.resourcemanager.storagecache.models.NamespaceJunction":"Microsoft.StorageCache.NamespaceJunction","com.azure.resourcemanager.storagecache.models.Nfs3Target":"Microsoft.StorageCache.Nfs3Target","com.azure.resourcemanager.storagecache.models.NfsAccessPolicy":"Microsoft.StorageCache.NfsAccessPolicy","com.azure.resourcemanager.storagecache.models.NfsAccessRule":"Microsoft.StorageCache.NfsAccessRule","com.azure.resourcemanager.storagecache.models.NfsAccessRuleAccess":"Microsoft.StorageCache.NfsAccessRuleAccess","com.azure.resourcemanager.storagecache.models.NfsAccessRuleScope":"Microsoft.StorageCache.NfsAccessRuleScope","com.azure.resourcemanager.storagecache.models.OperationalStateType":"Microsoft.StorageCache.OperationalStateType","com.azure.resourcemanager.storagecache.models.PrimingJob":"Microsoft.StorageCache.PrimingJob","com.azure.resourcemanager.storagecache.models.PrimingJobIdParameter":"Microsoft.StorageCache.PrimingJobIdParameter","com.azure.resourcemanager.storagecache.models.PrimingJobState":"Microsoft.StorageCache.PrimingJobState","com.azure.resourcemanager.storagecache.models.ProvisioningStateType":"Microsoft.StorageCache.ProvisioningStateType","com.azure.resourcemanager.storagecache.models.ReasonCode":"Microsoft.StorageCache.ReasonCode","com.azure.resourcemanager.storagecache.models.RebalanceJobAdminStatus":"Microsoft.StorageCache.RebalanceJobAdminStatus","com.azure.resourcemanager.storagecache.models.RebalanceJobProperties":"Microsoft.StorageCache.RebalanceJobProperties","com.azure.resourcemanager.storagecache.models.RebalanceJobPropertiesProvisioningState":"Microsoft.StorageCache.RebalanceJobPropertiesProvisioningState","com.azure.resourcemanager.storagecache.models.RebalanceJobPropertiesStatus":"Microsoft.StorageCache.RebalanceJobPropertiesStatus","com.azure.resourcemanager.storagecache.models.RebalanceJobStatusType":"Microsoft.StorageCache.RebalanceJobStatusType","com.azure.resourcemanager.storagecache.models.RebalanceJobUpdate":"Microsoft.StorageCache.RebalanceJobUpdate","com.azure.resourcemanager.storagecache.models.RebalanceJobUpdateProperties":"Microsoft.StorageCache.RebalanceJobUpdateProperties","com.azure.resourcemanager.storagecache.models.RequiredAmlFilesystemSubnetsSizeInfo":"Microsoft.StorageCache.RequiredAmlFilesystemSubnetsSizeInfo","com.azure.resourcemanager.storagecache.models.ResourceSkuCapabilities":"Microsoft.StorageCache.ResourceSkuCapabilities","com.azure.resourcemanager.storagecache.models.ResourceSkuLocationInfo":"Microsoft.StorageCache.ResourceSkuLocationInfo","com.azure.resourcemanager.storagecache.models.ResourceUsageName":"Microsoft.StorageCache.ResourceUsageName","com.azure.resourcemanager.storagecache.models.Restriction":"Microsoft.StorageCache.Restriction","com.azure.resourcemanager.storagecache.models.SkuName":"Microsoft.StorageCache.SkuName","com.azure.resourcemanager.storagecache.models.StorageTargetSpaceAllocation":"Microsoft.StorageCache.StorageTargetSpaceAllocation","com.azure.resourcemanager.storagecache.models.StorageTargetType":"Microsoft.StorageCache.StorageTargetType","com.azure.resourcemanager.storagecache.models.UnknownTarget":"Microsoft.StorageCache.UnknownTarget","com.azure.resourcemanager.storagecache.models.UsageModelDisplay":"Microsoft.StorageCache.UsageModelDisplay","com.azure.resourcemanager.storagecache.models.UserAssignedIdentitiesValue":"Microsoft.StorageCache.userAssignedIdentitiesValue","com.azure.resourcemanager.storagecache.models.UsernameDownloadedType":"Microsoft.StorageCache.UsernameDownloadedType","com.azure.resourcemanager.storagecache.models.UsernameSource":"Microsoft.StorageCache.UsernameSource"},"generatedFiles":["src/main/java/com/azure/resourcemanager/storagecache/StorageCacheManager.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AmlFilesystemsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AscOperationsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AscUsagesClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AutoExportJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/AutoImportJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/CachesClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/ExpansionJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/ImportJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/RebalanceJobsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/ResourceProvidersClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/SkusClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageCacheManagementClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageTargetOperationsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/StorageTargetsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/UsageModelsClient.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AmlFilesystemInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AmlFilesystemProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AmlFilesystemUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ApiOperationInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ApiOperationProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AscOperationInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AscOperationProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoExportJobUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/AutoImportJobUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/CacheInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/CacheProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ExpansionJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ImportJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ImportJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ImportJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ImportJobUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/RebalanceJobInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/RequiredAmlFilesystemSubnetsSizeInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ResourceSkuInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/ResourceUsageInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/StorageTargetInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/StorageTargetProperties.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/UsageModelInner.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/storagecache/fluent/package-info.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AmlFilesystemsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ApiOperationImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscOperationsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscUsagesClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AscUsagesImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoExportJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoExportJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoExportJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoImportJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoImportJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/AutoImportJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/CacheImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/CachesClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/CachesImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ExpansionJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ImportJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ImportJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ImportJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/RebalanceJobsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/RequiredAmlFilesystemSubnetsSizeImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceProvidersClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceProvidersImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceSkuImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/ResourceUsageImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/SkusClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/SkusImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageCacheManagementClientBuilder.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageCacheManagementClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetOperationsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetOperationsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/StorageTargetsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/UsageModelImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/UsageModelsClientImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/UsageModelsImpl.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/AmlFilesystemsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ApiOperationListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/AutoExportJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/AutoImportJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/CachesListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ExpansionJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ImportJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/RebalanceJobsListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ResourceSkusResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/ResourceUsagesListResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/StorageTargetsResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/models/UsageModelsResult.java","src/main/java/com/azure/resourcemanager/storagecache/implementation/package-info.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystem.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemArchive.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemArchiveInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemArchiveStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemCheckSubnetError.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemCheckSubnetErrorException.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemCheckSubnetErrorFilesystemSubnet.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemClientInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemContainerStorageInterface.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemEncryptionSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemHealth.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemHealthStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemHsmSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemIdentity.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemIdentityType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemPropertiesHsm.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemPropertiesMaintenanceWindow.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemProvisioningStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemRootSquashSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemSquashMode.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemSubnetInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystemUpdatePropertiesMaintenanceWindow.java","src/main/java/com/azure/resourcemanager/storagecache/models/AmlFilesystems.java","src/main/java/com/azure/resourcemanager/storagecache/models/ApiOperation.java","src/main/java/com/azure/resourcemanager/storagecache/models/ApiOperationDisplay.java","src/main/java/com/azure/resourcemanager/storagecache/models/ApiOperationPropertiesServiceSpecification.java","src/main/java/com/azure/resourcemanager/storagecache/models/ArchiveStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AscOperation.java","src/main/java/com/azure/resourcemanager/storagecache/models/AscOperationErrorResponse.java","src/main/java/com/azure/resourcemanager/storagecache/models/AscOperations.java","src/main/java/com/azure/resourcemanager/storagecache/models/AscUsages.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJobAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJobProvisioningStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoExportStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobPropertiesAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobPropertiesProvisioningState.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobPropertiesStatusBlobSyncEvents.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobState.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobUpdatePropertiesAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/AutoImportJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/BlobNfsTarget.java","src/main/java/com/azure/resourcemanager/storagecache/models/Cache.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheActiveDirectorySettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheActiveDirectorySettingsCredentials.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheDirectorySettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheEncryptionSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheHealth.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheIdentity.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheIdentityType.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheNetworkSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheSecuritySettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheSku.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheUpgradeSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheUpgradeStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheUsernameDownloadSettings.java","src/main/java/com/azure/resourcemanager/storagecache/models/CacheUsernameDownloadSettingsCredentials.java","src/main/java/com/azure/resourcemanager/storagecache/models/Caches.java","src/main/java/com/azure/resourcemanager/storagecache/models/ClfsTarget.java","src/main/java/com/azure/resourcemanager/storagecache/models/Condition.java","src/main/java/com/azure/resourcemanager/storagecache/models/ConflictResolutionMode.java","src/main/java/com/azure/resourcemanager/storagecache/models/DomainJoinedType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJobPropertiesProvisioningState.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJobStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/ExpansionJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/FilesystemSubnetStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/FirmwareStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/HealthStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJobAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJobProvisioningStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/ImportStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/KeyVaultKeyReference.java","src/main/java/com/azure/resourcemanager/storagecache/models/KeyVaultKeyReferenceSourceVault.java","src/main/java/com/azure/resourcemanager/storagecache/models/LogSpecification.java","src/main/java/com/azure/resourcemanager/storagecache/models/MaintenanceDayOfWeekType.java","src/main/java/com/azure/resourcemanager/storagecache/models/MetricAggregationType.java","src/main/java/com/azure/resourcemanager/storagecache/models/MetricDimension.java","src/main/java/com/azure/resourcemanager/storagecache/models/MetricSpecification.java","src/main/java/com/azure/resourcemanager/storagecache/models/NamespaceJunction.java","src/main/java/com/azure/resourcemanager/storagecache/models/Nfs3Target.java","src/main/java/com/azure/resourcemanager/storagecache/models/NfsAccessPolicy.java","src/main/java/com/azure/resourcemanager/storagecache/models/NfsAccessRule.java","src/main/java/com/azure/resourcemanager/storagecache/models/NfsAccessRuleAccess.java","src/main/java/com/azure/resourcemanager/storagecache/models/NfsAccessRuleScope.java","src/main/java/com/azure/resourcemanager/storagecache/models/OperationalStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/Operations.java","src/main/java/com/azure/resourcemanager/storagecache/models/PrimingJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/PrimingJobIdParameter.java","src/main/java/com/azure/resourcemanager/storagecache/models/PrimingJobState.java","src/main/java/com/azure/resourcemanager/storagecache/models/ProvisioningStateType.java","src/main/java/com/azure/resourcemanager/storagecache/models/ReasonCode.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJob.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobAdminStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobProperties.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobPropertiesProvisioningState.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobPropertiesStatus.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobStatusType.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobUpdate.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobUpdateProperties.java","src/main/java/com/azure/resourcemanager/storagecache/models/RebalanceJobs.java","src/main/java/com/azure/resourcemanager/storagecache/models/RequiredAmlFilesystemSubnetsSize.java","src/main/java/com/azure/resourcemanager/storagecache/models/RequiredAmlFilesystemSubnetsSizeInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceProviders.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceSku.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceSkuCapabilities.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceSkuLocationInfo.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceUsage.java","src/main/java/com/azure/resourcemanager/storagecache/models/ResourceUsageName.java","src/main/java/com/azure/resourcemanager/storagecache/models/Restriction.java","src/main/java/com/azure/resourcemanager/storagecache/models/SkuName.java","src/main/java/com/azure/resourcemanager/storagecache/models/Skus.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTarget.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTargetOperations.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTargetSpaceAllocation.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTargetType.java","src/main/java/com/azure/resourcemanager/storagecache/models/StorageTargets.java","src/main/java/com/azure/resourcemanager/storagecache/models/UnknownTarget.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsageModel.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsageModelDisplay.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsageModels.java","src/main/java/com/azure/resourcemanager/storagecache/models/UserAssignedIdentitiesValue.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsernameDownloadedType.java","src/main/java/com/azure/resourcemanager/storagecache/models/UsernameSource.java","src/main/java/com/azure/resourcemanager/storagecache/models/package-info.java","src/main/java/com/azure/resourcemanager/storagecache/package-info.java","src/main/java/module-info.java"]} \ No newline at end of file diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-storagecache/proxy-config.json b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-storagecache/proxy-config.json index d8f61ab153dd..1de427ed6cfc 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-storagecache/proxy-config.json +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-storagecache/proxy-config.json @@ -1 +1 @@ -[["com.azure.resourcemanager.storagecache.implementation.AmlFilesystemsClientImpl$AmlFilesystemsService"],["com.azure.resourcemanager.storagecache.implementation.AscOperationsClientImpl$AscOperationsService"],["com.azure.resourcemanager.storagecache.implementation.AscUsagesClientImpl$AscUsagesService"],["com.azure.resourcemanager.storagecache.implementation.AutoExportJobsClientImpl$AutoExportJobsService"],["com.azure.resourcemanager.storagecache.implementation.AutoImportJobsClientImpl$AutoImportJobsService"],["com.azure.resourcemanager.storagecache.implementation.CachesClientImpl$CachesService"],["com.azure.resourcemanager.storagecache.implementation.ExpansionJobsClientImpl$ExpansionJobsService"],["com.azure.resourcemanager.storagecache.implementation.ImportJobsClientImpl$ImportJobsService"],["com.azure.resourcemanager.storagecache.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.storagecache.implementation.ResourceProvidersClientImpl$ResourceProvidersService"],["com.azure.resourcemanager.storagecache.implementation.SkusClientImpl$SkusService"],["com.azure.resourcemanager.storagecache.implementation.StorageTargetOperationsClientImpl$StorageTargetOperationsService"],["com.azure.resourcemanager.storagecache.implementation.StorageTargetsClientImpl$StorageTargetsService"],["com.azure.resourcemanager.storagecache.implementation.UsageModelsClientImpl$UsageModelsService"]] \ No newline at end of file +[["com.azure.resourcemanager.storagecache.implementation.AmlFilesystemsClientImpl$AmlFilesystemsService"],["com.azure.resourcemanager.storagecache.implementation.AscOperationsClientImpl$AscOperationsService"],["com.azure.resourcemanager.storagecache.implementation.AscUsagesClientImpl$AscUsagesService"],["com.azure.resourcemanager.storagecache.implementation.AutoExportJobsClientImpl$AutoExportJobsService"],["com.azure.resourcemanager.storagecache.implementation.AutoImportJobsClientImpl$AutoImportJobsService"],["com.azure.resourcemanager.storagecache.implementation.CachesClientImpl$CachesService"],["com.azure.resourcemanager.storagecache.implementation.ExpansionJobsClientImpl$ExpansionJobsService"],["com.azure.resourcemanager.storagecache.implementation.ImportJobsClientImpl$ImportJobsService"],["com.azure.resourcemanager.storagecache.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.storagecache.implementation.RebalanceJobsClientImpl$RebalanceJobsService"],["com.azure.resourcemanager.storagecache.implementation.ResourceProvidersClientImpl$ResourceProvidersService"],["com.azure.resourcemanager.storagecache.implementation.SkusClientImpl$SkusService"],["com.azure.resourcemanager.storagecache.implementation.StorageTargetOperationsClientImpl$StorageTargetOperationsService"],["com.azure.resourcemanager.storagecache.implementation.StorageTargetsClientImpl$StorageTargetsService"],["com.azure.resourcemanager.storagecache.implementation.UsageModelsClientImpl$UsageModelsService"]] \ No newline at end of file diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsArchiveSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsArchiveSamples.java index df3b84f40c5c..fe9bfdb662ad 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsArchiveSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsArchiveSamples.java @@ -11,7 +11,7 @@ */ public final class AmlFilesystemsArchiveSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_Archive.json + * x-ms-original-file: 2026-08-01/amlFilesystems_Archive.json */ /** * Sample code: amlFilesystems_Archive. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCancelArchiveSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCancelArchiveSamples.java index bf9a623c8f46..a2c5cd98785b 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCancelArchiveSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCancelArchiveSamples.java @@ -9,7 +9,7 @@ */ public final class AmlFilesystemsCancelArchiveSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_CancelArchive.json + * x-ms-original-file: 2026-08-01/amlFilesystems_CancelArchive.json */ /** * Sample code: amlFilesystems_cancelArchive. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCreateOrUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCreateOrUpdateSamples.java index f8edf93c5835..4594bf2c2ce2 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCreateOrUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCreateOrUpdateSamples.java @@ -26,7 +26,7 @@ */ public final class AmlFilesystemsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/amlFilesystems_CreateOrUpdate.json */ /** * Sample code: amlFilesystems_CreateOrUpdate. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsDeleteSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsDeleteSamples.java index 480fc0218a05..d7b8667cf897 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsDeleteSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class AmlFilesystemsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_Delete.json + * x-ms-original-file: 2026-08-01/amlFilesystems_Delete.json */ /** * Sample code: amlFilesystems_Delete. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsGetByResourceGroupSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsGetByResourceGroupSamples.java index 5bfc985523df..8e4c5f2ec917 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsGetByResourceGroupSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class AmlFilesystemsGetByResourceGroupSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_Get.json + * x-ms-original-file: 2026-08-01/amlFilesystems_Get.json */ /** * Sample code: amlFilesystems_Get. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsListByResourceGroupSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsListByResourceGroupSamples.java index 1187fccde230..536debb07814 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsListByResourceGroupSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class AmlFilesystemsListByResourceGroupSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_ListByResourceGroup.json + * x-ms-original-file: 2026-08-01/amlFilesystems_ListByResourceGroup.json */ /** * Sample code: amlFilesystems_ListByResourceGroup. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsListSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsListSamples.java index 8f01d93a0982..edc969664f5c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsListSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsListSamples.java @@ -9,7 +9,7 @@ */ public final class AmlFilesystemsListSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_List.json + * x-ms-original-file: 2026-08-01/amlFilesystems_List.json */ /** * Sample code: amlFilesystems_List. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsUpdateSamples.java index cdce06f229fc..7b19448ebb55 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsUpdateSamples.java @@ -20,7 +20,7 @@ */ public final class AmlFilesystemsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/amlFilesystems_Update.json + * x-ms-original-file: 2026-08-01/amlFilesystems_Update.json */ /** * Sample code: amlFilesystems_Update. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AscOperationsGetSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AscOperationsGetSamples.java index c6903aefdfe5..6da7f2e7ec75 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AscOperationsGetSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AscOperationsGetSamples.java @@ -9,7 +9,7 @@ */ public final class AscOperationsGetSamples { /* - * x-ms-original-file: 2026-01-01/AscOperations_Get.json + * x-ms-original-file: 2026-08-01/AscOperations_Get.json */ /** * Sample code: AscOperations_Get. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AscUsagesListSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AscUsagesListSamples.java index 565b87fff34a..84aa4a604582 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AscUsagesListSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AscUsagesListSamples.java @@ -9,7 +9,7 @@ */ public final class AscUsagesListSamples { /* - * x-ms-original-file: 2026-01-01/AscResourceUsages_Get.json + * x-ms-original-file: 2026-08-01/AscResourceUsages_Get.json */ /** * Sample code: AscUsages_List. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsCreateOrUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsCreateOrUpdateSamples.java index d12f577743a8..3ff87e75fc3e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsCreateOrUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsCreateOrUpdateSamples.java @@ -13,7 +13,7 @@ */ public final class AutoExportJobsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/autoExportJobs_CreateOrUpdate.json */ /** * Sample code: autoExportJobs_CreateOrUpdate. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsDeleteSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsDeleteSamples.java index b39689092354..60025bb06263 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsDeleteSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class AutoExportJobsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_Delete.json + * x-ms-original-file: 2026-08-01/autoExportJobs_Delete.json */ /** * Sample code: autoExportJobs_Delete. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsGetSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsGetSamples.java index de18fc6b5669..e1144cf0d450 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsGetSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsGetSamples.java @@ -9,7 +9,7 @@ */ public final class AutoExportJobsGetSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_Get.json + * x-ms-original-file: 2026-08-01/autoExportJobs_Get.json */ /** * Sample code: autoExportJobs_Get. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsListByAmlFilesystemSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsListByAmlFilesystemSamples.java index 37eb0d1928d2..4562d79ce84a 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsListByAmlFilesystemSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsListByAmlFilesystemSamples.java @@ -9,7 +9,7 @@ */ public final class AutoExportJobsListByAmlFilesystemSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_ListByAmlFilesystem.json + * x-ms-original-file: 2026-08-01/autoExportJobs_ListByAmlFilesystem.json */ /** * Sample code: autoExportJobs_ListByAmlFilesystem. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsUpdateSamples.java index d0d92bb4ea01..9a99eaa64228 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobsUpdateSamples.java @@ -13,7 +13,7 @@ */ public final class AutoExportJobsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/autoExportJobs_Update.json + * x-ms-original-file: 2026-08-01/autoExportJobs_Update.json */ /** * Sample code: autoExportJobs_Update. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsCreateOrUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsCreateOrUpdateSamples.java index 914343490f1a..65e541d94057 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsCreateOrUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsCreateOrUpdateSamples.java @@ -15,7 +15,7 @@ */ public final class AutoImportJobsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/autoImportJobs_CreateOrUpdate.json */ /** * Sample code: autoImportJobs_CreateOrUpdate. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsDeleteSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsDeleteSamples.java index 283da9ba52b8..cc5d68a6eb25 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsDeleteSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class AutoImportJobsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_Delete.json + * x-ms-original-file: 2026-08-01/autoImportJobs_Delete.json */ /** * Sample code: autoImportJobs_Delete. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsGetSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsGetSamples.java index 1ec3beb53541..923ed75a3e74 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsGetSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsGetSamples.java @@ -9,7 +9,7 @@ */ public final class AutoImportJobsGetSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_Get.json + * x-ms-original-file: 2026-08-01/autoImportJobs_Get.json */ /** * Sample code: autoImportJobs_Get. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsListByAmlFilesystemSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsListByAmlFilesystemSamples.java index 30f0eed80f43..e7206bcd8939 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsListByAmlFilesystemSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsListByAmlFilesystemSamples.java @@ -9,7 +9,7 @@ */ public final class AutoImportJobsListByAmlFilesystemSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_ListByAmlFilesystem.json + * x-ms-original-file: 2026-08-01/autoImportJobs_ListByAmlFilesystem.json */ /** * Sample code: autoImportJobs_ListByAmlFilesystem. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsUpdateSamples.java index c69e44baf53f..14fe34d2231e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobsUpdateSamples.java @@ -12,7 +12,7 @@ */ public final class AutoImportJobsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/autoImportJobs_Update.json + * x-ms-original-file: 2026-08-01/autoImportJobs_Update.json */ /** * Sample code: autoImportJobs_Update. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesCreateOrUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesCreateOrUpdateSamples.java index 70f730cc70af..c21c9b36660b 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesCreateOrUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesCreateOrUpdateSamples.java @@ -33,7 +33,7 @@ */ public final class CachesCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/Caches_CreateOrUpdate_ldap_only.json + * x-ms-original-file: 2026-08-01/Caches_CreateOrUpdate_ldap_only.json */ /** * Sample code: Caches_CreateOrUpdate_ldap_only. @@ -76,7 +76,7 @@ public final class CachesCreateOrUpdateSamples { } /* - * x-ms-original-file: 2026-01-01/Caches_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/Caches_CreateOrUpdate.json */ /** * Sample code: Caches_CreateOrUpdate. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesDebugInfoSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesDebugInfoSamples.java index 324a24568df9..3642203dadd4 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesDebugInfoSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesDebugInfoSamples.java @@ -9,7 +9,7 @@ */ public final class CachesDebugInfoSamples { /* - * x-ms-original-file: 2026-01-01/Caches_DebugInfo.json + * x-ms-original-file: 2026-08-01/Caches_DebugInfo.json */ /** * Sample code: Caches_DebugInfo. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesDeleteSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesDeleteSamples.java index 478755a4ee78..def3476d4439 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesDeleteSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class CachesDeleteSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Delete.json + * x-ms-original-file: 2026-08-01/Caches_Delete.json */ /** * Sample code: Caches_Delete. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesFlushSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesFlushSamples.java index 8045c4a19b09..c4f86616d113 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesFlushSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesFlushSamples.java @@ -9,7 +9,7 @@ */ public final class CachesFlushSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Flush.json + * x-ms-original-file: 2026-08-01/Caches_Flush.json */ /** * Sample code: Caches_Flush. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesGetByResourceGroupSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesGetByResourceGroupSamples.java index 7ba6236dd428..0ddb63b48e37 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesGetByResourceGroupSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class CachesGetByResourceGroupSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Get.json + * x-ms-original-file: 2026-08-01/Caches_Get.json */ /** * Sample code: Caches_Get. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesListByResourceGroupSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesListByResourceGroupSamples.java index 2d774444c8c4..7e654c377d73 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesListByResourceGroupSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesListByResourceGroupSamples.java @@ -9,7 +9,7 @@ */ public final class CachesListByResourceGroupSamples { /* - * x-ms-original-file: 2026-01-01/Caches_ListByResourceGroup.json + * x-ms-original-file: 2026-08-01/Caches_ListByResourceGroup.json */ /** * Sample code: Caches_ListByResourceGroup. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesListSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesListSamples.java index 6a1043df2311..531e5a2e1fa1 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesListSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesListSamples.java @@ -9,7 +9,7 @@ */ public final class CachesListSamples { /* - * x-ms-original-file: 2026-01-01/Caches_List.json + * x-ms-original-file: 2026-08-01/Caches_List.json */ /** * Sample code: Caches_List. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesPausePrimingJobSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesPausePrimingJobSamples.java index 95d0bc1c7148..423909c22d6c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesPausePrimingJobSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesPausePrimingJobSamples.java @@ -11,7 +11,7 @@ */ public final class CachesPausePrimingJobSamples { /* - * x-ms-original-file: 2026-01-01/PausePrimingJob.json + * x-ms-original-file: 2026-08-01/PausePrimingJob.json */ /** * Sample code: PausePrimingJob. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesResumePrimingJobSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesResumePrimingJobSamples.java index ae5b6a8a2a6f..edf07e0958fa 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesResumePrimingJobSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesResumePrimingJobSamples.java @@ -11,7 +11,7 @@ */ public final class CachesResumePrimingJobSamples { /* - * x-ms-original-file: 2026-01-01/ResumePrimingJob.json + * x-ms-original-file: 2026-08-01/ResumePrimingJob.json */ /** * Sample code: ResumePrimingJob. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesSpaceAllocationSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesSpaceAllocationSamples.java index e2262ff8896a..ab8b298b7c7b 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesSpaceAllocationSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesSpaceAllocationSamples.java @@ -12,7 +12,7 @@ */ public final class CachesSpaceAllocationSamples { /* - * x-ms-original-file: 2026-01-01/SpaceAllocation_Post.json + * x-ms-original-file: 2026-08-01/SpaceAllocation_Post.json */ /** * Sample code: SpaceAllocation_Post. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStartPrimingJobSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStartPrimingJobSamples.java index de3a424eb520..093a448f1f96 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStartPrimingJobSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStartPrimingJobSamples.java @@ -11,7 +11,7 @@ */ public final class CachesStartPrimingJobSamples { /* - * x-ms-original-file: 2026-01-01/StartPrimingJob.json + * x-ms-original-file: 2026-08-01/StartPrimingJob.json */ /** * Sample code: StartPrimingJob. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStartSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStartSamples.java index bad260cb0697..ad758144ff66 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStartSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStartSamples.java @@ -9,7 +9,7 @@ */ public final class CachesStartSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Start.json + * x-ms-original-file: 2026-08-01/Caches_Start.json */ /** * Sample code: Caches_Start. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStopPrimingJobSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStopPrimingJobSamples.java index 69ac2aec2727..b3941c6299b9 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStopPrimingJobSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStopPrimingJobSamples.java @@ -11,7 +11,7 @@ */ public final class CachesStopPrimingJobSamples { /* - * x-ms-original-file: 2026-01-01/StopPrimingJob.json + * x-ms-original-file: 2026-08-01/StopPrimingJob.json */ /** * Sample code: StopPrimingJob. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStopSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStopSamples.java index 7c22bbc3bed7..c9f93c511493 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStopSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesStopSamples.java @@ -9,7 +9,7 @@ */ public final class CachesStopSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Stop.json + * x-ms-original-file: 2026-08-01/Caches_Stop.json */ /** * Sample code: Caches_Stop. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesUpdateSamples.java index 79292b7798f0..d42c66579dd1 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesUpdateSamples.java @@ -27,7 +27,7 @@ */ public final class CachesUpdateSamples { /* - * x-ms-original-file: 2026-01-01/Caches_Update_ldap_only.json + * x-ms-original-file: 2026-08-01/Caches_Update_ldap_only.json */ /** * Sample code: Caches_Update_ldap_only. @@ -86,7 +86,7 @@ public static void cachesUpdateLdapOnly(com.azure.resourcemanager.storagecache.S } /* - * x-ms-original-file: 2026-01-01/Caches_Update.json + * x-ms-original-file: 2026-08-01/Caches_Update.json */ /** * Sample code: Caches_Update. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesUpgradeFirmwareSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesUpgradeFirmwareSamples.java index 4af625c5a28a..6a05d0c3bc7e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesUpgradeFirmwareSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/CachesUpgradeFirmwareSamples.java @@ -9,7 +9,7 @@ */ public final class CachesUpgradeFirmwareSamples { /* - * x-ms-original-file: 2026-01-01/Caches_UpgradeFirmware.json + * x-ms-original-file: 2026-08-01/Caches_UpgradeFirmware.json */ /** * Sample code: Caches_UpgradeFirmware. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsCreateOrUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsCreateOrUpdateSamples.java index 0e82ddc3675d..128b1e10aee5 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsCreateOrUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsCreateOrUpdateSamples.java @@ -12,7 +12,7 @@ */ public final class ExpansionJobsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/expansionJobs_CreateOrUpdate.json */ /** * Sample code: expansionJobs_CreateOrUpdate. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsDeleteSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsDeleteSamples.java index ef8c0fc40da4..b8af528f23d8 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsDeleteSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class ExpansionJobsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_Delete.json + * x-ms-original-file: 2026-08-01/expansionJobs_Delete.json */ /** * Sample code: expansionJobs_Delete. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsGetSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsGetSamples.java index 93ae022853fe..b29a68dbe532 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsGetSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsGetSamples.java @@ -9,7 +9,7 @@ */ public final class ExpansionJobsGetSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_Get.json + * x-ms-original-file: 2026-08-01/expansionJobs_Get.json */ /** * Sample code: expansionJobs_Get. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsListByAmlFilesystemSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsListByAmlFilesystemSamples.java index 85640416c179..fa213e31c356 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsListByAmlFilesystemSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsListByAmlFilesystemSamples.java @@ -9,7 +9,7 @@ */ public final class ExpansionJobsListByAmlFilesystemSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_ListByAmlFilesystem.json + * x-ms-original-file: 2026-08-01/expansionJobs_ListByAmlFilesystem.json */ /** * Sample code: expansionJobs_ListByAmlFilesystem. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsUpdateSamples.java index c9fb72aff7ad..130ba4f74467 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobsUpdateSamples.java @@ -13,7 +13,7 @@ */ public final class ExpansionJobsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/expansionJobs_Update.json + * x-ms-original-file: 2026-08-01/expansionJobs_Update.json */ /** * Sample code: expansionJobs_Update. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsCreateOrUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsCreateOrUpdateSamples.java index 8a23d6185431..605fb646d7b8 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsCreateOrUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsCreateOrUpdateSamples.java @@ -14,7 +14,7 @@ */ public final class ImportJobsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/importJobs_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/importJobs_CreateOrUpdate.json */ /** * Sample code: importJobs_CreateOrUpdate. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsDeleteSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsDeleteSamples.java index 86b5a6867950..f75e3b5cbd21 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsDeleteSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class ImportJobsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/importJobs_Delete.json + * x-ms-original-file: 2026-08-01/importJobs_Delete.json */ /** * Sample code: importJobs_Delete. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsGetSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsGetSamples.java index 560815599963..998cbd55b36c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsGetSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsGetSamples.java @@ -9,7 +9,7 @@ */ public final class ImportJobsGetSamples { /* - * x-ms-original-file: 2026-01-01/importJobs_Get.json + * x-ms-original-file: 2026-08-01/importJobs_Get.json */ /** * Sample code: importJobs_Get. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListByAmlFilesystemSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListByAmlFilesystemSamples.java index e75fe74decc4..2da1853896ae 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListByAmlFilesystemSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListByAmlFilesystemSamples.java @@ -9,7 +9,7 @@ */ public final class ImportJobsListByAmlFilesystemSamples { /* - * x-ms-original-file: 2026-01-01/importJobs_ListByAmlFilesystem.json + * x-ms-original-file: 2026-08-01/importJobs_ListByAmlFilesystem.json */ /** * Sample code: importJobs_ListByAmlFilesystem. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsUpdateSamples.java index 20674ec4d73c..55909819584c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ImportJobsUpdateSamples.java @@ -13,7 +13,7 @@ */ public final class ImportJobsUpdateSamples { /* - * x-ms-original-file: 2026-01-01/importJob_Update.json + * x-ms-original-file: 2026-08-01/importJob_Update.json */ /** * Sample code: importJobs_Update. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/OperationsListSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/OperationsListSamples.java index 6fb08c279c3b..5274ac05d74c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/OperationsListSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/OperationsListSamples.java @@ -9,7 +9,7 @@ */ public final class OperationsListSamples { /* - * x-ms-original-file: 2026-01-01/Operations_List.json + * x-ms-original-file: 2026-08-01/Operations_List.json */ /** * Sample code: Operations_List. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsDeleteSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsDeleteSamples.java new file mode 100644 index 000000000000..f5719afc04b0 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsDeleteSamples.java @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.generated; + +/** + * Samples for RebalanceJobs Delete. + */ +public final class RebalanceJobsDeleteSamples { + /* + * x-ms-original-file: 2026-08-01/RebalanceJobs_Delete.json + */ + /** + * Sample code: RebalanceJobs_Delete. + * + * @param manager Entry point to StorageCacheManager. + */ + public static void rebalanceJobsDelete(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + manager.rebalanceJobs().delete("scgroup", "fs1", "expansionjob1-rebalance", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsGetSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsGetSamples.java new file mode 100644 index 000000000000..77c45d8c90b0 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsGetSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.generated; + +/** + * Samples for RebalanceJobs Get. + */ +public final class RebalanceJobsGetSamples { + /* + * x-ms-original-file: 2026-08-01/RebalanceJobs_Get.json + */ + /** + * Sample code: RebalanceJobs_Get. + * + * @param manager Entry point to StorageCacheManager. + */ + public static void rebalanceJobsGet(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + manager.rebalanceJobs() + .getWithResponse("scgroup", "fs1", "expansionjob1-rebalance", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsListByAmlFilesystemSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsListByAmlFilesystemSamples.java new file mode 100644 index 000000000000..bccdb8ccafb5 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsListByAmlFilesystemSamples.java @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.generated; + +/** + * Samples for RebalanceJobs ListByAmlFilesystem. + */ +public final class RebalanceJobsListByAmlFilesystemSamples { + /* + * x-ms-original-file: 2026-08-01/RebalanceJobs_ListByAmlFilesystem.json + */ + /** + * Sample code: RebalanceJobs_ListByAmlFilesystem. + * + * @param manager Entry point to StorageCacheManager. + */ + public static void + rebalanceJobsListByAmlFilesystem(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + manager.rebalanceJobs().listByAmlFilesystem("scgroup", "fs1", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsUpdateSamples.java new file mode 100644 index 000000000000..4d97c2b38f52 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobsUpdateSamples.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.generated; + +import com.azure.resourcemanager.storagecache.models.RebalanceJobAdminStatus; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdate; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdateProperties; + +/** + * Samples for RebalanceJobs Update. + */ +public final class RebalanceJobsUpdateSamples { + /* + * x-ms-original-file: 2026-08-01/RebalanceJobs_Update.json + */ + /** + * Sample code: RebalanceJobs_Update. + * + * @param manager Entry point to StorageCacheManager. + */ + public static void rebalanceJobsUpdate(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + manager.rebalanceJobs() + .update("scgroup", "fs1", "expansionjob1-rebalance", + new RebalanceJobUpdate() + .withProperties(new RebalanceJobUpdateProperties().withAdminStatus(RebalanceJobAdminStatus.CANCEL)), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ResourceProviderCheckAmlFSSubnetsSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ResourceProviderCheckAmlFSSubnetsSamples.java index e24f41ae5f5b..b865aa0f7be3 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ResourceProviderCheckAmlFSSubnetsSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ResourceProviderCheckAmlFSSubnetsSamples.java @@ -12,7 +12,7 @@ */ public final class ResourceProviderCheckAmlFSSubnetsSamples { /* - * x-ms-original-file: 2026-01-01/checkAmlFSSubnets.json + * x-ms-original-file: 2026-08-01/checkAmlFSSubnets.json */ /** * Sample code: checkAmlFSSubnets. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ResourceProviderGetRequiredAmlFSSubnetsSizeSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ResourceProviderGetRequiredAmlFSSubnetsSizeSamples.java index e2531582ae2f..1fabd4228c99 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ResourceProviderGetRequiredAmlFSSubnetsSizeSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/ResourceProviderGetRequiredAmlFSSubnetsSizeSamples.java @@ -9,7 +9,7 @@ */ public final class ResourceProviderGetRequiredAmlFSSubnetsSizeSamples { /* - * x-ms-original-file: 2026-01-01/getRequiredAmlFSSubnetsSize.json + * x-ms-original-file: 2026-08-01/getRequiredAmlFSSubnetsSize.json */ /** * Sample code: getRequiredAmlFilesystemSubnetsSize. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/SkusListSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/SkusListSamples.java index e561f860b37c..6758bb612951 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/SkusListSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/SkusListSamples.java @@ -9,7 +9,7 @@ */ public final class SkusListSamples { /* - * x-ms-original-file: 2026-01-01/Skus_List.json + * x-ms-original-file: 2026-08-01/Skus_List.json */ /** * Sample code: Skus_List. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationFlushSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationFlushSamples.java index 5a585e3469fb..45de1a65430c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationFlushSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationFlushSamples.java @@ -9,7 +9,7 @@ */ public final class StorageTargetOperationFlushSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Flush.json + * x-ms-original-file: 2026-08-01/StorageTargets_Flush.json */ /** * Sample code: StorageTargets_Flush. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationInvalidateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationInvalidateSamples.java index 20517fc6a98f..e1965e3d20c5 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationInvalidateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationInvalidateSamples.java @@ -9,7 +9,7 @@ */ public final class StorageTargetOperationInvalidateSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Invalidate.json + * x-ms-original-file: 2026-08-01/StorageTargets_Invalidate.json */ /** * Sample code: StorageTargets_Invalidate. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationResumeSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationResumeSamples.java index 785dd21bb491..e49f801be46d 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationResumeSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationResumeSamples.java @@ -9,7 +9,7 @@ */ public final class StorageTargetOperationResumeSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Resume.json + * x-ms-original-file: 2026-08-01/StorageTargets_Resume.json */ /** * Sample code: StorageTargets_Resume. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationSuspendSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationSuspendSamples.java index 15d5876fddd2..d5de4a35d87c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationSuspendSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationSuspendSamples.java @@ -9,7 +9,7 @@ */ public final class StorageTargetOperationSuspendSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Suspend.json + * x-ms-original-file: 2026-08-01/StorageTargets_Suspend.json */ /** * Sample code: StorageTargets_Suspend. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsCreateOrUpdateSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsCreateOrUpdateSamples.java index bd136e6baab3..6b650bf63305 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsCreateOrUpdateSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsCreateOrUpdateSamples.java @@ -15,7 +15,7 @@ */ public final class StorageTargetsCreateOrUpdateSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_CreateOrUpdate.json + * x-ms-original-file: 2026-08-01/StorageTargets_CreateOrUpdate.json */ /** * Sample code: StorageTargets_CreateOrUpdate. @@ -42,7 +42,7 @@ public final class StorageTargetsCreateOrUpdateSamples { } /* - * x-ms-original-file: 2026-01-01/StorageTargets_CreateOrUpdate_BlobNfs.json + * x-ms-original-file: 2026-08-01/StorageTargets_CreateOrUpdate_BlobNfs.json */ /** * Sample code: StorageTargets_CreateOrUpdate_BlobNfs. @@ -65,7 +65,7 @@ public final class StorageTargetsCreateOrUpdateSamples { } /* - * x-ms-original-file: 2026-01-01/StorageTargets_CreateOrUpdate_NoJunctions.json + * x-ms-original-file: 2026-08-01/StorageTargets_CreateOrUpdate_NoJunctions.json */ /** * Sample code: StorageTargets_CreateOrUpdate_NoJunctions. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDeleteSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDeleteSamples.java index fa6f88aeb29f..a64c476bb01c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDeleteSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDeleteSamples.java @@ -9,7 +9,7 @@ */ public final class StorageTargetsDeleteSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Delete.json + * x-ms-original-file: 2026-08-01/StorageTargets_Delete.json */ /** * Sample code: StorageTargets_Delete. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDnsRefreshSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDnsRefreshSamples.java index d90c24115d98..b572d5a32fb3 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDnsRefreshSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDnsRefreshSamples.java @@ -9,14 +9,14 @@ */ public final class StorageTargetsDnsRefreshSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_DnsRefresh.json + * x-ms-original-file: 2026-08-01/StorageTargets_DnsRefresh.json */ /** - * Sample code: Caches_DnsRefresh. + * Sample code: StorageTargets_DnsRefresh. * * @param manager Entry point to StorageCacheManager. */ - public static void cachesDnsRefresh(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { + public static void storageTargetsDnsRefresh(com.azure.resourcemanager.storagecache.StorageCacheManager manager) { manager.storageTargets().dnsRefresh("scgroup", "sc", "st1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsGetSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsGetSamples.java index c233b7a752de..da1d55eccce1 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsGetSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsGetSamples.java @@ -9,7 +9,7 @@ */ public final class StorageTargetsGetSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_Get.json + * x-ms-original-file: 2026-08-01/StorageTargets_Get.json */ /** * Sample code: StorageTargets_Get. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsListByCacheSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsListByCacheSamples.java index 85f0c99cafa5..961bc672183a 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsListByCacheSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsListByCacheSamples.java @@ -9,7 +9,7 @@ */ public final class StorageTargetsListByCacheSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_ListByCache.json + * x-ms-original-file: 2026-08-01/StorageTargets_ListByCache.json */ /** * Sample code: StorageTargets_List. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsRestoreDefaultsSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsRestoreDefaultsSamples.java index f26c56bc91bb..0a3a7a57b57e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsRestoreDefaultsSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsRestoreDefaultsSamples.java @@ -9,7 +9,7 @@ */ public final class StorageTargetsRestoreDefaultsSamples { /* - * x-ms-original-file: 2026-01-01/StorageTargets_RestoreDefaults.json + * x-ms-original-file: 2026-08-01/StorageTargets_RestoreDefaults.json */ /** * Sample code: StorageTargets_RestoreDefaults. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/UsageModelsListSamples.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/UsageModelsListSamples.java index 403e297a7e7d..f3a409a2bbe7 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/UsageModelsListSamples.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/samples/java/com/azure/resourcemanager/storagecache/generated/UsageModelsListSamples.java @@ -9,7 +9,7 @@ */ public final class UsageModelsListSamples { /* - * x-ms-original-file: 2026-01-01/UsageModels_List.json + * x-ms-original-file: 2026-08-01/UsageModels_List.json */ /** * Sample code: UsageModels_List. diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemArchiveInfoTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemArchiveInfoTests.java index 5f79c2399c94..0087eb2de022 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemArchiveInfoTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemArchiveInfoTests.java @@ -11,15 +11,15 @@ public final class AmlFilesystemArchiveInfoTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - AmlFilesystemArchiveInfo model - = BinaryData.fromString("{\"filesystemPath\":\"k\"}").toObject(AmlFilesystemArchiveInfo.class); - Assertions.assertEquals("k", model.filesystemPath()); + AmlFilesystemArchiveInfo model = BinaryData.fromString("{\"filesystemPath\":\"ocmbqfqvmkcxoza\"}") + .toObject(AmlFilesystemArchiveInfo.class); + Assertions.assertEquals("ocmbqfqvmkcxoza", model.filesystemPath()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - AmlFilesystemArchiveInfo model = new AmlFilesystemArchiveInfo().withFilesystemPath("k"); + AmlFilesystemArchiveInfo model = new AmlFilesystemArchiveInfo().withFilesystemPath("ocmbqfqvmkcxoza"); model = BinaryData.fromObject(model).toObject(AmlFilesystemArchiveInfo.class); - Assertions.assertEquals("k", model.filesystemPath()); + Assertions.assertEquals("ocmbqfqvmkcxoza", model.filesystemPath()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemClientInfoTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemClientInfoTests.java index 7df5afafb957..23d350359e44 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemClientInfoTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemClientInfoTests.java @@ -11,7 +11,7 @@ public final class AmlFilesystemClientInfoTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AmlFilesystemClientInfo model = BinaryData.fromString( - "{\"mgsAddress\":\"gjb\",\"mountCommand\":\"xb\",\"lustreVersion\":\"bsrfbj\",\"containerStorageInterface\":{\"persistentVolumeClaim\":\"w\",\"persistentVolume\":\"otftpvjzbexilz\",\"storageClass\":\"fqqnvwpmqtaruo\"}}") + "{\"mgsAddress\":\"qolbgyc\",\"mountCommand\":\"iertgccymvaolp\",\"lustreVersion\":\"lqlfm\",\"containerStorageInterface\":{\"persistentVolumeClaim\":\"bbglzpswiydmc\",\"persistentVolume\":\"hzdxssadbzm\",\"storageClass\":\"dfznudaodv\"}}") .toObject(AmlFilesystemClientInfo.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemContainerStorageInterfaceTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemContainerStorageInterfaceTests.java index ac0be36cfd5d..685e72a73db2 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemContainerStorageInterfaceTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemContainerStorageInterfaceTests.java @@ -11,7 +11,7 @@ public final class AmlFilesystemContainerStorageInterfaceTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AmlFilesystemContainerStorageInterface model = BinaryData.fromString( - "{\"persistentVolumeClaim\":\"mkcjhwqytjrybn\",\"persistentVolume\":\"ewgdrjervn\",\"storageClass\":\"nqpeh\"}") + "{\"persistentVolumeClaim\":\"bncblylpstdbhhx\",\"persistentVolume\":\"zdzucerscdntnevf\",\"storageClass\":\"jmygtdsslswtmwer\"}") .toObject(AmlFilesystemContainerStorageInterface.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemHsmSettingsTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemHsmSettingsTests.java index a2ccc512d097..fd2f9191bc93 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemHsmSettingsTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemHsmSettingsTests.java @@ -13,24 +13,25 @@ public final class AmlFilesystemHsmSettingsTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AmlFilesystemHsmSettings model = BinaryData.fromString( - "{\"container\":\"od\",\"loggingContainer\":\"xzb\",\"importPrefix\":\"blylpstdbh\",\"importPrefixesInitial\":[\"rzdzucerscdnt\",\"evfiwjmygt\",\"sslswtmweriof\",\"pyqs\"]}") + "{\"container\":\"iplbpodxunkbebxm\",\"loggingContainer\":\"byyntwlrbqt\",\"importPrefix\":\"ievseotgqrllt\",\"importPrefixesInitial\":[\"lauwzizxbmpgcjef\",\"zmuvpbttdumorppx\",\"bmnzbtbhjpgl\",\"fgohdneuelfphs\"]}") .toObject(AmlFilesystemHsmSettings.class); - Assertions.assertEquals("od", model.container()); - Assertions.assertEquals("xzb", model.loggingContainer()); - Assertions.assertEquals("blylpstdbh", model.importPrefix()); - Assertions.assertEquals("rzdzucerscdnt", model.importPrefixesInitial().get(0)); + Assertions.assertEquals("iplbpodxunkbebxm", model.container()); + Assertions.assertEquals("byyntwlrbqt", model.loggingContainer()); + Assertions.assertEquals("ievseotgqrllt", model.importPrefix()); + Assertions.assertEquals("lauwzizxbmpgcjef", model.importPrefixesInitial().get(0)); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - AmlFilesystemHsmSettings model = new AmlFilesystemHsmSettings().withContainer("od") - .withLoggingContainer("xzb") - .withImportPrefix("blylpstdbh") - .withImportPrefixesInitial(Arrays.asList("rzdzucerscdnt", "evfiwjmygt", "sslswtmweriof", "pyqs")); + AmlFilesystemHsmSettings model = new AmlFilesystemHsmSettings().withContainer("iplbpodxunkbebxm") + .withLoggingContainer("byyntwlrbqt") + .withImportPrefix("ievseotgqrllt") + .withImportPrefixesInitial( + Arrays.asList("lauwzizxbmpgcjef", "zmuvpbttdumorppx", "bmnzbtbhjpgl", "fgohdneuelfphs")); model = BinaryData.fromObject(model).toObject(AmlFilesystemHsmSettings.class); - Assertions.assertEquals("od", model.container()); - Assertions.assertEquals("xzb", model.loggingContainer()); - Assertions.assertEquals("blylpstdbh", model.importPrefix()); - Assertions.assertEquals("rzdzucerscdnt", model.importPrefixesInitial().get(0)); + Assertions.assertEquals("iplbpodxunkbebxm", model.container()); + Assertions.assertEquals("byyntwlrbqt", model.loggingContainer()); + Assertions.assertEquals("ievseotgqrllt", model.importPrefix()); + Assertions.assertEquals("lauwzizxbmpgcjef", model.importPrefixesInitial().get(0)); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemIdentityTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemIdentityTests.java index 1e73cba22261..26b66988e0fb 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemIdentityTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemIdentityTests.java @@ -16,7 +16,7 @@ public final class AmlFilesystemIdentityTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AmlFilesystemIdentity model = BinaryData.fromString( - "{\"principalId\":\"v\",\"tenantId\":\"ur\",\"type\":\"None\",\"userAssignedIdentities\":{\"bogqxndlkzgxhu\":{\"principalId\":\"bdagxt\",\"clientId\":\"qdxbxwa\"},\"lrb\":{\"principalId\":\"plbpodxun\",\"clientId\":\"ebxmubyynt\"},\"l\":{\"principalId\":\"koievseo\",\"clientId\":\"q\"},\"pbttdum\":{\"principalId\":\"muwlauwzizxbm\",\"clientId\":\"cjefuzmu\"}}}") + "{\"principalId\":\"fuflrwdmhdlx\",\"tenantId\":\"rxsagafcnihgwqa\",\"type\":\"None\",\"userAssignedIdentities\":{\"sotbob\":{\"principalId\":\"bcvkcvqvpkeq\",\"clientId\":\"vdrhvoo\"},\"mutwuoe\":{\"principalId\":\"opcjwvnhd\",\"clientId\":\"wmgxcxrsl\"}}}") .toObject(AmlFilesystemIdentity.class); Assertions.assertEquals(AmlFilesystemIdentityType.NONE, model.type()); } @@ -25,8 +25,7 @@ public void testDeserialize() throws Exception { public void testSerialize() throws Exception { AmlFilesystemIdentity model = new AmlFilesystemIdentity().withType(AmlFilesystemIdentityType.NONE) .withUserAssignedIdentities( - mapOf("bogqxndlkzgxhu", new UserAssignedIdentitiesValue(), "lrb", new UserAssignedIdentitiesValue(), - "l", new UserAssignedIdentitiesValue(), "pbttdum", new UserAssignedIdentitiesValue())); + mapOf("sotbob", new UserAssignedIdentitiesValue(), "mutwuoe", new UserAssignedIdentitiesValue())); model = BinaryData.fromObject(model).toObject(AmlFilesystemIdentity.class); Assertions.assertEquals(AmlFilesystemIdentityType.NONE, model.type()); } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemPropertiesMaintenanceWindowTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemPropertiesMaintenanceWindowTests.java index 0c781e4f2e28..c8cef1ed203a 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemPropertiesMaintenanceWindowTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemPropertiesMaintenanceWindowTests.java @@ -13,19 +13,19 @@ public final class AmlFilesystemPropertiesMaintenanceWindowTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AmlFilesystemPropertiesMaintenanceWindow model - = BinaryData.fromString("{\"dayOfWeek\":\"Friday\",\"timeOfDayUTC\":\"thnzd\"}") + = BinaryData.fromString("{\"dayOfWeek\":\"Tuesday\",\"timeOfDayUTC\":\"mwabnetshhszhedp\"}") .toObject(AmlFilesystemPropertiesMaintenanceWindow.class); - Assertions.assertEquals(MaintenanceDayOfWeekType.FRIDAY, model.dayOfWeek()); - Assertions.assertEquals("thnzd", model.timeOfDayUtc()); + Assertions.assertEquals(MaintenanceDayOfWeekType.TUESDAY, model.dayOfWeek()); + Assertions.assertEquals("mwabnetshhszhedp", model.timeOfDayUtc()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { AmlFilesystemPropertiesMaintenanceWindow model - = new AmlFilesystemPropertiesMaintenanceWindow().withDayOfWeek(MaintenanceDayOfWeekType.FRIDAY) - .withTimeOfDayUtc("thnzd"); + = new AmlFilesystemPropertiesMaintenanceWindow().withDayOfWeek(MaintenanceDayOfWeekType.TUESDAY) + .withTimeOfDayUtc("mwabnetshhszhedp"); model = BinaryData.fromObject(model).toObject(AmlFilesystemPropertiesMaintenanceWindow.class); - Assertions.assertEquals(MaintenanceDayOfWeekType.FRIDAY, model.dayOfWeek()); - Assertions.assertEquals("thnzd", model.timeOfDayUtc()); + Assertions.assertEquals(MaintenanceDayOfWeekType.TUESDAY, model.dayOfWeek()); + Assertions.assertEquals("mwabnetshhszhedp", model.timeOfDayUtc()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemRootSquashSettingsTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemRootSquashSettingsTests.java index 9b7cbc042b80..aa8ac4c21eb1 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemRootSquashSettingsTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemRootSquashSettingsTests.java @@ -13,25 +13,25 @@ public final class AmlFilesystemRootSquashSettingsTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AmlFilesystemRootSquashSettings model = BinaryData.fromString( - "{\"mode\":\"All\",\"noSquashNidLists\":\"z\",\"squashUID\":7788102211141342561,\"squashGID\":8569515423946010786,\"status\":\"qzeqqkdltfzxm\"}") + "{\"mode\":\"RootOnly\",\"noSquashNidLists\":\"wacf\",\"squashUID\":8776901652599594747,\"squashGID\":3867378913367367279,\"status\":\"kfvhqcrailvpn\"}") .toObject(AmlFilesystemRootSquashSettings.class); - Assertions.assertEquals(AmlFilesystemSquashMode.ALL, model.mode()); - Assertions.assertEquals("z", model.noSquashNidLists()); - Assertions.assertEquals(7788102211141342561L, model.squashUid()); - Assertions.assertEquals(8569515423946010786L, model.squashGid()); + Assertions.assertEquals(AmlFilesystemSquashMode.ROOT_ONLY, model.mode()); + Assertions.assertEquals("wacf", model.noSquashNidLists()); + Assertions.assertEquals(8776901652599594747L, model.squashUid()); + Assertions.assertEquals(3867378913367367279L, model.squashGid()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { AmlFilesystemRootSquashSettings model - = new AmlFilesystemRootSquashSettings().withMode(AmlFilesystemSquashMode.ALL) - .withNoSquashNidLists("z") - .withSquashUid(7788102211141342561L) - .withSquashGid(8569515423946010786L); + = new AmlFilesystemRootSquashSettings().withMode(AmlFilesystemSquashMode.ROOT_ONLY) + .withNoSquashNidLists("wacf") + .withSquashUid(8776901652599594747L) + .withSquashGid(3867378913367367279L); model = BinaryData.fromObject(model).toObject(AmlFilesystemRootSquashSettings.class); - Assertions.assertEquals(AmlFilesystemSquashMode.ALL, model.mode()); - Assertions.assertEquals("z", model.noSquashNidLists()); - Assertions.assertEquals(7788102211141342561L, model.squashUid()); - Assertions.assertEquals(8569515423946010786L, model.squashGid()); + Assertions.assertEquals(AmlFilesystemSquashMode.ROOT_ONLY, model.mode()); + Assertions.assertEquals("wacf", model.noSquashNidLists()); + Assertions.assertEquals(8776901652599594747L, model.squashUid()); + Assertions.assertEquals(3867378913367367279L, model.squashGid()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemUpdatePropertiesMaintenanceWindowTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemUpdatePropertiesMaintenanceWindowTests.java index 5a80d9c47ef5..abc3b0db3e37 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemUpdatePropertiesMaintenanceWindowTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemUpdatePropertiesMaintenanceWindowTests.java @@ -13,19 +13,19 @@ public final class AmlFilesystemUpdatePropertiesMaintenanceWindowTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AmlFilesystemUpdatePropertiesMaintenanceWindow model - = BinaryData.fromString("{\"dayOfWeek\":\"Friday\",\"timeOfDayUTC\":\"o\"}") + = BinaryData.fromString("{\"dayOfWeek\":\"Saturday\",\"timeOfDayUTC\":\"mnubexkpzksmond\"}") .toObject(AmlFilesystemUpdatePropertiesMaintenanceWindow.class); - Assertions.assertEquals(MaintenanceDayOfWeekType.FRIDAY, model.dayOfWeek()); - Assertions.assertEquals("o", model.timeOfDayUtc()); + Assertions.assertEquals(MaintenanceDayOfWeekType.SATURDAY, model.dayOfWeek()); + Assertions.assertEquals("mnubexkpzksmond", model.timeOfDayUtc()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { AmlFilesystemUpdatePropertiesMaintenanceWindow model - = new AmlFilesystemUpdatePropertiesMaintenanceWindow().withDayOfWeek(MaintenanceDayOfWeekType.FRIDAY) - .withTimeOfDayUtc("o"); + = new AmlFilesystemUpdatePropertiesMaintenanceWindow().withDayOfWeek(MaintenanceDayOfWeekType.SATURDAY) + .withTimeOfDayUtc("mnubexkpzksmond"); model = BinaryData.fromObject(model).toObject(AmlFilesystemUpdatePropertiesMaintenanceWindow.class); - Assertions.assertEquals(MaintenanceDayOfWeekType.FRIDAY, model.dayOfWeek()); - Assertions.assertEquals("o", model.timeOfDayUtc()); + Assertions.assertEquals(MaintenanceDayOfWeekType.SATURDAY, model.dayOfWeek()); + Assertions.assertEquals("mnubexkpzksmond", model.timeOfDayUtc()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsArchiveWithResponseMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsArchiveWithResponseMockTests.java index 940dd02ba81f..546b0749a518 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsArchiveWithResponseMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsArchiveWithResponseMockTests.java @@ -29,7 +29,7 @@ public void testArchiveWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.amlFilesystems() - .archiveWithResponse("b", "yvudtjuewbci", new AmlFilesystemArchiveInfo().withFilesystemPath("uuwhcjyxcc"), + .archiveWithResponse("yqxtjjfzql", "hycav", new AmlFilesystemArchiveInfo().withFilesystemPath("ggxdb"), com.azure.core.util.Context.NONE); } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCancelArchiveWithResponseMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCancelArchiveWithResponseMockTests.java index 8515f4c8b092..18dd71b3a8a1 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCancelArchiveWithResponseMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsCancelArchiveWithResponseMockTests.java @@ -27,7 +27,7 @@ public void testCancelArchiveWithResponse() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.amlFilesystems().cancelArchiveWithResponse("bvpa", "akkud", com.azure.core.util.Context.NONE); + manager.amlFilesystems().cancelArchiveWithResponse("esmi", "knlrariaawiuagy", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsDeleteMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsDeleteMockTests.java index 5bc14bbea493..70a0d965355e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsDeleteMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AmlFilesystemsDeleteMockTests.java @@ -27,7 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.amlFilesystems().delete("xyiopidkqqfku", "s", com.azure.core.util.Context.NONE); + manager.amlFilesystems().delete("spave", "hrv", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AscOperationPropertiesTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AscOperationPropertiesTests.java index d1fb2051b0f1..97c6bab6c003 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AscOperationPropertiesTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AscOperationPropertiesTests.java @@ -11,7 +11,7 @@ public final class AscOperationPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AscOperationProperties model = BinaryData.fromString( - "{\"output\":{\"inrfdwoyu\":\"\\\"datazkopb\\\"\",\"l\":\"\\\"datahziuiefozbhdms\\\"\",\"rmaequ\":\"\\\"datazqhof\\\"\"}}") + "{\"output\":{\"uzhlhkjoqrv\":\"\\\"datakdgszywkbirr\\\"\",\"oupmfii\":\"\\\"dataqaatjinrv\\\"\",\"x\":\"\\\"datafggjioolvr\\\"\"}}") .toObject(AscOperationProperties.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AscUsagesListMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AscUsagesListMockTests.java index 7eedc54ad70f..cf19b73d4b87 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AscUsagesListMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AscUsagesListMockTests.java @@ -21,7 +21,7 @@ public final class AscUsagesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"limit\":870046767,\"unit\":\"jid\",\"currentValue\":1213525244,\"name\":{\"value\":\"kyxvxevblbjedn\",\"localizedValue\":\"lageuaulxun\"}}]}"; + = "{\"value\":[{\"limit\":888405116,\"unit\":\"utlwexxwla\",\"currentValue\":468849318,\"name\":{\"value\":\"zsrzpgepq\",\"localizedValue\":\"bb\"}}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -30,7 +30,8 @@ public void testList() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response = manager.ascUsages().list("akz", com.azure.core.util.Context.NONE); + PagedIterable response + = manager.ascUsages().list("nomdrkywuhpsv", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobUpdatePropertiesTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobUpdatePropertiesTests.java index 89682a58ab92..d08e16dfc629 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobUpdatePropertiesTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobUpdatePropertiesTests.java @@ -13,15 +13,15 @@ public final class AutoExportJobUpdatePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AutoExportJobUpdateProperties model - = BinaryData.fromString("{\"adminStatus\":\"Disable\"}").toObject(AutoExportJobUpdateProperties.class); - Assertions.assertEquals(AutoExportJobAdminStatus.DISABLE, model.adminStatus()); + = BinaryData.fromString("{\"adminStatus\":\"Enable\"}").toObject(AutoExportJobUpdateProperties.class); + Assertions.assertEquals(AutoExportJobAdminStatus.ENABLE, model.adminStatus()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { AutoExportJobUpdateProperties model - = new AutoExportJobUpdateProperties().withAdminStatus(AutoExportJobAdminStatus.DISABLE); + = new AutoExportJobUpdateProperties().withAdminStatus(AutoExportJobAdminStatus.ENABLE); model = BinaryData.fromObject(model).toObject(AutoExportJobUpdateProperties.class); - Assertions.assertEquals(AutoExportJobAdminStatus.DISABLE, model.adminStatus()); + Assertions.assertEquals(AutoExportJobAdminStatus.ENABLE, model.adminStatus()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobUpdateTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobUpdateTests.java index 3441759b7aff..dde05dfe0112 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobUpdateTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoExportJobUpdateTests.java @@ -15,20 +15,19 @@ public final class AutoExportJobUpdateTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AutoExportJobUpdate model = BinaryData.fromString( - "{\"tags\":{\"vmbmp\":\"sluicpdggkzz\",\"uefywsbpfvmwy\":\"xmodf\"},\"properties\":{\"adminStatus\":\"Disable\"}}") + "{\"tags\":{\"ulpiuj\":\"kcnqxwbpo\",\"obyu\":\"aasipqi\"},\"properties\":{\"adminStatus\":\"Enable\"}}") .toObject(AutoExportJobUpdate.class); - Assertions.assertEquals("sluicpdggkzz", model.tags().get("vmbmp")); - Assertions.assertEquals(AutoExportJobAdminStatus.DISABLE, model.adminStatus()); + Assertions.assertEquals("kcnqxwbpo", model.tags().get("ulpiuj")); + Assertions.assertEquals(AutoExportJobAdminStatus.ENABLE, model.adminStatus()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - AutoExportJobUpdate model - = new AutoExportJobUpdate().withTags(mapOf("vmbmp", "sluicpdggkzz", "uefywsbpfvmwy", "xmodf")) - .withAdminStatus(AutoExportJobAdminStatus.DISABLE); + AutoExportJobUpdate model = new AutoExportJobUpdate().withTags(mapOf("ulpiuj", "kcnqxwbpo", "obyu", "aasipqi")) + .withAdminStatus(AutoExportJobAdminStatus.ENABLE); model = BinaryData.fromObject(model).toObject(AutoExportJobUpdate.class); - Assertions.assertEquals("sluicpdggkzz", model.tags().get("vmbmp")); - Assertions.assertEquals(AutoExportJobAdminStatus.DISABLE, model.adminStatus()); + Assertions.assertEquals("kcnqxwbpo", model.tags().get("ulpiuj")); + Assertions.assertEquals(AutoExportJobAdminStatus.ENABLE, model.adminStatus()); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobPropertiesStatusBlobSyncEventsTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobPropertiesStatusBlobSyncEventsTests.java index 5876fc2b6805..416c029441b6 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobPropertiesStatusBlobSyncEventsTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobPropertiesStatusBlobSyncEventsTests.java @@ -11,7 +11,7 @@ public final class AutoImportJobPropertiesStatusBlobSyncEventsTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AutoImportJobPropertiesStatusBlobSyncEvents model = BinaryData.fromString( - "{\"importedFiles\":7729076180734759194,\"importedDirectories\":6240929679987561692,\"importedSymlinks\":1198847986383751038,\"preexistingFiles\":2564546549976864523,\"preexistingDirectories\":3175851773458085291,\"preexistingSymlinks\":7006051412962010375,\"totalBlobsImported\":2787297702458911120,\"rateOfBlobImport\":8730500535564914627,\"totalErrors\":840452358512329690,\"totalConflicts\":2977949110627506617,\"deletions\":9051460600298746000,\"lastChangeFeedEventConsumedTime\":\"2021-07-26T09:04:37Z\",\"lastTimeFullySynchronized\":\"2021-09-24T16:40:45Z\"}") + "{\"importedFiles\":7437240091195438123,\"importedDirectories\":4122808446567257102,\"importedSymlinks\":8683067691856036748,\"preexistingFiles\":2193229469155152172,\"preexistingDirectories\":2330390624121963294,\"preexistingSymlinks\":4989783820906018065,\"totalBlobsImported\":3111999108543895279,\"rateOfBlobImport\":8684744606268928331,\"totalErrors\":9021745847558937122,\"totalConflicts\":5521111989104394475,\"deletions\":4981925315017214440,\"lastChangeFeedEventConsumedTime\":\"2021-10-01T10:28:10Z\",\"lastTimeFullySynchronized\":\"2021-06-22T02:09:03Z\"}") .toObject(AutoImportJobPropertiesStatusBlobSyncEvents.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobUpdateTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobUpdateTests.java index 012aa5a11912..ae8e4783dad6 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobUpdateTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/AutoImportJobUpdateTests.java @@ -15,20 +15,21 @@ public final class AutoImportJobUpdateTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { AutoImportJobUpdate model = BinaryData.fromString( - "{\"tags\":{\"lsfeaenwabfatkld\":\"r\",\"oulpjrv\":\"xbjhwuaanozjosph\"},\"properties\":{\"adminStatus\":\"Enable\"}}") + "{\"tags\":{\"dsyuuximerqfob\":\"zkoowtlmnguxawqa\",\"utwpfhp\":\"yznkby\",\"tdlmkkzevd\":\"gmhrskdsnfdsdoak\"},\"properties\":{\"adminStatus\":\"Disable\"}}") .toObject(AutoImportJobUpdate.class); - Assertions.assertEquals("r", model.tags().get("lsfeaenwabfatkld")); - Assertions.assertEquals(AutoImportJobUpdatePropertiesAdminStatus.ENABLE, model.adminStatus()); + Assertions.assertEquals("zkoowtlmnguxawqa", model.tags().get("dsyuuximerqfob")); + Assertions.assertEquals(AutoImportJobUpdatePropertiesAdminStatus.DISABLE, model.adminStatus()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - AutoImportJobUpdate model - = new AutoImportJobUpdate().withTags(mapOf("lsfeaenwabfatkld", "r", "oulpjrv", "xbjhwuaanozjosph")) - .withAdminStatus(AutoImportJobUpdatePropertiesAdminStatus.ENABLE); + AutoImportJobUpdate model = new AutoImportJobUpdate() + .withTags( + mapOf("dsyuuximerqfob", "zkoowtlmnguxawqa", "utwpfhp", "yznkby", "tdlmkkzevd", "gmhrskdsnfdsdoak")) + .withAdminStatus(AutoImportJobUpdatePropertiesAdminStatus.DISABLE); model = BinaryData.fromObject(model).toObject(AutoImportJobUpdate.class); - Assertions.assertEquals("r", model.tags().get("lsfeaenwabfatkld")); - Assertions.assertEquals(AutoImportJobUpdatePropertiesAdminStatus.ENABLE, model.adminStatus()); + Assertions.assertEquals("zkoowtlmnguxawqa", model.tags().get("dsyuuximerqfob")); + Assertions.assertEquals(AutoImportJobUpdatePropertiesAdminStatus.DISABLE, model.adminStatus()); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/BlobNfsTargetTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/BlobNfsTargetTests.java index 4d28ece6b973..cb01840d4eff 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/BlobNfsTargetTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/BlobNfsTargetTests.java @@ -12,24 +12,24 @@ public final class BlobNfsTargetTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { BlobNfsTarget model = BinaryData.fromString( - "{\"target\":\"ni\",\"usageModel\":\"x\",\"verificationTimer\":1405180794,\"writeBackTimer\":142305050}") + "{\"target\":\"ashsfwxos\",\"usageModel\":\"z\",\"verificationTimer\":1177990560,\"writeBackTimer\":11356345}") .toObject(BlobNfsTarget.class); - Assertions.assertEquals("ni", model.target()); - Assertions.assertEquals("x", model.usageModel()); - Assertions.assertEquals(1405180794, model.verificationTimer()); - Assertions.assertEquals(142305050, model.writeBackTimer()); + Assertions.assertEquals("ashsfwxos", model.target()); + Assertions.assertEquals("z", model.usageModel()); + Assertions.assertEquals(1177990560, model.verificationTimer()); + Assertions.assertEquals(11356345, model.writeBackTimer()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - BlobNfsTarget model = new BlobNfsTarget().withTarget("ni") - .withUsageModel("x") - .withVerificationTimer(1405180794) - .withWriteBackTimer(142305050); + BlobNfsTarget model = new BlobNfsTarget().withTarget("ashsfwxos") + .withUsageModel("z") + .withVerificationTimer(1177990560) + .withWriteBackTimer(11356345); model = BinaryData.fromObject(model).toObject(BlobNfsTarget.class); - Assertions.assertEquals("ni", model.target()); - Assertions.assertEquals("x", model.usageModel()); - Assertions.assertEquals(1405180794, model.verificationTimer()); - Assertions.assertEquals(142305050, model.writeBackTimer()); + Assertions.assertEquals("ashsfwxos", model.target()); + Assertions.assertEquals("z", model.usageModel()); + Assertions.assertEquals(1177990560, model.verificationTimer()); + Assertions.assertEquals(11356345, model.writeBackTimer()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheHealthTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheHealthTests.java index 18c61cf01353..af794c13a2df 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheHealthTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheHealthTests.java @@ -13,9 +13,9 @@ public final class CacheHealthTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CacheHealth model = BinaryData.fromString( - "{\"state\":\"Upgrading\",\"statusDescription\":\"acfi\",\"conditions\":[{\"timestamp\":\"2021-03-20T17:28:20Z\",\"message\":\"etqgtzxdpnq\"}]}") + "{\"state\":\"WaitingForKey\",\"statusDescription\":\"tgrhpdjpjumas\",\"conditions\":[{\"timestamp\":\"2021-05-13T06:58:13Z\",\"message\":\"yegu\"}]}") .toObject(CacheHealth.class); - Assertions.assertEquals(HealthStateType.UPGRADING, model.state()); - Assertions.assertEquals("acfi", model.statusDescription()); + Assertions.assertEquals(HealthStateType.WAITING_FOR_KEY, model.state()); + Assertions.assertEquals("tgrhpdjpjumas", model.statusDescription()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheIdentityTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheIdentityTests.java index 4e645a6296a0..50d40b18d2dc 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheIdentityTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheIdentityTests.java @@ -16,18 +16,18 @@ public final class CacheIdentityTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CacheIdentity model = BinaryData.fromString( - "{\"principalId\":\"rfuwutt\",\"tenantId\":\"fvjrbirphxepcy\",\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"uujqgidokgjljyo\":{\"principalId\":\"jky\",\"clientId\":\"j\"},\"hbijhtxfvgxb\":{\"principalId\":\"vcltbgsncgh\",\"clientId\":\"esz\"}}}") + "{\"principalId\":\"mwvvjektcxsenhw\",\"tenantId\":\"s\",\"type\":\"None\",\"userAssignedIdentities\":{\"tvfcivfsn\":{\"principalId\":\"v\",\"clientId\":\"dqgbiqylihkaetc\"},\"rfuwutt\":{\"principalId\":\"m\",\"clientId\":\"tqhjfbebrjcx\"}}}") .toObject(CacheIdentity.class); - Assertions.assertEquals(CacheIdentityType.USER_ASSIGNED, model.type()); + Assertions.assertEquals(CacheIdentityType.NONE, model.type()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - CacheIdentity model = new CacheIdentity().withType(CacheIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(mapOf("uujqgidokgjljyo", new UserAssignedIdentitiesValue(), "hbijhtxfvgxb", - new UserAssignedIdentitiesValue())); + CacheIdentity model = new CacheIdentity().withType(CacheIdentityType.NONE) + .withUserAssignedIdentities( + mapOf("tvfcivfsn", new UserAssignedIdentitiesValue(), "rfuwutt", new UserAssignedIdentitiesValue())); model = BinaryData.fromObject(model).toObject(CacheIdentity.class); - Assertions.assertEquals(CacheIdentityType.USER_ASSIGNED, model.type()); + Assertions.assertEquals(CacheIdentityType.NONE, model.type()); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheNetworkSettingsTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheNetworkSettingsTests.java index 40fb897256e3..98245832c8f6 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheNetworkSettingsTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheNetworkSettingsTests.java @@ -13,24 +13,24 @@ public final class CacheNetworkSettingsTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CacheNetworkSettings model = BinaryData.fromString( - "{\"mtu\":1873646059,\"utilityAddresses\":[\"jease\",\"pheoflokeyy\",\"enjbdlwtgrhp\",\"jp\"],\"dnsServers\":[\"asxazjpqyegualhb\",\"xhejjzzvdud\",\"wdslfhotwmcy\",\"pwlbjnpg\"],\"dnsSearchDomain\":\"ftadehxnltyfs\",\"ntpServer\":\"pusuesn\"}") + "{\"mtu\":1099330569,\"utilityAddresses\":[\"ppusuesnzwdejba\",\"orxzdmohctbqvud\",\"xdn\"],\"dnsServers\":[\"owgujjugwdkcglhs\"],\"dnsSearchDomain\":\"zj\",\"ntpServer\":\"ggd\"}") .toObject(CacheNetworkSettings.class); - Assertions.assertEquals(1873646059, model.mtu()); - Assertions.assertEquals("asxazjpqyegualhb", model.dnsServers().get(0)); - Assertions.assertEquals("ftadehxnltyfs", model.dnsSearchDomain()); - Assertions.assertEquals("pusuesn", model.ntpServer()); + Assertions.assertEquals(1099330569, model.mtu()); + Assertions.assertEquals("owgujjugwdkcglhs", model.dnsServers().get(0)); + Assertions.assertEquals("zj", model.dnsSearchDomain()); + Assertions.assertEquals("ggd", model.ntpServer()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - CacheNetworkSettings model = new CacheNetworkSettings().withMtu(1873646059) - .withDnsServers(Arrays.asList("asxazjpqyegualhb", "xhejjzzvdud", "wdslfhotwmcy", "pwlbjnpg")) - .withDnsSearchDomain("ftadehxnltyfs") - .withNtpServer("pusuesn"); + CacheNetworkSettings model = new CacheNetworkSettings().withMtu(1099330569) + .withDnsServers(Arrays.asList("owgujjugwdkcglhs")) + .withDnsSearchDomain("zj") + .withNtpServer("ggd"); model = BinaryData.fromObject(model).toObject(CacheNetworkSettings.class); - Assertions.assertEquals(1873646059, model.mtu()); - Assertions.assertEquals("asxazjpqyegualhb", model.dnsServers().get(0)); - Assertions.assertEquals("ftadehxnltyfs", model.dnsSearchDomain()); - Assertions.assertEquals("pusuesn", model.ntpServer()); + Assertions.assertEquals(1099330569, model.mtu()); + Assertions.assertEquals("owgujjugwdkcglhs", model.dnsServers().get(0)); + Assertions.assertEquals("zj", model.dnsSearchDomain()); + Assertions.assertEquals("ggd", model.ntpServer()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheSecuritySettingsTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheSecuritySettingsTests.java index e7cfa92a8065..6ceb1761e99b 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheSecuritySettingsTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheSecuritySettingsTests.java @@ -17,98 +17,49 @@ public final class CacheSecuritySettingsTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CacheSecuritySettings model = BinaryData.fromString( - "{\"accessPolicies\":[{\"name\":\"wdkcglhsl\",\"accessRules\":[{\"scope\":\"network\",\"filter\":\"yggdtjixh\",\"access\":\"ro\",\"suid\":true,\"submountAccess\":true,\"rootSquash\":false,\"anonymousUID\":\"kh\",\"anonymousGID\":\"n\"}]},{\"name\":\"vfyexfw\",\"accessRules\":[{\"scope\":\"network\",\"filter\":\"i\",\"access\":\"ro\",\"suid\":true,\"submountAccess\":false,\"rootSquash\":false,\"anonymousUID\":\"ynnaam\",\"anonymousGID\":\"ctehfiqscjey\"},{\"scope\":\"host\",\"filter\":\"ezrkgqhcjrefo\",\"access\":\"no\",\"suid\":true,\"submountAccess\":false,\"rootSquash\":true,\"anonymousUID\":\"yvxyqjp\",\"anonymousGID\":\"attpngjcrcczsq\"},{\"scope\":\"host\",\"filter\":\"vmdajvnysou\",\"access\":\"rw\",\"suid\":true,\"submountAccess\":false,\"rootSquash\":false,\"anonymousUID\":\"upfh\",\"anonymousGID\":\"ltrpmopj\"},{\"scope\":\"default\",\"filter\":\"atuokthfuiu\",\"access\":\"rw\",\"suid\":true,\"submountAccess\":false,\"rootSquash\":false,\"anonymousUID\":\"xodpuozmyzydagfu\",\"anonymousGID\":\"bezy\"}]},{\"name\":\"uokktwhrdxwz\",\"accessRules\":[{\"scope\":\"network\",\"filter\":\"mbsureximo\",\"access\":\"no\",\"suid\":false,\"submountAccess\":false,\"rootSquash\":false,\"anonymousUID\":\"ymddys\",\"anonymousGID\":\"i\"},{\"scope\":\"default\",\"filter\":\"hqyudxorrqnbpoc\",\"access\":\"no\",\"suid\":false,\"submountAccess\":false,\"rootSquash\":false,\"anonymousUID\":\"dvjsllrmvvdf\",\"anonymousGID\":\"t\"}]}]}") + "{\"accessPolicies\":[{\"name\":\"bvyvdcsity\",\"accessRules\":[{\"scope\":\"network\",\"filter\":\"mdectehfiqscjey\",\"access\":\"rw\",\"suid\":true,\"submountAccess\":true,\"rootSquash\":true,\"anonymousUID\":\"hcjrefovgmk\",\"anonymousGID\":\"leyyvx\"},{\"scope\":\"host\",\"filter\":\"pkc\",\"access\":\"ro\",\"suid\":true,\"submountAccess\":true,\"rootSquash\":false,\"anonymousUID\":\"cczsq\",\"anonymousGID\":\"hvmdajvnysounq\"}]}]}") .toObject(CacheSecuritySettings.class); - Assertions.assertEquals("wdkcglhsl", model.accessPolicies().get(0).name()); + Assertions.assertEquals("bvyvdcsity", model.accessPolicies().get(0).name()); Assertions.assertEquals(NfsAccessRuleScope.NETWORK, model.accessPolicies().get(0).accessRules().get(0).scope()); - Assertions.assertEquals("yggdtjixh", model.accessPolicies().get(0).accessRules().get(0).filter()); - Assertions.assertEquals(NfsAccessRuleAccess.RO, model.accessPolicies().get(0).accessRules().get(0).access()); + Assertions.assertEquals("mdectehfiqscjey", model.accessPolicies().get(0).accessRules().get(0).filter()); + Assertions.assertEquals(NfsAccessRuleAccess.RW, model.accessPolicies().get(0).accessRules().get(0).access()); Assertions.assertTrue(model.accessPolicies().get(0).accessRules().get(0).suid()); Assertions.assertTrue(model.accessPolicies().get(0).accessRules().get(0).submountAccess()); - Assertions.assertFalse(model.accessPolicies().get(0).accessRules().get(0).rootSquash()); - Assertions.assertEquals("kh", model.accessPolicies().get(0).accessRules().get(0).anonymousUid()); - Assertions.assertEquals("n", model.accessPolicies().get(0).accessRules().get(0).anonymousGid()); + Assertions.assertTrue(model.accessPolicies().get(0).accessRules().get(0).rootSquash()); + Assertions.assertEquals("hcjrefovgmk", model.accessPolicies().get(0).accessRules().get(0).anonymousUid()); + Assertions.assertEquals("leyyvx", model.accessPolicies().get(0).accessRules().get(0).anonymousGid()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { CacheSecuritySettings model - = new CacheSecuritySettings() - .withAccessPolicies( - Arrays - .asList( - new NfsAccessPolicy().withName("wdkcglhsl") - .withAccessRules( - Arrays - .asList(new NfsAccessRule().withScope(NfsAccessRuleScope.NETWORK) - .withFilter("yggdtjixh") - .withAccess(NfsAccessRuleAccess.RO) - .withSuid(true) - .withSubmountAccess(true) - .withRootSquash(false) - .withAnonymousUid("kh") - .withAnonymousGid("n"))), - new NfsAccessPolicy().withName("vfyexfw") - .withAccessRules(Arrays.asList( - new NfsAccessRule().withScope(NfsAccessRuleScope.NETWORK) - .withFilter("i") - .withAccess(NfsAccessRuleAccess.RO) - .withSuid(true) - .withSubmountAccess(false) - .withRootSquash(false) - .withAnonymousUid("ynnaam") - .withAnonymousGid("ctehfiqscjey"), - new NfsAccessRule().withScope(NfsAccessRuleScope.HOST) - .withFilter("ezrkgqhcjrefo") - .withAccess(NfsAccessRuleAccess.NO) - .withSuid(true) - .withSubmountAccess(false) - .withRootSquash(true) - .withAnonymousUid("yvxyqjp") - .withAnonymousGid("attpngjcrcczsq"), - new NfsAccessRule().withScope(NfsAccessRuleScope.HOST) - .withFilter("vmdajvnysou") - .withAccess(NfsAccessRuleAccess.RW) - .withSuid(true) - .withSubmountAccess(false) - .withRootSquash(false) - .withAnonymousUid("upfh") - .withAnonymousGid("ltrpmopj"), - new NfsAccessRule().withScope(NfsAccessRuleScope.DEFAULT) - .withFilter("atuokthfuiu") - .withAccess(NfsAccessRuleAccess.RW) - .withSuid(true) - .withSubmountAccess(false) - .withRootSquash(false) - .withAnonymousUid("xodpuozmyzydagfu") - .withAnonymousGid("bezy"))), - new NfsAccessPolicy().withName("uokktwhrdxwz") - .withAccessRules(Arrays.asList( - new NfsAccessRule().withScope(NfsAccessRuleScope.NETWORK) - .withFilter("mbsureximo") - .withAccess(NfsAccessRuleAccess.NO) - .withSuid(false) - .withSubmountAccess(false) - .withRootSquash(false) - .withAnonymousUid("ymddys") - .withAnonymousGid("i"), - new NfsAccessRule().withScope(NfsAccessRuleScope.DEFAULT) - .withFilter("hqyudxorrqnbpoc") - .withAccess(NfsAccessRuleAccess.NO) - .withSuid(false) - .withSubmountAccess(false) - .withRootSquash(false) - .withAnonymousUid("dvjsllrmvvdf") - .withAnonymousGid("t"))))); + = new CacheSecuritySettings().withAccessPolicies(Arrays.asList(new NfsAccessPolicy().withName("bvyvdcsity") + .withAccessRules(Arrays.asList( + new NfsAccessRule().withScope(NfsAccessRuleScope.NETWORK) + .withFilter("mdectehfiqscjey") + .withAccess(NfsAccessRuleAccess.RW) + .withSuid(true) + .withSubmountAccess(true) + .withRootSquash(true) + .withAnonymousUid("hcjrefovgmk") + .withAnonymousGid("leyyvx"), + new NfsAccessRule().withScope(NfsAccessRuleScope.HOST) + .withFilter("pkc") + .withAccess(NfsAccessRuleAccess.RO) + .withSuid(true) + .withSubmountAccess(true) + .withRootSquash(false) + .withAnonymousUid("cczsq") + .withAnonymousGid("hvmdajvnysounq"))))); model = BinaryData.fromObject(model).toObject(CacheSecuritySettings.class); - Assertions.assertEquals("wdkcglhsl", model.accessPolicies().get(0).name()); + Assertions.assertEquals("bvyvdcsity", model.accessPolicies().get(0).name()); Assertions.assertEquals(NfsAccessRuleScope.NETWORK, model.accessPolicies().get(0).accessRules().get(0).scope()); - Assertions.assertEquals("yggdtjixh", model.accessPolicies().get(0).accessRules().get(0).filter()); - Assertions.assertEquals(NfsAccessRuleAccess.RO, model.accessPolicies().get(0).accessRules().get(0).access()); + Assertions.assertEquals("mdectehfiqscjey", model.accessPolicies().get(0).accessRules().get(0).filter()); + Assertions.assertEquals(NfsAccessRuleAccess.RW, model.accessPolicies().get(0).accessRules().get(0).access()); Assertions.assertTrue(model.accessPolicies().get(0).accessRules().get(0).suid()); Assertions.assertTrue(model.accessPolicies().get(0).accessRules().get(0).submountAccess()); - Assertions.assertFalse(model.accessPolicies().get(0).accessRules().get(0).rootSquash()); - Assertions.assertEquals("kh", model.accessPolicies().get(0).accessRules().get(0).anonymousUid()); - Assertions.assertEquals("n", model.accessPolicies().get(0).accessRules().get(0).anonymousGid()); + Assertions.assertTrue(model.accessPolicies().get(0).accessRules().get(0).rootSquash()); + Assertions.assertEquals("hcjrefovgmk", model.accessPolicies().get(0).accessRules().get(0).anonymousUid()); + Assertions.assertEquals("leyyvx", model.accessPolicies().get(0).accessRules().get(0).anonymousGid()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheSkuTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheSkuTests.java index 425902a7c09f..a870e6c2543a 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheSkuTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheSkuTests.java @@ -11,14 +11,14 @@ public final class CacheSkuTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - CacheSku model = BinaryData.fromString("{\"name\":\"fqkkr\"}").toObject(CacheSku.class); - Assertions.assertEquals("fqkkr", model.name()); + CacheSku model = BinaryData.fromString("{\"name\":\"vuujq\"}").toObject(CacheSku.class); + Assertions.assertEquals("vuujq", model.name()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - CacheSku model = new CacheSku().withName("fqkkr"); + CacheSku model = new CacheSku().withName("vuujq"); model = BinaryData.fromObject(model).toObject(CacheSku.class); - Assertions.assertEquals("fqkkr", model.name()); + Assertions.assertEquals("vuujq", model.name()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheUpgradeSettingsTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheUpgradeSettingsTests.java index 58a8eac35158..ab6caddf0af1 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheUpgradeSettingsTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheUpgradeSettingsTests.java @@ -13,18 +13,18 @@ public final class CacheUpgradeSettingsTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CacheUpgradeSettings model - = BinaryData.fromString("{\"upgradeScheduleEnabled\":false,\"scheduledTime\":\"2021-05-27T06:39:02Z\"}") + = BinaryData.fromString("{\"upgradeScheduleEnabled\":true,\"scheduledTime\":\"2021-04-14T12:48:39Z\"}") .toObject(CacheUpgradeSettings.class); - Assertions.assertFalse(model.upgradeScheduleEnabled()); - Assertions.assertEquals(OffsetDateTime.parse("2021-05-27T06:39:02Z"), model.scheduledTime()); + Assertions.assertTrue(model.upgradeScheduleEnabled()); + Assertions.assertEquals(OffsetDateTime.parse("2021-04-14T12:48:39Z"), model.scheduledTime()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - CacheUpgradeSettings model = new CacheUpgradeSettings().withUpgradeScheduleEnabled(false) - .withScheduledTime(OffsetDateTime.parse("2021-05-27T06:39:02Z")); + CacheUpgradeSettings model = new CacheUpgradeSettings().withUpgradeScheduleEnabled(true) + .withScheduledTime(OffsetDateTime.parse("2021-04-14T12:48:39Z")); model = BinaryData.fromObject(model).toObject(CacheUpgradeSettings.class); - Assertions.assertFalse(model.upgradeScheduleEnabled()); - Assertions.assertEquals(OffsetDateTime.parse("2021-05-27T06:39:02Z"), model.scheduledTime()); + Assertions.assertTrue(model.upgradeScheduleEnabled()); + Assertions.assertEquals(OffsetDateTime.parse("2021-04-14T12:48:39Z"), model.scheduledTime()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheUpgradeStatusTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheUpgradeStatusTests.java index 71d19542975f..2935db61ab2e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheUpgradeStatusTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CacheUpgradeStatusTests.java @@ -11,7 +11,7 @@ public final class CacheUpgradeStatusTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { CacheUpgradeStatus model = BinaryData.fromString( - "{\"currentFirmwareVersion\":\"njampm\",\"firmwareUpdateStatus\":\"available\",\"firmwareUpdateDeadline\":\"2021-10-17T15:10:59Z\",\"lastFirmwareUpdate\":\"2021-08-06T20:55:26Z\",\"pendingFirmwareVersion\":\"qwoochcbon\"}") + "{\"currentFirmwareVersion\":\"gwdslfhotwm\",\"firmwareUpdateStatus\":\"unavailable\",\"firmwareUpdateDeadline\":\"2021-07-29T20:13:33Z\",\"lastFirmwareUpdate\":\"2021-07-05T23:51:59Z\",\"pendingFirmwareVersion\":\"npgacftade\"}") .toObject(CacheUpgradeStatus.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesDebugInfoMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesDebugInfoMockTests.java index 38f50941f32a..89681236aa97 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesDebugInfoMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesDebugInfoMockTests.java @@ -27,7 +27,7 @@ public void testDebugInfo() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.caches().debugInfo("xeznoi", "brnjwmw", com.azure.core.util.Context.NONE); + manager.caches().debugInfo("bth", "stgktst", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesDeleteMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesDeleteMockTests.java index 209f811ec6d3..62aa2c2cb0ee 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesDeleteMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesDeleteMockTests.java @@ -27,7 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.caches().delete("gc", "elvezrypq", com.azure.core.util.Context.NONE); + manager.caches().delete("bgye", "rymsgaojfmw", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesFlushMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesFlushMockTests.java index 9b44c06ac6bd..827addf0fdef 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesFlushMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesFlushMockTests.java @@ -27,7 +27,7 @@ public void testFlush() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.caches().flush("pn", "saz", com.azure.core.util.Context.NONE); + manager.caches().flush("dxeclzedqbcvh", "lhpl", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesStartMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesStartMockTests.java index 52df46cf9b36..c0aa841623d5 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesStartMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesStartMockTests.java @@ -27,7 +27,7 @@ public void testStart() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.caches().start("jjoqkagf", "sxtta", com.azure.core.util.Context.NONE); + manager.caches().start("dqkdlwwqfbu", "lkxt", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesStopMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesStopMockTests.java index d5b8f304a888..c982a091e876 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesStopMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/CachesStopMockTests.java @@ -27,7 +27,7 @@ public void testStop() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.caches().stop("gzxnfaazpxdtnk", "mkqjj", com.azure.core.util.Context.NONE); + manager.caches().stop("qjfsmlmbtxhw", "fwsrtawcoezbrhu", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ClfsTargetTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ClfsTargetTests.java index 63cb00655f77..e2319dab9771 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ClfsTargetTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ClfsTargetTests.java @@ -11,14 +11,14 @@ public final class ClfsTargetTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ClfsTarget model = BinaryData.fromString("{\"target\":\"ecivyh\"}").toObject(ClfsTarget.class); - Assertions.assertEquals("ecivyh", model.target()); + ClfsTarget model = BinaryData.fromString("{\"target\":\"gkvtmelmqkrhah\"}").toObject(ClfsTarget.class); + Assertions.assertEquals("gkvtmelmqkrhah", model.target()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ClfsTarget model = new ClfsTarget().withTarget("ecivyh"); + ClfsTarget model = new ClfsTarget().withTarget("gkvtmelmqkrhah"); model = BinaryData.fromObject(model).toObject(ClfsTarget.class); - Assertions.assertEquals("ecivyh", model.target()); + Assertions.assertEquals("gkvtmelmqkrhah", model.target()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ConditionTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ConditionTests.java index c8d22657cd80..cb0658ec2519 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ConditionTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ConditionTests.java @@ -10,8 +10,7 @@ public final class ConditionTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - Condition model - = BinaryData.fromString("{\"timestamp\":\"2021-10-04T00:28:42Z\",\"message\":\"xrjfeallnwsub\"}") - .toObject(Condition.class); + Condition model = BinaryData.fromString("{\"timestamp\":\"2021-08-03T01:29:55Z\",\"message\":\"xxhejjzzvd\"}") + .toObject(Condition.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobUpdateTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobUpdateTests.java index 253893685c58..af968ebed36c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobUpdateTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ExpansionJobUpdateTests.java @@ -14,17 +14,15 @@ public final class ExpansionJobUpdateTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ExpansionJobUpdate model - = BinaryData.fromString("{\"tags\":{\"kgymareqnajxqug\":\"hyxxrwlycoduhpk\",\"ubeddg\":\"hky\"}}") - .toObject(ExpansionJobUpdate.class); - Assertions.assertEquals("hyxxrwlycoduhpk", model.tags().get("kgymareqnajxqug")); + = BinaryData.fromString("{\"tags\":{\"vwitqscyw\":\"hka\"}}").toObject(ExpansionJobUpdate.class); + Assertions.assertEquals("hka", model.tags().get("vwitqscyw")); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ExpansionJobUpdate model - = new ExpansionJobUpdate().withTags(mapOf("kgymareqnajxqug", "hyxxrwlycoduhpk", "ubeddg", "hky")); + ExpansionJobUpdate model = new ExpansionJobUpdate().withTags(mapOf("vwitqscyw", "hka")); model = BinaryData.fromObject(model).toObject(ExpansionJobUpdate.class); - Assertions.assertEquals("hyxxrwlycoduhpk", model.tags().get("kgymareqnajxqug")); + Assertions.assertEquals("hka", model.tags().get("vwitqscyw")); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobInnerTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobInnerTests.java index cb3bd4dc4e20..60443c55a04c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobInnerTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobInnerTests.java @@ -17,31 +17,32 @@ public final class ImportJobInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImportJobInner model = BinaryData.fromString( - "{\"properties\":{\"provisioningState\":\"Canceled\",\"adminStatus\":\"Active\",\"importPrefixes\":[\"ysmocmbqfqvmkcxo\",\"apvhelxprgly\"],\"conflictResolutionMode\":\"Fail\",\"maximumErrors\":868372706,\"status\":{\"state\":\"Canceled\",\"statusMessage\":\"uejrjxgc\",\"totalBlobsWalked\":3371705957020271141,\"blobsWalkedPerSecond\":2792970654371570691,\"totalBlobsImported\":8083841694155689486,\"importedFiles\":7111560833429516673,\"importedDirectories\":7744101608598421858,\"importedSymlinks\":914510691804718564,\"preexistingFiles\":102542890126801084,\"preexistingDirectories\":3489685407173902017,\"preexistingSymlinks\":5884169234745688104,\"blobsImportedPerSecond\":8865186847409671007,\"lastCompletionTime\":\"2021-06-18T06:02:32Z\",\"lastStartedTime\":\"2021-01-14T17:23:07Z\",\"totalErrors\":1796967394,\"totalConflicts\":569809127}},\"location\":\"wofyyvoqacpiexp\",\"tags\":{\"nqxwbp\":\"iwbwoenwashrtdtk\",\"qiiobyuqer\":\"kulpiujwaasi\",\"bdbutauvf\":\"qlpqwcciuq\"},\"id\":\"tkuwhhmhykojo\",\"name\":\"afnn\",\"type\":\"lpichk\"}") + "{\"properties\":{\"provisioningState\":\"Deleting\",\"adminStatus\":\"Cancel\",\"importPrefixes\":[\"novvqfovljxy\"],\"conflictResolutionMode\":\"OverwriteAlways\",\"maximumErrors\":2009471016,\"status\":{\"state\":\"Cancelling\",\"statusMessage\":\"dsytgadgvr\",\"totalBlobsWalked\":3824304048247848993,\"blobsWalkedPerSecond\":387752028941383088,\"totalBlobsImported\":2560405099971295143,\"importedFiles\":5418047259495493586,\"importedDirectories\":1125965714665499028,\"importedSymlinks\":6720110805650369040,\"preexistingFiles\":8598185540275371348,\"preexistingDirectories\":1710903714386145180,\"preexistingSymlinks\":9086145037828754941,\"blobsImportedPerSecond\":1965197725763741075,\"lastCompletionTime\":\"2021-01-21T02:19:24Z\",\"lastStartedTime\":\"2021-07-10T15:46:03Z\",\"totalErrors\":1307066310,\"totalConflicts\":346562184}},\"location\":\"tohqkvpuvksgp\",\"tags\":{\"n\":\"kn\",\"iyntorzihle\":\"synljphuopxodl\",\"yzrpzbchckqqzq\":\"sjswsrms\",\"ysuiizynkedya\":\"ox\"},\"id\":\"rwyhqmibzyhwitsm\",\"name\":\"pyy\",\"type\":\"pcdpumnz\"}") .toObject(ImportJobInner.class); - Assertions.assertEquals("wofyyvoqacpiexp", model.location()); - Assertions.assertEquals("iwbwoenwashrtdtk", model.tags().get("nqxwbp")); - Assertions.assertEquals(ImportJobAdminStatus.ACTIVE, model.adminStatus()); - Assertions.assertEquals("ysmocmbqfqvmkcxo", model.importPrefixes().get(0)); - Assertions.assertEquals(ConflictResolutionMode.FAIL, model.conflictResolutionMode()); - Assertions.assertEquals(868372706, model.maximumErrors()); + Assertions.assertEquals("tohqkvpuvksgp", model.location()); + Assertions.assertEquals("kn", model.tags().get("n")); + Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.adminStatus()); + Assertions.assertEquals("novvqfovljxy", model.importPrefixes().get(0)); + Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_ALWAYS, model.conflictResolutionMode()); + Assertions.assertEquals(2009471016, model.maximumErrors()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ImportJobInner model = new ImportJobInner().withLocation("wofyyvoqacpiexp") - .withTags(mapOf("nqxwbp", "iwbwoenwashrtdtk", "qiiobyuqer", "kulpiujwaasi", "bdbutauvf", "qlpqwcciuq")) - .withAdminStatus(ImportJobAdminStatus.ACTIVE) - .withImportPrefixes(Arrays.asList("ysmocmbqfqvmkcxo", "apvhelxprgly")) - .withConflictResolutionMode(ConflictResolutionMode.FAIL) - .withMaximumErrors(868372706); + ImportJobInner model = new ImportJobInner().withLocation("tohqkvpuvksgp") + .withTags( + mapOf("n", "kn", "iyntorzihle", "synljphuopxodl", "yzrpzbchckqqzq", "sjswsrms", "ysuiizynkedya", "ox")) + .withAdminStatus(ImportJobAdminStatus.CANCEL) + .withImportPrefixes(Arrays.asList("novvqfovljxy")) + .withConflictResolutionMode(ConflictResolutionMode.OVERWRITE_ALWAYS) + .withMaximumErrors(2009471016); model = BinaryData.fromObject(model).toObject(ImportJobInner.class); - Assertions.assertEquals("wofyyvoqacpiexp", model.location()); - Assertions.assertEquals("iwbwoenwashrtdtk", model.tags().get("nqxwbp")); - Assertions.assertEquals(ImportJobAdminStatus.ACTIVE, model.adminStatus()); - Assertions.assertEquals("ysmocmbqfqvmkcxo", model.importPrefixes().get(0)); - Assertions.assertEquals(ConflictResolutionMode.FAIL, model.conflictResolutionMode()); - Assertions.assertEquals(868372706, model.maximumErrors()); + Assertions.assertEquals("tohqkvpuvksgp", model.location()); + Assertions.assertEquals("kn", model.tags().get("n")); + Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.adminStatus()); + Assertions.assertEquals("novvqfovljxy", model.importPrefixes().get(0)); + Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_ALWAYS, model.conflictResolutionMode()); + Assertions.assertEquals(2009471016, model.maximumErrors()); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobPropertiesStatusTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobPropertiesStatusTests.java index 8136035cf9d0..adde339bb71e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobPropertiesStatusTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobPropertiesStatusTests.java @@ -11,7 +11,7 @@ public final class ImportJobPropertiesStatusTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImportJobPropertiesStatus model = BinaryData.fromString( - "{\"state\":\"CompletedPartial\",\"statusMessage\":\"wiipfpub\",\"totalBlobsWalked\":6511360515148103622,\"blobsWalkedPerSecond\":1488473246565139265,\"totalBlobsImported\":6753222489346190909,\"importedFiles\":9125422272496243205,\"importedDirectories\":9141549963095066004,\"importedSymlinks\":9121743488248477749,\"preexistingFiles\":3052478790878417795,\"preexistingDirectories\":1945409254044399021,\"preexistingSymlinks\":146947872271189543,\"blobsImportedPerSecond\":2813063288078611784,\"lastCompletionTime\":\"2021-07-07T13:24:13Z\",\"lastStartedTime\":\"2021-02-28T17:47:31Z\",\"totalErrors\":328697449,\"totalConflicts\":1607427594}") + "{\"state\":\"Canceled\",\"statusMessage\":\"gxk\",\"totalBlobsWalked\":1698714775004667667,\"blobsWalkedPerSecond\":3546472897541130769,\"totalBlobsImported\":5796358058175213416,\"importedFiles\":3900047479392463058,\"importedDirectories\":4740858947759401461,\"importedSymlinks\":4934709645591830433,\"preexistingFiles\":662578251116723063,\"preexistingDirectories\":1816332624383197418,\"preexistingSymlinks\":8713915720909474504,\"blobsImportedPerSecond\":8913535749004515550,\"lastCompletionTime\":\"2021-11-02T04:27:35Z\",\"lastStartedTime\":\"2021-08-20T13:14:33Z\",\"totalErrors\":385897981,\"totalConflicts\":1130828460}") .toObject(ImportJobPropertiesStatus.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobPropertiesTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobPropertiesTests.java index 47d65b54c2f1..a986d08cc5a5 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobPropertiesTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobPropertiesTests.java @@ -15,24 +15,24 @@ public final class ImportJobPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImportJobProperties model = BinaryData.fromString( - "{\"provisioningState\":\"Updating\",\"adminStatus\":\"Cancel\",\"importPrefixes\":[\"h\",\"pkkpw\"],\"conflictResolutionMode\":\"OverwriteIfDirty\",\"maximumErrors\":959921308,\"status\":{\"state\":\"Completed\",\"statusMessage\":\"fovljxyws\",\"totalBlobsWalked\":8630612296658639985,\"blobsWalkedPerSecond\":811516386251549164,\"totalBlobsImported\":4579993960866529408,\"importedFiles\":164789879294916168,\"importedDirectories\":8488213744236915877,\"importedSymlinks\":4788176872253697893,\"preexistingFiles\":1506102374253246749,\"preexistingDirectories\":8790170709983104417,\"preexistingSymlinks\":8134406541939443957,\"blobsImportedPerSecond\":5080605539580294993,\"lastCompletionTime\":\"2021-05-21T16:07:38Z\",\"lastStartedTime\":\"2021-04-21T05:48:06Z\",\"totalErrors\":1024305587,\"totalConflicts\":419659092}}") + "{\"provisioningState\":\"Updating\",\"adminStatus\":\"Active\",\"importPrefixes\":[\"biknsorgjhxbld\",\"lwwrl\"],\"conflictResolutionMode\":\"Fail\",\"maximumErrors\":1488672187,\"status\":{\"state\":\"Cancelling\",\"statusMessage\":\"otllxdyhgsyo\",\"totalBlobsWalked\":4877471072225031792,\"blobsWalkedPerSecond\":3528662492556478567,\"totalBlobsImported\":7818158463712312814,\"importedFiles\":8180810548190524314,\"importedDirectories\":4404179597869624816,\"importedSymlinks\":3020486930690600862,\"preexistingFiles\":6607949081134989897,\"preexistingDirectories\":1994212450158328847,\"preexistingSymlinks\":191719140386438255,\"blobsImportedPerSecond\":3968582438542794420,\"lastCompletionTime\":\"2021-06-21T15:02:53Z\",\"lastStartedTime\":\"2021-01-28T23:44:08Z\",\"totalErrors\":1862318440,\"totalConflicts\":1817330156}}") .toObject(ImportJobProperties.class); - Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.adminStatus()); - Assertions.assertEquals("h", model.importPrefixes().get(0)); - Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_IF_DIRTY, model.conflictResolutionMode()); - Assertions.assertEquals(959921308, model.maximumErrors()); + Assertions.assertEquals(ImportJobAdminStatus.ACTIVE, model.adminStatus()); + Assertions.assertEquals("biknsorgjhxbld", model.importPrefixes().get(0)); + Assertions.assertEquals(ConflictResolutionMode.FAIL, model.conflictResolutionMode()); + Assertions.assertEquals(1488672187, model.maximumErrors()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ImportJobProperties model = new ImportJobProperties().withAdminStatus(ImportJobAdminStatus.CANCEL) - .withImportPrefixes(Arrays.asList("h", "pkkpw")) - .withConflictResolutionMode(ConflictResolutionMode.OVERWRITE_IF_DIRTY) - .withMaximumErrors(959921308); + ImportJobProperties model = new ImportJobProperties().withAdminStatus(ImportJobAdminStatus.ACTIVE) + .withImportPrefixes(Arrays.asList("biknsorgjhxbld", "lwwrl")) + .withConflictResolutionMode(ConflictResolutionMode.FAIL) + .withMaximumErrors(1488672187); model = BinaryData.fromObject(model).toObject(ImportJobProperties.class); - Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.adminStatus()); - Assertions.assertEquals("h", model.importPrefixes().get(0)); - Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_IF_DIRTY, model.conflictResolutionMode()); - Assertions.assertEquals(959921308, model.maximumErrors()); + Assertions.assertEquals(ImportJobAdminStatus.ACTIVE, model.adminStatus()); + Assertions.assertEquals("biknsorgjhxbld", model.importPrefixes().get(0)); + Assertions.assertEquals(ConflictResolutionMode.FAIL, model.conflictResolutionMode()); + Assertions.assertEquals(1488672187, model.maximumErrors()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobUpdatePropertiesTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobUpdatePropertiesTests.java index 6fd6bf231e47..c266579a51ea 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobUpdatePropertiesTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobUpdatePropertiesTests.java @@ -13,14 +13,14 @@ public final class ImportJobUpdatePropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImportJobUpdateProperties model - = BinaryData.fromString("{\"adminStatus\":\"Cancel\"}").toObject(ImportJobUpdateProperties.class); - Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.adminStatus()); + = BinaryData.fromString("{\"adminStatus\":\"Active\"}").toObject(ImportJobUpdateProperties.class); + Assertions.assertEquals(ImportJobAdminStatus.ACTIVE, model.adminStatus()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ImportJobUpdateProperties model = new ImportJobUpdateProperties().withAdminStatus(ImportJobAdminStatus.CANCEL); + ImportJobUpdateProperties model = new ImportJobUpdateProperties().withAdminStatus(ImportJobAdminStatus.ACTIVE); model = BinaryData.fromObject(model).toObject(ImportJobUpdateProperties.class); - Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.adminStatus()); + Assertions.assertEquals(ImportJobAdminStatus.ACTIVE, model.adminStatus()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobUpdateTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobUpdateTests.java index adaa6b49e3bb..4653319b6509 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobUpdateTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobUpdateTests.java @@ -15,19 +15,19 @@ public final class ImportJobUpdateTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImportJobUpdate model = BinaryData.fromString( - "{\"tags\":{\"osjswsr\":\"lqiyntorzihl\",\"qioxi\":\"slyzrpzbchckqq\",\"wyhqmibzyhwits\":\"suiizynkedyat\"},\"properties\":{\"adminStatus\":\"Cancel\"}}") + "{\"tags\":{\"stkwqqtch\":\"drd\",\"mtdaa\":\"alm\",\"vgpiohgwxrt\":\"gdv\"},\"properties\":{\"adminStatus\":\"Cancel\"}}") .toObject(ImportJobUpdate.class); - Assertions.assertEquals("lqiyntorzihl", model.tags().get("osjswsr")); + Assertions.assertEquals("drd", model.tags().get("stkwqqtch")); Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.adminStatus()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - ImportJobUpdate model = new ImportJobUpdate() - .withTags(mapOf("osjswsr", "lqiyntorzihl", "qioxi", "slyzrpzbchckqq", "wyhqmibzyhwits", "suiizynkedyat")) - .withAdminStatus(ImportJobAdminStatus.CANCEL); + ImportJobUpdate model + = new ImportJobUpdate().withTags(mapOf("stkwqqtch", "drd", "mtdaa", "alm", "vgpiohgwxrt", "gdv")) + .withAdminStatus(ImportJobAdminStatus.CANCEL); model = BinaryData.fromObject(model).toObject(ImportJobUpdate.class); - Assertions.assertEquals("lqiyntorzihl", model.tags().get("osjswsr")); + Assertions.assertEquals("drd", model.tags().get("stkwqqtch")); Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.adminStatus()); } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsCreateOrUpdateMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsCreateOrUpdateMockTests.java index d22b891d4ad7..deb43838fd07 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsCreateOrUpdateMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsCreateOrUpdateMockTests.java @@ -26,7 +26,7 @@ public final class ImportJobsCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"adminStatus\":\"Cancel\",\"importPrefixes\":[\"w\",\"zhwplefaxvxilc\",\"tg\",\"hnze\"],\"conflictResolutionMode\":\"OverwriteAlways\",\"maximumErrors\":1207398675,\"status\":{\"state\":\"Completed\",\"statusMessage\":\"lqhy\",\"totalBlobsWalked\":2089848727273246662,\"blobsWalkedPerSecond\":5405740747067335057,\"totalBlobsImported\":8144209061033072751,\"importedFiles\":3935144936817968720,\"importedDirectories\":5700722260986013528,\"importedSymlinks\":5825843842170136922,\"preexistingFiles\":7052211137025041333,\"preexistingDirectories\":5499561988006889896,\"preexistingSymlinks\":8149568399079294349,\"blobsImportedPerSecond\":1474264152955193357,\"lastCompletionTime\":\"2021-05-21T17:58:21Z\",\"lastStartedTime\":\"2021-09-17T23:37:48Z\",\"totalErrors\":826518294,\"totalConflicts\":293972975}},\"location\":\"fgiagtcojocqwo\",\"tags\":{\"uxylfsbtkadpy\":\"zjvusfzldmo\",\"tgkbugrjqctojc\":\"own\",\"cuplcplcwkhih\":\"isofieypefojyqd\"},\"id\":\"hlhzdsqtzbsrgno\",\"name\":\"cjhfgmvecactxmw\",\"type\":\"teyowclu\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"adminStatus\":\"Cancel\",\"importPrefixes\":[\"hhvjhh\",\"akz\",\"bbjjidjksyxk\"],\"conflictResolutionMode\":\"Skip\",\"maximumErrors\":1732474011,\"status\":{\"state\":\"Cancelling\",\"statusMessage\":\"jednlj\",\"totalBlobsWalked\":7592252826756292876,\"blobsWalkedPerSecond\":3773978570740216333,\"totalBlobsImported\":3654875978787835683,\"importedFiles\":3366975403019452617,\"importedDirectories\":1789601609206670515,\"importedSymlinks\":158167053603599295,\"preexistingFiles\":4409807448883678204,\"preexistingDirectories\":8795706373981455807,\"preexistingSymlinks\":3505608113038307586,\"blobsImportedPerSecond\":9046253755572881988,\"lastCompletionTime\":\"2021-05-09T05:27:31Z\",\"lastStartedTime\":\"2021-08-14T08:25:58Z\",\"totalErrors\":357469787,\"totalConflicts\":1775360689}},\"location\":\"ffeycx\",\"tags\":{\"mx\":\"piymerteea\",\"xv\":\"iekkkzddrtkgdojb\",\"cuijpxt\":\"vrefdeesv\"},\"id\":\"s\",\"name\":\"wprtu\",\"type\":\"wsawddjibabxvi\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,22 +36,22 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ImportJob response = manager.importJobs() - .define("omtkub") - .withRegion("d") - .withExistingAmlFilesystem("huzqgn", "dgkynscliqhzvhxn") - .withTags(mapOf("spave", "wafqroud", "bunzozudh", "hrv", "moy", "xg")) - .withAdminStatus(ImportJobAdminStatus.CANCEL) - .withImportPrefixes(Arrays.asList("zxhi")) - .withConflictResolutionMode(ConflictResolutionMode.SKIP) - .withMaximumErrors(25072478) + .define("ouwivkxoyzunbixx") + .withRegion("yqhlwigdivbkbx") + .withExistingAmlFilesystem("tilaxh", "fhqlyvi") + .withTags(mapOf("vdaeyyguxakjsq", "fajuwas")) + .withAdminStatus(ImportJobAdminStatus.ACTIVE) + .withImportPrefixes(Arrays.asList("pgclrciv", "soxfrken", "pmyyefrpmpdnqq")) + .withConflictResolutionMode(ConflictResolutionMode.OVERWRITE_ALWAYS) + .withMaximumErrors(281711345) .create(); - Assertions.assertEquals("fgiagtcojocqwo", response.location()); - Assertions.assertEquals("zjvusfzldmo", response.tags().get("uxylfsbtkadpy")); + Assertions.assertEquals("ffeycx", response.location()); + Assertions.assertEquals("piymerteea", response.tags().get("mx")); Assertions.assertEquals(ImportJobAdminStatus.CANCEL, response.adminStatus()); - Assertions.assertEquals("w", response.importPrefixes().get(0)); - Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_ALWAYS, response.conflictResolutionMode()); - Assertions.assertEquals(1207398675, response.maximumErrors()); + Assertions.assertEquals("hhvjhh", response.importPrefixes().get(0)); + Assertions.assertEquals(ConflictResolutionMode.SKIP, response.conflictResolutionMode()); + Assertions.assertEquals(1732474011, response.maximumErrors()); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsGetWithResponseMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsGetWithResponseMockTests.java index ebe4fb6057b5..5565f80a75df 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsGetWithResponseMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsGetWithResponseMockTests.java @@ -23,7 +23,7 @@ public final class ImportJobsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Failed\",\"adminStatus\":\"Cancel\",\"importPrefixes\":[\"wzjbh\",\"zsxjrkambtrneg\"],\"conflictResolutionMode\":\"OverwriteIfDirty\",\"maximumErrors\":1133584859,\"status\":{\"state\":\"CompletedPartial\",\"statusMessage\":\"lds\",\"totalBlobsWalked\":1340829025950051949,\"blobsWalkedPerSecond\":3866986596847957683,\"totalBlobsImported\":4713994872634084575,\"importedFiles\":3638902775538009803,\"importedDirectories\":3963298330756380,\"importedSymlinks\":3734568678043826451,\"preexistingFiles\":5804902301213475723,\"preexistingDirectories\":6506157078923372574,\"preexistingSymlinks\":4547037683855462225,\"blobsImportedPerSecond\":3644482320292863264,\"lastCompletionTime\":\"2020-12-23T19:56:30Z\",\"lastStartedTime\":\"2021-06-18T15:44:53Z\",\"totalErrors\":107848050,\"totalConflicts\":438274031}},\"location\":\"uziycsl\",\"tags\":{\"ztcktyh\":\"f\",\"rqzz\":\"tqedcgzulwm\",\"toepryu\":\"rjvpglydzgkrvqee\",\"pzdm\":\"nwy\"},\"id\":\"vzvfvaawzqadfl\",\"name\":\"z\",\"type\":\"riglaec\"}"; + = "{\"properties\":{\"provisioningState\":\"Updating\",\"adminStatus\":\"Active\",\"importPrefixes\":[\"gfcwqmpimaqxzhem\",\"yhohujswtwkozzwc\"],\"conflictResolutionMode\":\"Fail\",\"maximumErrors\":2000086586,\"status\":{\"state\":\"Cancelling\",\"statusMessage\":\"jnjwltlwt\",\"totalBlobsWalked\":3416986726528985836,\"blobsWalkedPerSecond\":6543011935862310483,\"totalBlobsImported\":3500461113555760194,\"importedFiles\":8848282968778843918,\"importedDirectories\":5505955768043549507,\"importedSymlinks\":2349522236511468691,\"preexistingFiles\":7498172814547210028,\"preexistingDirectories\":8150514790276720893,\"preexistingSymlinks\":3743017470080783529,\"blobsImportedPerSecond\":8338858691212529220,\"lastCompletionTime\":\"2021-11-13T05:04:42Z\",\"lastStartedTime\":\"2021-10-17T16:51:19Z\",\"totalErrors\":953526660,\"totalConflicts\":835106090}},\"location\":\"cse\",\"tags\":{\"fb\":\"wnpjhlfzswpchwa\",\"l\":\"usnfepgfewet\"},\"id\":\"xgncxyk\",\"name\":\"hdjhlimmbcx\",\"type\":\"h\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,14 +33,14 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); ImportJob response = manager.importJobs() - .getWithResponse("vofqzhvfc", "byfmowuxr", "jpvd", com.azure.core.util.Context.NONE) + .getWithResponse("zjcjbtr", "aehvvibrxjjstoq", "eitpkxztmo", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("uziycsl", response.location()); - Assertions.assertEquals("f", response.tags().get("ztcktyh")); - Assertions.assertEquals(ImportJobAdminStatus.CANCEL, response.adminStatus()); - Assertions.assertEquals("wzjbh", response.importPrefixes().get(0)); - Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_IF_DIRTY, response.conflictResolutionMode()); - Assertions.assertEquals(1133584859, response.maximumErrors()); + Assertions.assertEquals("cse", response.location()); + Assertions.assertEquals("wnpjhlfzswpchwa", response.tags().get("fb")); + Assertions.assertEquals(ImportJobAdminStatus.ACTIVE, response.adminStatus()); + Assertions.assertEquals("gfcwqmpimaqxzhem", response.importPrefixes().get(0)); + Assertions.assertEquals(ConflictResolutionMode.FAIL, response.conflictResolutionMode()); + Assertions.assertEquals(2000086586, response.maximumErrors()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListByAmlFilesystemMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListByAmlFilesystemMockTests.java index 0dc23d28505c..f207091a5d47 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListByAmlFilesystemMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListByAmlFilesystemMockTests.java @@ -24,7 +24,7 @@ public final class ImportJobsListByAmlFilesystemMockTests { @Test public void testListByAmlFilesystem() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"adminStatus\":\"Active\",\"importPrefixes\":[\"firclnpkciayz\"],\"conflictResolutionMode\":\"OverwriteAlways\",\"maximumErrors\":614415901,\"status\":{\"state\":\"InProgress\",\"statusMessage\":\"vjlboxqvk\",\"totalBlobsWalked\":4212162432049005189,\"blobsWalkedPerSecond\":5251286170836534049,\"totalBlobsImported\":1283948358684815684,\"importedFiles\":8975628624340233031,\"importedDirectories\":2742511706808371729,\"importedSymlinks\":2236366643117518924,\"preexistingFiles\":8263718862766737851,\"preexistingDirectories\":4316338834967316017,\"preexistingSymlinks\":67075187560460490,\"blobsImportedPerSecond\":837193967660191056,\"lastCompletionTime\":\"2021-01-17T13:30:22Z\",\"lastStartedTime\":\"2021-07-18T15:19:57Z\",\"totalErrors\":1077210175,\"totalConflicts\":1413339279}},\"location\":\"vaiqyuvvf\",\"tags\":{\"hqyikvy\":\"p\",\"vluwmncsttij\":\"auy\"},\"id\":\"y\",\"name\":\"vpo\",\"type\":\"krsgsgb\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Updating\",\"adminStatus\":\"Active\",\"importPrefixes\":[\"k\",\"tgguwpijrajcivmm\",\"hfcf\",\"wrxgkneuvy\"],\"conflictResolutionMode\":\"OverwriteIfDirty\",\"maximumErrors\":125071316,\"status\":{\"state\":\"Cancelling\",\"statusMessage\":\"gsh\",\"totalBlobsWalked\":2714250773470139673,\"blobsWalkedPerSecond\":7279810640288598675,\"totalBlobsImported\":205270169500348285,\"importedFiles\":5025759340585142887,\"importedDirectories\":6848841794880922522,\"importedSymlinks\":7660573073239419550,\"preexistingFiles\":136963912247235187,\"preexistingDirectories\":8476054187284390796,\"preexistingSymlinks\":6222035378690339444,\"blobsImportedPerSecond\":5138444574404162444,\"lastCompletionTime\":\"2021-02-21T01:21:42Z\",\"lastStartedTime\":\"2021-03-05T03:27:21Z\",\"totalErrors\":673220982,\"totalConflicts\":1349436155}},\"location\":\"sdtutnwlduyc\",\"tags\":{\"kuqgsjjxundxgket\":\"hyrmewipmvekdx\",\"gpmuneqsxvmhfbuz\":\"zhhzjhfjmhvvmu\",\"ms\":\"yihsasbhudypohyu\"},\"id\":\"ynsqyrpfoobr\",\"name\":\"ttymsjny\",\"type\":\"qdnfwqzdz\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,15 +33,15 @@ public void testListByAmlFilesystem() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - PagedIterable response - = manager.importJobs().listByAmlFilesystem("ndtic", "kpvzmlq", com.azure.core.util.Context.NONE); + PagedIterable response = manager.importJobs() + .listByAmlFilesystem("cporxvxcjz", "qizxfpxtgqscjavf", com.azure.core.util.Context.NONE); - Assertions.assertEquals("vaiqyuvvf", response.iterator().next().location()); - Assertions.assertEquals("p", response.iterator().next().tags().get("hqyikvy")); + Assertions.assertEquals("sdtutnwlduyc", response.iterator().next().location()); + Assertions.assertEquals("hyrmewipmvekdx", response.iterator().next().tags().get("kuqgsjjxundxgket")); Assertions.assertEquals(ImportJobAdminStatus.ACTIVE, response.iterator().next().adminStatus()); - Assertions.assertEquals("firclnpkciayz", response.iterator().next().importPrefixes().get(0)); - Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_ALWAYS, + Assertions.assertEquals("k", response.iterator().next().importPrefixes().get(0)); + Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_IF_DIRTY, response.iterator().next().conflictResolutionMode()); - Assertions.assertEquals(614415901, response.iterator().next().maximumErrors()); + Assertions.assertEquals(125071316, response.iterator().next().maximumErrors()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListResultTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListResultTests.java index 949458910bbd..edf0982a642f 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListResultTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ImportJobsListResultTests.java @@ -14,14 +14,14 @@ public final class ImportJobsListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImportJobsListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"provisioningState\":\"Deleting\",\"adminStatus\":\"Cancel\",\"importPrefixes\":[\"mwzn\"],\"conflictResolutionMode\":\"OverwriteAlways\",\"maximumErrors\":859745448,\"status\":{\"state\":\"InProgress\",\"statusMessage\":\"gj\",\"totalBlobsWalked\":7362187105220240358,\"blobsWalkedPerSecond\":7761850823889968270,\"totalBlobsImported\":8467924740961026044,\"importedFiles\":5101849209530474984,\"importedDirectories\":8333296555804808635,\"importedSymlinks\":2471912906504135655,\"preexistingFiles\":4567104725520033936,\"preexistingDirectories\":3975141758083406651,\"preexistingSymlinks\":4662524940731727545,\"blobsImportedPerSecond\":8627603791684452412,\"lastCompletionTime\":\"2021-10-24T07:42:50Z\",\"lastStartedTime\":\"2021-04-30T11:16:28Z\",\"totalErrors\":488555698,\"totalConflicts\":1628620903}},\"location\":\"bnnhadoocrkvcik\",\"tags\":{\"mqg\":\"p\"},\"id\":\"qqu\",\"name\":\"zikywgg\",\"type\":\"kallatmel\"}],\"nextLink\":\"ipicc\"}") + "{\"value\":[{\"properties\":{\"provisioningState\":\"Creating\",\"adminStatus\":\"Cancel\",\"importPrefixes\":[\"mnpkukghimdblxg\",\"imfnjhfjx\",\"mszkkfo\",\"rey\"],\"conflictResolutionMode\":\"Fail\",\"maximumErrors\":508782992,\"status\":{\"state\":\"Cancelling\",\"statusMessage\":\"n\",\"totalBlobsWalked\":2977949110627506617,\"blobsWalkedPerSecond\":9051460600298746000,\"totalBlobsImported\":8376736309034828237,\"importedFiles\":112885584459245037,\"importedDirectories\":8479161969382817313,\"importedSymlinks\":8418193968679198571,\"preexistingFiles\":667743000793247548,\"preexistingDirectories\":7011411072062298960,\"preexistingSymlinks\":6220784306746741008,\"blobsImportedPerSecond\":1990292190608322319,\"lastCompletionTime\":\"2021-04-08T15:13:01Z\",\"lastStartedTime\":\"2021-11-23T10:06:03Z\",\"totalErrors\":1654989663,\"totalConflicts\":1879278925}},\"location\":\"nozj\",\"tags\":{\"xagl\":\"hyoulpjr\"},\"id\":\"vimjwos\",\"name\":\"tx\",\"type\":\"tcs\"},{\"properties\":{\"provisioningState\":\"Creating\",\"adminStatus\":\"Active\",\"importPrefixes\":[\"iekkezz\",\"khly\",\"jhdgqggebdunyga\",\"qidbqfatpxllrxcy\"],\"conflictResolutionMode\":\"Skip\",\"maximumErrors\":2040504053,\"status\":{\"state\":\"CompletedPartial\",\"statusMessage\":\"r\",\"totalBlobsWalked\":5591094196029620253,\"blobsWalkedPerSecond\":2242730821569758279,\"totalBlobsImported\":21711241553759485,\"importedFiles\":7543119596845628167,\"importedDirectories\":1070182178135164646,\"importedSymlinks\":5744286568716968585,\"preexistingFiles\":1392821821777795777,\"preexistingDirectories\":3450156772675162636,\"preexistingSymlinks\":4370015191993628840,\"blobsImportedPerSecond\":6186305042394833028,\"lastCompletionTime\":\"2021-11-24T05:25:20Z\",\"lastStartedTime\":\"2021-06-18T14:42:25Z\",\"totalErrors\":59963780,\"totalConflicts\":247882988}},\"location\":\"qugjhkycube\",\"tags\":{\"krmnjijpxacqqud\":\"ssofwqmzqa\",\"yffimrzrtuzqogs\":\"nbyxbaaabjyv\"},\"id\":\"xnevfdnwn\",\"name\":\"mewzsyyc\",\"type\":\"uzsoi\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"adminStatus\":\"Cancel\",\"importPrefixes\":[\"trthzvaytdwkqbr\",\"ubpaxhe\"],\"conflictResolutionMode\":\"Fail\",\"maximumErrors\":2120830890,\"status\":{\"state\":\"Failed\",\"statusMessage\":\"iirqtd\",\"totalBlobsWalked\":3812395507646425429,\"blobsWalkedPerSecond\":862685173294728239,\"totalBlobsImported\":5159545753987045687,\"importedFiles\":5560438384096585856,\"importedDirectories\":7226595979741919478,\"importedSymlinks\":4295376544175103886,\"preexistingFiles\":4742398827211014081,\"preexistingDirectories\":4173276744346571971,\"preexistingSymlinks\":3004101012954238603,\"blobsImportedPerSecond\":3121358688998846887,\"lastCompletionTime\":\"2021-11-14T21:34:49Z\",\"lastStartedTime\":\"2021-07-30T12:05:38Z\",\"totalErrors\":1769146485,\"totalConflicts\":544110475}},\"location\":\"y\",\"tags\":{\"oo\":\"atdooaojkniod\",\"ujhemmsbvdkcrodt\":\"bw\",\"kdlfoa\":\"infwjlfltkacjve\",\"qblylsyxkqj\":\"ggkfpagaowpul\"},\"id\":\"sjervti\",\"name\":\"gxsds\",\"type\":\"uem\"},{\"properties\":{\"provisioningState\":\"Deleting\",\"adminStatus\":\"Active\",\"importPrefixes\":[\"eyvpnqicvinvkj\",\"xdxr\",\"uukzclewyhmlw\",\"aztz\"],\"conflictResolutionMode\":\"Fail\",\"maximumErrors\":1425896475,\"status\":{\"state\":\"InProgress\",\"statusMessage\":\"fz\",\"totalBlobsWalked\":3042520873756069098,\"blobsWalkedPerSecond\":3103220879835924511,\"totalBlobsImported\":1707656907900121561,\"importedFiles\":1881000145918379423,\"importedDirectories\":5500271153534098761,\"importedSymlinks\":6702265057684474491,\"preexistingFiles\":6081524595721581276,\"preexistingDirectories\":8994416895608983174,\"preexistingSymlinks\":476050547111706606,\"blobsImportedPerSecond\":3994245345885997379,\"lastCompletionTime\":\"2021-06-03T02:29:09Z\",\"lastStartedTime\":\"2021-02-06T08:10:47Z\",\"totalErrors\":1283351152,\"totalConflicts\":980549756}},\"location\":\"wcsdbnwdcfhucq\",\"tags\":{\"vtvudutncormr\":\"uvglsbjjcanvx\",\"f\":\"xqtvcofu\",\"u\":\"vkg\"},\"id\":\"gdknnqv\",\"name\":\"aznqntoru\",\"type\":\"sgsahmkycgr\"}],\"nextLink\":\"wjue\"}") .toObject(ImportJobsListResult.class); - Assertions.assertEquals("bnnhadoocrkvcik", model.value().get(0).location()); - Assertions.assertEquals("p", model.value().get(0).tags().get("mqg")); + Assertions.assertEquals("nozj", model.value().get(0).location()); + Assertions.assertEquals("hyoulpjr", model.value().get(0).tags().get("xagl")); Assertions.assertEquals(ImportJobAdminStatus.CANCEL, model.value().get(0).adminStatus()); - Assertions.assertEquals("mwzn", model.value().get(0).importPrefixes().get(0)); - Assertions.assertEquals(ConflictResolutionMode.OVERWRITE_ALWAYS, model.value().get(0).conflictResolutionMode()); - Assertions.assertEquals(859745448, model.value().get(0).maximumErrors()); - Assertions.assertEquals("ipicc", model.nextLink()); + Assertions.assertEquals("mnpkukghimdblxg", model.value().get(0).importPrefixes().get(0)); + Assertions.assertEquals(ConflictResolutionMode.FAIL, model.value().get(0).conflictResolutionMode()); + Assertions.assertEquals(508782992, model.value().get(0).maximumErrors()); + Assertions.assertEquals("wjue", model.nextLink()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/KeyVaultKeyReferenceSourceVaultTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/KeyVaultKeyReferenceSourceVaultTests.java index cc11cd7359e6..a5f837753110 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/KeyVaultKeyReferenceSourceVaultTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/KeyVaultKeyReferenceSourceVaultTests.java @@ -12,14 +12,14 @@ public final class KeyVaultKeyReferenceSourceVaultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { KeyVaultKeyReferenceSourceVault model - = BinaryData.fromString("{\"id\":\"udwxdndnvowguj\"}").toObject(KeyVaultKeyReferenceSourceVault.class); - Assertions.assertEquals("udwxdndnvowguj", model.id()); + = BinaryData.fromString("{\"id\":\"fyexfwhy\"}").toObject(KeyVaultKeyReferenceSourceVault.class); + Assertions.assertEquals("fyexfwhy", model.id()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - KeyVaultKeyReferenceSourceVault model = new KeyVaultKeyReferenceSourceVault().withId("udwxdndnvowguj"); + KeyVaultKeyReferenceSourceVault model = new KeyVaultKeyReferenceSourceVault().withId("fyexfwhy"); model = BinaryData.fromObject(model).toObject(KeyVaultKeyReferenceSourceVault.class); - Assertions.assertEquals("udwxdndnvowguj", model.id()); + Assertions.assertEquals("fyexfwhy", model.id()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NamespaceJunctionTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NamespaceJunctionTests.java index bf18c00cba2d..37d318f20e14 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NamespaceJunctionTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NamespaceJunctionTests.java @@ -12,24 +12,24 @@ public final class NamespaceJunctionTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NamespaceJunction model = BinaryData.fromString( - "{\"namespacePath\":\"mzlfmisgwb\",\"targetPath\":\"beldawkzbaliourq\",\"nfsExport\":\"kauhashsfwxo\",\"nfsAccessPolicy\":\"w\"}") + "{\"namespacePath\":\"jbhckfrlhr\",\"targetPath\":\"bkyvp\",\"nfsExport\":\"anuzbpzkafkuw\",\"nfsAccessPolicy\":\"rnwb\"}") .toObject(NamespaceJunction.class); - Assertions.assertEquals("mzlfmisgwb", model.namespacePath()); - Assertions.assertEquals("beldawkzbaliourq", model.targetPath()); - Assertions.assertEquals("kauhashsfwxo", model.nfsExport()); - Assertions.assertEquals("w", model.nfsAccessPolicy()); + Assertions.assertEquals("jbhckfrlhr", model.namespacePath()); + Assertions.assertEquals("bkyvp", model.targetPath()); + Assertions.assertEquals("anuzbpzkafkuw", model.nfsExport()); + Assertions.assertEquals("rnwb", model.nfsAccessPolicy()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NamespaceJunction model = new NamespaceJunction().withNamespacePath("mzlfmisgwb") - .withTargetPath("beldawkzbaliourq") - .withNfsExport("kauhashsfwxo") - .withNfsAccessPolicy("w"); + NamespaceJunction model = new NamespaceJunction().withNamespacePath("jbhckfrlhr") + .withTargetPath("bkyvp") + .withNfsExport("anuzbpzkafkuw") + .withNfsAccessPolicy("rnwb"); model = BinaryData.fromObject(model).toObject(NamespaceJunction.class); - Assertions.assertEquals("mzlfmisgwb", model.namespacePath()); - Assertions.assertEquals("beldawkzbaliourq", model.targetPath()); - Assertions.assertEquals("kauhashsfwxo", model.nfsExport()); - Assertions.assertEquals("w", model.nfsAccessPolicy()); + Assertions.assertEquals("jbhckfrlhr", model.namespacePath()); + Assertions.assertEquals("bkyvp", model.targetPath()); + Assertions.assertEquals("anuzbpzkafkuw", model.nfsExport()); + Assertions.assertEquals("rnwb", model.nfsAccessPolicy()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/Nfs3TargetTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/Nfs3TargetTests.java index 9a94675606a2..6d28cfa9d302 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/Nfs3TargetTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/Nfs3TargetTests.java @@ -12,24 +12,24 @@ public final class Nfs3TargetTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { Nfs3Target model = BinaryData.fromString( - "{\"target\":\"cugicjoox\",\"usageModel\":\"ebwpucwwfvo\",\"verificationTimer\":1748456219,\"writeBackTimer\":1386132644}") + "{\"target\":\"hhseyv\",\"usageModel\":\"srtslhspkdeem\",\"verificationTimer\":441408788,\"writeBackTimer\":1351571833}") .toObject(Nfs3Target.class); - Assertions.assertEquals("cugicjoox", model.target()); - Assertions.assertEquals("ebwpucwwfvo", model.usageModel()); - Assertions.assertEquals(1748456219, model.verificationTimer()); - Assertions.assertEquals(1386132644, model.writeBackTimer()); + Assertions.assertEquals("hhseyv", model.target()); + Assertions.assertEquals("srtslhspkdeem", model.usageModel()); + Assertions.assertEquals(441408788, model.verificationTimer()); + Assertions.assertEquals(1351571833, model.writeBackTimer()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - Nfs3Target model = new Nfs3Target().withTarget("cugicjoox") - .withUsageModel("ebwpucwwfvo") - .withVerificationTimer(1748456219) - .withWriteBackTimer(1386132644); + Nfs3Target model = new Nfs3Target().withTarget("hhseyv") + .withUsageModel("srtslhspkdeem") + .withVerificationTimer(441408788) + .withWriteBackTimer(1351571833); model = BinaryData.fromObject(model).toObject(Nfs3Target.class); - Assertions.assertEquals("cugicjoox", model.target()); - Assertions.assertEquals("ebwpucwwfvo", model.usageModel()); - Assertions.assertEquals(1748456219, model.verificationTimer()); - Assertions.assertEquals(1386132644, model.writeBackTimer()); + Assertions.assertEquals("hhseyv", model.target()); + Assertions.assertEquals("srtslhspkdeem", model.usageModel()); + Assertions.assertEquals(441408788, model.verificationTimer()); + Assertions.assertEquals(1351571833, model.writeBackTimer()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NfsAccessPolicyTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NfsAccessPolicyTests.java index 5cf8e3336807..8786e0f17098 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NfsAccessPolicyTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NfsAccessPolicyTests.java @@ -16,48 +16,64 @@ public final class NfsAccessPolicyTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NfsAccessPolicy model = BinaryData.fromString( - "{\"name\":\"pnpulexxbczwtru\",\"accessRules\":[{\"scope\":\"network\",\"filter\":\"bq\",\"access\":\"no\",\"suid\":false,\"submountAccess\":true,\"rootSquash\":false,\"anonymousUID\":\"acspkwl\",\"anonymousGID\":\"dobpxjmflbvvn\"},{\"scope\":\"host\",\"filter\":\"kcciwwzjuqkhr\",\"access\":\"no\",\"suid\":false,\"submountAccess\":false,\"rootSquash\":false,\"anonymousUID\":\"oskg\",\"anonymousGID\":\"auu\"}]}") + "{\"name\":\"canoaeupf\",\"accessRules\":[{\"scope\":\"network\",\"filter\":\"trpmo\",\"access\":\"rw\",\"suid\":false,\"submountAccess\":true,\"rootSquash\":false,\"anonymousUID\":\"kthfui\",\"anonymousGID\":\"odsfcpkvxodpuozm\"},{\"scope\":\"network\",\"filter\":\"dagfuaxbezyiuok\",\"access\":\"rw\",\"suid\":true,\"submountAccess\":true,\"rootSquash\":false,\"anonymousUID\":\"ywqsmbsurexim\",\"anonymousGID\":\"yocf\"},{\"scope\":\"host\",\"filter\":\"s\",\"access\":\"ro\",\"suid\":true,\"submountAccess\":true,\"rootSquash\":true,\"anonymousUID\":\"iuxhqyudxorr\",\"anonymousGID\":\"b\"},{\"scope\":\"network\",\"filter\":\"zvyifqrvkdvj\",\"access\":\"ro\",\"suid\":false,\"submountAccess\":true,\"rootSquash\":false,\"anonymousUID\":\"watkpnpulexxb\",\"anonymousGID\":\"wtruwiqzbqjvsovm\"}]}") .toObject(NfsAccessPolicy.class); - Assertions.assertEquals("pnpulexxbczwtru", model.name()); + Assertions.assertEquals("canoaeupf", model.name()); Assertions.assertEquals(NfsAccessRuleScope.NETWORK, model.accessRules().get(0).scope()); - Assertions.assertEquals("bq", model.accessRules().get(0).filter()); - Assertions.assertEquals(NfsAccessRuleAccess.NO, model.accessRules().get(0).access()); + Assertions.assertEquals("trpmo", model.accessRules().get(0).filter()); + Assertions.assertEquals(NfsAccessRuleAccess.RW, model.accessRules().get(0).access()); Assertions.assertFalse(model.accessRules().get(0).suid()); Assertions.assertTrue(model.accessRules().get(0).submountAccess()); Assertions.assertFalse(model.accessRules().get(0).rootSquash()); - Assertions.assertEquals("acspkwl", model.accessRules().get(0).anonymousUid()); - Assertions.assertEquals("dobpxjmflbvvn", model.accessRules().get(0).anonymousGid()); + Assertions.assertEquals("kthfui", model.accessRules().get(0).anonymousUid()); + Assertions.assertEquals("odsfcpkvxodpuozm", model.accessRules().get(0).anonymousGid()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - NfsAccessPolicy model = new NfsAccessPolicy().withName("pnpulexxbczwtru") + NfsAccessPolicy model = new NfsAccessPolicy().withName("canoaeupf") .withAccessRules(Arrays.asList( new NfsAccessRule().withScope(NfsAccessRuleScope.NETWORK) - .withFilter("bq") - .withAccess(NfsAccessRuleAccess.NO) + .withFilter("trpmo") + .withAccess(NfsAccessRuleAccess.RW) .withSuid(false) .withSubmountAccess(true) .withRootSquash(false) - .withAnonymousUid("acspkwl") - .withAnonymousGid("dobpxjmflbvvn"), + .withAnonymousUid("kthfui") + .withAnonymousGid("odsfcpkvxodpuozm"), + new NfsAccessRule().withScope(NfsAccessRuleScope.NETWORK) + .withFilter("dagfuaxbezyiuok") + .withAccess(NfsAccessRuleAccess.RW) + .withSuid(true) + .withSubmountAccess(true) + .withRootSquash(false) + .withAnonymousUid("ywqsmbsurexim") + .withAnonymousGid("yocf"), new NfsAccessRule().withScope(NfsAccessRuleScope.HOST) - .withFilter("kcciwwzjuqkhr") - .withAccess(NfsAccessRuleAccess.NO) + .withFilter("s") + .withAccess(NfsAccessRuleAccess.RO) + .withSuid(true) + .withSubmountAccess(true) + .withRootSquash(true) + .withAnonymousUid("iuxhqyudxorr") + .withAnonymousGid("b"), + new NfsAccessRule().withScope(NfsAccessRuleScope.NETWORK) + .withFilter("zvyifqrvkdvj") + .withAccess(NfsAccessRuleAccess.RO) .withSuid(false) - .withSubmountAccess(false) + .withSubmountAccess(true) .withRootSquash(false) - .withAnonymousUid("oskg") - .withAnonymousGid("auu"))); + .withAnonymousUid("watkpnpulexxb") + .withAnonymousGid("wtruwiqzbqjvsovm"))); model = BinaryData.fromObject(model).toObject(NfsAccessPolicy.class); - Assertions.assertEquals("pnpulexxbczwtru", model.name()); + Assertions.assertEquals("canoaeupf", model.name()); Assertions.assertEquals(NfsAccessRuleScope.NETWORK, model.accessRules().get(0).scope()); - Assertions.assertEquals("bq", model.accessRules().get(0).filter()); - Assertions.assertEquals(NfsAccessRuleAccess.NO, model.accessRules().get(0).access()); + Assertions.assertEquals("trpmo", model.accessRules().get(0).filter()); + Assertions.assertEquals(NfsAccessRuleAccess.RW, model.accessRules().get(0).access()); Assertions.assertFalse(model.accessRules().get(0).suid()); Assertions.assertTrue(model.accessRules().get(0).submountAccess()); Assertions.assertFalse(model.accessRules().get(0).rootSquash()); - Assertions.assertEquals("acspkwl", model.accessRules().get(0).anonymousUid()); - Assertions.assertEquals("dobpxjmflbvvn", model.accessRules().get(0).anonymousGid()); + Assertions.assertEquals("kthfui", model.accessRules().get(0).anonymousUid()); + Assertions.assertEquals("odsfcpkvxodpuozm", model.accessRules().get(0).anonymousGid()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NfsAccessRuleTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NfsAccessRuleTests.java index c3e1bcf9d498..6b37c2b691dc 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NfsAccessRuleTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/NfsAccessRuleTests.java @@ -14,36 +14,36 @@ public final class NfsAccessRuleTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { NfsAccessRule model = BinaryData.fromString( - "{\"scope\":\"default\",\"filter\":\"mvxi\",\"access\":\"no\",\"suid\":false,\"submountAccess\":true,\"rootSquash\":false,\"anonymousUID\":\"rrfbyaosvexcson\",\"anonymousGID\":\"lhocohslkev\"}") + "{\"scope\":\"default\",\"filter\":\"acspkwl\",\"access\":\"no\",\"suid\":true,\"submountAccess\":true,\"rootSquash\":true,\"anonymousUID\":\"flbvvnchrkcciwwz\",\"anonymousGID\":\"qkhr\"}") .toObject(NfsAccessRule.class); Assertions.assertEquals(NfsAccessRuleScope.DEFAULT, model.scope()); - Assertions.assertEquals("mvxi", model.filter()); + Assertions.assertEquals("acspkwl", model.filter()); Assertions.assertEquals(NfsAccessRuleAccess.NO, model.access()); - Assertions.assertFalse(model.suid()); + Assertions.assertTrue(model.suid()); Assertions.assertTrue(model.submountAccess()); - Assertions.assertFalse(model.rootSquash()); - Assertions.assertEquals("rrfbyaosvexcson", model.anonymousUid()); - Assertions.assertEquals("lhocohslkev", model.anonymousGid()); + Assertions.assertTrue(model.rootSquash()); + Assertions.assertEquals("flbvvnchrkcciwwz", model.anonymousUid()); + Assertions.assertEquals("qkhr", model.anonymousGid()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { NfsAccessRule model = new NfsAccessRule().withScope(NfsAccessRuleScope.DEFAULT) - .withFilter("mvxi") + .withFilter("acspkwl") .withAccess(NfsAccessRuleAccess.NO) - .withSuid(false) + .withSuid(true) .withSubmountAccess(true) - .withRootSquash(false) - .withAnonymousUid("rrfbyaosvexcson") - .withAnonymousGid("lhocohslkev"); + .withRootSquash(true) + .withAnonymousUid("flbvvnchrkcciwwz") + .withAnonymousGid("qkhr"); model = BinaryData.fromObject(model).toObject(NfsAccessRule.class); Assertions.assertEquals(NfsAccessRuleScope.DEFAULT, model.scope()); - Assertions.assertEquals("mvxi", model.filter()); + Assertions.assertEquals("acspkwl", model.filter()); Assertions.assertEquals(NfsAccessRuleAccess.NO, model.access()); - Assertions.assertFalse(model.suid()); + Assertions.assertTrue(model.suid()); Assertions.assertTrue(model.submountAccess()); - Assertions.assertFalse(model.rootSquash()); - Assertions.assertEquals("rrfbyaosvexcson", model.anonymousUid()); - Assertions.assertEquals("lhocohslkev", model.anonymousGid()); + Assertions.assertTrue(model.rootSquash()); + Assertions.assertEquals("flbvvnchrkcciwwz", model.anonymousUid()); + Assertions.assertEquals("qkhr", model.anonymousGid()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/OperationsListMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/OperationsListMockTests.java index 80623272bffa..26d2c9c7cfb3 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/OperationsListMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/OperationsListMockTests.java @@ -23,7 +23,7 @@ public final class OperationsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"display\":{\"operation\":\"nmdyodnwzxl\",\"provider\":\"cvnhltiugc\",\"resource\":\"avvwxqi\",\"description\":\"qunyowxwlmdjr\"},\"origin\":\"fgbvfvpdbo\",\"isDataAction\":true,\"name\":\"zsjqlh\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"eibq\",\"displayName\":\"qkgh\",\"displayDescription\":\"ndzwmkrefa\",\"unit\":\"jorwkqnyhgbij\",\"aggregationType\":\"ivfxzsjabibsyst\",\"supportedAggregationTypes\":[\"Minimum\",\"Average\",\"Maximum\"],\"metricClass\":\"vkvp\",\"dimensions\":[{},{},{}]},{\"name\":\"kzbzkdvncjabudu\",\"displayName\":\"kakmokzh\",\"displayDescription\":\"klff\",\"unit\":\"ouw\",\"aggregationType\":\"gzrf\",\"supportedAggregationTypes\":[\"Count\",\"NotSpecified\",\"Total\",\"Average\"],\"metricClass\":\"ikayuhqlbjbsybb\",\"dimensions\":[{}]},{\"name\":\"t\",\"displayName\":\"gmfpgvmp\",\"displayDescription\":\"as\",\"unit\":\"haq\",\"aggregationType\":\"ss\",\"supportedAggregationTypes\":[\"Count\"],\"metricClass\":\"bdsrez\",\"dimensions\":[{},{},{}]}],\"logSpecifications\":[{\"name\":\"uyowqkdwy\",\"displayName\":\"sibircgpi\"},{\"name\":\"zimejzanlfzx\",\"displayName\":\"vrmbzono\"}]}}}]}"; + = "{\"value\":[{\"display\":{\"operation\":\"gfhsxttaugzxn\",\"provider\":\"azpxdtnkdmkqjjl\",\"resource\":\"envrkpyouaibrebq\",\"description\":\"ysjkixqtnqttez\"},\"origin\":\"fffiak\",\"isDataAction\":false,\"name\":\"qmt\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"jihy\",\"displayName\":\"zphv\",\"displayDescription\":\"uyqncygupkvipmd\",\"unit\":\"wx\",\"aggregationType\":\"pevzhfst\",\"supportedAggregationTypes\":[\"Minimum\",\"Count\"],\"metricClass\":\"ujbypelmcuvhixb\",\"dimensions\":[{},{}]}],\"logSpecifications\":[{\"name\":\"yl\",\"displayName\":\"ool\"}]}}}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,22 +34,22 @@ public void testList() throws Exception { PagedIterable response = manager.operations().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("nmdyodnwzxl", response.iterator().next().display().operation()); - Assertions.assertEquals("cvnhltiugc", response.iterator().next().display().provider()); - Assertions.assertEquals("avvwxqi", response.iterator().next().display().resource()); - Assertions.assertEquals("qunyowxwlmdjr", response.iterator().next().display().description()); - Assertions.assertEquals("fgbvfvpdbo", response.iterator().next().origin()); - Assertions.assertTrue(response.iterator().next().isDataAction()); - Assertions.assertEquals("zsjqlh", response.iterator().next().name()); - Assertions.assertEquals("eibq", + Assertions.assertEquals("gfhsxttaugzxn", response.iterator().next().display().operation()); + Assertions.assertEquals("azpxdtnkdmkqjjl", response.iterator().next().display().provider()); + Assertions.assertEquals("envrkpyouaibrebq", response.iterator().next().display().resource()); + Assertions.assertEquals("ysjkixqtnqttez", response.iterator().next().display().description()); + Assertions.assertEquals("fffiak", response.iterator().next().origin()); + Assertions.assertFalse(response.iterator().next().isDataAction()); + Assertions.assertEquals("qmt", response.iterator().next().name()); + Assertions.assertEquals("jihy", response.iterator().next().serviceSpecification().metricSpecifications().get(0).name()); - Assertions.assertEquals("qkgh", + Assertions.assertEquals("zphv", response.iterator().next().serviceSpecification().metricSpecifications().get(0).displayName()); - Assertions.assertEquals("ndzwmkrefa", + Assertions.assertEquals("uyqncygupkvipmd", response.iterator().next().serviceSpecification().metricSpecifications().get(0).displayDescription()); - Assertions.assertEquals("jorwkqnyhgbij", + Assertions.assertEquals("wx", response.iterator().next().serviceSpecification().metricSpecifications().get(0).unit()); - Assertions.assertEquals("ivfxzsjabibsyst", + Assertions.assertEquals("pevzhfst", response.iterator().next().serviceSpecification().metricSpecifications().get(0).aggregationType()); Assertions.assertEquals(MetricAggregationType.MINIMUM, response.iterator() @@ -59,11 +59,11 @@ public void testList() throws Exception { .get(0) .supportedAggregationTypes() .get(0)); - Assertions.assertEquals("vkvp", + Assertions.assertEquals("ujbypelmcuvhixb", response.iterator().next().serviceSpecification().metricSpecifications().get(0).metricClass()); - Assertions.assertEquals("uyowqkdwy", + Assertions.assertEquals("yl", response.iterator().next().serviceSpecification().logSpecifications().get(0).name()); - Assertions.assertEquals("sibircgpi", + Assertions.assertEquals("ool", response.iterator().next().serviceSpecification().logSpecifications().get(0).displayName()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/PrimingJobIdParameterTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/PrimingJobIdParameterTests.java index c7a14e6d492d..f42132028cbb 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/PrimingJobIdParameterTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/PrimingJobIdParameterTests.java @@ -12,14 +12,14 @@ public final class PrimingJobIdParameterTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { PrimingJobIdParameter model - = BinaryData.fromString("{\"primingJobId\":\"wwrq\"}").toObject(PrimingJobIdParameter.class); - Assertions.assertEquals("wwrq", model.primingJobId()); + = BinaryData.fromString("{\"primingJobId\":\"zmhjrunmp\"}").toObject(PrimingJobIdParameter.class); + Assertions.assertEquals("zmhjrunmp", model.primingJobId()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - PrimingJobIdParameter model = new PrimingJobIdParameter().withPrimingJobId("wwrq"); + PrimingJobIdParameter model = new PrimingJobIdParameter().withPrimingJobId("zmhjrunmp"); model = BinaryData.fromObject(model).toObject(PrimingJobIdParameter.class); - Assertions.assertEquals("wwrq", model.primingJobId()); + Assertions.assertEquals("zmhjrunmp", model.primingJobId()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/PrimingJobTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/PrimingJobTests.java index 09d5b0cf3035..2d6fb1d5301c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/PrimingJobTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/PrimingJobTests.java @@ -12,17 +12,17 @@ public final class PrimingJobTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { PrimingJob model = BinaryData.fromString( - "{\"primingJobName\":\"zf\",\"primingManifestUrl\":\"beypewrmjmw\",\"primingJobId\":\"jektcxsenh\",\"primingJobState\":\"Complete\",\"primingJobStatus\":\"ffrzpwvlqdqgbiqy\",\"primingJobDetails\":\"hkaetcktvfc\",\"primingJobPercentComplete\":62.41388100992818}") + "{\"primingJobName\":\"uzoqft\",\"primingManifestUrl\":\"yqzrnkcqvyxlw\",\"primingJobId\":\"lsicohoqqnwv\",\"primingJobState\":\"Queued\",\"primingJobStatus\":\"vwhheunmmqhgyx\",\"primingJobDetails\":\"onocukok\",\"primingJobPercentComplete\":46.73785916465647}") .toObject(PrimingJob.class); - Assertions.assertEquals("zf", model.primingJobName()); - Assertions.assertEquals("beypewrmjmw", model.primingManifestUrl()); + Assertions.assertEquals("uzoqft", model.primingJobName()); + Assertions.assertEquals("yqzrnkcqvyxlw", model.primingManifestUrl()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - PrimingJob model = new PrimingJob().withPrimingJobName("zf").withPrimingManifestUrl("beypewrmjmw"); + PrimingJob model = new PrimingJob().withPrimingJobName("uzoqft").withPrimingManifestUrl("yqzrnkcqvyxlw"); model = BinaryData.fromObject(model).toObject(PrimingJob.class); - Assertions.assertEquals("zf", model.primingJobName()); - Assertions.assertEquals("beypewrmjmw", model.primingManifestUrl()); + Assertions.assertEquals("uzoqft", model.primingJobName()); + Assertions.assertEquals("yqzrnkcqvyxlw", model.primingManifestUrl()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobUpdatePropertiesTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobUpdatePropertiesTests.java new file mode 100644 index 000000000000..1ce8053f5497 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobUpdatePropertiesTests.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.storagecache.models.RebalanceJobAdminStatus; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdateProperties; +import org.junit.jupiter.api.Assertions; + +public final class RebalanceJobUpdatePropertiesTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + RebalanceJobUpdateProperties model + = BinaryData.fromString("{\"adminStatus\":\"Cancel\"}").toObject(RebalanceJobUpdateProperties.class); + Assertions.assertEquals(RebalanceJobAdminStatus.CANCEL, model.adminStatus()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + RebalanceJobUpdateProperties model + = new RebalanceJobUpdateProperties().withAdminStatus(RebalanceJobAdminStatus.CANCEL); + model = BinaryData.fromObject(model).toObject(RebalanceJobUpdateProperties.class); + Assertions.assertEquals(RebalanceJobAdminStatus.CANCEL, model.adminStatus()); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobUpdateTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobUpdateTests.java new file mode 100644 index 000000000000..f368b39d1182 --- /dev/null +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/RebalanceJobUpdateTests.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.resourcemanager.storagecache.generated; + +import com.azure.core.util.BinaryData; +import com.azure.resourcemanager.storagecache.models.RebalanceJobAdminStatus; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdate; +import com.azure.resourcemanager.storagecache.models.RebalanceJobUpdateProperties; +import org.junit.jupiter.api.Assertions; + +public final class RebalanceJobUpdateTests { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { + RebalanceJobUpdate model + = BinaryData.fromString("{\"properties\":{\"adminStatus\":\"Active\"}}").toObject(RebalanceJobUpdate.class); + Assertions.assertEquals(RebalanceJobAdminStatus.ACTIVE, model.properties().adminStatus()); + } + + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { + RebalanceJobUpdate model = new RebalanceJobUpdate() + .withProperties(new RebalanceJobUpdateProperties().withAdminStatus(RebalanceJobAdminStatus.ACTIVE)); + model = BinaryData.fromObject(model).toObject(RebalanceJobUpdate.class); + Assertions.assertEquals(RebalanceJobAdminStatus.ACTIVE, model.properties().adminStatus()); + } +} diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceProvidersCheckAmlFSSubnetsWithResponseMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceProvidersCheckAmlFSSubnetsWithResponseMockTests.java index b704ea878fc3..97cc403c234e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceProvidersCheckAmlFSSubnetsWithResponseMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceProvidersCheckAmlFSSubnetsWithResponseMockTests.java @@ -30,10 +30,10 @@ public void testCheckAmlFSSubnetsWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.resourceProviders() - .checkAmlFSSubnetsWithResponse(new AmlFilesystemSubnetInfo().withFilesystemSubnet("pqvujzraehtwdwrf") - .withStorageCapacityTiB(13.409633F) - .withSku(new SkuName().withName("yrcdlbhshfwprac")) - .withLocation("wity"), com.azure.core.util.Context.NONE); + .checkAmlFSSubnetsWithResponse(new AmlFilesystemSubnetInfo().withFilesystemSubnet("vuzlm") + .withStorageCapacityTiB(23.838371F) + .withSku(new SkuName().withName("ktgplcr")) + .withLocation("jxeznoigbrnjwmw"), com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceProvidersGetRequiredAmlFSSubnetsSizeWithResponseMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceProvidersGetRequiredAmlFSSubnetsSizeWithResponseMockTests.java index 751b7551dae4..cb16faaeadca 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceProvidersGetRequiredAmlFSSubnetsSizeWithResponseMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceProvidersGetRequiredAmlFSSubnetsSizeWithResponseMockTests.java @@ -22,7 +22,7 @@ public final class ResourceProvidersGetRequiredAmlFSSubnetsSizeWithResponseMockTests { @Test public void testGetRequiredAmlFSSubnetsSizeWithResponse() throws Exception { - String responseStr = "{\"filesystemSubnetSize\":685537305}"; + String responseStr = "{\"filesystemSubnetSize\":2849760}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,11 +33,11 @@ public void testGetRequiredAmlFSSubnetsSizeWithResponse() throws Exception { RequiredAmlFilesystemSubnetsSize response = manager.resourceProviders() .getRequiredAmlFSSubnetsSizeWithResponse( - new RequiredAmlFilesystemSubnetsSizeInfo().withStorageCapacityTiB(51.31221F) - .withSku(new SkuName().withName("c")), + new RequiredAmlFilesystemSubnetsSizeInfo().withStorageCapacityTiB(80.55519F) + .withSku(new SkuName().withName("azej")), com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals(685537305, response.filesystemSubnetSize()); + Assertions.assertEquals(2849760, response.filesystemSubnetSize()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceSkuCapabilitiesTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceSkuCapabilitiesTests.java index 880995ca0620..a66112358fe1 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceSkuCapabilitiesTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceSkuCapabilitiesTests.java @@ -11,9 +11,9 @@ public final class ResourceSkuCapabilitiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ResourceSkuCapabilities model = BinaryData.fromString("{\"name\":\"nnqvsa\",\"value\":\"qntorudsgsahmkyc\"}") + ResourceSkuCapabilities model = BinaryData.fromString("{\"name\":\"zfjvfbgofe\",\"value\":\"a\"}") .toObject(ResourceSkuCapabilities.class); - Assertions.assertEquals("nnqvsa", model.name()); - Assertions.assertEquals("qntorudsgsahmkyc", model.value()); + Assertions.assertEquals("zfjvfbgofe", model.name()); + Assertions.assertEquals("a", model.value()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceSkuLocationInfoTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceSkuLocationInfoTests.java index adeaea2cc1bc..3f8b95def60a 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceSkuLocationInfoTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceSkuLocationInfoTests.java @@ -11,10 +11,11 @@ public final class ResourceSkuLocationInfoTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ResourceSkuLocationInfo model - = BinaryData.fromString("{\"location\":\"auwjuetaebu\",\"zones\":[\"dmovsm\",\"l\",\"wabm\",\"oefki\"]}") - .toObject(ResourceSkuLocationInfo.class); - Assertions.assertEquals("auwjuetaebu", model.location()); - Assertions.assertEquals("dmovsm", model.zones().get(0)); + ResourceSkuLocationInfo model = BinaryData + .fromString( + "{\"location\":\"qmqhldvriii\",\"zones\":[\"al\",\"hfkvtvsexsowuel\",\"qhhahhxvrhmzkwpj\",\"wws\"]}") + .toObject(ResourceSkuLocationInfo.class); + Assertions.assertEquals("qmqhldvriii", model.location()); + Assertions.assertEquals("al", model.zones().get(0)); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsageInnerTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsageInnerTests.java index 77b516f58860..e6e347017668 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsageInnerTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsageInnerTests.java @@ -11,7 +11,7 @@ public final class ResourceUsageInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ResourceUsageInner model = BinaryData.fromString( - "{\"limit\":1861224364,\"unit\":\"gusl\",\"currentValue\":1007983036,\"name\":{\"value\":\"ygqukyhejh\",\"localizedValue\":\"sx\"}}") + "{\"limit\":802563740,\"unit\":\"bfvoowvrv\",\"currentValue\":1441436450,\"name\":{\"value\":\"ppyostronzmyhgf\",\"localizedValue\":\"nsxkmcwaekrrjr\"}}") .toObject(ResourceUsageInner.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsageNameTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsageNameTests.java index d585a87d0b70..ccf5b8fcf9c2 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsageNameTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsageNameTests.java @@ -11,9 +11,9 @@ public final class ResourceUsageNameTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - ResourceUsageName model = BinaryData.fromString("{\"value\":\"pelol\",\"localizedValue\":\"vk\"}") + ResourceUsageName model = BinaryData.fromString("{\"value\":\"fxtsgum\",\"localizedValue\":\"glikkxwslolb\"}") .toObject(ResourceUsageName.class); - Assertions.assertEquals("pelol", model.value()); - Assertions.assertEquals("vk", model.localizedValue()); + Assertions.assertEquals("fxtsgum", model.value()); + Assertions.assertEquals("glikkxwslolb", model.localizedValue()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsagesListResultTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsagesListResultTests.java index 1071a78b5318..4f4563a26181 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsagesListResultTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/ResourceUsagesListResultTests.java @@ -11,7 +11,7 @@ public final class ResourceUsagesListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ResourceUsagesListResult model = BinaryData.fromString( - "{\"value\":[{\"limit\":1894418598,\"unit\":\"slfaoqzpiyyl\",\"currentValue\":1666369692,\"name\":{\"value\":\"whccs\",\"localizedValue\":\"kaivwit\"}},{\"limit\":264431505,\"unit\":\"wuggwolu\",\"currentValue\":1547983325,\"name\":{\"value\":\"emh\",\"localizedValue\":\"rsbrgzdwm\"}},{\"limit\":1592939681,\"unit\":\"pqwd\",\"currentValue\":1064810748,\"name\":{\"value\":\"ccnxqhuex\",\"localizedValue\":\"ttlstvlzywemhz\"}}],\"nextLink\":\"csdtclusiypbs\"}") + "{\"value\":[{\"limit\":46928565,\"unit\":\"llqwjygvjayvblmh\",\"currentValue\":1458242132,\"name\":{\"value\":\"bxvvyhg\",\"localizedValue\":\"pbyrqufegxu\"}},{\"limit\":950135360,\"unit\":\"bnhlmc\",\"currentValue\":25336970,\"name\":{\"value\":\"gitvg\",\"localizedValue\":\"hrixkwmy\"}},{\"limit\":1630324691,\"unit\":\"veg\",\"currentValue\":1540423394,\"name\":{\"value\":\"aixexccbdreaxh\",\"localizedValue\":\"xdrrvqahqkghtp\"}}],\"nextLink\":\"jnhyjsvf\"}") .toObject(ResourceUsagesListResult.class); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetInnerTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetInnerTests.java index 5fba037f8d29..902d124464a9 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetInnerTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetInnerTests.java @@ -22,71 +22,72 @@ public final class StorageTargetInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StorageTargetInner model = BinaryData.fromString( - "{\"properties\":{\"junctions\":[{\"namespacePath\":\"kzywbiex\",\"targetPath\":\"eyueaxibxujwb\",\"nfsExport\":\"walm\",\"nfsAccessPolicy\":\"yoxa\"},{\"namespacePath\":\"dkzjancuxrh\",\"targetPath\":\"bavxbniwdjswzt\",\"nfsExport\":\"bpg\",\"nfsAccessPolicy\":\"ytxhp\"},{\"namespacePath\":\"bzpfzab\",\"targetPath\":\"cuh\",\"nfsExport\":\"tcty\",\"nfsAccessPolicy\":\"klbb\"}],\"targetType\":\"clfs\",\"provisioningState\":\"Creating\",\"state\":\"Suspended\",\"nfs3\":{\"target\":\"vgyuguos\",\"usageModel\":\"kfssxqukkf\",\"verificationTimer\":974818519,\"writeBackTimer\":1362242180},\"clfs\":{\"target\":\"nkjzkdeslpvlop\"},\"unknown\":{\"attributes\":{\"baiuebbaumny\":\"ghxpkdw\",\"txp\":\"upedeojnabckhs\"}},\"blobNfs\":{\"target\":\"btfhvpesaps\",\"usageModel\":\"dqmh\",\"verificationTimer\":136140206,\"writeBackTimer\":871941711},\"allocationPercentage\":2081633134},\"location\":\"kyzxuutk\",\"id\":\"ws\",\"name\":\"wsvlxotogtwrupqs\",\"type\":\"vnm\"}") + "{\"properties\":{\"junctions\":[{\"namespacePath\":\"hrbnlankxmyskpbh\",\"targetPath\":\"btkcxywnytnrsyn\",\"nfsExport\":\"idybyxczf\",\"nfsAccessPolicy\":\"haaxdbabphl\"},{\"namespacePath\":\"qlfktsths\",\"targetPath\":\"ocmnyyazttbtwwrq\",\"nfsExport\":\"edckzywbiexzfey\",\"nfsAccessPolicy\":\"axibxujw\"},{\"namespacePath\":\"qwalmuzyoxaepd\",\"targetPath\":\"jancu\",\"nfsExport\":\"hdwbavxbniwdjs\",\"nfsAccessPolicy\":\"tsdbpgn\"}],\"targetType\":\"clfs\",\"provisioningState\":\"Failed\",\"state\":\"Busy\",\"nfs3\":{\"target\":\"bzpfzab\",\"usageModel\":\"cuh\",\"verificationTimer\":1070511980,\"writeBackTimer\":767485321},\"clfs\":{\"target\":\"iklbbovpl\"},\"unknown\":{\"attributes\":{\"mkfssxqukkfplgm\":\"vgyuguos\",\"wiyighxpkdw\":\"sxnkjzkdeslpvlo\",\"upedeojnabckhs\":\"baiuebbaumny\"}},\"blobNfs\":{\"target\":\"psiebtfhvpes\",\"usageModel\":\"skrdqmhjj\",\"verificationTimer\":871941711,\"writeBackTimer\":2081633134},\"allocationPercentage\":2108720528},\"location\":\"zxuutkncwscwsvl\",\"id\":\"togt\",\"name\":\"rupqsxvnmicy\",\"type\":\"vce\"}") .toObject(StorageTargetInner.class); - Assertions.assertEquals("kzywbiex", model.junctions().get(0).namespacePath()); - Assertions.assertEquals("eyueaxibxujwb", model.junctions().get(0).targetPath()); - Assertions.assertEquals("walm", model.junctions().get(0).nfsExport()); - Assertions.assertEquals("yoxa", model.junctions().get(0).nfsAccessPolicy()); + Assertions.assertEquals("hrbnlankxmyskpbh", model.junctions().get(0).namespacePath()); + Assertions.assertEquals("btkcxywnytnrsyn", model.junctions().get(0).targetPath()); + Assertions.assertEquals("idybyxczf", model.junctions().get(0).nfsExport()); + Assertions.assertEquals("haaxdbabphl", model.junctions().get(0).nfsAccessPolicy()); Assertions.assertEquals(StorageTargetType.CLFS, model.targetType()); - Assertions.assertEquals(OperationalStateType.SUSPENDED, model.state()); - Assertions.assertEquals("vgyuguos", model.nfs3().target()); - Assertions.assertEquals("kfssxqukkf", model.nfs3().usageModel()); - Assertions.assertEquals(974818519, model.nfs3().verificationTimer()); - Assertions.assertEquals(1362242180, model.nfs3().writeBackTimer()); - Assertions.assertEquals("nkjzkdeslpvlop", model.clfs().target()); - Assertions.assertEquals("ghxpkdw", model.unknown().attributes().get("baiuebbaumny")); - Assertions.assertEquals("btfhvpesaps", model.blobNfs().target()); - Assertions.assertEquals("dqmh", model.blobNfs().usageModel()); - Assertions.assertEquals(136140206, model.blobNfs().verificationTimer()); - Assertions.assertEquals(871941711, model.blobNfs().writeBackTimer()); + Assertions.assertEquals(OperationalStateType.BUSY, model.state()); + Assertions.assertEquals("bzpfzab", model.nfs3().target()); + Assertions.assertEquals("cuh", model.nfs3().usageModel()); + Assertions.assertEquals(1070511980, model.nfs3().verificationTimer()); + Assertions.assertEquals(767485321, model.nfs3().writeBackTimer()); + Assertions.assertEquals("iklbbovpl", model.clfs().target()); + Assertions.assertEquals("vgyuguos", model.unknown().attributes().get("mkfssxqukkfplgm")); + Assertions.assertEquals("psiebtfhvpes", model.blobNfs().target()); + Assertions.assertEquals("skrdqmhjj", model.blobNfs().usageModel()); + Assertions.assertEquals(871941711, model.blobNfs().verificationTimer()); + Assertions.assertEquals(2081633134, model.blobNfs().writeBackTimer()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { StorageTargetInner model = new StorageTargetInner() .withJunctions(Arrays.asList( - new NamespaceJunction().withNamespacePath("kzywbiex") - .withTargetPath("eyueaxibxujwb") - .withNfsExport("walm") - .withNfsAccessPolicy("yoxa"), - new NamespaceJunction().withNamespacePath("dkzjancuxrh") - .withTargetPath("bavxbniwdjswzt") - .withNfsExport("bpg") - .withNfsAccessPolicy("ytxhp"), - new NamespaceJunction().withNamespacePath("bzpfzab") - .withTargetPath("cuh") - .withNfsExport("tcty") - .withNfsAccessPolicy("klbb"))) + new NamespaceJunction().withNamespacePath("hrbnlankxmyskpbh") + .withTargetPath("btkcxywnytnrsyn") + .withNfsExport("idybyxczf") + .withNfsAccessPolicy("haaxdbabphl"), + new NamespaceJunction().withNamespacePath("qlfktsths") + .withTargetPath("ocmnyyazttbtwwrq") + .withNfsExport("edckzywbiexzfey") + .withNfsAccessPolicy("axibxujw"), + new NamespaceJunction().withNamespacePath("qwalmuzyoxaepd") + .withTargetPath("jancu") + .withNfsExport("hdwbavxbniwdjs") + .withNfsAccessPolicy("tsdbpgn"))) .withTargetType(StorageTargetType.CLFS) - .withState(OperationalStateType.SUSPENDED) - .withNfs3(new Nfs3Target().withTarget("vgyuguos") - .withUsageModel("kfssxqukkf") - .withVerificationTimer(974818519) - .withWriteBackTimer(1362242180)) - .withClfs(new ClfsTarget().withTarget("nkjzkdeslpvlop")) - .withUnknown(new UnknownTarget().withAttributes(mapOf("baiuebbaumny", "ghxpkdw", "txp", "upedeojnabckhs"))) - .withBlobNfs(new BlobNfsTarget().withTarget("btfhvpesaps") - .withUsageModel("dqmh") - .withVerificationTimer(136140206) - .withWriteBackTimer(871941711)); + .withState(OperationalStateType.BUSY) + .withNfs3(new Nfs3Target().withTarget("bzpfzab") + .withUsageModel("cuh") + .withVerificationTimer(1070511980) + .withWriteBackTimer(767485321)) + .withClfs(new ClfsTarget().withTarget("iklbbovpl")) + .withUnknown(new UnknownTarget().withAttributes(mapOf("mkfssxqukkfplgm", "vgyuguos", "wiyighxpkdw", + "sxnkjzkdeslpvlo", "upedeojnabckhs", "baiuebbaumny"))) + .withBlobNfs(new BlobNfsTarget().withTarget("psiebtfhvpes") + .withUsageModel("skrdqmhjj") + .withVerificationTimer(871941711) + .withWriteBackTimer(2081633134)); model = BinaryData.fromObject(model).toObject(StorageTargetInner.class); - Assertions.assertEquals("kzywbiex", model.junctions().get(0).namespacePath()); - Assertions.assertEquals("eyueaxibxujwb", model.junctions().get(0).targetPath()); - Assertions.assertEquals("walm", model.junctions().get(0).nfsExport()); - Assertions.assertEquals("yoxa", model.junctions().get(0).nfsAccessPolicy()); + Assertions.assertEquals("hrbnlankxmyskpbh", model.junctions().get(0).namespacePath()); + Assertions.assertEquals("btkcxywnytnrsyn", model.junctions().get(0).targetPath()); + Assertions.assertEquals("idybyxczf", model.junctions().get(0).nfsExport()); + Assertions.assertEquals("haaxdbabphl", model.junctions().get(0).nfsAccessPolicy()); Assertions.assertEquals(StorageTargetType.CLFS, model.targetType()); - Assertions.assertEquals(OperationalStateType.SUSPENDED, model.state()); - Assertions.assertEquals("vgyuguos", model.nfs3().target()); - Assertions.assertEquals("kfssxqukkf", model.nfs3().usageModel()); - Assertions.assertEquals(974818519, model.nfs3().verificationTimer()); - Assertions.assertEquals(1362242180, model.nfs3().writeBackTimer()); - Assertions.assertEquals("nkjzkdeslpvlop", model.clfs().target()); - Assertions.assertEquals("ghxpkdw", model.unknown().attributes().get("baiuebbaumny")); - Assertions.assertEquals("btfhvpesaps", model.blobNfs().target()); - Assertions.assertEquals("dqmh", model.blobNfs().usageModel()); - Assertions.assertEquals(136140206, model.blobNfs().verificationTimer()); - Assertions.assertEquals(871941711, model.blobNfs().writeBackTimer()); + Assertions.assertEquals(OperationalStateType.BUSY, model.state()); + Assertions.assertEquals("bzpfzab", model.nfs3().target()); + Assertions.assertEquals("cuh", model.nfs3().usageModel()); + Assertions.assertEquals(1070511980, model.nfs3().verificationTimer()); + Assertions.assertEquals(767485321, model.nfs3().writeBackTimer()); + Assertions.assertEquals("iklbbovpl", model.clfs().target()); + Assertions.assertEquals("vgyuguos", model.unknown().attributes().get("mkfssxqukkfplgm")); + Assertions.assertEquals("psiebtfhvpes", model.blobNfs().target()); + Assertions.assertEquals("skrdqmhjj", model.blobNfs().usageModel()); + Assertions.assertEquals(871941711, model.blobNfs().verificationTimer()); + Assertions.assertEquals(2081633134, model.blobNfs().writeBackTimer()); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsFlushMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsFlushMockTests.java index b1d4ea5eadea..53270cf93213 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsFlushMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsFlushMockTests.java @@ -27,7 +27,7 @@ public void testFlush() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.storageTargetOperations().flush("wpijrajci", "m", "ghfcfiwrxgkneuvy", com.azure.core.util.Context.NONE); + manager.storageTargetOperations().flush("izetpw", "ralllibphb", "zmizakakan", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsInvalidateMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsInvalidateMockTests.java index 4c8d3f1c9a0d..3d4804f8ef04 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsInvalidateMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsInvalidateMockTests.java @@ -28,7 +28,7 @@ public void testInvalidate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.storageTargetOperations() - .invalidate("zhyrmewipmve", "dxukuqgsjjxundxg", "etw", com.azure.core.util.Context.NONE); + .invalidate("fuzboyjathwtzolb", "emwmdxmebwjs", "jpahlxvea", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsResumeMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsResumeMockTests.java index 24cd6087ace5..f33a2baa55ee 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsResumeMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsResumeMockTests.java @@ -28,7 +28,7 @@ public void testResume() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.storageTargetOperations() - .resume("aqvlgafcqusr", "vetnwsdtutn", "lduycv", com.azure.core.util.Context.NONE); + .resume("eecjmeis", "stvasylwxdzaumw", "oohgu", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsSuspendMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsSuspendMockTests.java index d596ea6fc403..c52e832de7a3 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsSuspendMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetOperationsSuspendMockTests.java @@ -28,7 +28,7 @@ public void testSuspend() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); manager.storageTargetOperations() - .suspend("nzqodfvpg", "hoxgsgbpf", "zdjtxvzflbqv", com.azure.core.util.Context.NONE); + .suspend("jpdn", "zhajoylhjlmuo", "xprimrsop", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetPropertiesTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetPropertiesTests.java index 666b766359fe..2ec666fe97d2 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetPropertiesTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetPropertiesTests.java @@ -22,72 +22,63 @@ public final class StorageTargetPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StorageTargetProperties model = BinaryData.fromString( - "{\"junctions\":[{\"namespacePath\":\"vce\",\"targetPath\":\"eil\",\"nfsExport\":\"notyfjfcnjbkcn\",\"nfsAccessPolicy\":\"hbttkphyw\"},{\"namespacePath\":\"vjtoqnermclfp\",\"targetPath\":\"hoxus\",\"nfsExport\":\"pabgyeps\",\"nfsAccessPolicy\":\"tazqugxywpmueefj\"},{\"namespacePath\":\"fqkquj\",\"targetPath\":\"suyonobglaocq\",\"nfsExport\":\"ccm\",\"nfsAccessPolicy\":\"udxytlmoyrx\"}],\"targetType\":\"blobNfs\",\"provisioningState\":\"Failed\",\"state\":\"Suspended\",\"nfs3\":{\"target\":\"ntxhdzhlrqjbhck\",\"usageModel\":\"lhrxsbkyvpyc\",\"verificationTimer\":427278595,\"writeBackTimer\":592666283},\"clfs\":{\"target\":\"kafkuwbcrnwbm\"},\"unknown\":{\"attributes\":{\"maofmxagkv\":\"eyvjusrtslhspkde\",\"vljua\":\"melmqkrha\"}},\"blobNfs\":{\"target\":\"uhcdhm\",\"usageModel\":\"alaexqpvfadmwsrc\",\"verificationTimer\":1913869945,\"writeBackTimer\":434822175},\"allocationPercentage\":886462710}") + "{\"junctions\":[{\"namespacePath\":\"lo\",\"targetPath\":\"oty\",\"nfsExport\":\"fcnj\",\"nfsAccessPolicy\":\"cn\"}],\"targetType\":\"nfs3\",\"provisioningState\":\"Failed\",\"state\":\"Flushing\",\"nfs3\":{\"target\":\"h\",\"usageModel\":\"pnvjtoqnermclf\",\"verificationTimer\":1456485650,\"writeBackTimer\":1957793699},\"clfs\":{\"target\":\"scrpabgyepsbjt\"},\"unknown\":{\"attributes\":{\"fjz\":\"gxywpmue\",\"dsuyonobgla\":\"fqkquj\",\"tcc\":\"cq\"}},\"blobNfs\":{\"target\":\"udxytlmoyrx\",\"usageModel\":\"fudwpznt\",\"verificationTimer\":1417270726,\"writeBackTimer\":328563559},\"allocationPercentage\":349337714}") .toObject(StorageTargetProperties.class); - Assertions.assertEquals("vce", model.junctions().get(0).namespacePath()); - Assertions.assertEquals("eil", model.junctions().get(0).targetPath()); - Assertions.assertEquals("notyfjfcnjbkcn", model.junctions().get(0).nfsExport()); - Assertions.assertEquals("hbttkphyw", model.junctions().get(0).nfsAccessPolicy()); - Assertions.assertEquals(StorageTargetType.BLOB_NFS, model.targetType()); - Assertions.assertEquals(OperationalStateType.SUSPENDED, model.state()); - Assertions.assertEquals("ntxhdzhlrqjbhck", model.nfs3().target()); - Assertions.assertEquals("lhrxsbkyvpyc", model.nfs3().usageModel()); - Assertions.assertEquals(427278595, model.nfs3().verificationTimer()); - Assertions.assertEquals(592666283, model.nfs3().writeBackTimer()); - Assertions.assertEquals("kafkuwbcrnwbm", model.clfs().target()); - Assertions.assertEquals("eyvjusrtslhspkde", model.unknown().attributes().get("maofmxagkv")); - Assertions.assertEquals("uhcdhm", model.blobNfs().target()); - Assertions.assertEquals("alaexqpvfadmwsrc", model.blobNfs().usageModel()); - Assertions.assertEquals(1913869945, model.blobNfs().verificationTimer()); - Assertions.assertEquals(434822175, model.blobNfs().writeBackTimer()); + Assertions.assertEquals("lo", model.junctions().get(0).namespacePath()); + Assertions.assertEquals("oty", model.junctions().get(0).targetPath()); + Assertions.assertEquals("fcnj", model.junctions().get(0).nfsExport()); + Assertions.assertEquals("cn", model.junctions().get(0).nfsAccessPolicy()); + Assertions.assertEquals(StorageTargetType.NFS3, model.targetType()); + Assertions.assertEquals(OperationalStateType.FLUSHING, model.state()); + Assertions.assertEquals("h", model.nfs3().target()); + Assertions.assertEquals("pnvjtoqnermclf", model.nfs3().usageModel()); + Assertions.assertEquals(1456485650, model.nfs3().verificationTimer()); + Assertions.assertEquals(1957793699, model.nfs3().writeBackTimer()); + Assertions.assertEquals("scrpabgyepsbjt", model.clfs().target()); + Assertions.assertEquals("gxywpmue", model.unknown().attributes().get("fjz")); + Assertions.assertEquals("udxytlmoyrx", model.blobNfs().target()); + Assertions.assertEquals("fudwpznt", model.blobNfs().usageModel()); + Assertions.assertEquals(1417270726, model.blobNfs().verificationTimer()); + Assertions.assertEquals(328563559, model.blobNfs().writeBackTimer()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { StorageTargetProperties model = new StorageTargetProperties() - .withJunctions(Arrays.asList( - new NamespaceJunction().withNamespacePath("vce") - .withTargetPath("eil") - .withNfsExport("notyfjfcnjbkcn") - .withNfsAccessPolicy("hbttkphyw"), - new NamespaceJunction().withNamespacePath("vjtoqnermclfp") - .withTargetPath("hoxus") - .withNfsExport("pabgyeps") - .withNfsAccessPolicy("tazqugxywpmueefj"), - new NamespaceJunction().withNamespacePath("fqkquj") - .withTargetPath("suyonobglaocq") - .withNfsExport("ccm") - .withNfsAccessPolicy("udxytlmoyrx"))) - .withTargetType(StorageTargetType.BLOB_NFS) - .withState(OperationalStateType.SUSPENDED) - .withNfs3(new Nfs3Target().withTarget("ntxhdzhlrqjbhck") - .withUsageModel("lhrxsbkyvpyc") - .withVerificationTimer(427278595) - .withWriteBackTimer(592666283)) - .withClfs(new ClfsTarget().withTarget("kafkuwbcrnwbm")) + .withJunctions(Arrays.asList(new NamespaceJunction().withNamespacePath("lo") + .withTargetPath("oty") + .withNfsExport("fcnj") + .withNfsAccessPolicy("cn"))) + .withTargetType(StorageTargetType.NFS3) + .withState(OperationalStateType.FLUSHING) + .withNfs3(new Nfs3Target().withTarget("h") + .withUsageModel("pnvjtoqnermclf") + .withVerificationTimer(1456485650) + .withWriteBackTimer(1957793699)) + .withClfs(new ClfsTarget().withTarget("scrpabgyepsbjt")) .withUnknown( - new UnknownTarget().withAttributes(mapOf("maofmxagkv", "eyvjusrtslhspkde", "vljua", "melmqkrha"))) - .withBlobNfs(new BlobNfsTarget().withTarget("uhcdhm") - .withUsageModel("alaexqpvfadmwsrc") - .withVerificationTimer(1913869945) - .withWriteBackTimer(434822175)); + new UnknownTarget().withAttributes(mapOf("fjz", "gxywpmue", "dsuyonobgla", "fqkquj", "tcc", "cq"))) + .withBlobNfs(new BlobNfsTarget().withTarget("udxytlmoyrx") + .withUsageModel("fudwpznt") + .withVerificationTimer(1417270726) + .withWriteBackTimer(328563559)); model = BinaryData.fromObject(model).toObject(StorageTargetProperties.class); - Assertions.assertEquals("vce", model.junctions().get(0).namespacePath()); - Assertions.assertEquals("eil", model.junctions().get(0).targetPath()); - Assertions.assertEquals("notyfjfcnjbkcn", model.junctions().get(0).nfsExport()); - Assertions.assertEquals("hbttkphyw", model.junctions().get(0).nfsAccessPolicy()); - Assertions.assertEquals(StorageTargetType.BLOB_NFS, model.targetType()); - Assertions.assertEquals(OperationalStateType.SUSPENDED, model.state()); - Assertions.assertEquals("ntxhdzhlrqjbhck", model.nfs3().target()); - Assertions.assertEquals("lhrxsbkyvpyc", model.nfs3().usageModel()); - Assertions.assertEquals(427278595, model.nfs3().verificationTimer()); - Assertions.assertEquals(592666283, model.nfs3().writeBackTimer()); - Assertions.assertEquals("kafkuwbcrnwbm", model.clfs().target()); - Assertions.assertEquals("eyvjusrtslhspkde", model.unknown().attributes().get("maofmxagkv")); - Assertions.assertEquals("uhcdhm", model.blobNfs().target()); - Assertions.assertEquals("alaexqpvfadmwsrc", model.blobNfs().usageModel()); - Assertions.assertEquals(1913869945, model.blobNfs().verificationTimer()); - Assertions.assertEquals(434822175, model.blobNfs().writeBackTimer()); + Assertions.assertEquals("lo", model.junctions().get(0).namespacePath()); + Assertions.assertEquals("oty", model.junctions().get(0).targetPath()); + Assertions.assertEquals("fcnj", model.junctions().get(0).nfsExport()); + Assertions.assertEquals("cn", model.junctions().get(0).nfsAccessPolicy()); + Assertions.assertEquals(StorageTargetType.NFS3, model.targetType()); + Assertions.assertEquals(OperationalStateType.FLUSHING, model.state()); + Assertions.assertEquals("h", model.nfs3().target()); + Assertions.assertEquals("pnvjtoqnermclf", model.nfs3().usageModel()); + Assertions.assertEquals(1456485650, model.nfs3().verificationTimer()); + Assertions.assertEquals(1957793699, model.nfs3().writeBackTimer()); + Assertions.assertEquals("scrpabgyepsbjt", model.clfs().target()); + Assertions.assertEquals("gxywpmue", model.unknown().attributes().get("fjz")); + Assertions.assertEquals("udxytlmoyrx", model.blobNfs().target()); + Assertions.assertEquals("fudwpznt", model.blobNfs().usageModel()); + Assertions.assertEquals(1417270726, model.blobNfs().verificationTimer()); + Assertions.assertEquals(328563559, model.blobNfs().writeBackTimer()); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetSpaceAllocationTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetSpaceAllocationTests.java index dde801339916..3b0c8d1bcf17 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetSpaceAllocationTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetSpaceAllocationTests.java @@ -12,18 +12,18 @@ public final class StorageTargetSpaceAllocationTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StorageTargetSpaceAllocation model - = BinaryData.fromString("{\"name\":\"kymuctqhjfbebr\",\"allocationPercentage\":910788688}") + = BinaryData.fromString("{\"name\":\"conuqszfkbeype\",\"allocationPercentage\":1004577663}") .toObject(StorageTargetSpaceAllocation.class); - Assertions.assertEquals("kymuctqhjfbebr", model.name()); - Assertions.assertEquals(910788688, model.allocationPercentage()); + Assertions.assertEquals("conuqszfkbeype", model.name()); + Assertions.assertEquals(1004577663, model.allocationPercentage()); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { StorageTargetSpaceAllocation model - = new StorageTargetSpaceAllocation().withName("kymuctqhjfbebr").withAllocationPercentage(910788688); + = new StorageTargetSpaceAllocation().withName("conuqszfkbeype").withAllocationPercentage(1004577663); model = BinaryData.fromObject(model).toObject(StorageTargetSpaceAllocation.class); - Assertions.assertEquals("kymuctqhjfbebr", model.name()); - Assertions.assertEquals(910788688, model.allocationPercentage()); + Assertions.assertEquals("conuqszfkbeype", model.name()); + Assertions.assertEquals(1004577663, model.allocationPercentage()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsCreateOrUpdateMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsCreateOrUpdateMockTests.java index 05985c77c388..113a65768787 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsCreateOrUpdateMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsCreateOrUpdateMockTests.java @@ -31,7 +31,7 @@ public final class StorageTargetsCreateOrUpdateMockTests { @Test public void testCreateOrUpdate() throws Exception { String responseStr - = "{\"properties\":{\"junctions\":[{\"namespacePath\":\"rwrbi\",\"targetPath\":\"ktalywjhhgdnhxms\",\"nfsExport\":\"fomiloxgg\",\"nfsAccessPolicy\":\"fi\"},{\"namespacePath\":\"dieuzaofj\",\"targetPath\":\"vcyy\",\"nfsExport\":\"fgdo\",\"nfsAccessPolicy\":\"ubiipuipwoqonma\"},{\"namespacePath\":\"ekni\",\"targetPath\":\"hqvcimpevfgmblr\",\"nfsExport\":\"lbywdxsm\",\"nfsAccessPolicy\":\"cwrwfs\"}],\"targetType\":\"blobNfs\",\"provisioningState\":\"Succeeded\",\"state\":\"Busy\",\"nfs3\":{\"target\":\"qujizdvo\",\"usageModel\":\"tiby\",\"verificationTimer\":170060404,\"writeBackTimer\":558373923},\"clfs\":{\"target\":\"avu\"},\"unknown\":{\"attributes\":{\"ksbpimlqoljx\":\"joxoism\",\"fgcviz\":\"cgxxlxs\"}},\"blobNfs\":{\"target\":\"wlvwlyoupf\",\"usageModel\":\"bkjubdyhgkfmins\",\"verificationTimer\":760014296,\"writeBackTimer\":1740159355},\"allocationPercentage\":770655875},\"location\":\"ttktlahbq\",\"id\":\"tx\",\"name\":\"gzukxitmm\",\"type\":\"tg\"}"; + = "{\"properties\":{\"junctions\":[{\"namespacePath\":\"xqvkjlmxhomdyn\",\"targetPath\":\"wdigumbnraauz\",\"nfsExport\":\"tj\",\"nfsAccessPolicy\":\"ysdzhez\"}],\"targetType\":\"nfs3\",\"provisioningState\":\"Succeeded\",\"state\":\"Suspended\",\"nfs3\":{\"target\":\"vv\",\"usageModel\":\"nk\",\"verificationTimer\":1742382319,\"writeBackTimer\":800106977},\"clfs\":{\"target\":\"vyl\"},\"unknown\":{\"attributes\":{\"y\":\"vluwmncsttij\",\"krsgsgb\":\"vpo\",\"dgkynscliqhzvhxn\":\"huzqgn\"}},\"blobNfs\":{\"target\":\"tkubotppn\",\"usageModel\":\"xz\",\"verificationTimer\":685064266,\"writeBackTimer\":1207165403},\"allocationPercentage\":670431250},\"location\":\"cev\",\"id\":\"gtltdhlf\",\"name\":\"qojpy\",\"type\":\"vgtrdcnifmzzs\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -41,56 +41,48 @@ public void testCreateOrUpdate() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); StorageTarget response = manager.storageTargets() - .define("uodpv") - .withExistingCache("kgxywr", "kpyklyhp") + .define("pgogtqxepny") + .withExistingCache("xonbzoggculapz", "y") .withJunctions(Arrays.asList( - new NamespaceJunction().withNamespacePath("gzibthostgktstv") - .withTargetPath("eclze") - .withNfsExport("bcvhzlhpl") - .withNfsAccessPolicy("qkdlw"), - new NamespaceJunction().withNamespacePath("fbumlkx") - .withTargetPath("qjfsmlmbtxhw") - .withNfsExport("wsrt") - .withNfsAccessPolicy("coezbrhubskh"), - new NamespaceJunction().withNamespacePath("ygo") - .withTargetPath("kkqfqjbvle") - .withNfsExport("fmluiqtqzfavyvn") - .withNfsAccessPolicy("ybar"), - new NamespaceJunction().withNamespacePath("uayjkqa") - .withTargetPath("gzslesjcbhernnti") - .withNfsExport("djc") - .withNfsAccessPolicy("quwrbehwag"))) - .withTargetType(StorageTargetType.UNKNOWN) - .withState(OperationalStateType.READY) - .withNfs3(new Nfs3Target().withTarget("rqemvvhmxt") - .withUsageModel("jfutacoebj") - .withVerificationTimer(1565918365) - .withWriteBackTimer(445879070)) - .withClfs(new ClfsTarget().withTarget("nmwcpmgu")) - .withUnknown(new UnknownTarget().withAttributes(mapOf("uxxpshne", "aufactkahzovajjz", "lqubkwdlen", "kulfg", - "utujba", "d", "orwmduvwpklv", "pjuohminyfl"))) - .withBlobNfs(new BlobNfsTarget().withTarget("ygdxpgpqchis") - .withUsageModel("pnnbjc") - .withVerificationTimer(1933702310) - .withWriteBackTimer(1689782344)) + new NamespaceJunction().withNamespacePath("jlyjtlvofq") + .withTargetPath("vfcibyfmowux") + .withNfsExport("jpvd") + .withNfsAccessPolicy("fzwiivwzjbhyz"), + new NamespaceJunction().withNamespacePath("jrkambtrnegvmnv") + .withTargetPath("eqvldspast") + .withNfsExport("kkdmfl") + .withNfsAccessPolicy("stmjlxrri"))) + .withTargetType(StorageTargetType.CLFS) + .withState(OperationalStateType.SUSPENDED) + .withNfs3(new Nfs3Target().withTarget("chpxlktwku") + .withUsageModel("ycslevufuztcktyh") + .withVerificationTimer(400720959) + .withWriteBackTimer(1558169297)) + .withClfs(new ClfsTarget().withTarget("zulwmmrqzzrrj")) + .withUnknown( + new UnknownTarget().withAttributes(mapOf("r", "ydzgkrvqeevtoe", "aawzqadfl", "utnwytpzdmovzvf"))) + .withBlobNfs(new BlobNfsTarget().withTarget("riglaec") + .withUsageModel("dticokpvzml") + .withVerificationTimer(789950787) + .withWriteBackTimer(443285023)) .create(); - Assertions.assertEquals("rwrbi", response.junctions().get(0).namespacePath()); - Assertions.assertEquals("ktalywjhhgdnhxms", response.junctions().get(0).targetPath()); - Assertions.assertEquals("fomiloxgg", response.junctions().get(0).nfsExport()); - Assertions.assertEquals("fi", response.junctions().get(0).nfsAccessPolicy()); - Assertions.assertEquals(StorageTargetType.BLOB_NFS, response.targetType()); - Assertions.assertEquals(OperationalStateType.BUSY, response.state()); - Assertions.assertEquals("qujizdvo", response.nfs3().target()); - Assertions.assertEquals("tiby", response.nfs3().usageModel()); - Assertions.assertEquals(170060404, response.nfs3().verificationTimer()); - Assertions.assertEquals(558373923, response.nfs3().writeBackTimer()); - Assertions.assertEquals("avu", response.clfs().target()); - Assertions.assertEquals("joxoism", response.unknown().attributes().get("ksbpimlqoljx")); - Assertions.assertEquals("wlvwlyoupf", response.blobNfs().target()); - Assertions.assertEquals("bkjubdyhgkfmins", response.blobNfs().usageModel()); - Assertions.assertEquals(760014296, response.blobNfs().verificationTimer()); - Assertions.assertEquals(1740159355, response.blobNfs().writeBackTimer()); + Assertions.assertEquals("xqvkjlmxhomdyn", response.junctions().get(0).namespacePath()); + Assertions.assertEquals("wdigumbnraauz", response.junctions().get(0).targetPath()); + Assertions.assertEquals("tj", response.junctions().get(0).nfsExport()); + Assertions.assertEquals("ysdzhez", response.junctions().get(0).nfsAccessPolicy()); + Assertions.assertEquals(StorageTargetType.NFS3, response.targetType()); + Assertions.assertEquals(OperationalStateType.SUSPENDED, response.state()); + Assertions.assertEquals("vv", response.nfs3().target()); + Assertions.assertEquals("nk", response.nfs3().usageModel()); + Assertions.assertEquals(1742382319, response.nfs3().verificationTimer()); + Assertions.assertEquals(800106977, response.nfs3().writeBackTimer()); + Assertions.assertEquals("vyl", response.clfs().target()); + Assertions.assertEquals("vluwmncsttij", response.unknown().attributes().get("y")); + Assertions.assertEquals("tkubotppn", response.blobNfs().target()); + Assertions.assertEquals("xz", response.blobNfs().usageModel()); + Assertions.assertEquals(685064266, response.blobNfs().verificationTimer()); + Assertions.assertEquals(1207165403, response.blobNfs().writeBackTimer()); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDeleteMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDeleteMockTests.java index 00717ebf2dd3..efefc77567c7 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDeleteMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDeleteMockTests.java @@ -27,8 +27,7 @@ public void testDelete() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.storageTargets() - .delete("x", "lucvpam", "sreuzvxurisjnh", "ytxifqjzgxmrh", com.azure.core.util.Context.NONE); + manager.storageTargets().delete("fgcviz", "zdwlvwlyoupfgfb", "jub", "yhgk", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDnsRefreshMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDnsRefreshMockTests.java index 434aaf52d86c..277a5d3501ee 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDnsRefreshMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsDnsRefreshMockTests.java @@ -27,7 +27,7 @@ public void testDnsRefresh() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.storageTargets().dnsRefresh("kwcf", "ql", "yxgtczh", com.azure.core.util.Context.NONE); + manager.storageTargets().dnsRefresh("fhoqca", "ewda", "mdjvlpj", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsGetWithResponseMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsGetWithResponseMockTests.java index 1e41e4422387..3d8ab2cc21a5 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsGetWithResponseMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsGetWithResponseMockTests.java @@ -23,7 +23,7 @@ public final class StorageTargetsGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"junctions\":[{\"namespacePath\":\"hcrat\",\"targetPath\":\"zronasxift\",\"nfsExport\":\"qyzhf\",\"nfsAccessPolicy\":\"esgogc\"},{\"namespacePath\":\"onnxkrlgnyhm\",\"targetPath\":\"sxkkg\",\"nfsExport\":\"rrghxjbdhqxvcxgf\",\"nfsAccessPolicy\":\"dsofbshrns\"},{\"namespacePath\":\"uswdv\",\"targetPath\":\"ybycnunvj\",\"nfsExport\":\"tkfa\",\"nfsAccessPolicy\":\"opqgikyzirtxdyux\"}],\"targetType\":\"nfs3\",\"provisioningState\":\"Failed\",\"state\":\"Ready\",\"nfs3\":{\"target\":\"wgioilqukry\",\"usageModel\":\"tqmieox\",\"verificationTimer\":793254447,\"writeBackTimer\":627997957},\"clfs\":{\"target\":\"yaomtb\"},\"unknown\":{\"attributes\":{\"jzhpjbibgjmfx\":\"vgrvkffo\",\"cluyovwxnbkf\":\"mv\",\"zbomvzzbtdcqvpni\":\"zzxscyhwzdgiruj\"}},\"blobNfs\":{\"target\":\"viylwdshfssnrbgy\",\"usageModel\":\"rymsgaojfmw\",\"verificationTimer\":1972375865,\"writeBackTimer\":1012441055},\"allocationPercentage\":1018101586},\"location\":\"irctymoxoftpipiw\",\"id\":\"zuhx\",\"name\":\"cpqjlihhyu\",\"type\":\"pskasdvlmfwdg\"}"; + = "{\"properties\":{\"junctions\":[{\"namespacePath\":\"uors\",\"targetPath\":\"okwbqplh\",\"nfsExport\":\"nuuepzlrp\",\"nfsAccessPolicy\":\"zsoldwey\"},{\"namespacePath\":\"dunvmnnrwrbiorkt\",\"targetPath\":\"ywjhhgdnhx\",\"nfsExport\":\"ivfomiloxgg\",\"nfsAccessPolicy\":\"fi\"}],\"targetType\":\"unknown\",\"provisioningState\":\"Creating\",\"state\":\"Flushing\",\"nfs3\":{\"target\":\"ofjchvcyyysf\",\"usageModel\":\"otcubi\",\"verificationTimer\":1160749519,\"writeBackTimer\":1334396300},\"clfs\":{\"target\":\"qonmacj\"},\"unknown\":{\"attributes\":{\"cimpevfg\":\"zshq\"}},\"blobNfs\":{\"target\":\"rrilbywdxsmic\",\"usageModel\":\"rwfscjfnynszquj\",\"verificationTimer\":1527085818,\"writeBackTimer\":1473813191},\"allocationPercentage\":1794210477},\"location\":\"ibyowbblgyavutp\",\"id\":\"joxoism\",\"name\":\"ksbpimlqoljx\",\"type\":\"cgxxlxs\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,24 +33,24 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); StorageTarget response = manager.storageTargets() - .getWithResponse("ufxqknpirgnepttw", "msniffc", "mqnrojlpijnkr", com.azure.core.util.Context.NONE) + .getWithResponse("ygdxpgpqchis", "epn", "bjcrxgibbdaxco", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("hcrat", response.junctions().get(0).namespacePath()); - Assertions.assertEquals("zronasxift", response.junctions().get(0).targetPath()); - Assertions.assertEquals("qyzhf", response.junctions().get(0).nfsExport()); - Assertions.assertEquals("esgogc", response.junctions().get(0).nfsAccessPolicy()); - Assertions.assertEquals(StorageTargetType.NFS3, response.targetType()); - Assertions.assertEquals(OperationalStateType.READY, response.state()); - Assertions.assertEquals("wgioilqukry", response.nfs3().target()); - Assertions.assertEquals("tqmieox", response.nfs3().usageModel()); - Assertions.assertEquals(793254447, response.nfs3().verificationTimer()); - Assertions.assertEquals(627997957, response.nfs3().writeBackTimer()); - Assertions.assertEquals("yaomtb", response.clfs().target()); - Assertions.assertEquals("vgrvkffo", response.unknown().attributes().get("jzhpjbibgjmfx")); - Assertions.assertEquals("viylwdshfssnrbgy", response.blobNfs().target()); - Assertions.assertEquals("rymsgaojfmw", response.blobNfs().usageModel()); - Assertions.assertEquals(1972375865, response.blobNfs().verificationTimer()); - Assertions.assertEquals(1012441055, response.blobNfs().writeBackTimer()); + Assertions.assertEquals("uors", response.junctions().get(0).namespacePath()); + Assertions.assertEquals("okwbqplh", response.junctions().get(0).targetPath()); + Assertions.assertEquals("nuuepzlrp", response.junctions().get(0).nfsExport()); + Assertions.assertEquals("zsoldwey", response.junctions().get(0).nfsAccessPolicy()); + Assertions.assertEquals(StorageTargetType.UNKNOWN, response.targetType()); + Assertions.assertEquals(OperationalStateType.FLUSHING, response.state()); + Assertions.assertEquals("ofjchvcyyysf", response.nfs3().target()); + Assertions.assertEquals("otcubi", response.nfs3().usageModel()); + Assertions.assertEquals(1160749519, response.nfs3().verificationTimer()); + Assertions.assertEquals(1334396300, response.nfs3().writeBackTimer()); + Assertions.assertEquals("qonmacj", response.clfs().target()); + Assertions.assertEquals("zshq", response.unknown().attributes().get("cimpevfg")); + Assertions.assertEquals("rrilbywdxsmic", response.blobNfs().target()); + Assertions.assertEquals("rwfscjfnynszquj", response.blobNfs().usageModel()); + Assertions.assertEquals(1527085818, response.blobNfs().verificationTimer()); + Assertions.assertEquals(1473813191, response.blobNfs().writeBackTimer()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsListByCacheMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsListByCacheMockTests.java index 52bb9d472eee..2a2086dd102a 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsListByCacheMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsListByCacheMockTests.java @@ -24,7 +24,7 @@ public final class StorageTargetsListByCacheMockTests { @Test public void testListByCache() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"junctions\":[{\"namespacePath\":\"ejqgw\",\"targetPath\":\"nfqn\",\"nfsExport\":\"ypsxjvfoim\",\"nfsAccessPolicy\":\"slirciz\"}],\"targetType\":\"blobNfs\",\"provisioningState\":\"Failed\",\"state\":\"Suspended\",\"nfs3\":{\"target\":\"acvlhv\",\"usageModel\":\"dyftumrtwna\",\"verificationTimer\":951831262,\"writeBackTimer\":786702902},\"clfs\":{\"target\":\"kojgcyzts\"},\"unknown\":{\"attributes\":{\"qnrnrpxehuwryk\":\"baeqphc\",\"bydvkhbejdz\":\"gaifmvik\",\"srhnjivo\":\"xcv\"}},\"blobNfs\":{\"target\":\"novqfzge\",\"usageModel\":\"dftuljltduce\",\"verificationTimer\":1779259768,\"writeBackTimer\":654358924},\"allocationPercentage\":128848719},\"location\":\"m\",\"id\":\"wcw\",\"name\":\"qioknssxmojm\",\"type\":\"vpkjpr\"}]}"; + = "{\"value\":[{\"properties\":{\"junctions\":[{\"namespacePath\":\"gzukxitmm\",\"targetPath\":\"gqqqxh\",\"nfsExport\":\"xrxc\",\"nfsAccessPolicy\":\"uisavokq\"},{\"namespacePath\":\"fvazivjlfrqttba\",\"targetPath\":\"katnwxyi\",\"nfsExport\":\"id\",\"nfsAccessPolicy\":\"qfkuvscxkdmli\"},{\"namespacePath\":\"vibrxkpmloazuruo\",\"targetPath\":\"goorbteo\",\"nfsExport\":\"fhjxakvvjgs\",\"nfsAccessPolicy\":\"r\"},{\"namespacePath\":\"lmywwtkgkxnyed\",\"targetPath\":\"gyvudtjuewbc\",\"nfsExport\":\"xuuwhcj\",\"nfsAccessPolicy\":\"ccybvp\"}],\"targetType\":\"nfs3\",\"provisioningState\":\"Deleting\",\"state\":\"Flushing\",\"nfs3\":{\"target\":\"px\",\"usageModel\":\"jplmagstcy\",\"verificationTimer\":1758670411,\"writeBackTimer\":895396019},\"clfs\":{\"target\":\"kdbdgiogsj\"},\"unknown\":{\"attributes\":{\"gfnmntfpmvmemfnc\":\"qjnobaiyhddviac\",\"xlllchp\":\"dwvvba\"}},\"blobNfs\":{\"target\":\"zevwrdnhfukuv\",\"usageModel\":\"cswsmystul\",\"verificationTimer\":1634922440,\"writeBackTimer\":2048413099},\"allocationPercentage\":1783589840},\"location\":\"er\",\"id\":\"pqbmfpjbab\",\"name\":\"idfcxsspuunnoxyh\",\"type\":\"xgqddrih\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -34,23 +34,24 @@ public void testListByCache() throws Exception { new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); PagedIterable response - = manager.storageTargets().listByCache("blwpcesutrgj", "pauutpw", com.azure.core.util.Context.NONE); + = manager.storageTargets().listByCache("minsgowzf", "tsttktlahbq", com.azure.core.util.Context.NONE); - Assertions.assertEquals("ejqgw", response.iterator().next().junctions().get(0).namespacePath()); - Assertions.assertEquals("nfqn", response.iterator().next().junctions().get(0).targetPath()); - Assertions.assertEquals("ypsxjvfoim", response.iterator().next().junctions().get(0).nfsExport()); - Assertions.assertEquals("slirciz", response.iterator().next().junctions().get(0).nfsAccessPolicy()); - Assertions.assertEquals(StorageTargetType.BLOB_NFS, response.iterator().next().targetType()); - Assertions.assertEquals(OperationalStateType.SUSPENDED, response.iterator().next().state()); - Assertions.assertEquals("acvlhv", response.iterator().next().nfs3().target()); - Assertions.assertEquals("dyftumrtwna", response.iterator().next().nfs3().usageModel()); - Assertions.assertEquals(951831262, response.iterator().next().nfs3().verificationTimer()); - Assertions.assertEquals(786702902, response.iterator().next().nfs3().writeBackTimer()); - Assertions.assertEquals("kojgcyzts", response.iterator().next().clfs().target()); - Assertions.assertEquals("baeqphc", response.iterator().next().unknown().attributes().get("qnrnrpxehuwryk")); - Assertions.assertEquals("novqfzge", response.iterator().next().blobNfs().target()); - Assertions.assertEquals("dftuljltduce", response.iterator().next().blobNfs().usageModel()); - Assertions.assertEquals(1779259768, response.iterator().next().blobNfs().verificationTimer()); - Assertions.assertEquals(654358924, response.iterator().next().blobNfs().writeBackTimer()); + Assertions.assertEquals("gzukxitmm", response.iterator().next().junctions().get(0).namespacePath()); + Assertions.assertEquals("gqqqxh", response.iterator().next().junctions().get(0).targetPath()); + Assertions.assertEquals("xrxc", response.iterator().next().junctions().get(0).nfsExport()); + Assertions.assertEquals("uisavokq", response.iterator().next().junctions().get(0).nfsAccessPolicy()); + Assertions.assertEquals(StorageTargetType.NFS3, response.iterator().next().targetType()); + Assertions.assertEquals(OperationalStateType.FLUSHING, response.iterator().next().state()); + Assertions.assertEquals("px", response.iterator().next().nfs3().target()); + Assertions.assertEquals("jplmagstcy", response.iterator().next().nfs3().usageModel()); + Assertions.assertEquals(1758670411, response.iterator().next().nfs3().verificationTimer()); + Assertions.assertEquals(895396019, response.iterator().next().nfs3().writeBackTimer()); + Assertions.assertEquals("kdbdgiogsj", response.iterator().next().clfs().target()); + Assertions.assertEquals("qjnobaiyhddviac", + response.iterator().next().unknown().attributes().get("gfnmntfpmvmemfnc")); + Assertions.assertEquals("zevwrdnhfukuv", response.iterator().next().blobNfs().target()); + Assertions.assertEquals("cswsmystul", response.iterator().next().blobNfs().usageModel()); + Assertions.assertEquals(1634922440, response.iterator().next().blobNfs().verificationTimer()); + Assertions.assertEquals(2048413099, response.iterator().next().blobNfs().writeBackTimer()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsRestoreDefaultsMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsRestoreDefaultsMockTests.java index 1daf82f40706..b08e439b2551 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsRestoreDefaultsMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsRestoreDefaultsMockTests.java @@ -27,8 +27,7 @@ public void testRestoreDefaults() throws Exception { .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD)); - manager.storageTargets() - .restoreDefaults("ydbsd", "hmkxmaehvbb", "uripltfnhtba", com.azure.core.util.Context.NONE); + manager.storageTargets().restoreDefaults("xkzb", "msgeivsiykzk", "ncj", com.azure.core.util.Context.NONE); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsResultTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsResultTests.java index 6937e5648170..fffb22cf890c 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsResultTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/StorageTargetsResultTests.java @@ -14,24 +14,24 @@ public final class StorageTargetsResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { StorageTargetsResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"junctions\":[{\"namespacePath\":\"dnhjdauwhvylw\",\"targetPath\":\"tdhxujznbmpowuwp\",\"nfsExport\":\"qlveualupjmkh\",\"nfsAccessPolicy\":\"obbc\"},{\"namespacePath\":\"s\",\"targetPath\":\"jriplrbpbewtghf\",\"nfsExport\":\"lcgwxzvlvqh\",\"nfsAccessPolicy\":\"begibtnmxiebwwa\"}],\"targetType\":\"clfs\",\"provisioningState\":\"Succeeded\",\"state\":\"Suspended\",\"nfs3\":{\"target\":\"rtzju\",\"usageModel\":\"wyzmhtxon\",\"verificationTimer\":351214213,\"writeBackTimer\":2051758056},\"clfs\":{\"target\":\"cbpwxqpsrknft\"},\"unknown\":{\"attributes\":{\"riwwroy\":\"iuhprwmdyvxqta\",\"bycnojvkn\":\"bexrmcq\"}},\"blobNfs\":{\"target\":\"qsgzvahapj\",\"usageModel\":\"hpvgqz\",\"verificationTimer\":256612038,\"writeBackTimer\":391970506},\"allocationPercentage\":1243580735},\"location\":\"lmwlxkvugfhzo\",\"id\":\"wjvzunluthnn\",\"name\":\"rnxipei\",\"type\":\"pjzu\"},{\"properties\":{\"junctions\":[{\"namespacePath\":\"ultskzbbtdz\",\"targetPath\":\"veekgpwozuhkfp\",\"nfsExport\":\"jyofdxluusdtto\",\"nfsAccessPolicy\":\"aboekqv\"},{\"namespacePath\":\"lns\",\"targetPath\":\"bxwyjsflhhcaa\",\"nfsExport\":\"jixisxyawjoyaqcs\",\"nfsAccessPolicy\":\"jpkiidzyexznelix\"}],\"targetType\":\"nfs3\",\"provisioningState\":\"Failed\",\"state\":\"Suspended\",\"nfs3\":{\"target\":\"hb\",\"usageModel\":\"knalaulppg\",\"verificationTimer\":1987785731,\"writeBackTimer\":1767174247},\"clfs\":{\"target\":\"nyiropuhpi\"},\"unknown\":{\"attributes\":{\"n\":\"ylgqgitxmedjvcsl\",\"rmgucnap\":\"wwncwzzhxgk\",\"oellwp\":\"t\",\"qrhhu\":\"fdygpfqbuaceopz\"}},\"blobNfs\":{\"target\":\"ppcqeqxolz\",\"usageModel\":\"hzxct\",\"verificationTimer\":731571651,\"writeBackTimer\":1114721091},\"allocationPercentage\":1823034726},\"location\":\"izpost\",\"id\":\"rcfbunrm\",\"name\":\"qjhhkxbpv\",\"type\":\"ymjhxxjyngudivkr\"}],\"nextLink\":\"wbxqzvszjfau\"}") + "{\"value\":[{\"properties\":{\"junctions\":[{\"namespacePath\":\"j\",\"targetPath\":\"wpucwwfvovbv\",\"nfsExport\":\"uecivyhz\",\"nfsAccessPolicy\":\"uojgj\"}],\"targetType\":\"nfs3\",\"provisioningState\":\"Creating\",\"state\":\"Flushing\",\"nfs3\":{\"target\":\"wmcdytdxwi\",\"usageModel\":\"nrjawgqwg\",\"verificationTimer\":369820426,\"writeBackTimer\":1353933533},\"clfs\":{\"target\":\"fbkp\"},\"unknown\":{\"attributes\":{\"nhjdauw\":\"lwn\",\"nbmpowuwprzq\":\"vylwzbtdhxuj\",\"pjmkhfxobbc\":\"veual\",\"tghfgblcgwxzvl\":\"wsrtjriplrbpbe\"}},\"blobNfs\":{\"target\":\"jkbegibtnmxiebww\",\"usageModel\":\"oayqc\",\"verificationTimer\":1214313613,\"writeBackTimer\":1999029226},\"allocationPercentage\":350152394},\"location\":\"gwyzm\",\"id\":\"xongmtsavjcbpwxq\",\"name\":\"srknftguv\",\"type\":\"iuhprwmdyvxqta\"},{\"properties\":{\"junctions\":[{\"namespacePath\":\"ro\",\"targetPath\":\"bexrmcq\",\"nfsExport\":\"ycnojvknmefqsg\",\"nfsAccessPolicy\":\"ah\"}],\"targetType\":\"clfs\",\"provisioningState\":\"Creating\",\"state\":\"Busy\",\"nfs3\":{\"target\":\"gqzcjr\",\"usageModel\":\"djzlmwlx\",\"verificationTimer\":413444138,\"writeBackTimer\":2069794521},\"clfs\":{\"target\":\"ovawjvzunlu\"},\"unknown\":{\"attributes\":{\"jzuaejxdultskzbb\":\"prnxipeil\"}},\"blobNfs\":{\"target\":\"umveekgpwozuhkf\",\"usageModel\":\"sjyofdx\",\"verificationTimer\":301470768,\"writeBackTimer\":2103564853},\"allocationPercentage\":578093218},\"location\":\"uwaboekqvke\",\"id\":\"smv\",\"name\":\"xwyjsflhhc\",\"type\":\"aln\"},{\"properties\":{\"junctions\":[{\"namespacePath\":\"xyawj\",\"targetPath\":\"aq\",\"nfsExport\":\"lyjpk\",\"nfsAccessPolicy\":\"dzyexznelixh\"},{\"namespacePath\":\"ztfolhbnxk\",\"targetPath\":\"laulppg\",\"nfsExport\":\"tpnapnyiropuhpig\",\"nfsAccessPolicy\":\"gylgqgitxmedjvcs\"},{\"namespacePath\":\"n\",\"targetPath\":\"wncwzzhxgktrmg\",\"nfsExport\":\"napkteoellw\",\"nfsAccessPolicy\":\"fdygpfqbuaceopz\"},{\"namespacePath\":\"rhhuaopppcqeqx\",\"targetPath\":\"z\",\"nfsExport\":\"hzxct\",\"nfsAccessPolicy\":\"gbkdmoizpos\"}],\"targetType\":\"clfs\",\"provisioningState\":\"Succeeded\",\"state\":\"Suspended\",\"nfs3\":{\"target\":\"nrmfqjhhk\",\"usageModel\":\"pvjymjhxxjyng\",\"verificationTimer\":1804869047,\"writeBackTimer\":216222103},\"clfs\":{\"target\":\"swbxqz\"},\"unknown\":{\"attributes\":{\"vetvt\":\"fauvjfdxx\",\"lqbhsf\":\"qaqtdoqmcbxvwvxy\",\"tkblmpewww\":\"obl\"}},\"blobNfs\":{\"target\":\"rvrnsvshqjohxc\",\"usageModel\":\"bfovasrruvwbhsq\",\"verificationTimer\":309117028,\"writeBackTimer\":213257698},\"allocationPercentage\":540005244},\"location\":\"irx\",\"id\":\"ybsrfbjfdtwss\",\"name\":\"t\",\"type\":\"tpvjzbexilzznfqq\"}],\"nextLink\":\"wpmqt\"}") .toObject(StorageTargetsResult.class); - Assertions.assertEquals("dnhjdauwhvylw", model.value().get(0).junctions().get(0).namespacePath()); - Assertions.assertEquals("tdhxujznbmpowuwp", model.value().get(0).junctions().get(0).targetPath()); - Assertions.assertEquals("qlveualupjmkh", model.value().get(0).junctions().get(0).nfsExport()); - Assertions.assertEquals("obbc", model.value().get(0).junctions().get(0).nfsAccessPolicy()); - Assertions.assertEquals(StorageTargetType.CLFS, model.value().get(0).targetType()); - Assertions.assertEquals(OperationalStateType.SUSPENDED, model.value().get(0).state()); - Assertions.assertEquals("rtzju", model.value().get(0).nfs3().target()); - Assertions.assertEquals("wyzmhtxon", model.value().get(0).nfs3().usageModel()); - Assertions.assertEquals(351214213, model.value().get(0).nfs3().verificationTimer()); - Assertions.assertEquals(2051758056, model.value().get(0).nfs3().writeBackTimer()); - Assertions.assertEquals("cbpwxqpsrknft", model.value().get(0).clfs().target()); - Assertions.assertEquals("iuhprwmdyvxqta", model.value().get(0).unknown().attributes().get("riwwroy")); - Assertions.assertEquals("qsgzvahapj", model.value().get(0).blobNfs().target()); - Assertions.assertEquals("hpvgqz", model.value().get(0).blobNfs().usageModel()); - Assertions.assertEquals(256612038, model.value().get(0).blobNfs().verificationTimer()); - Assertions.assertEquals(391970506, model.value().get(0).blobNfs().writeBackTimer()); - Assertions.assertEquals("wbxqzvszjfau", model.nextLink()); + Assertions.assertEquals("j", model.value().get(0).junctions().get(0).namespacePath()); + Assertions.assertEquals("wpucwwfvovbv", model.value().get(0).junctions().get(0).targetPath()); + Assertions.assertEquals("uecivyhz", model.value().get(0).junctions().get(0).nfsExport()); + Assertions.assertEquals("uojgj", model.value().get(0).junctions().get(0).nfsAccessPolicy()); + Assertions.assertEquals(StorageTargetType.NFS3, model.value().get(0).targetType()); + Assertions.assertEquals(OperationalStateType.FLUSHING, model.value().get(0).state()); + Assertions.assertEquals("wmcdytdxwi", model.value().get(0).nfs3().target()); + Assertions.assertEquals("nrjawgqwg", model.value().get(0).nfs3().usageModel()); + Assertions.assertEquals(369820426, model.value().get(0).nfs3().verificationTimer()); + Assertions.assertEquals(1353933533, model.value().get(0).nfs3().writeBackTimer()); + Assertions.assertEquals("fbkp", model.value().get(0).clfs().target()); + Assertions.assertEquals("lwn", model.value().get(0).unknown().attributes().get("nhjdauw")); + Assertions.assertEquals("jkbegibtnmxiebww", model.value().get(0).blobNfs().target()); + Assertions.assertEquals("oayqc", model.value().get(0).blobNfs().usageModel()); + Assertions.assertEquals(1214313613, model.value().get(0).blobNfs().verificationTimer()); + Assertions.assertEquals(1999029226, model.value().get(0).blobNfs().writeBackTimer()); + Assertions.assertEquals("wpmqt", model.nextLink()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UnknownTargetTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UnknownTargetTests.java index 3a02c080fce5..4380b4184920 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UnknownTargetTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UnknownTargetTests.java @@ -13,18 +13,18 @@ public final class UnknownTargetTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - UnknownTarget model - = BinaryData.fromString("{\"attributes\":{\"wjue\":\"uojgj\",\"x\":\"otwmcdyt\",\"nrjawgqwg\":\"it\"}}") - .toObject(UnknownTarget.class); - Assertions.assertEquals("uojgj", model.attributes().get("wjue")); + UnknownTarget model = BinaryData.fromString( + "{\"attributes\":{\"alaexqpvfadmwsrc\":\"uahaquhcdhmd\",\"gomz\":\"gvxp\",\"bnbbeldawkz\":\"fmisg\",\"urqhaka\":\"ali\"}}") + .toObject(UnknownTarget.class); + Assertions.assertEquals("uahaquhcdhmd", model.attributes().get("alaexqpvfadmwsrc")); } @org.junit.jupiter.api.Test public void testSerialize() throws Exception { - UnknownTarget model - = new UnknownTarget().withAttributes(mapOf("wjue", "uojgj", "x", "otwmcdyt", "nrjawgqwg", "it")); + UnknownTarget model = new UnknownTarget().withAttributes( + mapOf("alaexqpvfadmwsrc", "uahaquhcdhmd", "gomz", "gvxp", "bnbbeldawkz", "fmisg", "urqhaka", "ali")); model = BinaryData.fromObject(model).toObject(UnknownTarget.class); - Assertions.assertEquals("uojgj", model.attributes().get("wjue")); + Assertions.assertEquals("uahaquhcdhmd", model.attributes().get("alaexqpvfadmwsrc")); } // Use "Map.of" if available diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelDisplayTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelDisplayTests.java index ffa5c5719f55..2fbce840cc3d 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelDisplayTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelDisplayTests.java @@ -11,7 +11,8 @@ public final class UsageModelDisplayTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - UsageModelDisplay model = BinaryData.fromString("{\"description\":\"a\"}").toObject(UsageModelDisplay.class); - Assertions.assertEquals("a", model.description()); + UsageModelDisplay model + = BinaryData.fromString("{\"description\":\"eokerqwkyhkobopg\"}").toObject(UsageModelDisplay.class); + Assertions.assertEquals("eokerqwkyhkobopg", model.description()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelInnerTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelInnerTests.java index 0f8784711dd2..18f957bd50ad 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelInnerTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelInnerTests.java @@ -11,11 +11,12 @@ public final class UsageModelInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { - UsageModelInner model = BinaryData.fromString( - "{\"display\":{\"description\":\"nguxawqaldsy\"},\"modelName\":\"ximerqfobwyznk\",\"targetType\":\"kutwpf\"}") + UsageModelInner model = BinaryData + .fromString( + "{\"display\":{\"description\":\"cqdpsqxqvpsvuoym\"},\"modelName\":\"celve\",\"targetType\":\"ypql\"}") .toObject(UsageModelInner.class); - Assertions.assertEquals("nguxawqaldsy", model.display().description()); - Assertions.assertEquals("ximerqfobwyznk", model.modelName()); - Assertions.assertEquals("kutwpf", model.targetType()); + Assertions.assertEquals("cqdpsqxqvpsvuoym", model.display().description()); + Assertions.assertEquals("celve", model.modelName()); + Assertions.assertEquals("ypql", model.targetType()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelsListMockTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelsListMockTests.java index 159166595dca..80e7b29945f5 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelsListMockTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelsListMockTests.java @@ -22,7 +22,7 @@ public final class UsageModelsListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"display\":{\"description\":\"eg\"},\"modelName\":\"alzxwhcan\",\"targetType\":\"moy\"}]}"; + = "{\"value\":[{\"display\":{\"description\":\"n\"},\"modelName\":\"puuw\",\"targetType\":\"tvuqjctzenkeifzz\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -33,8 +33,8 @@ public void testList() throws Exception { PagedIterable response = manager.usageModels().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("eg", response.iterator().next().display().description()); - Assertions.assertEquals("alzxwhcan", response.iterator().next().modelName()); - Assertions.assertEquals("moy", response.iterator().next().targetType()); + Assertions.assertEquals("n", response.iterator().next().display().description()); + Assertions.assertEquals("puuw", response.iterator().next().modelName()); + Assertions.assertEquals("tvuqjctzenkeifzz", response.iterator().next().targetType()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelsResultTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelsResultTests.java index f301a275e62e..b9fa277c3455 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelsResultTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UsageModelsResultTests.java @@ -12,11 +12,11 @@ public final class UsageModelsResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { UsageModelsResult model = BinaryData.fromString( - "{\"value\":[{\"display\":{\"description\":\"zfoqouicybxar\"},\"modelName\":\"szufoxciqopidoa\",\"targetType\":\"iodhkhazxkhnz\"},{\"display\":{\"description\":\"lwntoego\"},\"modelName\":\"wbw\",\"targetType\":\"szzcmrvexztv\"}],\"nextLink\":\"qgsfraoyzkoow\"}") + "{\"value\":[{\"display\":{\"description\":\"dphqamv\"},\"modelName\":\"fwynwcvtbvkay\",\"targetType\":\"tnvyqiatkzwp\"},{\"display\":{\"description\":\"wzcjaesgvvsccy\"},\"modelName\":\"g\",\"targetType\":\"fhwygzlvdnkfxus\"}],\"nextLink\":\"dwzrmuh\"}") .toObject(UsageModelsResult.class); - Assertions.assertEquals("zfoqouicybxar", model.value().get(0).display().description()); - Assertions.assertEquals("szufoxciqopidoa", model.value().get(0).modelName()); - Assertions.assertEquals("iodhkhazxkhnz", model.value().get(0).targetType()); - Assertions.assertEquals("qgsfraoyzkoow", model.nextLink()); + Assertions.assertEquals("dphqamv", model.value().get(0).display().description()); + Assertions.assertEquals("fwynwcvtbvkay", model.value().get(0).modelName()); + Assertions.assertEquals("tnvyqiatkzwp", model.value().get(0).targetType()); + Assertions.assertEquals("dwzrmuh", model.nextLink()); } } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UserAssignedIdentitiesValueTests.java b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UserAssignedIdentitiesValueTests.java index ae9fa8fc3b83..36fa2353ba1e 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UserAssignedIdentitiesValueTests.java +++ b/sdk/storagecache/azure-resourcemanager-storagecache/src/test/java/com/azure/resourcemanager/storagecache/generated/UserAssignedIdentitiesValueTests.java @@ -11,7 +11,7 @@ public final class UserAssignedIdentitiesValueTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { UserAssignedIdentitiesValue model - = BinaryData.fromString("{\"principalId\":\"mxnehmp\",\"clientId\":\"cxgod\"}") + = BinaryData.fromString("{\"principalId\":\"fvjrbirphxepcy\",\"clientId\":\"hfnljkyq\"}") .toObject(UserAssignedIdentitiesValue.class); } diff --git a/sdk/storagecache/azure-resourcemanager-storagecache/tsp-location.yaml b/sdk/storagecache/azure-resourcemanager-storagecache/tsp-location.yaml index 3f6152f4096a..bc8f55eed25f 100644 --- a/sdk/storagecache/azure-resourcemanager-storagecache/tsp-location.yaml +++ b/sdk/storagecache/azure-resourcemanager-storagecache/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/storagecache/resource-manager/Microsoft.StorageCache/StorageCache -commit: 9317f932d38c65c7df3fedba63038d259404bed3 +commit: 97e60f488f937ddc4c96189327f2500c8b484e7c repo: Azure/azure-rest-api-specs additionalDirectories: