@azure/arm-storage 18.3.1-alpha.20250226.1 → 18.4.0-alpha.20250227.2

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 (181) hide show
  1. package/CHANGELOG.md +47 -9
  2. package/LICENSE +4 -4
  3. package/README.md +3 -1
  4. package/dist/browser/lroImpl.d.ts.map +1 -1
  5. package/dist/browser/lroImpl.js +7 -0
  6. package/dist/browser/lroImpl.js.map +1 -1
  7. package/dist/browser/models/index.d.ts +301 -6
  8. package/dist/browser/models/index.d.ts.map +1 -1
  9. package/dist/browser/models/index.js +12 -0
  10. package/dist/browser/models/index.js.map +1 -1
  11. package/dist/browser/models/mappers.d.ts +11 -0
  12. package/dist/browser/models/mappers.d.ts.map +1 -1
  13. package/dist/browser/models/mappers.js +431 -8
  14. package/dist/browser/models/mappers.js.map +1 -1
  15. package/dist/browser/models/parameters.d.ts +3 -2
  16. package/dist/browser/models/parameters.d.ts.map +1 -1
  17. package/dist/browser/models/parameters.js +22 -11
  18. package/dist/browser/models/parameters.js.map +1 -1
  19. package/dist/browser/operations/blobContainers.d.ts +9 -9
  20. package/dist/browser/operations/blobContainers.js +9 -9
  21. package/dist/browser/operations/blobContainers.js.map +1 -1
  22. package/dist/browser/operations/encryptionScopes.js +1 -1
  23. package/dist/browser/operations/encryptionScopes.js.map +1 -1
  24. package/dist/browser/operations/fileServices.d.ts +46 -1
  25. package/dist/browser/operations/fileServices.d.ts.map +1 -1
  26. package/dist/browser/operations/fileServices.js +174 -0
  27. package/dist/browser/operations/fileServices.js.map +1 -1
  28. package/dist/browser/operations/localUsersOperations.js +1 -1
  29. package/dist/browser/operations/localUsersOperations.js.map +1 -1
  30. package/dist/browser/operations/storageAccounts.d.ts +2 -2
  31. package/dist/browser/operations/storageAccounts.js +2 -2
  32. package/dist/browser/operations/storageAccounts.js.map +1 -1
  33. package/dist/browser/operations/storageTaskAssignmentInstancesReport.js +1 -1
  34. package/dist/browser/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
  35. package/dist/browser/operations/storageTaskAssignments.js +1 -1
  36. package/dist/browser/operations/storageTaskAssignments.js.map +1 -1
  37. package/dist/browser/operations/storageTaskAssignmentsInstancesReport.js +1 -1
  38. package/dist/browser/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
  39. package/dist/browser/operationsInterfaces/blobContainers.d.ts +9 -9
  40. package/dist/browser/operationsInterfaces/blobContainers.js.map +1 -1
  41. package/dist/browser/operationsInterfaces/fileServices.d.ts +23 -1
  42. package/dist/browser/operationsInterfaces/fileServices.d.ts.map +1 -1
  43. package/dist/browser/operationsInterfaces/fileServices.js.map +1 -1
  44. package/dist/browser/operationsInterfaces/storageAccounts.d.ts +2 -2
  45. package/dist/browser/operationsInterfaces/storageAccounts.js.map +1 -1
  46. package/dist/browser/storageManagementClient.js +2 -2
  47. package/dist/browser/storageManagementClient.js.map +1 -1
  48. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  49. package/dist/commonjs/lroImpl.js +7 -0
  50. package/dist/commonjs/lroImpl.js.map +1 -1
  51. package/dist/commonjs/models/index.d.ts +301 -6
  52. package/dist/commonjs/models/index.d.ts.map +1 -1
  53. package/dist/commonjs/models/index.js +12 -0
  54. package/dist/commonjs/models/index.js.map +1 -1
  55. package/dist/commonjs/models/mappers.d.ts +11 -0
  56. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  57. package/dist/commonjs/models/mappers.js +436 -12
  58. package/dist/commonjs/models/mappers.js.map +1 -1
  59. package/dist/commonjs/models/parameters.d.ts +3 -2
  60. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  61. package/dist/commonjs/models/parameters.js +24 -13
  62. package/dist/commonjs/models/parameters.js.map +1 -1
  63. package/dist/commonjs/operations/blobContainers.d.ts +9 -9
  64. package/dist/commonjs/operations/blobContainers.js +9 -9
  65. package/dist/commonjs/operations/blobContainers.js.map +1 -1
  66. package/dist/commonjs/operations/encryptionScopes.js +1 -1
  67. package/dist/commonjs/operations/encryptionScopes.js.map +1 -1
  68. package/dist/commonjs/operations/fileServices.d.ts +46 -1
  69. package/dist/commonjs/operations/fileServices.d.ts.map +1 -1
  70. package/dist/commonjs/operations/fileServices.js +173 -0
  71. package/dist/commonjs/operations/fileServices.js.map +1 -1
  72. package/dist/commonjs/operations/localUsersOperations.js +1 -1
  73. package/dist/commonjs/operations/localUsersOperations.js.map +1 -1
  74. package/dist/commonjs/operations/storageAccounts.d.ts +2 -2
  75. package/dist/commonjs/operations/storageAccounts.js +2 -2
  76. package/dist/commonjs/operations/storageAccounts.js.map +1 -1
  77. package/dist/commonjs/operations/storageTaskAssignmentInstancesReport.js +1 -1
  78. package/dist/commonjs/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
  79. package/dist/commonjs/operations/storageTaskAssignments.js +1 -1
  80. package/dist/commonjs/operations/storageTaskAssignments.js.map +1 -1
  81. package/dist/commonjs/operations/storageTaskAssignmentsInstancesReport.js +1 -1
  82. package/dist/commonjs/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
  83. package/dist/commonjs/operationsInterfaces/blobContainers.d.ts +9 -9
  84. package/dist/commonjs/operationsInterfaces/blobContainers.js.map +1 -1
  85. package/dist/commonjs/operationsInterfaces/fileServices.d.ts +23 -1
  86. package/dist/commonjs/operationsInterfaces/fileServices.d.ts.map +1 -1
  87. package/dist/commonjs/operationsInterfaces/fileServices.js.map +1 -1
  88. package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts +2 -2
  89. package/dist/commonjs/operationsInterfaces/storageAccounts.js.map +1 -1
  90. package/dist/commonjs/storageManagementClient.js +2 -2
  91. package/dist/commonjs/storageManagementClient.js.map +1 -1
  92. package/dist/esm/lroImpl.d.ts.map +1 -1
  93. package/dist/esm/lroImpl.js +7 -0
  94. package/dist/esm/lroImpl.js.map +1 -1
  95. package/dist/esm/models/index.d.ts +301 -6
  96. package/dist/esm/models/index.d.ts.map +1 -1
  97. package/dist/esm/models/index.js +12 -0
  98. package/dist/esm/models/index.js.map +1 -1
  99. package/dist/esm/models/mappers.d.ts +11 -0
  100. package/dist/esm/models/mappers.d.ts.map +1 -1
  101. package/dist/esm/models/mappers.js +431 -8
  102. package/dist/esm/models/mappers.js.map +1 -1
  103. package/dist/esm/models/parameters.d.ts +3 -2
  104. package/dist/esm/models/parameters.d.ts.map +1 -1
  105. package/dist/esm/models/parameters.js +22 -11
  106. package/dist/esm/models/parameters.js.map +1 -1
  107. package/dist/esm/operations/blobContainers.d.ts +9 -9
  108. package/dist/esm/operations/blobContainers.js +9 -9
  109. package/dist/esm/operations/blobContainers.js.map +1 -1
  110. package/dist/esm/operations/encryptionScopes.js +1 -1
  111. package/dist/esm/operations/encryptionScopes.js.map +1 -1
  112. package/dist/esm/operations/fileServices.d.ts +46 -1
  113. package/dist/esm/operations/fileServices.d.ts.map +1 -1
  114. package/dist/esm/operations/fileServices.js +174 -0
  115. package/dist/esm/operations/fileServices.js.map +1 -1
  116. package/dist/esm/operations/localUsersOperations.js +1 -1
  117. package/dist/esm/operations/localUsersOperations.js.map +1 -1
  118. package/dist/esm/operations/storageAccounts.d.ts +2 -2
  119. package/dist/esm/operations/storageAccounts.js +2 -2
  120. package/dist/esm/operations/storageAccounts.js.map +1 -1
  121. package/dist/esm/operations/storageTaskAssignmentInstancesReport.js +1 -1
  122. package/dist/esm/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
  123. package/dist/esm/operations/storageTaskAssignments.js +1 -1
  124. package/dist/esm/operations/storageTaskAssignments.js.map +1 -1
  125. package/dist/esm/operations/storageTaskAssignmentsInstancesReport.js +1 -1
  126. package/dist/esm/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
  127. package/dist/esm/operationsInterfaces/blobContainers.d.ts +9 -9
  128. package/dist/esm/operationsInterfaces/blobContainers.js.map +1 -1
  129. package/dist/esm/operationsInterfaces/fileServices.d.ts +23 -1
  130. package/dist/esm/operationsInterfaces/fileServices.d.ts.map +1 -1
  131. package/dist/esm/operationsInterfaces/fileServices.js.map +1 -1
  132. package/dist/esm/operationsInterfaces/storageAccounts.d.ts +2 -2
  133. package/dist/esm/operationsInterfaces/storageAccounts.js.map +1 -1
  134. package/dist/esm/storageManagementClient.js +2 -2
  135. package/dist/esm/storageManagementClient.js.map +1 -1
  136. package/dist/react-native/lroImpl.d.ts.map +1 -1
  137. package/dist/react-native/lroImpl.js +7 -0
  138. package/dist/react-native/lroImpl.js.map +1 -1
  139. package/dist/react-native/models/index.d.ts +301 -6
  140. package/dist/react-native/models/index.d.ts.map +1 -1
  141. package/dist/react-native/models/index.js +12 -0
  142. package/dist/react-native/models/index.js.map +1 -1
  143. package/dist/react-native/models/mappers.d.ts +11 -0
  144. package/dist/react-native/models/mappers.d.ts.map +1 -1
  145. package/dist/react-native/models/mappers.js +431 -8
  146. package/dist/react-native/models/mappers.js.map +1 -1
  147. package/dist/react-native/models/parameters.d.ts +3 -2
  148. package/dist/react-native/models/parameters.d.ts.map +1 -1
  149. package/dist/react-native/models/parameters.js +22 -11
  150. package/dist/react-native/models/parameters.js.map +1 -1
  151. package/dist/react-native/operations/blobContainers.d.ts +9 -9
  152. package/dist/react-native/operations/blobContainers.js +9 -9
  153. package/dist/react-native/operations/blobContainers.js.map +1 -1
  154. package/dist/react-native/operations/encryptionScopes.js +1 -1
  155. package/dist/react-native/operations/encryptionScopes.js.map +1 -1
  156. package/dist/react-native/operations/fileServices.d.ts +46 -1
  157. package/dist/react-native/operations/fileServices.d.ts.map +1 -1
  158. package/dist/react-native/operations/fileServices.js +174 -0
  159. package/dist/react-native/operations/fileServices.js.map +1 -1
  160. package/dist/react-native/operations/localUsersOperations.js +1 -1
  161. package/dist/react-native/operations/localUsersOperations.js.map +1 -1
  162. package/dist/react-native/operations/storageAccounts.d.ts +2 -2
  163. package/dist/react-native/operations/storageAccounts.js +2 -2
  164. package/dist/react-native/operations/storageAccounts.js.map +1 -1
  165. package/dist/react-native/operations/storageTaskAssignmentInstancesReport.js +1 -1
  166. package/dist/react-native/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
  167. package/dist/react-native/operations/storageTaskAssignments.js +1 -1
  168. package/dist/react-native/operations/storageTaskAssignments.js.map +1 -1
  169. package/dist/react-native/operations/storageTaskAssignmentsInstancesReport.js +1 -1
  170. package/dist/react-native/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
  171. package/dist/react-native/operationsInterfaces/blobContainers.d.ts +9 -9
  172. package/dist/react-native/operationsInterfaces/blobContainers.js.map +1 -1
  173. package/dist/react-native/operationsInterfaces/fileServices.d.ts +23 -1
  174. package/dist/react-native/operationsInterfaces/fileServices.d.ts.map +1 -1
  175. package/dist/react-native/operationsInterfaces/fileServices.js.map +1 -1
  176. package/dist/react-native/operationsInterfaces/storageAccounts.d.ts +2 -2
  177. package/dist/react-native/operationsInterfaces/storageAccounts.js.map +1 -1
  178. package/dist/react-native/storageManagementClient.js +2 -2
  179. package/dist/react-native/storageManagementClient.js.map +1 -1
  180. package/package.json +7 -7
  181. package/review/arm-storage.api.md +126 -0
package/CHANGELOG.md CHANGED
@@ -1,15 +1,53 @@
1
1
  # Release History
2
-
3
- ## 18.3.1 (Unreleased)
4
-
2
+
3
+ ## 18.4.0 (2025-02-27)
4
+
5
5
  ### Features Added
6
6
 
7
- ### Breaking Changes
8
-
9
- ### Bugs Fixed
10
-
11
- ### Other Changes
12
-
7
+ - Added operation FileServices.getServiceUsage
8
+ - Added operation FileServices.listServiceUsages
9
+ - Added Interface AccountLimits
10
+ - Added Interface AccountUsage
11
+ - Added Interface AccountUsageElements
12
+ - Added Interface BurstingConstants
13
+ - Added Interface FileServicesGetServiceUsageOptionalParams
14
+ - Added Interface FileServicesListServiceUsagesNextOptionalParams
15
+ - Added Interface FileServicesListServiceUsagesOptionalParams
16
+ - Added Interface FileServiceUsage
17
+ - Added Interface FileServiceUsageProperties
18
+ - Added Interface FileServiceUsages
19
+ - Added Interface FileShareLimits
20
+ - Added Interface FileSharePropertiesFileSharePaidBursting
21
+ - Added Interface FileShareRecommendations
22
+ - Added Interface ObjectReplicationPolicyPropertiesMetrics
23
+ - Added Type Alias FileServicesGetServiceUsageResponse
24
+ - Added Type Alias FileServicesListServiceUsagesNextResponse
25
+ - Added Type Alias FileServicesListServiceUsagesResponse
26
+ - Interface FileShare has a new optional parameter fileSharePaidBursting
27
+ - Interface FileShare has a new optional parameter includedBurstIops
28
+ - Interface FileShare has a new optional parameter maxBurstCreditsForIops
29
+ - Interface FileShare has a new optional parameter nextAllowedProvisionedBandwidthDowngradeTime
30
+ - Interface FileShare has a new optional parameter nextAllowedProvisionedIopsDowngradeTime
31
+ - Interface FileShare has a new optional parameter nextAllowedQuotaDowngradeTime
32
+ - Interface FileShare has a new optional parameter provisionedBandwidthMibps
33
+ - Interface FileShare has a new optional parameter provisionedIops
34
+ - Interface FileShareItem has a new optional parameter fileSharePaidBursting
35
+ - Interface FileShareItem has a new optional parameter includedBurstIops
36
+ - Interface FileShareItem has a new optional parameter maxBurstCreditsForIops
37
+ - Interface FileShareItem has a new optional parameter nextAllowedProvisionedBandwidthDowngradeTime
38
+ - Interface FileShareItem has a new optional parameter nextAllowedProvisionedIopsDowngradeTime
39
+ - Interface FileShareItem has a new optional parameter nextAllowedQuotaDowngradeTime
40
+ - Interface FileShareItem has a new optional parameter provisionedBandwidthMibps
41
+ - Interface FileShareItem has a new optional parameter provisionedIops
42
+ - Interface ObjectReplicationPolicy has a new optional parameter metrics
43
+ - Enum KnownSkuName has a new value PremiumV2LRS
44
+ - Enum KnownSkuName has a new value PremiumV2ZRS
45
+ - Enum KnownSkuName has a new value StandardV2GRS
46
+ - Enum KnownSkuName has a new value StandardV2Gzrs
47
+ - Enum KnownSkuName has a new value StandardV2LRS
48
+ - Enum KnownSkuName has a new value StandardV2ZRS
49
+
50
+
13
51
  ## 18.3.0 (2024-06-27)
14
52
 
15
53
  ### Features Added
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- Copyright (c) Microsoft Corporation.
1
+ The MIT License (MIT)
2
2
 
3
- MIT License
3
+ Copyright (c) 2025 Microsoft
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -44,6 +44,9 @@ npm install @azure/identity
44
44
  ```
45
45
 
46
46
  You will also need to **register a new AAD application and grant access to Azure StorageManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
+
48
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
49
+
47
50
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
51
 
49
52
  For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
@@ -109,7 +112,6 @@ If you'd like to contribute to this library, please read the [contributing guide
109
112
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
110
113
 
111
114
 
112
-
113
115
  [azure_cli]: https://learn.microsoft.com/cli/azure
114
116
  [azure_sub]: https://azure.microsoft.com/free/
115
117
  [azure_sub]: https://azure.microsoft.com/free/
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -1,3 +1,10 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
1
8
  import { __rest } from "tslib";
2
9
  export function createLroSpec(inputs) {
3
10
  const { args, spec, sendOperationFn } = inputs;
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * 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 { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * 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 */\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
@@ -313,6 +313,180 @@ export interface Multichannel {
313
313
  /** Indicates whether multichannel is enabled */
314
314
  enabled?: boolean;
315
315
  }
316
+ /** List file service usages schema. */
317
+ export interface FileServiceUsages {
318
+ /**
319
+ * List of file service usages returned.
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
+ */
322
+ readonly value?: FileServiceUsage[];
323
+ /**
324
+ * Request URL that can be used to query next page of file service usages. Returned when total number of requested file service usages exceed maximum page size.
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
+ */
327
+ readonly nextLink?: string;
328
+ }
329
+ /** File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula. */
330
+ export interface FileServiceUsageProperties {
331
+ /**
332
+ * Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.
333
+ * NOTE: This property will not be serialized. It can only be populated by the server.
334
+ */
335
+ readonly storageAccountLimits?: AccountLimits;
336
+ /**
337
+ * Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account.
338
+ * NOTE: This property will not be serialized. It can only be populated by the server.
339
+ */
340
+ readonly fileShareLimits?: FileShareLimits;
341
+ /**
342
+ * Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.
343
+ * NOTE: This property will not be serialized. It can only be populated by the server.
344
+ */
345
+ readonly fileShareRecommendations?: FileShareRecommendations;
346
+ /**
347
+ * Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account.
348
+ * NOTE: This property will not be serialized. It can only be populated by the server.
349
+ */
350
+ readonly burstingConstants?: BurstingConstants;
351
+ /**
352
+ * Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account.
353
+ * NOTE: This property will not be serialized. It can only be populated by the server.
354
+ */
355
+ readonly storageAccountUsage?: AccountUsage;
356
+ }
357
+ /** Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account. */
358
+ export interface AccountLimits {
359
+ /**
360
+ * The maximum number of file shares limit for the storage account.
361
+ * NOTE: This property will not be serialized. It can only be populated by the server.
362
+ */
363
+ readonly maxFileShares?: number;
364
+ /**
365
+ * The maximum provisioned storage quota limit in gibibytes for the storage account.
366
+ * NOTE: This property will not be serialized. It can only be populated by the server.
367
+ */
368
+ readonly maxProvisionedStorageGiB?: number;
369
+ /**
370
+ * The maximum provisioned IOPS limit for the storage account.
371
+ * NOTE: This property will not be serialized. It can only be populated by the server.
372
+ */
373
+ readonly maxProvisionedIops?: number;
374
+ /**
375
+ * The maximum provisioned bandwidth limit in mebibytes per second for the storage account.
376
+ * NOTE: This property will not be serialized. It can only be populated by the server.
377
+ */
378
+ readonly maxProvisionedBandwidthMiBPerSec?: number;
379
+ }
380
+ /** Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account. */
381
+ export interface FileShareLimits {
382
+ /**
383
+ * The minimum provisioned storage quota limit in gibibytes for a file share in the storage account.
384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
385
+ */
386
+ readonly minProvisionedStorageGiB?: number;
387
+ /**
388
+ * The maximum provisioned storage quota limit in gibibytes for a file share in the storage account.
389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
390
+ */
391
+ readonly maxProvisionedStorageGiB?: number;
392
+ /**
393
+ * The minimum provisioned IOPS limit for a file share in the storage account.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
395
+ */
396
+ readonly minProvisionedIops?: number;
397
+ /**
398
+ * The maximum provisioned IOPS limit for a file share in the storage account.
399
+ * NOTE: This property will not be serialized. It can only be populated by the server.
400
+ */
401
+ readonly maxProvisionedIops?: number;
402
+ /**
403
+ * The minimum provisioned bandwidth limit in mebibytes per second for a file share in the storage account.
404
+ * NOTE: This property will not be serialized. It can only be populated by the server.
405
+ */
406
+ readonly minProvisionedBandwidthMiBPerSec?: number;
407
+ /**
408
+ * The maximum provisioned bandwidth limit in mebibytes per second for a file share in the storage account.
409
+ * NOTE: This property will not be serialized. It can only be populated by the server.
410
+ */
411
+ readonly maxProvisionedBandwidthMiBPerSec?: number;
412
+ }
413
+ /** Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account. */
414
+ export interface FileShareRecommendations {
415
+ /**
416
+ * The base IOPS in the file share provisioned IOPS recommendation formula.
417
+ * NOTE: This property will not be serialized. It can only be populated by the server.
418
+ */
419
+ readonly baseIops?: number;
420
+ /**
421
+ * The scalar for IO in the file share provisioned IOPS recommendation formula.
422
+ * NOTE: This property will not be serialized. It can only be populated by the server.
423
+ */
424
+ readonly ioScalar?: number;
425
+ /**
426
+ * The base bandwidth in the file share provisioned bandwidth recommendation formula.
427
+ * NOTE: This property will not be serialized. It can only be populated by the server.
428
+ */
429
+ readonly baseBandwidthMiBPerSec?: number;
430
+ /**
431
+ * The scalar for bandwidth in the file share provisioned bandwidth recommendation formula.
432
+ * NOTE: This property will not be serialized. It can only be populated by the server.
433
+ */
434
+ readonly bandwidthScalar?: number;
435
+ }
436
+ /** Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account. */
437
+ export interface BurstingConstants {
438
+ /**
439
+ * The guaranteed floor of burst IOPS for small file shares.
440
+ * NOTE: This property will not be serialized. It can only be populated by the server.
441
+ */
442
+ readonly burstFloorIops?: number;
443
+ /**
444
+ * The scalar against provisioned IOPS in the file share included burst IOPS formula.
445
+ * NOTE: This property will not be serialized. It can only be populated by the server.
446
+ */
447
+ readonly burstIOScalar?: number;
448
+ /**
449
+ * The time frame for bursting in seconds in the file share maximum burst credits for IOPS formula.
450
+ * NOTE: This property will not be serialized. It can only be populated by the server.
451
+ */
452
+ readonly burstTimeframeSeconds?: number;
453
+ }
454
+ /** Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account. */
455
+ export interface AccountUsage {
456
+ /**
457
+ * Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.
458
+ * NOTE: This property will not be serialized. It can only be populated by the server.
459
+ */
460
+ readonly liveShares?: AccountUsageElements;
461
+ /**
462
+ * Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
+ */
465
+ readonly softDeletedShares?: AccountUsageElements;
466
+ }
467
+ /** Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account. */
468
+ export interface AccountUsageElements {
469
+ /**
470
+ * The total number of file shares.
471
+ * NOTE: This property will not be serialized. It can only be populated by the server.
472
+ */
473
+ readonly fileShareCount?: number;
474
+ /**
475
+ * The total provisioned storage quota in gibibytes.
476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
477
+ */
478
+ readonly provisionedStorageGiB?: number;
479
+ /**
480
+ * The total provisioned IOPS.
481
+ * NOTE: This property will not be serialized. It can only be populated by the server.
482
+ */
483
+ readonly provisionedIops?: number;
484
+ /**
485
+ * The total provisioned bandwidth in mebibytes per second.
486
+ * NOTE: This property will not be serialized. It can only be populated by the server.
487
+ */
488
+ readonly provisionedBandwidthMiBPerSec?: number;
489
+ }
316
490
  /** Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares. */
317
491
  export interface FileShareItems {
318
492
  /**
@@ -340,6 +514,15 @@ export interface AccessPolicy {
340
514
  /** List of abbreviated permissions. */
341
515
  permission?: string;
342
516
  }
517
+ /** File Share Paid Bursting properties. */
518
+ export interface FileSharePropertiesFileSharePaidBursting {
519
+ /** Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. */
520
+ paidBurstingEnabled?: boolean;
521
+ /** The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share. */
522
+ paidBurstingMaxIops?: number;
523
+ /** The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share. */
524
+ paidBurstingMaxBandwidthMibps?: number;
525
+ }
343
526
  /** The deleted share to be restored. */
344
527
  export interface DeletedShare {
345
528
  /** Required. Identify the name of the deleted share that will be restored. */
@@ -1570,6 +1753,11 @@ export interface ObjectReplicationPolicyFilter {
1570
1753
  /** Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z */
1571
1754
  minCreationTime?: string;
1572
1755
  }
1756
+ /** Optional. The object replication policy metrics feature options. */
1757
+ export interface ObjectReplicationPolicyPropertiesMetrics {
1758
+ /** Indicates whether object replication metrics feature is enabled for the policy. */
1759
+ enabled?: boolean;
1760
+ }
1573
1761
  /** List of local users requested, and if paging is required, a URL to the next page of local users. */
1574
1762
  export interface LocalUsers {
1575
1763
  /** The list of local users associated with the storage account. */
@@ -2057,6 +2245,14 @@ export interface FileServiceProperties extends Resource {
2057
2245
  /** Protocol settings for file service */
2058
2246
  protocolSettings?: ProtocolSettings;
2059
2247
  }
2248
+ /** The usage of file service in storage account. */
2249
+ export interface FileServiceUsage extends Resource {
2250
+ /**
2251
+ * File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula.
2252
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2253
+ */
2254
+ readonly properties?: FileServiceUsageProperties;
2255
+ }
2060
2256
  /** The properties of a storage account’s Queue service. */
2061
2257
  export interface QueueServiceProperties extends Resource {
2062
2258
  /** Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service. */
@@ -2161,6 +2357,8 @@ export interface ObjectReplicationPolicy extends Resource {
2161
2357
  destinationAccount?: string;
2162
2358
  /** The storage account object replication rules. */
2163
2359
  rules?: ObjectReplicationPolicyRule[];
2360
+ /** Optional. The object replication policy metrics feature options. */
2361
+ metrics?: ObjectReplicationPolicyPropertiesMetrics;
2164
2362
  }
2165
2363
  /** The local user associated with the storage accounts. */
2166
2364
  export interface LocalUser extends Resource {
@@ -2427,8 +2625,37 @@ export interface FileShareItem extends AzureEntityResource {
2427
2625
  metadata?: {
2428
2626
  [propertyName: string]: string;
2429
2627
  };
2430
- /** The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. */
2628
+ /** The provisioned size of the share, in gibibytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size. */
2431
2629
  shareQuota?: number;
2630
+ /** The provisioned IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned IOPS. */
2631
+ provisionedIops?: number;
2632
+ /** The provisioned bandwidth of the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned bandwidth. */
2633
+ provisionedBandwidthMibps?: number;
2634
+ /**
2635
+ * The calculated burst IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type.
2636
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2637
+ */
2638
+ readonly includedBurstIops?: number;
2639
+ /**
2640
+ * The calculated maximum burst credits for the share. This property is only for file shares created under Files Provisioned v2 account type.
2641
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2642
+ */
2643
+ readonly maxBurstCreditsForIops?: number;
2644
+ /**
2645
+ * Returns the next allowed provisioned storage size downgrade time for the share. This property is only for file shares created under Files Provisioned v1 SSD and Files Provisioned v2 account type
2646
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2647
+ */
2648
+ readonly nextAllowedQuotaDowngradeTime?: Date;
2649
+ /**
2650
+ * Returns the next allowed provisioned IOPS downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.
2651
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2652
+ */
2653
+ readonly nextAllowedProvisionedIopsDowngradeTime?: Date;
2654
+ /**
2655
+ * Returns the next allowed provisioned bandwidth downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.
2656
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2657
+ */
2658
+ readonly nextAllowedProvisionedBandwidthDowngradeTime?: Date;
2432
2659
  /** The authentication protocol that is used for the file share. Can only be specified when creating a share. */
2433
2660
  enabledProtocols?: EnabledProtocols;
2434
2661
  /** The property is for NFS share only. The default is NoRootSquash. */
@@ -2492,6 +2719,8 @@ export interface FileShareItem extends AzureEntityResource {
2492
2719
  * NOTE: This property will not be serialized. It can only be populated by the server.
2493
2720
  */
2494
2721
  readonly snapshotTime?: Date;
2722
+ /** File Share Paid Bursting properties. */
2723
+ fileSharePaidBursting?: FileSharePropertiesFileSharePaidBursting;
2495
2724
  }
2496
2725
  /** Properties of the file share, including Id, resource name, resource type, Etag. */
2497
2726
  export interface FileShare extends AzureEntityResource {
@@ -2504,8 +2733,37 @@ export interface FileShare extends AzureEntityResource {
2504
2733
  metadata?: {
2505
2734
  [propertyName: string]: string;
2506
2735
  };
2507
- /** The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. */
2736
+ /** The provisioned size of the share, in gibibytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size. */
2508
2737
  shareQuota?: number;
2738
+ /** The provisioned IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned IOPS. */
2739
+ provisionedIops?: number;
2740
+ /** The provisioned bandwidth of the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned bandwidth. */
2741
+ provisionedBandwidthMibps?: number;
2742
+ /**
2743
+ * The calculated burst IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type.
2744
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2745
+ */
2746
+ readonly includedBurstIops?: number;
2747
+ /**
2748
+ * The calculated maximum burst credits for the share. This property is only for file shares created under Files Provisioned v2 account type.
2749
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2750
+ */
2751
+ readonly maxBurstCreditsForIops?: number;
2752
+ /**
2753
+ * Returns the next allowed provisioned storage size downgrade time for the share. This property is only for file shares created under Files Provisioned v1 SSD and Files Provisioned v2 account type
2754
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2755
+ */
2756
+ readonly nextAllowedQuotaDowngradeTime?: Date;
2757
+ /**
2758
+ * Returns the next allowed provisioned IOPS downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.
2759
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2760
+ */
2761
+ readonly nextAllowedProvisionedIopsDowngradeTime?: Date;
2762
+ /**
2763
+ * Returns the next allowed provisioned bandwidth downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.
2764
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2765
+ */
2766
+ readonly nextAllowedProvisionedBandwidthDowngradeTime?: Date;
2509
2767
  /** The authentication protocol that is used for the file share. Can only be specified when creating a share. */
2510
2768
  enabledProtocols?: EnabledProtocols;
2511
2769
  /** The property is for NFS share only. The default is NoRootSquash. */
@@ -2569,6 +2827,8 @@ export interface FileShare extends AzureEntityResource {
2569
2827
  * NOTE: This property will not be serialized. It can only be populated by the server.
2570
2828
  */
2571
2829
  readonly snapshotTime?: Date;
2830
+ /** File Share Paid Bursting properties. */
2831
+ fileSharePaidBursting?: FileSharePropertiesFileSharePaidBursting;
2572
2832
  }
2573
2833
  /** The storage account. */
2574
2834
  export interface StorageAccount extends TrackedResource {
@@ -2916,7 +3176,19 @@ export declare enum KnownSkuName {
2916
3176
  /** StandardGzrs */
2917
3177
  StandardGzrs = "Standard_GZRS",
2918
3178
  /** StandardRagzrs */
2919
- StandardRagzrs = "Standard_RAGZRS"
3179
+ StandardRagzrs = "Standard_RAGZRS",
3180
+ /** StandardV2LRS */
3181
+ StandardV2LRS = "StandardV2_LRS",
3182
+ /** StandardV2GRS */
3183
+ StandardV2GRS = "StandardV2_GRS",
3184
+ /** StandardV2ZRS */
3185
+ StandardV2ZRS = "StandardV2_ZRS",
3186
+ /** StandardV2Gzrs */
3187
+ StandardV2Gzrs = "StandardV2_GZRS",
3188
+ /** PremiumV2LRS */
3189
+ PremiumV2LRS = "PremiumV2_LRS",
3190
+ /** PremiumV2ZRS */
3191
+ PremiumV2ZRS = "PremiumV2_ZRS"
2920
3192
  }
2921
3193
  /**
2922
3194
  * Defines values for SkuName. \
@@ -2930,7 +3202,13 @@ export declare enum KnownSkuName {
2930
3202
  * **Premium_LRS** \
2931
3203
  * **Premium_ZRS** \
2932
3204
  * **Standard_GZRS** \
2933
- * **Standard_RAGZRS**
3205
+ * **Standard_RAGZRS** \
3206
+ * **StandardV2_LRS** \
3207
+ * **StandardV2_GRS** \
3208
+ * **StandardV2_ZRS** \
3209
+ * **StandardV2_GZRS** \
3210
+ * **PremiumV2_LRS** \
3211
+ * **PremiumV2_ZRS**
2934
3212
  */
2935
3213
  export type SkuName = string;
2936
3214
  /** Known values of {@link ListContainersInclude} that the service accepts. */
@@ -4179,14 +4457,14 @@ export type BlobContainersClearLegalHoldResponse = LegalHold;
4179
4457
  export interface BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams extends coreClient.OperationOptions {
4180
4458
  /** The ImmutabilityPolicy Properties that will be created or updated to a blob container. */
4181
4459
  parameters?: ImmutabilityPolicy;
4182
- /** The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied. */
4460
+ /** The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. */
4183
4461
  ifMatch?: string;
4184
4462
  }
4185
4463
  /** Contains response data for the createOrUpdateImmutabilityPolicy operation. */
4186
4464
  export type BlobContainersCreateOrUpdateImmutabilityPolicyResponse = BlobContainersCreateOrUpdateImmutabilityPolicyHeaders & ImmutabilityPolicy;
4187
4465
  /** Optional parameters. */
4188
4466
  export interface BlobContainersGetImmutabilityPolicyOptionalParams extends coreClient.OperationOptions {
4189
- /** The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied. */
4467
+ /** The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. */
4190
4468
  ifMatch?: string;
4191
4469
  }
4192
4470
  /** Contains response data for the getImmutabilityPolicy operation. */
@@ -4243,6 +4521,23 @@ export interface FileServicesGetServicePropertiesOptionalParams extends coreClie
4243
4521
  /** Contains response data for the getServiceProperties operation. */
4244
4522
  export type FileServicesGetServicePropertiesResponse = FileServiceProperties;
4245
4523
  /** Optional parameters. */
4524
+ export interface FileServicesListServiceUsagesOptionalParams extends coreClient.OperationOptions {
4525
+ /** Optional, specifies the maximum number of file service usages to be included in the list response. */
4526
+ maxpagesize?: number;
4527
+ }
4528
+ /** Contains response data for the listServiceUsages operation. */
4529
+ export type FileServicesListServiceUsagesResponse = FileServiceUsages;
4530
+ /** Optional parameters. */
4531
+ export interface FileServicesGetServiceUsageOptionalParams extends coreClient.OperationOptions {
4532
+ }
4533
+ /** Contains response data for the getServiceUsage operation. */
4534
+ export type FileServicesGetServiceUsageResponse = FileServiceUsage;
4535
+ /** Optional parameters. */
4536
+ export interface FileServicesListServiceUsagesNextOptionalParams extends coreClient.OperationOptions {
4537
+ }
4538
+ /** Contains response data for the listServiceUsagesNext operation. */
4539
+ export type FileServicesListServiceUsagesNextResponse = FileServiceUsages;
4540
+ /** Optional parameters. */
4246
4541
  export interface FileSharesListOptionalParams extends coreClient.OperationOptions {
4247
4542
  /** Optional. Specified maximum number of shares that can be included in the list. */
4248
4543
  maxpagesize?: string;