@azure/arm-storagecache 8.1.0-alpha.20260310.1 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/README.md +2 -2
  2. package/dist/browser/models/index.d.ts +185 -2
  3. package/dist/browser/models/index.d.ts.map +1 -1
  4. package/dist/browser/models/index.js +32 -0
  5. package/dist/browser/models/index.js.map +1 -1
  6. package/dist/browser/models/mappers.d.ts +6 -0
  7. package/dist/browser/models/mappers.d.ts.map +1 -1
  8. package/dist/browser/models/mappers.js +183 -0
  9. package/dist/browser/models/mappers.js.map +1 -1
  10. package/dist/browser/models/parameters.d.ts +3 -0
  11. package/dist/browser/models/parameters.d.ts.map +1 -1
  12. package/dist/browser/models/parameters.js +25 -2
  13. package/dist/browser/models/parameters.js.map +1 -1
  14. package/dist/browser/operations/expansionJobs.d.ts +120 -0
  15. package/dist/browser/operations/expansionJobs.d.ts.map +1 -0
  16. package/dist/browser/operations/expansionJobs.js +473 -0
  17. package/dist/browser/operations/expansionJobs.js.map +1 -0
  18. package/dist/browser/operations/index.d.ts +1 -0
  19. package/dist/browser/operations/index.d.ts.map +1 -1
  20. package/dist/browser/operations/index.js +1 -0
  21. package/dist/browser/operations/index.js.map +1 -1
  22. package/dist/browser/operationsInterfaces/expansionJobs.d.ts +93 -0
  23. package/dist/browser/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  24. package/dist/browser/operationsInterfaces/expansionJobs.js +4 -0
  25. package/dist/browser/operationsInterfaces/expansionJobs.js.map +1 -0
  26. package/dist/browser/operationsInterfaces/index.d.ts +1 -0
  27. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  28. package/dist/browser/operationsInterfaces/index.js +1 -0
  29. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  30. package/dist/browser/storageCacheManagementClient.d.ts +2 -1
  31. package/dist/browser/storageCacheManagementClient.d.ts.map +1 -1
  32. package/dist/browser/storageCacheManagementClient.js +5 -3
  33. package/dist/browser/storageCacheManagementClient.js.map +1 -1
  34. package/dist/commonjs/models/index.d.ts +185 -2
  35. package/dist/commonjs/models/index.d.ts.map +1 -1
  36. package/dist/commonjs/models/index.js +22 -0
  37. package/dist/commonjs/models/index.js.map +3 -3
  38. package/dist/commonjs/models/mappers.d.ts +6 -0
  39. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  40. package/dist/commonjs/models/mappers.js +195 -0
  41. package/dist/commonjs/models/mappers.js.map +2 -2
  42. package/dist/commonjs/models/parameters.d.ts +3 -0
  43. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  44. package/dist/commonjs/models/parameters.js +30 -1
  45. package/dist/commonjs/models/parameters.js.map +3 -3
  46. package/dist/commonjs/operations/expansionJobs.d.ts +120 -0
  47. package/dist/commonjs/operations/expansionJobs.d.ts.map +1 -0
  48. package/dist/commonjs/operations/expansionJobs.js +547 -0
  49. package/dist/commonjs/operations/expansionJobs.js.map +7 -0
  50. package/dist/commonjs/operations/index.d.ts +1 -0
  51. package/dist/commonjs/operations/index.d.ts.map +1 -1
  52. package/dist/commonjs/operations/index.js +2 -0
  53. package/dist/commonjs/operations/index.js.map +2 -2
  54. package/dist/commonjs/operationsInterfaces/expansionJobs.d.ts +93 -0
  55. package/dist/commonjs/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  56. package/dist/commonjs/operationsInterfaces/expansionJobs.js +15 -0
  57. package/dist/commonjs/operationsInterfaces/expansionJobs.js.map +7 -0
  58. package/dist/commonjs/operationsInterfaces/index.d.ts +1 -0
  59. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  60. package/dist/commonjs/operationsInterfaces/index.js +2 -0
  61. package/dist/commonjs/operationsInterfaces/index.js.map +2 -2
  62. package/dist/commonjs/storageCacheManagementClient.d.ts +2 -1
  63. package/dist/commonjs/storageCacheManagementClient.d.ts.map +1 -1
  64. package/dist/commonjs/storageCacheManagementClient.js +4 -2
  65. package/dist/commonjs/storageCacheManagementClient.js.map +2 -2
  66. package/dist/esm/models/index.d.ts +185 -2
  67. package/dist/esm/models/index.d.ts.map +1 -1
  68. package/dist/esm/models/index.js +20 -0
  69. package/dist/esm/models/index.js.map +3 -3
  70. package/dist/esm/models/mappers.d.ts +6 -0
  71. package/dist/esm/models/mappers.d.ts.map +1 -1
  72. package/dist/esm/models/mappers.js +189 -0
  73. package/dist/esm/models/mappers.js.map +2 -2
  74. package/dist/esm/models/parameters.d.ts +3 -0
  75. package/dist/esm/models/parameters.d.ts.map +1 -1
  76. package/dist/esm/models/parameters.js +29 -1
  77. package/dist/esm/models/parameters.js.map +2 -2
  78. package/dist/esm/operations/expansionJobs.d.ts +120 -0
  79. package/dist/esm/operations/expansionJobs.d.ts.map +1 -0
  80. package/dist/esm/operations/expansionJobs.js +514 -0
  81. package/dist/esm/operations/expansionJobs.js.map +7 -0
  82. package/dist/esm/operations/index.d.ts +1 -0
  83. package/dist/esm/operations/index.d.ts.map +1 -1
  84. package/dist/esm/operations/index.js +1 -0
  85. package/dist/esm/operations/index.js.map +2 -2
  86. package/dist/esm/operationsInterfaces/expansionJobs.d.ts +93 -0
  87. package/dist/esm/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  88. package/dist/esm/operationsInterfaces/expansionJobs.js +0 -0
  89. package/dist/esm/operationsInterfaces/expansionJobs.js.map +7 -0
  90. package/dist/esm/operationsInterfaces/index.d.ts +1 -0
  91. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  92. package/dist/esm/operationsInterfaces/index.js +1 -0
  93. package/dist/esm/operationsInterfaces/index.js.map +2 -2
  94. package/dist/esm/storageCacheManagementClient.d.ts +2 -1
  95. package/dist/esm/storageCacheManagementClient.d.ts.map +1 -1
  96. package/dist/esm/storageCacheManagementClient.js +5 -2
  97. package/dist/esm/storageCacheManagementClient.js.map +2 -2
  98. package/dist/react-native/models/index.d.ts +185 -2
  99. package/dist/react-native/models/index.d.ts.map +1 -1
  100. package/dist/react-native/models/index.js +32 -0
  101. package/dist/react-native/models/index.js.map +1 -1
  102. package/dist/react-native/models/mappers.d.ts +6 -0
  103. package/dist/react-native/models/mappers.d.ts.map +1 -1
  104. package/dist/react-native/models/mappers.js +183 -0
  105. package/dist/react-native/models/mappers.js.map +1 -1
  106. package/dist/react-native/models/parameters.d.ts +3 -0
  107. package/dist/react-native/models/parameters.d.ts.map +1 -1
  108. package/dist/react-native/models/parameters.js +25 -2
  109. package/dist/react-native/models/parameters.js.map +1 -1
  110. package/dist/react-native/operations/expansionJobs.d.ts +120 -0
  111. package/dist/react-native/operations/expansionJobs.d.ts.map +1 -0
  112. package/dist/react-native/operations/expansionJobs.js +473 -0
  113. package/dist/react-native/operations/expansionJobs.js.map +1 -0
  114. package/dist/react-native/operations/index.d.ts +1 -0
  115. package/dist/react-native/operations/index.d.ts.map +1 -1
  116. package/dist/react-native/operations/index.js +1 -0
  117. package/dist/react-native/operations/index.js.map +1 -1
  118. package/dist/react-native/operationsInterfaces/expansionJobs.d.ts +93 -0
  119. package/dist/react-native/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  120. package/dist/react-native/operationsInterfaces/expansionJobs.js +4 -0
  121. package/dist/react-native/operationsInterfaces/expansionJobs.js.map +1 -0
  122. package/dist/react-native/operationsInterfaces/index.d.ts +1 -0
  123. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  124. package/dist/react-native/operationsInterfaces/index.js +1 -0
  125. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  126. package/dist/react-native/storageCacheManagementClient.d.ts +2 -1
  127. package/dist/react-native/storageCacheManagementClient.d.ts.map +1 -1
  128. package/dist/react-native/storageCacheManagementClient.js +5 -3
  129. package/dist/react-native/storageCacheManagementClient.js.map +1 -1
  130. package/package.json +31 -30
@@ -0,0 +1,93 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { ExpansionJob, ExpansionJobsListByAmlFilesystemOptionalParams, ExpansionJobsDeleteOptionalParams, ExpansionJobsDeleteResponse, ExpansionJobsGetOptionalParams, ExpansionJobsGetResponse, ExpansionJobsCreateOrUpdateOptionalParams, ExpansionJobsCreateOrUpdateResponse, ExpansionJobUpdate, ExpansionJobsUpdateOptionalParams, ExpansionJobsUpdateResponse } from "../models/index.js";
4
+ /** Interface representing a ExpansionJobs. */
5
+ export interface ExpansionJobs {
6
+ /**
7
+ * Returns all the expansion jobs the user has access to under an AML File System.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
10
+ * hyphens. Start and end with alphanumeric.
11
+ * @param options The options parameters.
12
+ */
13
+ listByAmlFilesystem(resourceGroupName: string, amlFilesystemName: string, options?: ExpansionJobsListByAmlFilesystemOptionalParams): PagedAsyncIterableIterator<ExpansionJob>;
14
+ /**
15
+ * Schedules an expansion job for deletion.
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
18
+ * hyphens. Start and end with alphanumeric.
19
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
20
+ * Start and end with alphanumeric.
21
+ * @param options The options parameters.
22
+ */
23
+ beginDelete(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, options?: ExpansionJobsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ExpansionJobsDeleteResponse>, ExpansionJobsDeleteResponse>>;
24
+ /**
25
+ * Schedules an expansion job for deletion.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
28
+ * hyphens. Start and end with alphanumeric.
29
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
30
+ * Start and end with alphanumeric.
31
+ * @param options The options parameters.
32
+ */
33
+ beginDeleteAndWait(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, options?: ExpansionJobsDeleteOptionalParams): Promise<ExpansionJobsDeleteResponse>;
34
+ /**
35
+ * Returns an expansion job.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
38
+ * hyphens. Start and end with alphanumeric.
39
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
40
+ * Start and end with alphanumeric.
41
+ * @param options The options parameters.
42
+ */
43
+ get(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, options?: ExpansionJobsGetOptionalParams): Promise<ExpansionJobsGetResponse>;
44
+ /**
45
+ * Create or update an expansion job.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
48
+ * hyphens. Start and end with alphanumeric.
49
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
50
+ * Start and end with alphanumeric.
51
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
52
+ * read-only properties are included, they must match the existing values of those properties.
53
+ * @param options The options parameters.
54
+ */
55
+ beginCreateOrUpdate(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, expansionJob: ExpansionJob, options?: ExpansionJobsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExpansionJobsCreateOrUpdateResponse>, ExpansionJobsCreateOrUpdateResponse>>;
56
+ /**
57
+ * Create or update an expansion job.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
60
+ * hyphens. Start and end with alphanumeric.
61
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
62
+ * Start and end with alphanumeric.
63
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
64
+ * read-only properties are included, they must match the existing values of those properties.
65
+ * @param options The options parameters.
66
+ */
67
+ beginCreateOrUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, expansionJob: ExpansionJob, options?: ExpansionJobsCreateOrUpdateOptionalParams): Promise<ExpansionJobsCreateOrUpdateResponse>;
68
+ /**
69
+ * Update an expansion job instance.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
72
+ * hyphens. Start and end with alphanumeric.
73
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
74
+ * Start and end with alphanumeric.
75
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
76
+ * read-only properties are included, they must match the existing values of those properties.
77
+ * @param options The options parameters.
78
+ */
79
+ beginUpdate(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, expansionJob: ExpansionJobUpdate, options?: ExpansionJobsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExpansionJobsUpdateResponse>, ExpansionJobsUpdateResponse>>;
80
+ /**
81
+ * Update an expansion job instance.
82
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
83
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
84
+ * hyphens. Start and end with alphanumeric.
85
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
86
+ * Start and end with alphanumeric.
87
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
88
+ * read-only properties are included, they must match the existing values of those properties.
89
+ * @param options The options parameters.
90
+ */
91
+ beginUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, expansionJob: ExpansionJobUpdate, options?: ExpansionJobsUpdateOptionalParams): Promise<ExpansionJobsUpdateResponse>;
92
+ }
93
+ //# sourceMappingURL=expansionJobs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expansionJobs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/expansionJobs.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAA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c,CAAC,mCAAmC,CAAC,EACnD,mCAAmC,CACpC,CACF,CAAC;IACF;;;;;;;;;;OAUG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,YAAY,EAC1B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;;;;;OAUG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,kBAAkB,EAChC,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,CAAC,CAC3F,CAAC;IACF;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,kBAAkB,EAChC,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=expansionJobs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expansionJobs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/expansionJobs.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n ExpansionJob,\n ExpansionJobsListByAmlFilesystemOptionalParams,\n ExpansionJobsDeleteOptionalParams,\n ExpansionJobsDeleteResponse,\n ExpansionJobsGetOptionalParams,\n ExpansionJobsGetResponse,\n ExpansionJobsCreateOrUpdateOptionalParams,\n ExpansionJobsCreateOrUpdateResponse,\n ExpansionJobUpdate,\n ExpansionJobsUpdateOptionalParams,\n ExpansionJobsUpdateResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ExpansionJobs. */\nexport interface ExpansionJobs {\n /**\n * Returns all the expansion jobs the user has access to under an AML File System.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n listByAmlFilesystem(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: ExpansionJobsListByAmlFilesystemOptionalParams,\n ): PagedAsyncIterableIterator<ExpansionJob>;\n /**\n * Schedules an expansion job for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ExpansionJobsDeleteResponse>, ExpansionJobsDeleteResponse>\n >;\n /**\n * Schedules an expansion job for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsDeleteOptionalParams,\n ): Promise<ExpansionJobsDeleteResponse>;\n /**\n * Returns an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsGetOptionalParams,\n ): Promise<ExpansionJobsGetResponse>;\n /**\n * Create or update an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJob,\n options?: ExpansionJobsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ExpansionJobsCreateOrUpdateResponse>,\n ExpansionJobsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJob,\n options?: ExpansionJobsCreateOrUpdateOptionalParams,\n ): Promise<ExpansionJobsCreateOrUpdateResponse>;\n /**\n * Update an expansion job instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJobUpdate,\n options?: ExpansionJobsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ExpansionJobsUpdateResponse>, ExpansionJobsUpdateResponse>\n >;\n /**\n * Update an expansion job instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJobUpdate,\n options?: ExpansionJobsUpdateOptionalParams,\n ): Promise<ExpansionJobsUpdateResponse>;\n}\n"]}
@@ -2,6 +2,7 @@ export * from "./amlFilesystems.js";
2
2
  export * from "./autoExportJobs.js";
3
3
  export * from "./importJobs.js";
4
4
  export * from "./autoImportJobs.js";
5
+ export * from "./expansionJobs.js";
5
6
  export * from "./operations.js";
6
7
  export * from "./skus.js";
7
8
  export * from "./usageModels.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
@@ -6,6 +6,7 @@ export * from "./amlFilesystems.js";
6
6
  export * from "./autoExportJobs.js";
7
7
  export * from "./importJobs.js";
8
8
  export * from "./autoImportJobs.js";
9
+ export * from "./expansionJobs.js";
9
10
  export * from "./operations.js";
10
11
  export * from "./skus.js";
11
12
  export * from "./usageModels.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport * from \"./amlFilesystems.js\";\nexport * from \"./autoExportJobs.js\";\nexport * from \"./importJobs.js\";\nexport * from \"./autoImportJobs.js\";\nexport * from \"./operations.js\";\nexport * from \"./skus.js\";\nexport * from \"./usageModels.js\";\nexport * from \"./ascOperations.js\";\nexport * from \"./ascUsages.js\";\nexport * from \"./caches.js\";\nexport * from \"./storageTargets.js\";\nexport * from \"./storageTargetOperations.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport * from \"./amlFilesystems.js\";\nexport * from \"./autoExportJobs.js\";\nexport * from \"./importJobs.js\";\nexport * from \"./autoImportJobs.js\";\nexport * from \"./expansionJobs.js\";\nexport * from \"./operations.js\";\nexport * from \"./skus.js\";\nexport * from \"./usageModels.js\";\nexport * from \"./ascOperations.js\";\nexport * from \"./ascUsages.js\";\nexport * from \"./caches.js\";\nexport * from \"./storageTargets.js\";\nexport * from \"./storageTargetOperations.js\";\n"]}
@@ -1,6 +1,6 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { AmlFilesystems, AutoExportJobs, ImportJobs, AutoImportJobs, Operations, Skus, UsageModels, AscOperations, AscUsages, Caches, StorageTargets, StorageTargetOperations } from "./operationsInterfaces/index.js";
3
+ import { AmlFilesystems, AutoExportJobs, ImportJobs, AutoImportJobs, ExpansionJobs, Operations, Skus, UsageModels, AscOperations, AscUsages, Caches, StorageTargets, StorageTargetOperations } from "./operationsInterfaces/index.js";
4
4
  import { StorageCacheManagementClientOptionalParams, CheckAmlFSSubnetsOptionalParams, GetRequiredAmlFSSubnetsSizeOptionalParams, GetRequiredAmlFSSubnetsSizeResponse } from "./models/index.js";
5
5
  export declare class StorageCacheManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
@@ -29,6 +29,7 @@ export declare class StorageCacheManagementClient extends coreClient.ServiceClie
29
29
  autoExportJobs: AutoExportJobs;
30
30
  importJobs: ImportJobs;
31
31
  autoImportJobs: AutoImportJobs;
32
+ expansionJobs: ExpansionJobs;
32
33
  operations: Operations;
33
34
  skus: Skus;
34
35
  usageModels: UsageModels;
@@ -1 +1 @@
1
- {"version":3,"file":"storageCacheManagementClient.d.ts","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAe7C,OAAO,EACL,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,WAAW,EACX,aAAa,EACb,SAAS,EACT,MAAM,EACN,cAAc,EACd,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,0CAA0C,EAC1C,+BAA+B,EAC/B,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAoFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC;;;OAGG;IACH,iBAAiB,CAAC,OAAO,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E;;;OAGG;IACH,2BAA2B,CACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAI/C,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,CAAC;IAC/B,uBAAuB,EAAE,uBAAuB,CAAC;CAClD"}
1
+ {"version":3,"file":"storageCacheManagementClient.d.ts","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAgB7C,OAAO,EACL,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,IAAI,EACJ,WAAW,EACX,aAAa,EACb,SAAS,EACT,MAAM,EACN,cAAc,EACd,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,0CAA0C,EAC1C,+BAA+B,EAC/B,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAqFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC;;;OAGG;IACH,iBAAiB,CAAC,OAAO,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E;;;OAGG;IACH,2BAA2B,CACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAI/C,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,CAAC;IAC/B,uBAAuB,EAAE,uBAAuB,CAAC;CAClD"}
@@ -4,7 +4,7 @@
4
4
  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  import * as coreClient from "@azure/core-client";
6
6
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
7
- import { AmlFilesystemsImpl, AutoExportJobsImpl, ImportJobsImpl, AutoImportJobsImpl, OperationsImpl, SkusImpl, UsageModelsImpl, AscOperationsImpl, AscUsagesImpl, CachesImpl, StorageTargetsImpl, StorageTargetOperationsImpl, } from "./operations/index.js";
7
+ import { AmlFilesystemsImpl, AutoExportJobsImpl, ImportJobsImpl, AutoImportJobsImpl, ExpansionJobsImpl, OperationsImpl, SkusImpl, UsageModelsImpl, AscOperationsImpl, AscUsagesImpl, CachesImpl, StorageTargetsImpl, StorageTargetOperationsImpl, } from "./operations/index.js";
8
8
  import * as Parameters from "./models/parameters.js";
9
9
  import * as Mappers from "./models/mappers.js";
10
10
  export class StorageCacheManagementClient extends coreClient.ServiceClient {
@@ -32,7 +32,7 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials,
34
34
  };
35
- const packageDetails = `azsdk-js-arm-storagecache/8.1.0`;
35
+ const packageDetails = `azsdk-js-arm-storagecache/8.2.0`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -69,11 +69,12 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
69
69
  this.subscriptionId = subscriptionId;
70
70
  // Assigning values to Constant parameters
71
71
  this.$host = options.$host || "https://management.azure.com";
72
- this.apiVersion = options.apiVersion || "2025-07-01";
72
+ this.apiVersion = options.apiVersion || "2026-01-01";
73
73
  this.amlFilesystems = new AmlFilesystemsImpl(this);
74
74
  this.autoExportJobs = new AutoExportJobsImpl(this);
75
75
  this.importJobs = new ImportJobsImpl(this);
76
76
  this.autoImportJobs = new AutoImportJobsImpl(this);
77
+ this.expansionJobs = new ExpansionJobsImpl(this);
77
78
  this.operations = new OperationsImpl(this);
78
79
  this.skus = new SkusImpl(this);
79
80
  this.usageModels = new UsageModelsImpl(this);
@@ -127,6 +128,7 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
127
128
  autoExportJobs;
128
129
  importJobs;
129
130
  autoImportJobs;
131
+ expansionJobs;
130
132
  operations;
131
133
  skus;
132
134
  usageModels;
@@ -1 +1 @@
1
- {"version":3,"file":"storageCacheManagementClient.js","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAe/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAQ/C,MAAM,OAAO,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAoD;QAEpD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA+C;YAC3D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACx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AAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AmlFilesystemsImpl,\n AutoExportJobsImpl,\n ImportJobsImpl,\n AutoImportJobsImpl,\n OperationsImpl,\n SkusImpl,\n UsageModelsImpl,\n AscOperationsImpl,\n AscUsagesImpl,\n CachesImpl,\n StorageTargetsImpl,\n StorageTargetOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n AmlFilesystems,\n AutoExportJobs,\n ImportJobs,\n AutoImportJobs,\n Operations,\n Skus,\n UsageModels,\n AscOperations,\n AscUsages,\n Caches,\n StorageTargets,\n StorageTargetOperations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n StorageCacheManagementClientOptionalParams,\n CheckAmlFSSubnetsOptionalParams,\n GetRequiredAmlFSSubnetsSizeOptionalParams,\n GetRequiredAmlFSSubnetsSizeResponse,\n} from \"./models/index.js\";\n\nexport class StorageCacheManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the StorageCacheManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: StorageCacheManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageCacheManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-storagecache/8.1.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-07-01\";\n this.amlFilesystems = new AmlFilesystemsImpl(this);\n this.autoExportJobs = new AutoExportJobsImpl(this);\n this.importJobs = new ImportJobsImpl(this);\n this.autoImportJobs = new AutoImportJobsImpl(this);\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.usageModels = new UsageModelsImpl(this);\n this.ascOperations = new AscOperationsImpl(this);\n this.ascUsages = new AscUsagesImpl(this);\n this.caches = new CachesImpl(this);\n this.storageTargets = new StorageTargetsImpl(this);\n this.storageTargetOperations = new StorageTargetOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Check that subnets will be valid for AML file system create calls.\n * @param options The options parameters.\n */\n checkAmlFSSubnets(options?: CheckAmlFSSubnetsOptionalParams): Promise<void> {\n return this.sendOperationRequest({ options }, checkAmlFSSubnetsOperationSpec);\n }\n\n /**\n * Get the number of available IP addresses needed for the AML file system information provided.\n * @param options The options parameters.\n */\n getRequiredAmlFSSubnetsSize(\n options?: GetRequiredAmlFSSubnetsSizeOptionalParams,\n ): Promise<GetRequiredAmlFSSubnetsSizeResponse> {\n return this.sendOperationRequest({ options }, getRequiredAmlFSSubnetsSizeOperationSpec);\n }\n\n amlFilesystems: AmlFilesystems;\n autoExportJobs: AutoExportJobs;\n importJobs: ImportJobs;\n autoImportJobs: AutoImportJobs;\n operations: Operations;\n skus: Skus;\n usageModels: UsageModels;\n ascOperations: AscOperations;\n ascUsages: AscUsages;\n caches: Caches;\n storageTargets: StorageTargets;\n storageTargetOperations: StorageTargetOperations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkAmlFSSubnetsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 400: {\n bodyMapper: Mappers.AmlFilesystemCheckSubnetError,\n isError: true,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.amlFilesystemSubnetInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getRequiredAmlFSSubnetsSizeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RequiredAmlFilesystemSubnetsSize,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.requiredAMLFilesystemSubnetsSizeInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
1
+ {"version":3,"file":"storageCacheManagementClient.js","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,kBAA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,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,oFAAoF;IAC1F,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;YACjD,OAAO,EAAE,IAAI;SACd;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,uBAAuB;IAC/C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,wCAAwC,GAA6B;IACzE,IAAI,EAAE,8FAA8F;IACpG,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,oCAAoC;IAC5D,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AmlFilesystemsImpl,\n AutoExportJobsImpl,\n ImportJobsImpl,\n AutoImportJobsImpl,\n ExpansionJobsImpl,\n OperationsImpl,\n SkusImpl,\n UsageModelsImpl,\n AscOperationsImpl,\n AscUsagesImpl,\n CachesImpl,\n StorageTargetsImpl,\n StorageTargetOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n AmlFilesystems,\n AutoExportJobs,\n ImportJobs,\n AutoImportJobs,\n ExpansionJobs,\n Operations,\n Skus,\n UsageModels,\n AscOperations,\n AscUsages,\n Caches,\n StorageTargets,\n StorageTargetOperations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n StorageCacheManagementClientOptionalParams,\n CheckAmlFSSubnetsOptionalParams,\n GetRequiredAmlFSSubnetsSizeOptionalParams,\n GetRequiredAmlFSSubnetsSizeResponse,\n} from \"./models/index.js\";\n\nexport class StorageCacheManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the StorageCacheManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: StorageCacheManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageCacheManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-storagecache/8.2.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2026-01-01\";\n this.amlFilesystems = new AmlFilesystemsImpl(this);\n this.autoExportJobs = new AutoExportJobsImpl(this);\n this.importJobs = new ImportJobsImpl(this);\n this.autoImportJobs = new AutoImportJobsImpl(this);\n this.expansionJobs = new ExpansionJobsImpl(this);\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.usageModels = new UsageModelsImpl(this);\n this.ascOperations = new AscOperationsImpl(this);\n this.ascUsages = new AscUsagesImpl(this);\n this.caches = new CachesImpl(this);\n this.storageTargets = new StorageTargetsImpl(this);\n this.storageTargetOperations = new StorageTargetOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Check that subnets will be valid for AML file system create calls.\n * @param options The options parameters.\n */\n checkAmlFSSubnets(options?: CheckAmlFSSubnetsOptionalParams): Promise<void> {\n return this.sendOperationRequest({ options }, checkAmlFSSubnetsOperationSpec);\n }\n\n /**\n * Get the number of available IP addresses needed for the AML file system information provided.\n * @param options The options parameters.\n */\n getRequiredAmlFSSubnetsSize(\n options?: GetRequiredAmlFSSubnetsSizeOptionalParams,\n ): Promise<GetRequiredAmlFSSubnetsSizeResponse> {\n return this.sendOperationRequest({ options }, getRequiredAmlFSSubnetsSizeOperationSpec);\n }\n\n amlFilesystems: AmlFilesystems;\n autoExportJobs: AutoExportJobs;\n importJobs: ImportJobs;\n autoImportJobs: AutoImportJobs;\n expansionJobs: ExpansionJobs;\n operations: Operations;\n skus: Skus;\n usageModels: UsageModels;\n ascOperations: AscOperations;\n ascUsages: AscUsages;\n caches: Caches;\n storageTargets: StorageTargets;\n storageTargetOperations: StorageTargetOperations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkAmlFSSubnetsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 400: {\n bodyMapper: Mappers.AmlFilesystemCheckSubnetError,\n isError: true,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.amlFilesystemSubnetInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getRequiredAmlFSSubnetsSizeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RequiredAmlFilesystemSubnetsSize,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.requiredAMLFilesystemSubnetsSizeInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
package/package.json CHANGED
@@ -3,17 +3,17 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for StorageCacheManagementClient.",
6
- "version": "8.1.0-alpha.20260310.1",
6
+ "version": "8.2.0",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "@azure/abort-controller": ">=2.1.3-alpha <2.1.3-alphb",
12
- "@azure/core-auth": ">=1.10.2-alpha <1.10.2-alphb",
13
- "@azure/core-client": ">=1.10.2-alpha <1.10.2-alphb",
14
11
  "@azure/core-lro": "^2.5.4",
15
- "@azure/core-paging": ">=1.6.3-alpha <1.6.3-alphb",
16
- "@azure/core-rest-pipeline": ">=1.23.1-alpha <1.23.1-alphb",
12
+ "@azure/abort-controller": "^2.1.2",
13
+ "@azure/core-paging": "^1.6.2",
14
+ "@azure/core-client": "^1.9.3",
15
+ "@azure/core-auth": "^1.9.0",
16
+ "@azure/core-rest-pipeline": "^1.19.1",
17
17
  "tslib": "^2.8.1"
18
18
  },
19
19
  "keywords": [
@@ -30,22 +30,23 @@
30
30
  "types": "./dist/commonjs/index.d.ts",
31
31
  "type": "module",
32
32
  "devDependencies": {
33
+ "typescript": "~5.9.3",
34
+ "rimraf": "^6.1.0",
35
+ "dotenv": "^16.6.1",
36
+ "cross-env": "^10.1.0",
37
+ "eslint": "^9.39.1",
38
+ "prettier": "^3.6.2",
33
39
  "@azure/identity": "4.13.0",
34
- "@azure/logger": ">=1.3.1-alpha <1.3.1-alphb",
35
40
  "@types/node": "^20.19.25",
36
41
  "@vitest/browser-playwright": "^4.0.8",
37
42
  "@vitest/coverage-istanbul": "^4.0.8",
38
- "cross-env": "^10.1.0",
39
- "dotenv": "^16.6.1",
40
43
  "playwright": "^1.56.1",
41
- "prettier": "^3.6.2",
42
- "rimraf": "^6.1.0",
43
- "typescript": "~5.9.3",
44
44
  "vitest": "^4.0.8",
45
+ "@azure/dev-tool": "^1.0.0",
46
+ "@azure/logger": "^1.3.1",
45
47
  "@azure-tools/test-recorder": "^4.1.1",
46
48
  "@azure-tools/test-credential": "^2.1.2",
47
- "@azure-tools/test-utils-vitest": "^2.0.1",
48
- "@azure/dev-tool": "^1.0.0"
49
+ "@azure-tools/test-utils-vitest": "^2.0.1"
49
50
  },
50
51
  "repository": "github:Azure/azure-sdk-for-js",
51
52
  "bugs": {
@@ -69,14 +70,6 @@
69
70
  "browser": "./dist/browser/index.js",
70
71
  "react-native": "./dist/react-native/index.js",
71
72
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagecache/arm-storagecache",
72
- "//sampleConfiguration": {
73
- "productName": "",
74
- "productSlugs": [
75
- "azure"
76
- ],
77
- "disableDocsMs": true,
78
- "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storagecache?view=azure-node-preview"
79
- },
80
73
  "exports": {
81
74
  "./package.json": "./package.json",
82
75
  ".": {
@@ -98,20 +91,28 @@
98
91
  }
99
92
  }
100
93
  },
94
+ "//sampleConfiguration": {
95
+ "productName": "",
96
+ "productSlugs": [
97
+ "azure"
98
+ ],
99
+ "disableDocsMs": true,
100
+ "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storagecache?view=azure-node-preview"
101
+ },
101
102
  "scripts": {
102
103
  "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
103
- "build:samples": "echo skipped.",
104
- "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
104
+ "pack": "pnpm pack 2>&1",
105
+ "extract-api": "dev-tool run extract-api",
106
+ "lint": "echo skipped",
105
107
  "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
108
+ "build:samples": "tsc -p tsconfig.samples.json && dev-tool samples publish -f",
109
+ "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
106
110
  "execute:samples": "echo skipped",
107
- "extract-api": "dev-tool run extract-api",
108
111
  "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
109
- "lint": "echo skipped",
110
- "pack": "pnpm pack 2>&1",
111
112
  "test": "npm run test:node && npm run test:browser",
112
- "test:browser": "echo skipped",
113
113
  "test:node": "dev-tool run test:vitest",
114
- "test:node:esm": "dev-tool run test:vitest --esm",
115
- "update-snippets": "dev-tool run update-snippets"
114
+ "test:browser": "echo skipped",
115
+ "update-snippets": "dev-tool run update-snippets",
116
+ "test:node:esm": "dev-tool run test:vitest --esm"
116
117
  }
117
118
  }