@azure/arm-storage 18.2.1-alpha.20240419.1 → 18.3.0-alpha.20240627.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 (333) hide show
  1. package/CHANGELOG.md +107 -17
  2. package/LICENSE +1 -1
  3. package/dist/index.js +9905 -7599
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/blobContainersClearLegalHoldSample.js +1 -1
  8. package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js +7 -11
  9. package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js.map +1 -1
  10. package/dist-esm/samples-dev/blobContainersCreateSample.js +5 -5
  11. package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js +1 -1
  12. package/dist-esm/samples-dev/blobContainersDeleteSample.js +1 -1
  13. package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js +4 -4
  14. package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js.map +1 -1
  15. package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js +1 -1
  16. package/dist-esm/samples-dev/blobContainersGetSample.js +2 -2
  17. package/dist-esm/samples-dev/blobContainersLeaseSample.js +5 -5
  18. package/dist-esm/samples-dev/blobContainersLeaseSample.js.map +1 -1
  19. package/dist-esm/samples-dev/blobContainersListSample.js +3 -3
  20. package/dist-esm/samples-dev/blobContainersListSample.js.map +1 -1
  21. package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js +1 -1
  22. package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js +1 -1
  23. package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js +3 -3
  24. package/dist-esm/samples-dev/blobContainersUpdateSample.js +2 -2
  25. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +34 -34
  26. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js.map +1 -1
  27. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +1 -1
  28. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +1 -1
  29. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +1 -1
  30. package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js +1 -1
  31. package/dist-esm/samples-dev/blobServicesListSample.js +1 -1
  32. package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js +17 -17
  33. package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js.map +1 -1
  34. package/dist-esm/samples-dev/deletedAccountsGetSample.js +1 -1
  35. package/dist-esm/samples-dev/deletedAccountsListSample.js +1 -1
  36. package/dist-esm/samples-dev/encryptionScopesGetSample.js +1 -1
  37. package/dist-esm/samples-dev/encryptionScopesListSample.js +1 -1
  38. package/dist-esm/samples-dev/encryptionScopesPatchSample.js +3 -3
  39. package/dist-esm/samples-dev/encryptionScopesPutSample.js +3 -3
  40. package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js +1 -1
  41. package/dist-esm/samples-dev/fileServicesListSample.js +1 -1
  42. package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js +17 -17
  43. package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js.map +1 -1
  44. package/dist-esm/samples-dev/fileSharesCreateSample.js +3 -3
  45. package/dist-esm/samples-dev/fileSharesDeleteSample.js +1 -1
  46. package/dist-esm/samples-dev/fileSharesGetSample.js +3 -3
  47. package/dist-esm/samples-dev/fileSharesGetSample.js.map +1 -1
  48. package/dist-esm/samples-dev/fileSharesLeaseSample.js +5 -5
  49. package/dist-esm/samples-dev/fileSharesLeaseSample.js.map +1 -1
  50. package/dist-esm/samples-dev/fileSharesListSample.js +4 -4
  51. package/dist-esm/samples-dev/fileSharesListSample.js.map +1 -1
  52. package/dist-esm/samples-dev/fileSharesRestoreSample.js +2 -2
  53. package/dist-esm/samples-dev/fileSharesUpdateSample.js +6 -6
  54. package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js +39 -10
  55. package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js.map +1 -1
  56. package/dist-esm/samples-dev/localUsersDeleteSample.js +1 -1
  57. package/dist-esm/samples-dev/localUsersGetSample.js +1 -1
  58. package/dist-esm/samples-dev/localUsersListKeysSample.js +1 -1
  59. package/dist-esm/samples-dev/localUsersListSample.js +38 -2
  60. package/dist-esm/samples-dev/localUsersListSample.js.map +1 -1
  61. package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js +1 -1
  62. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +85 -85
  63. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +1 -1
  64. package/dist-esm/samples-dev/managementPoliciesGetSample.js +1 -1
  65. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
  66. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +40 -0
  68. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
  69. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts +2 -0
  70. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +55 -0
  72. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -0
  73. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
  74. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
  75. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +40 -0
  76. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
  77. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +19 -19
  78. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js.map +1 -1
  79. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +1 -1
  80. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +1 -1
  81. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +1 -1
  82. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  83. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  84. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  85. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  86. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +4 -4
  87. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
  88. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +1 -1
  89. package/dist-esm/samples-dev/queueCreateSample.js +3 -3
  90. package/dist-esm/samples-dev/queueDeleteSample.js +1 -1
  91. package/dist-esm/samples-dev/queueGetSample.js +1 -1
  92. package/dist-esm/samples-dev/queueListSample.js +1 -1
  93. package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js +1 -1
  94. package/dist-esm/samples-dev/queueServicesListSample.js +1 -1
  95. package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js +11 -11
  96. package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js.map +1 -1
  97. package/dist-esm/samples-dev/queueUpdateSample.js +1 -1
  98. package/dist-esm/samples-dev/skusListSample.js +1 -1
  99. package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +1 -1
  100. package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js.map +1 -1
  101. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +3 -3
  102. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js.map +1 -1
  103. package/dist-esm/samples-dev/storageAccountsCreateSample.js +66 -65
  104. package/dist-esm/samples-dev/storageAccountsCreateSample.js.map +1 -1
  105. package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js +2 -2
  106. package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js.map +1 -1
  107. package/dist-esm/samples-dev/storageAccountsDeleteSample.js +1 -1
  108. package/dist-esm/samples-dev/storageAccountsFailoverSample.js +2 -2
  109. package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.js +2 -2
  110. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +7 -7
  111. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js.map +1 -1
  112. package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js +1 -1
  113. package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js.map +1 -1
  114. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +3 -3
  115. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js.map +1 -1
  116. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +1 -1
  117. package/dist-esm/samples-dev/storageAccountsListKeysSample.js +1 -1
  118. package/dist-esm/samples-dev/storageAccountsListSample.js +1 -1
  119. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +3 -3
  120. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js.map +1 -1
  121. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +5 -5
  122. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js.map +1 -1
  123. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +4 -4
  124. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js.map +1 -1
  125. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +1 -1
  126. package/dist-esm/samples-dev/storageAccountsUpdateSample.js +55 -54
  127. package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +1 -1
  128. package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.d.ts +2 -0
  129. package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.js +56 -0
  131. package/dist-esm/samples-dev/storageTaskAssignmentInstancesReportListSample.js.map +1 -0
  132. package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.d.ts +2 -0
  133. package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.js +89 -0
  135. package/dist-esm/samples-dev/storageTaskAssignmentsCreateSample.js.map +1 -0
  136. package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.d.ts +2 -0
  137. package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.js +40 -0
  139. package/dist-esm/samples-dev/storageTaskAssignmentsDeleteSample.js.map +1 -0
  140. package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.d.ts +2 -0
  141. package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.js +40 -0
  143. package/dist-esm/samples-dev/storageTaskAssignmentsGetSample.js.map +1 -0
  144. package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.d.ts +2 -0
  145. package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.js +55 -0
  147. package/dist-esm/samples-dev/storageTaskAssignmentsInstancesReportListSample.js.map +1 -0
  148. package/dist-esm/samples-dev/storageTaskAssignmentsListSample.d.ts +2 -0
  149. package/dist-esm/samples-dev/storageTaskAssignmentsListSample.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/storageTaskAssignmentsListSample.js +55 -0
  151. package/dist-esm/samples-dev/storageTaskAssignmentsListSample.js.map +1 -0
  152. package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.d.ts +2 -0
  153. package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.js +54 -0
  155. package/dist-esm/samples-dev/storageTaskAssignmentsUpdateSample.js.map +1 -0
  156. package/dist-esm/samples-dev/tableCreateSample.js +9 -9
  157. package/dist-esm/samples-dev/tableCreateSample.js.map +1 -1
  158. package/dist-esm/samples-dev/tableDeleteSample.js +1 -1
  159. package/dist-esm/samples-dev/tableGetSample.js +1 -1
  160. package/dist-esm/samples-dev/tableListSample.js +1 -1
  161. package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js +1 -1
  162. package/dist-esm/samples-dev/tableServicesListSample.js +1 -1
  163. package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js +11 -11
  164. package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js.map +1 -1
  165. package/dist-esm/samples-dev/tableUpdateSample.js +9 -9
  166. package/dist-esm/samples-dev/tableUpdateSample.js.map +1 -1
  167. package/dist-esm/samples-dev/usagesListByLocationSample.js +1 -1
  168. package/dist-esm/src/lroImpl.js +1 -1
  169. package/dist-esm/src/models/index.d.ts +2634 -1975
  170. package/dist-esm/src/models/index.d.ts.map +1 -1
  171. package/dist-esm/src/models/index.js +225 -149
  172. package/dist-esm/src/models/index.js.map +1 -1
  173. package/dist-esm/src/models/mappers.d.ts +75 -42
  174. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  175. package/dist-esm/src/models/mappers.js +5262 -4221
  176. package/dist-esm/src/models/mappers.js.map +1 -1
  177. package/dist-esm/src/models/parameters.d.ts +43 -37
  178. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  179. package/dist-esm/src/models/parameters.js +389 -335
  180. package/dist-esm/src/models/parameters.js.map +1 -1
  181. package/dist-esm/src/operations/blobContainers.d.ts.map +1 -1
  182. package/dist-esm/src/operations/blobContainers.js +101 -101
  183. package/dist-esm/src/operations/blobContainers.js.map +1 -1
  184. package/dist-esm/src/operations/blobInventoryPolicies.js +28 -28
  185. package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -1
  186. package/dist-esm/src/operations/blobServices.js +19 -19
  187. package/dist-esm/src/operations/blobServices.js.map +1 -1
  188. package/dist-esm/src/operations/deletedAccounts.js +15 -15
  189. package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
  190. package/dist-esm/src/operations/encryptionScopes.js +38 -38
  191. package/dist-esm/src/operations/encryptionScopes.js.map +1 -1
  192. package/dist-esm/src/operations/fileServices.js +21 -21
  193. package/dist-esm/src/operations/fileServices.js.map +1 -1
  194. package/dist-esm/src/operations/fileShares.js +62 -62
  195. package/dist-esm/src/operations/fileShares.js.map +1 -1
  196. package/dist-esm/src/operations/index.d.ts +10 -6
  197. package/dist-esm/src/operations/index.d.ts.map +1 -1
  198. package/dist-esm/src/operations/index.js +10 -6
  199. package/dist-esm/src/operations/index.js.map +1 -1
  200. package/dist-esm/src/operations/localUsersOperations.d.ts +2 -1
  201. package/dist-esm/src/operations/localUsersOperations.d.ts.map +1 -1
  202. package/dist-esm/src/operations/localUsersOperations.js +49 -43
  203. package/dist-esm/src/operations/localUsersOperations.js.map +1 -1
  204. package/dist-esm/src/operations/managementPolicies.js +17 -17
  205. package/dist-esm/src/operations/managementPolicies.js.map +1 -1
  206. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +73 -0
  207. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  208. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +256 -0
  209. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  210. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  211. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +28 -28
  212. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -1
  213. package/dist-esm/src/operations/operations.js +4 -4
  214. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  215. package/dist-esm/src/operations/privateEndpointConnections.js +29 -29
  216. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  217. package/dist-esm/src/operations/privateLinkResources.js +5 -5
  218. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  219. package/dist-esm/src/operations/queue.js +42 -42
  220. package/dist-esm/src/operations/queue.js.map +1 -1
  221. package/dist-esm/src/operations/queueServices.js +21 -21
  222. package/dist-esm/src/operations/queueServices.js.map +1 -1
  223. package/dist-esm/src/operations/skus.js +4 -4
  224. package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
  225. package/dist-esm/src/operations/storageAccounts.js +132 -132
  226. package/dist-esm/src/operations/storageAccounts.js.map +1 -1
  227. package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.d.ts +53 -0
  228. package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.d.ts.map +1 -0
  229. package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.js +177 -0
  230. package/dist-esm/src/operations/storageTaskAssignmentInstancesReport.js.map +1 -0
  231. package/dist-esm/src/operations/storageTaskAssignments.d.ts +141 -0
  232. package/dist-esm/src/operations/storageTaskAssignments.d.ts.map +1 -0
  233. package/dist-esm/src/operations/storageTaskAssignments.js +518 -0
  234. package/dist-esm/src/operations/storageTaskAssignments.js.map +1 -0
  235. package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.d.ts +44 -0
  236. package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.d.ts.map +1 -0
  237. package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.js +160 -0
  238. package/dist-esm/src/operations/storageTaskAssignmentsInstancesReport.js.map +1 -0
  239. package/dist-esm/src/operations/tableOperations.js +41 -41
  240. package/dist-esm/src/operations/tableOperations.js.map +1 -1
  241. package/dist-esm/src/operations/tableServices.js +20 -20
  242. package/dist-esm/src/operations/tableServices.js.map +1 -1
  243. package/dist-esm/src/operations/usages.js +5 -5
  244. package/dist-esm/src/operations/usages.js.map +1 -1
  245. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -6
  246. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  247. package/dist-esm/src/operationsInterfaces/index.js +10 -6
  248. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  249. package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts +2 -1
  250. package/dist-esm/src/operationsInterfaces/localUsersOperations.d.ts.map +1 -1
  251. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +53 -0
  252. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  253. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  254. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  255. package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.d.ts +18 -0
  256. package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.d.ts.map +1 -0
  257. package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.js +9 -0
  258. package/dist-esm/src/operationsInterfaces/storageTaskAssignmentInstancesReport.js.map +1 -0
  259. package/dist-esm/src/operationsInterfaces/storageTaskAssignments.d.ts +112 -0
  260. package/dist-esm/src/operationsInterfaces/storageTaskAssignments.d.ts.map +1 -0
  261. package/dist-esm/src/operationsInterfaces/storageTaskAssignments.js +9 -0
  262. package/dist-esm/src/operationsInterfaces/storageTaskAssignments.js.map +1 -0
  263. package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.d.ts +15 -0
  264. package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.d.ts.map +1 -0
  265. package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.js +9 -0
  266. package/dist-esm/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.js.map +1 -0
  267. package/dist-esm/src/storageManagementClient.d.ts +11 -7
  268. package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
  269. package/dist-esm/src/storageManagementClient.js +24 -16
  270. package/dist-esm/src/storageManagementClient.js.map +1 -1
  271. package/dist-esm/test/storage_examples.d.ts.map +1 -1
  272. package/dist-esm/test/storage_examples.js +6 -5
  273. package/dist-esm/test/storage_examples.js.map +1 -1
  274. package/package.json +10 -10
  275. package/review/arm-storage.api.md +470 -4
  276. package/src/lroImpl.ts +3 -3
  277. package/src/models/index.ts +3163 -2397
  278. package/src/models/mappers.ts +4188 -3072
  279. package/src/models/parameters.ts +437 -374
  280. package/src/operations/blobContainers.ts +179 -193
  281. package/src/operations/blobInventoryPolicies.ts +46 -50
  282. package/src/operations/blobServices.ts +34 -37
  283. package/src/operations/deletedAccounts.ts +26 -28
  284. package/src/operations/encryptionScopes.ts +59 -63
  285. package/src/operations/fileServices.ts +31 -34
  286. package/src/operations/fileShares.ts +92 -99
  287. package/src/operations/index.ts +10 -6
  288. package/src/operations/localUsersOperations.ts +73 -73
  289. package/src/operations/managementPolicies.ts +27 -30
  290. package/src/operations/networkSecurityPerimeterConfigurations.ts +343 -0
  291. package/src/operations/objectReplicationPoliciesOperations.ts +48 -51
  292. package/src/operations/operations.ts +9 -9
  293. package/src/operations/privateEndpointConnections.ts +49 -52
  294. package/src/operations/privateLinkResources.ts +9 -10
  295. package/src/operations/queue.ts +66 -71
  296. package/src/operations/queueServices.ts +31 -34
  297. package/src/operations/skus.ts +8 -8
  298. package/src/operations/storageAccounts.ts +249 -272
  299. package/src/operations/storageTaskAssignmentInstancesReport.ts +240 -0
  300. package/src/operations/storageTaskAssignments.ts +700 -0
  301. package/src/operations/storageTaskAssignmentsInstancesReport.ts +205 -0
  302. package/src/operations/tableOperations.ts +65 -70
  303. package/src/operations/tableServices.ts +30 -33
  304. package/src/operations/usages.ts +12 -13
  305. package/src/operationsInterfaces/blobContainers.ts +16 -16
  306. package/src/operationsInterfaces/blobInventoryPolicies.ts +5 -5
  307. package/src/operationsInterfaces/blobServices.ts +4 -4
  308. package/src/operationsInterfaces/deletedAccounts.ts +3 -3
  309. package/src/operationsInterfaces/encryptionScopes.ts +5 -5
  310. package/src/operationsInterfaces/fileServices.ts +4 -4
  311. package/src/operationsInterfaces/fileShares.ts +8 -8
  312. package/src/operationsInterfaces/index.ts +10 -6
  313. package/src/operationsInterfaces/localUsersOperations.ts +9 -8
  314. package/src/operationsInterfaces/managementPolicies.ts +4 -4
  315. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +93 -0
  316. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +5 -5
  317. package/src/operationsInterfaces/operations.ts +1 -1
  318. package/src/operationsInterfaces/privateEndpointConnections.ts +5 -5
  319. package/src/operationsInterfaces/privateLinkResources.ts +2 -2
  320. package/src/operationsInterfaces/queue.ts +6 -6
  321. package/src/operationsInterfaces/queueServices.ts +4 -4
  322. package/src/operationsInterfaces/skus.ts +1 -1
  323. package/src/operationsInterfaces/storageAccounts.ts +25 -25
  324. package/src/operationsInterfaces/storageTaskAssignmentInstancesReport.ts +35 -0
  325. package/src/operationsInterfaces/storageTaskAssignments.ts +191 -0
  326. package/src/operationsInterfaces/storageTaskAssignmentsInstancesReport.ts +31 -0
  327. package/src/operationsInterfaces/tableOperations.ts +6 -6
  328. package/src/operationsInterfaces/tableServices.ts +4 -4
  329. package/src/operationsInterfaces/usages.ts +1 -1
  330. package/src/pagingHelper.ts +1 -1
  331. package/src/storageManagementClient.ts +63 -44
  332. package/types/arm-storage.d.ts +958 -30
  333. package/types/tsdoc-metadata.json +1 -1
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List blob services of storage account. It returns a collection of one object named default.
17
17
  *
18
18
  * @summary List blob services of storage account. It returns a collection of one object named default.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/BlobServicesList.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesList.json
20
20
  */
21
21
  function listBlobServices() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageManagementClient } from "@azure/arm-storage";
11
+ import { StorageManagementClient, } from "@azure/arm-storage";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
17
17
  *
18
18
  * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/BlobServicesPutAllowPermanentDelete.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesPutAllowPermanentDelete.json
20
20
  */
21
21
  function blobServicesPutAllowPermanentDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -27,9 +27,9 @@ function blobServicesPutAllowPermanentDelete() {
27
27
  deleteRetentionPolicy: {
28
28
  allowPermanentDelete: true,
29
29
  days: 300,
30
- enabled: true
30
+ enabled: true,
31
31
  },
32
- isVersioningEnabled: true
32
+ isVersioningEnabled: true,
33
33
  };
34
34
  const credential = new DefaultAzureCredential();
35
35
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -41,7 +41,7 @@ function blobServicesPutAllowPermanentDelete() {
41
41
  * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
42
42
  *
43
43
  * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
44
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json
44
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json
45
45
  */
46
46
  function blobServicesPutLastAccessTimeBasedTracking() {
47
47
  return __awaiter(this, void 0, void 0, function* () {
@@ -53,8 +53,8 @@ function blobServicesPutLastAccessTimeBasedTracking() {
53
53
  name: "AccessTimeTracking",
54
54
  blobType: ["blockBlob"],
55
55
  enable: true,
56
- trackingGranularityInDays: 1
57
- }
56
+ trackingGranularityInDays: 1,
57
+ },
58
58
  };
59
59
  const credential = new DefaultAzureCredential();
60
60
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -66,7 +66,7 @@ function blobServicesPutLastAccessTimeBasedTracking() {
66
66
  * This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
67
67
  *
68
68
  * @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
69
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/BlobServicesPut.json
69
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesPut.json
70
70
  */
71
71
  function putBlobServices() {
72
72
  return __awaiter(this, void 0, void 0, function* () {
@@ -81,39 +81,39 @@ function putBlobServices() {
81
81
  allowedHeaders: [
82
82
  "x-ms-meta-abc",
83
83
  "x-ms-meta-data*",
84
- "x-ms-meta-target*"
84
+ "x-ms-meta-target*",
85
85
  ],
86
86
  allowedMethods: ["GET", "HEAD", "POST", "OPTIONS", "MERGE", "PUT"],
87
87
  allowedOrigins: ["http://www.contoso.com", "http://www.fabrikam.com"],
88
88
  exposedHeaders: ["x-ms-meta-*"],
89
- maxAgeInSeconds: 100
89
+ maxAgeInSeconds: 100,
90
90
  },
91
91
  {
92
92
  allowedHeaders: ["*"],
93
93
  allowedMethods: ["GET"],
94
94
  allowedOrigins: ["*"],
95
95
  exposedHeaders: ["*"],
96
- maxAgeInSeconds: 2
96
+ maxAgeInSeconds: 2,
97
97
  },
98
98
  {
99
99
  allowedHeaders: ["x-ms-meta-12345675754564*"],
100
100
  allowedMethods: ["GET", "PUT"],
101
101
  allowedOrigins: [
102
102
  "http://www.abc23.com",
103
- "https://www.fabrikam.com/*"
103
+ "https://www.fabrikam.com/*",
104
104
  ],
105
105
  exposedHeaders: [
106
106
  "x-ms-meta-abc",
107
107
  "x-ms-meta-data*",
108
- "x -ms-meta-target*"
108
+ "x -ms-meta-target*",
109
109
  ],
110
- maxAgeInSeconds: 2000
111
- }
112
- ]
110
+ maxAgeInSeconds: 2000,
111
+ },
112
+ ],
113
113
  },
114
114
  defaultServiceVersion: "2017-07-29",
115
115
  deleteRetentionPolicy: { days: 300, enabled: true },
116
- isVersioningEnabled: true
116
+ isVersioningEnabled: true,
117
117
  };
118
118
  const credential = new DefaultAzureCredential();
119
119
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"blobServicesSetServicePropertiesSample.js","sourceRoot":"","sources":["../../samples-dev/blobServicesSetServicePropertiesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mCAAmC;;QAChD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO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AE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE;YACnD,mBAAmB,EAAE,IAAI;SAC1B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAC3D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mCAAmC,EAAE,CAAC;QACtC,0CAA0C,EAAE,CAAC;QAC7C,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"blobServicesSetServicePropertiesSample.js","sourceRoot":"","sources":["../../samples-dev/blobServicesSetServicePropertiesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mCAAmC;;QAChD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAA0B;YACxC,qBAAqB,EAAE;gBACrB,oBAAoB,EAAE,IAAI;gBAC1B,IAAI,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,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAC3D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mCAAmC,EAAE,CAAC;QACtC,0CAA0C,EAAE,CAAC;QAC7C,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get properties of specified deleted account resource.
17
17
  *
18
18
  * @summary Get properties of specified deleted account resource.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/DeletedAccountGet.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedAccountGet.json
20
20
  */
21
21
  function deletedAccountGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists deleted accounts under the subscription.
17
17
  *
18
18
  * @summary Lists deleted accounts under the subscription.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/DeletedAccountList.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedAccountList.json
20
20
  */
21
21
  function deletedAccountList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns the properties for the specified encryption scope.
17
17
  *
18
18
  * @summary Returns the properties for the specified encryption scope.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountGetEncryptionScope.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetEncryptionScope.json
20
20
  */
21
21
  function storageAccountGetEncryptionScope() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all the encryption scopes available under the specified storage account.
17
17
  *
18
18
  * @summary Lists all the encryption scopes available under the specified storage account.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountEncryptionScopeList.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountEncryptionScopeList.json
20
20
  */
21
21
  function storageAccountEncryptionScopeList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.
17
17
  *
18
18
  * @summary Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountPatchEncryptionScope.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPatchEncryptionScope.json
20
20
  */
21
21
  function storageAccountPatchEncryptionScope() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -26,9 +26,9 @@ function storageAccountPatchEncryptionScope() {
26
26
  const encryptionScopeName = "{encryption-scope-name}";
27
27
  const encryptionScope = {
28
28
  keyVaultProperties: {
29
- keyUri: "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c"
29
+ keyUri: "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c",
30
30
  },
31
- source: "Microsoft.KeyVault"
31
+ source: "Microsoft.KeyVault",
32
32
  };
33
33
  const credential = new DefaultAzureCredential();
34
34
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
17
17
  *
18
18
  * @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountPutEncryptionScope.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPutEncryptionScope.json
20
20
  */
21
21
  function storageAccountPutEncryptionScope() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -35,7 +35,7 @@ function storageAccountPutEncryptionScope() {
35
35
  * This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
36
36
  *
37
37
  * @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
38
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json
38
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json
39
39
  */
40
40
  function storageAccountPutEncryptionScopeWithInfrastructureEncryption() {
41
41
  return __awaiter(this, void 0, void 0, function* () {
@@ -44,7 +44,7 @@ function storageAccountPutEncryptionScopeWithInfrastructureEncryption() {
44
44
  const accountName = "accountname";
45
45
  const encryptionScopeName = "{encryption-scope-name}";
46
46
  const encryptionScope = {
47
- requireInfrastructureEncryption: true
47
+ requireInfrastructureEncryption: true,
48
48
  };
49
49
  const credential = new DefaultAzureCredential();
50
50
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
17
17
  *
18
18
  * @summary Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileServicesGet.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesGet.json
20
20
  */
21
21
  function getFileServices() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all file services in storage accounts
17
17
  *
18
18
  * @summary List all file services in storage accounts
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileServicesList.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesList.json
20
20
  */
21
21
  function listFileServices() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageManagementClient } from "@azure/arm-storage";
11
+ import { StorageManagementClient, } from "@azure/arm-storage";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
17
17
  *
18
18
  * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileServicesPut.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesPut.json
20
20
  */
21
21
  function putFileServices() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -30,36 +30,36 @@ function putFileServices() {
30
30
  allowedHeaders: [
31
31
  "x-ms-meta-abc",
32
32
  "x-ms-meta-data*",
33
- "x-ms-meta-target*"
33
+ "x-ms-meta-target*",
34
34
  ],
35
35
  allowedMethods: ["GET", "HEAD", "POST", "OPTIONS", "MERGE", "PUT"],
36
36
  allowedOrigins: ["http://www.contoso.com", "http://www.fabrikam.com"],
37
37
  exposedHeaders: ["x-ms-meta-*"],
38
- maxAgeInSeconds: 100
38
+ maxAgeInSeconds: 100,
39
39
  },
40
40
  {
41
41
  allowedHeaders: ["*"],
42
42
  allowedMethods: ["GET"],
43
43
  allowedOrigins: ["*"],
44
44
  exposedHeaders: ["*"],
45
- maxAgeInSeconds: 2
45
+ maxAgeInSeconds: 2,
46
46
  },
47
47
  {
48
48
  allowedHeaders: ["x-ms-meta-12345675754564*"],
49
49
  allowedMethods: ["GET", "PUT"],
50
50
  allowedOrigins: [
51
51
  "http://www.abc23.com",
52
- "https://www.fabrikam.com/*"
52
+ "https://www.fabrikam.com/*",
53
53
  ],
54
54
  exposedHeaders: [
55
55
  "x-ms-meta-abc",
56
56
  "x-ms-meta-data*",
57
- "x-ms-meta-target*"
57
+ "x-ms-meta-target*",
58
58
  ],
59
- maxAgeInSeconds: 2000
60
- }
61
- ]
62
- }
59
+ maxAgeInSeconds: 2000,
60
+ },
61
+ ],
62
+ },
63
63
  };
64
64
  const credential = new DefaultAzureCredential();
65
65
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -71,7 +71,7 @@ function putFileServices() {
71
71
  * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
72
72
  *
73
73
  * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
74
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileServicesPut_EnableSMBMultichannel.json
74
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesPut_EnableSMBMultichannel.json
75
75
  */
76
76
  function putFileServicesEnableSmbMultichannel() {
77
77
  return __awaiter(this, void 0, void 0, function* () {
@@ -79,7 +79,7 @@ function putFileServicesEnableSmbMultichannel() {
79
79
  const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4410";
80
80
  const accountName = "sto8607";
81
81
  const parameters = {
82
- protocolSettings: { smb: { multichannel: { enabled: true } } }
82
+ protocolSettings: { smb: { multichannel: { enabled: true } } },
83
83
  };
84
84
  const credential = new DefaultAzureCredential();
85
85
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -91,7 +91,7 @@ function putFileServicesEnableSmbMultichannel() {
91
91
  * This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
92
92
  *
93
93
  * @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
94
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileServicesPut_EnableSecureSmbFeatures.json
94
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesPut_EnableSecureSmbFeatures.json
95
95
  */
96
96
  function putFileServicesEnableSecureSmbFeatures() {
97
97
  return __awaiter(this, void 0, void 0, function* () {
@@ -104,9 +104,9 @@ function putFileServicesEnableSecureSmbFeatures() {
104
104
  authenticationMethods: "NTLMv2;Kerberos",
105
105
  channelEncryption: "AES-128-CCM;AES-128-GCM;AES-256-GCM",
106
106
  kerberosTicketEncryption: "RC4-HMAC;AES-256",
107
- versions: "SMB2.1;SMB3.0;SMB3.1.1"
108
- }
109
- }
107
+ versions: "SMB2.1;SMB3.0;SMB3.1.1",
108
+ },
109
+ },
110
110
  };
111
111
  const credential = new DefaultAzureCredential();
112
112
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"fileServicesSetServicePropertiesSample.js","sourceRoot":"","sources":["../../samples-dev/fileServicesSetServicePropertiesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;A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MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAA0B;YACxC,gBAAgB,EAAE;gBAChB,GAAG,EAAE;oBACH,qBAAqB,EAAE,iBAAiB;oBACxC,iBAAiB,EAAE,qCAAqC;oBACxD,wBAAwB,EAAE,kBAAkB;oBAC5C,QAAQ,EAAE,wBAAwB;iBACnC;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAC3D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;QAClB,oCAAoC,EAAE,CAAC;QACvC,sCAAsC,EAAE,CAAC;IAC3C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"fileServicesSetServicePropertiesSample.js","sourceRoot":"","sources":["../../samples-dev/fileServicesSetServicePropertiesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,w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AAM,MAAM,CAAC,YAAY,CAAC,oBAAoB,CAC3D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;QAClB,oCAAoC,EAAE,CAAC;QACvC,sCAAsC,EAAE,CAAC;IAC3C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
17
17
  *
18
18
  * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesPut_NFS.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesPut_NFS.json
20
20
  */
21
21
  function createNfsShares() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -35,7 +35,7 @@ function createNfsShares() {
35
35
  * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
36
36
  *
37
37
  * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
38
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesPut.json
38
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesPut.json
39
39
  */
40
40
  function putShares() {
41
41
  return __awaiter(this, void 0, void 0, function* () {
@@ -54,7 +54,7 @@ function putShares() {
54
54
  * This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
55
55
  *
56
56
  * @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
57
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesPut_AccessTier.json
57
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesPut_AccessTier.json
58
58
  */
59
59
  function putSharesWithAccessTier() {
60
60
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes specified share under its account.
17
17
  *
18
18
  * @summary Deletes specified share under its account.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesDelete.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesDelete.json
20
20
  */
21
21
  function deleteShares() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageManagementClient } from "@azure/arm-storage";
11
+ import { StorageManagementClient, } from "@azure/arm-storage";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets properties of a specified share.
17
17
  *
18
18
  * @summary Gets properties of a specified share.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesGet_Stats.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet_Stats.json
20
20
  */
21
21
  function getShareStats() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -36,7 +36,7 @@ function getShareStats() {
36
36
  * This sample demonstrates how to Gets properties of a specified share.
37
37
  *
38
38
  * @summary Gets properties of a specified share.
39
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesGet.json
39
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet.json
40
40
  */
41
41
  function getShares() {
42
42
  return __awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"fileSharesGetSample.js","sourceRoot":"","sources":["../../samples-dev/fileSharesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,SAAS,GAAG,WAAW,CAAC;QAC9B,MAAM,MAAM,GAAG,OAAO,CAAC;QACvB,MAAM,OAAO,GAAgC,EAAE,MAAM,EAAE,CAAC;QACxD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CACxC,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,M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microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageManagementClient } from "@azure/arm-storage";
11
+ import { StorageManagementClient, } from "@azure/arm-storage";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
17
17
  *
18
18
  * @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesLease_Acquire.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesLease_Acquire.json
20
20
  */
21
21
  function acquireALeaseOnAShare() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -29,7 +29,7 @@ function acquireALeaseOnAShare() {
29
29
  breakPeriod: undefined,
30
30
  leaseDuration: -1,
31
31
  leaseId: undefined,
32
- proposedLeaseId: undefined
32
+ proposedLeaseId: undefined,
33
33
  };
34
34
  const options = { parameters };
35
35
  const credential = new DefaultAzureCredential();
@@ -42,7 +42,7 @@ function acquireALeaseOnAShare() {
42
42
  * This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
43
43
  *
44
44
  * @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
45
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesLease_Break.json
45
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesLease_Break.json
46
46
  */
47
47
  function breakALeaseOnAShare() {
48
48
  return __awaiter(this, void 0, void 0, function* () {
@@ -55,7 +55,7 @@ function breakALeaseOnAShare() {
55
55
  breakPeriod: undefined,
56
56
  leaseDuration: undefined,
57
57
  leaseId: "8698f513-fa75-44a1-b8eb-30ba336af27d",
58
- proposedLeaseId: undefined
58
+ proposedLeaseId: undefined,
59
59
  };
60
60
  const options = { parameters };
61
61
  const credential = new DefaultAzureCredential();
@@ -1 +1 @@
1
- {"version":3,"file":"fileSharesLeaseSample.js","sourceRoot":"","sources":["../../samples-dev/fileSharesLeaseSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,UAAU,GAAsB;YACpC,MAAM,EAAE,SAAS;YACjB,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,CAAC,CAAC;YACjB,OAAO,EAAE,SAAS;YAClB,eAAe,EAAE,SAAS;SAC3B,CAAC;QACF,MAAM,OAAO,GAAkC,EAAE,UAAU,EAAE,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,KAAK,CAC1C,iBAAiB,EACjB,WAAW,EACX,SAA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MAAM,UAAU,GAAsB;YACpC,MAAM,EAAE,OAAO;YACf,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,SAAS;YACxB,OAAO,EAAE,sCAAsC;YAC/C,eAAe,EAAE,SAAS;SAC3B,CAAC;QACF,MAAM,OAAO,GAAkC,EAAE,UAAU,EAAE,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,KAAK,CAC1C,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;QACxB,mBAAmB,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -8,7 +8,7 @@
8
8
  import { __asyncValues, __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageManagementClient } from "@azure/arm-storage";
11
+ import { StorageManagementClient, } from "@azure/arm-storage";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all shares.
17
17
  *
18
18
  * @summary Lists all shares.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/DeletedFileSharesList.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedFileSharesList.json
20
20
  */
21
21
  function listDeletedShares() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -51,7 +51,7 @@ function listDeletedShares() {
51
51
  * This sample demonstrates how to Lists all shares.
52
52
  *
53
53
  * @summary Lists all shares.
54
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileShareSnapshotsList.json
54
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileShareSnapshotsList.json
55
55
  */
56
56
  function listShareSnapshots() {
57
57
  return __awaiter(this, void 0, void 0, function* () {
@@ -86,7 +86,7 @@ function listShareSnapshots() {
86
86
  * This sample demonstrates how to Lists all shares.
87
87
  *
88
88
  * @summary Lists all shares.
89
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesList.json
89
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesList.json
90
90
  */
91
91
  function listShares() {
92
92
  return __awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"fileSharesListSample.js","sourceRoot":"","sources":["../../samples-dev/fileSharesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iBAAiB;;;QAC9B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,MAAM,GAAG,SAAS,CAAC;QACzB,MAAM,OAAO,GAAiC,EAAE,MAAM,EAAE,CAAC;QACz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OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iBAAiB,EAAE,CAAC;QACpB,kBAAkB,EAAE,CAAC;QACrB,UAAU,EAAE,CAAC;IACf,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Restore a file share within a valid retention days if share soft delete is enabled
17
17
  *
18
18
  * @summary Restore a file share within a valid retention days if share soft delete is enabled
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesRestore.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesRestore.json
20
20
  */
21
21
  function restoreShares() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -26,7 +26,7 @@ function restoreShares() {
26
26
  const shareName = "share1249";
27
27
  const deletedShare = {
28
28
  deletedShareName: "share1249",
29
- deletedShareVersion: "1234567890"
29
+ deletedShareVersion: "1234567890",
30
30
  };
31
31
  const credential = new DefaultAzureCredential();
32
32
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
17
17
  *
18
18
  * @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
19
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileShareAclsPatch.json
19
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileShareAclsPatch.json
20
20
  */
21
21
  function updateShareAcls() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -30,11 +30,11 @@ function updateShareAcls() {
30
30
  accessPolicy: {
31
31
  expiryTime: new Date("2021-05-01T08:49:37.0000000Z"),
32
32
  permission: "rwd",
33
- startTime: new Date("2021-04-01T08:49:37.0000000Z")
33
+ startTime: new Date("2021-04-01T08:49:37.0000000Z"),
34
34
  },
35
- id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI"
36
- }
37
- ]
35
+ id: "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI",
36
+ },
37
+ ],
38
38
  };
39
39
  const credential = new DefaultAzureCredential();
40
40
  const client = new StorageManagementClient(credential, subscriptionId);
@@ -46,7 +46,7 @@ function updateShareAcls() {
46
46
  * This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
47
47
  *
48
48
  * @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
49
- * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/FileSharesPatch.json
49
+ * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesPatch.json
50
50
  */
51
51
  function updateShares() {
52
52
  return __awaiter(this, void 0, void 0, function* () {