@azure/arm-storage 16.1.1 → 17.0.0-alpha.20211111.1

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 (388) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +63 -80
  4. package/dist/index.js +10964 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/esm/coreClientLro.d.ts +26 -0
  9. package/esm/coreClientLro.d.ts.map +1 -0
  10. package/esm/coreClientLro.js +186 -0
  11. package/esm/coreClientLro.js.map +1 -0
  12. package/esm/index.d.ts +5002 -0
  13. package/esm/index.d.ts.map +1 -0
  14. package/esm/index.js +13 -0
  15. package/esm/index.js.map +1 -0
  16. package/esm/lro/azureAsyncPolling.d.ts +3 -0
  17. package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
  18. package/esm/lro/azureAsyncPolling.js +67 -0
  19. package/esm/lro/azureAsyncPolling.js.map +1 -0
  20. package/esm/lro/bodyPolling.d.ts +8 -0
  21. package/esm/lro/bodyPolling.d.ts.map +1 -0
  22. package/esm/lro/bodyPolling.js +37 -0
  23. package/esm/lro/bodyPolling.js.map +1 -0
  24. package/esm/lro/index.d.ts +4 -0
  25. package/esm/lro/index.d.ts.map +1 -0
  26. package/{src/models/operationsMappers.ts → esm/lro/index.js} +5 -10
  27. package/esm/lro/index.js.map +1 -0
  28. package/esm/lro/locationPolling.d.ts +3 -0
  29. package/esm/lro/locationPolling.d.ts.map +1 -0
  30. package/esm/lro/locationPolling.js +19 -0
  31. package/esm/lro/locationPolling.js.map +1 -0
  32. package/esm/lro/lroEngine.d.ts +14 -0
  33. package/esm/lro/lroEngine.d.ts.map +1 -0
  34. package/esm/lro/lroEngine.js +41 -0
  35. package/esm/lro/lroEngine.js.map +1 -0
  36. package/esm/lro/models.d.ts +138 -0
  37. package/esm/lro/models.d.ts.map +1 -0
  38. package/esm/lro/models.js +14 -0
  39. package/esm/lro/models.js.map +1 -0
  40. package/esm/lro/operation.d.ts +36 -0
  41. package/esm/lro/operation.d.ts.map +1 -0
  42. package/esm/lro/operation.js +82 -0
  43. package/esm/lro/operation.js.map +1 -0
  44. package/esm/lro/passthrough.d.ts +3 -0
  45. package/esm/lro/passthrough.d.ts.map +1 -0
  46. package/esm/{models/operationsMappers.js → lro/passthrough.js} +8 -2
  47. package/esm/lro/passthrough.js.map +1 -0
  48. package/esm/lro/requestUtils.d.ts +16 -0
  49. package/esm/lro/requestUtils.d.ts.map +1 -0
  50. package/esm/lro/requestUtils.js +73 -0
  51. package/esm/lro/requestUtils.js.map +1 -0
  52. package/esm/lro/stateMachine.d.ts +18 -0
  53. package/esm/lro/stateMachine.d.ts.map +1 -0
  54. package/esm/lro/stateMachine.js +84 -0
  55. package/esm/lro/stateMachine.js.map +1 -0
  56. package/esm/models/index.d.ts +2673 -4395
  57. package/esm/models/index.d.ts.map +1 -1
  58. package/esm/models/index.js +331 -0
  59. package/esm/models/index.js.map +1 -1
  60. package/esm/models/mappers.d.ts +146 -138
  61. package/esm/models/mappers.d.ts.map +1 -1
  62. package/esm/models/mappers.js +2734 -2563
  63. package/esm/models/mappers.js.map +1 -1
  64. package/esm/models/parameters.d.ts +59 -33
  65. package/esm/models/parameters.d.ts.map +1 -1
  66. package/esm/models/parameters.js +267 -159
  67. package/esm/models/parameters.js.map +1 -1
  68. package/esm/operations/blobContainers.d.ts +213 -561
  69. package/esm/operations/blobContainers.d.ts.map +1 -1
  70. package/esm/operations/blobContainers.js +578 -429
  71. package/esm/operations/blobContainers.js.map +1 -1
  72. package/esm/operations/blobInventoryPolicies.d.ts +47 -109
  73. package/esm/operations/blobInventoryPolicies.d.ts.map +1 -1
  74. package/esm/operations/blobInventoryPolicies.js +163 -105
  75. package/esm/operations/blobInventoryPolicies.js.map +1 -1
  76. package/esm/operations/blobServices.d.ts +39 -89
  77. package/esm/operations/blobServices.d.ts.map +1 -1
  78. package/esm/operations/blobServices.js +133 -89
  79. package/esm/operations/blobServices.js.map +1 -1
  80. package/esm/operations/deletedAccounts.d.ts +20 -47
  81. package/esm/operations/deletedAccounts.d.ts.map +1 -1
  82. package/esm/operations/deletedAccounts.js +111 -69
  83. package/esm/operations/deletedAccounts.js.map +1 -1
  84. package/esm/operations/encryptionScopes.d.ts +65 -166
  85. package/esm/operations/encryptionScopes.d.ts.map +1 -1
  86. package/esm/operations/encryptionScopes.js +211 -131
  87. package/esm/operations/encryptionScopes.js.map +1 -1
  88. package/esm/operations/fileServices.d.ts +25 -89
  89. package/esm/operations/fileServices.d.ts.map +1 -1
  90. package/esm/operations/fileServices.js +86 -83
  91. package/esm/operations/fileServices.js.map +1 -1
  92. package/esm/operations/fileShares.d.ts +100 -256
  93. package/esm/operations/fileShares.d.ts.map +1 -1
  94. package/esm/operations/fileShares.js +316 -164
  95. package/esm/operations/fileShares.js.map +1 -1
  96. package/esm/operations/index.d.ts.map +1 -1
  97. package/esm/operations/index.js +1 -2
  98. package/esm/operations/index.js.map +1 -1
  99. package/esm/operations/managementPolicies.d.ts +30 -89
  100. package/esm/operations/managementPolicies.d.ts.map +1 -1
  101. package/esm/operations/managementPolicies.js +89 -92
  102. package/esm/operations/managementPolicies.js.map +1 -1
  103. package/esm/operations/objectReplicationPoliciesOperations.d.ts +54 -130
  104. package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  105. package/esm/operations/objectReplicationPoliciesOperations.js +170 -102
  106. package/esm/operations/objectReplicationPoliciesOperations.js.map +1 -1
  107. package/esm/operations/operations.d.ts +14 -15
  108. package/esm/operations/operations.d.ts.map +1 -1
  109. package/esm/operations/operations.js +67 -29
  110. package/esm/operations/operations.js.map +1 -1
  111. package/esm/operations/privateEndpointConnections.d.ts +46 -126
  112. package/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  113. package/esm/operations/privateEndpointConnections.js +171 -103
  114. package/esm/operations/privateEndpointConnections.js.map +1 -1
  115. package/esm/operations/privateLinkResources.d.ts +11 -31
  116. package/esm/operations/privateLinkResources.d.ts.map +1 -1
  117. package/esm/operations/privateLinkResources.js +32 -36
  118. package/esm/operations/privateLinkResources.js.map +1 -1
  119. package/esm/operations/queue.d.ts +69 -196
  120. package/esm/operations/queue.d.ts.map +1 -1
  121. package/esm/operations/queue.js +230 -162
  122. package/esm/operations/queue.js.map +1 -1
  123. package/esm/operations/queueServices.d.ts +29 -87
  124. package/esm/operations/queueServices.d.ts.map +1 -1
  125. package/esm/operations/queueServices.js +86 -87
  126. package/esm/operations/queueServices.js.map +1 -1
  127. package/esm/operations/skus.d.ts +14 -15
  128. package/esm/operations/skus.d.ts.map +1 -1
  129. package/esm/operations/skus.js +67 -32
  130. package/esm/operations/skus.js.map +1 -1
  131. package/esm/operations/storageAccounts.d.ts +163 -381
  132. package/esm/operations/storageAccounts.d.ts.map +1 -1
  133. package/esm/operations/storageAccounts.js +605 -501
  134. package/esm/operations/storageAccounts.js.map +1 -1
  135. package/esm/operations/tableOperations.d.ts +67 -184
  136. package/esm/operations/tableOperations.d.ts.map +1 -1
  137. package/esm/operations/tableOperations.js +220 -143
  138. package/esm/operations/tableOperations.js.map +1 -1
  139. package/esm/operations/tableServices.d.ts +29 -87
  140. package/esm/operations/tableServices.d.ts.map +1 -1
  141. package/esm/operations/tableServices.js +86 -87
  142. package/esm/operations/tableServices.js.map +1 -1
  143. package/esm/operations/usages.d.ts +15 -18
  144. package/esm/operations/usages.d.ts.map +1 -1
  145. package/esm/operations/usages.js +73 -34
  146. package/esm/operations/usages.js.map +1 -1
  147. package/esm/operationsInterfaces/blobContainers.d.ts +247 -0
  148. package/esm/operationsInterfaces/blobContainers.d.ts.map +1 -0
  149. package/{src/models/usagesMappers.ts → esm/operationsInterfaces/blobContainers.js} +2 -7
  150. package/esm/operationsInterfaces/blobContainers.js.map +1 -0
  151. package/esm/operationsInterfaces/blobInventoryPolicies.d.ts +54 -0
  152. package/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  153. package/esm/{models/usagesMappers.js → operationsInterfaces/blobInventoryPolicies.js} +2 -2
  154. package/esm/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  155. package/esm/operationsInterfaces/blobServices.d.ts +41 -0
  156. package/esm/operationsInterfaces/blobServices.d.ts.map +1 -0
  157. package/{src/models/skusMappers.ts → esm/operationsInterfaces/blobServices.js} +2 -8
  158. package/esm/operationsInterfaces/blobServices.js.map +1 -0
  159. package/esm/operationsInterfaces/deletedAccounts.d.ts +19 -0
  160. package/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
  161. package/esm/{models/skusMappers.js → operationsInterfaces/deletedAccounts.js} +2 -2
  162. package/esm/operationsInterfaces/deletedAccounts.js.map +1 -0
  163. package/esm/operationsInterfaces/encryptionScopes.d.ts +64 -0
  164. package/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  165. package/esm/operationsInterfaces/encryptionScopes.js +9 -0
  166. package/esm/operationsInterfaces/encryptionScopes.js.map +1 -0
  167. package/esm/operationsInterfaces/fileServices.d.ts +39 -0
  168. package/esm/operationsInterfaces/fileServices.d.ts.map +1 -0
  169. package/esm/operationsInterfaces/fileServices.js +9 -0
  170. package/esm/operationsInterfaces/fileServices.js.map +1 -0
  171. package/esm/operationsInterfaces/fileShares.d.ts +102 -0
  172. package/esm/operationsInterfaces/fileShares.d.ts.map +1 -0
  173. package/esm/operationsInterfaces/fileShares.js +9 -0
  174. package/esm/operationsInterfaces/fileShares.js.map +1 -0
  175. package/esm/operationsInterfaces/index.d.ts +20 -0
  176. package/esm/operationsInterfaces/index.d.ts.map +1 -0
  177. package/esm/operationsInterfaces/index.js +27 -0
  178. package/esm/operationsInterfaces/index.js.map +1 -0
  179. package/esm/operationsInterfaces/managementPolicies.d.ts +42 -0
  180. package/esm/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  181. package/esm/operationsInterfaces/managementPolicies.js +9 -0
  182. package/esm/operationsInterfaces/managementPolicies.js.map +1 -0
  183. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +61 -0
  184. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  185. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  186. package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  187. package/esm/operationsInterfaces/operations.d.ts +12 -0
  188. package/esm/operationsInterfaces/operations.d.ts.map +1 -0
  189. package/esm/operationsInterfaces/operations.js +9 -0
  190. package/esm/operationsInterfaces/operations.js.map +1 -0
  191. package/esm/operationsInterfaces/privateEndpointConnections.d.ts +54 -0
  192. package/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  193. package/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  194. package/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  195. package/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
  196. package/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  197. package/esm/operationsInterfaces/privateLinkResources.js +9 -0
  198. package/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  199. package/esm/operationsInterfaces/queue.d.ts +71 -0
  200. package/esm/operationsInterfaces/queue.d.ts.map +1 -0
  201. package/esm/operationsInterfaces/queue.js +9 -0
  202. package/esm/operationsInterfaces/queue.js.map +1 -0
  203. package/esm/operationsInterfaces/queueServices.d.ts +39 -0
  204. package/esm/operationsInterfaces/queueServices.d.ts.map +1 -0
  205. package/esm/operationsInterfaces/queueServices.js +9 -0
  206. package/esm/operationsInterfaces/queueServices.js.map +1 -0
  207. package/esm/operationsInterfaces/skus.d.ts +12 -0
  208. package/esm/operationsInterfaces/skus.d.ts.map +1 -0
  209. package/esm/operationsInterfaces/skus.js +9 -0
  210. package/esm/operationsInterfaces/skus.js.map +1 -0
  211. package/esm/operationsInterfaces/storageAccounts.d.ts +197 -0
  212. package/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  213. package/esm/operationsInterfaces/storageAccounts.js +9 -0
  214. package/esm/operationsInterfaces/storageAccounts.js.map +1 -0
  215. package/esm/operationsInterfaces/tableOperations.d.ts +69 -0
  216. package/esm/operationsInterfaces/tableOperations.d.ts.map +1 -0
  217. package/esm/operationsInterfaces/tableOperations.js +9 -0
  218. package/esm/operationsInterfaces/tableOperations.js.map +1 -0
  219. package/esm/operationsInterfaces/tableServices.d.ts +39 -0
  220. package/esm/operationsInterfaces/tableServices.d.ts.map +1 -0
  221. package/esm/operationsInterfaces/tableServices.js +9 -0
  222. package/esm/operationsInterfaces/tableServices.js.map +1 -0
  223. package/esm/operationsInterfaces/usages.d.ts +13 -0
  224. package/esm/operationsInterfaces/usages.d.ts.map +1 -0
  225. package/esm/operationsInterfaces/usages.js +9 -0
  226. package/esm/operationsInterfaces/usages.js.map +1 -0
  227. package/esm/storageManagementClient.d.ts +26 -35
  228. package/esm/storageManagementClient.d.ts.map +1 -1
  229. package/esm/storageManagementClient.js +27 -42
  230. package/esm/storageManagementClient.js.map +1 -1
  231. package/esm/storageManagementClientContext.d.ts +10 -16
  232. package/esm/storageManagementClientContext.d.ts.map +1 -1
  233. package/esm/storageManagementClientContext.js +32 -44
  234. package/esm/storageManagementClientContext.js.map +1 -1
  235. package/package.json +57 -18
  236. package/review/arm-storage.api.md +2659 -0
  237. package/rollup.config.js +181 -30
  238. package/src/coreClientLro.ts +323 -0
  239. package/src/index.ts +13 -0
  240. package/src/lro/azureAsyncPolling.ts +96 -0
  241. package/src/lro/bodyPolling.ts +54 -0
  242. package/src/lro/index.ts +26 -0
  243. package/src/lro/locationPolling.ts +30 -0
  244. package/src/lro/lroEngine.ts +61 -0
  245. package/src/lro/models.ts +173 -0
  246. package/src/lro/operation.ts +120 -0
  247. package/src/lro/passthrough.ts +23 -0
  248. package/src/lro/requestUtils.ts +105 -0
  249. package/src/lro/stateMachine.ts +138 -0
  250. package/src/models/index.ts +2813 -4492
  251. package/src/models/mappers.ts +2745 -2553
  252. package/src/models/parameters.ts +354 -160
  253. package/src/operations/blobContainers.ts +719 -1037
  254. package/src/operations/blobInventoryPolicies.ts +182 -211
  255. package/src/operations/blobServices.ts +150 -177
  256. package/src/operations/deletedAccounts.ts +111 -112
  257. package/src/operations/encryptionScopes.ts +233 -291
  258. package/src/operations/fileServices.ts +99 -171
  259. package/src/operations/fileShares.ts +335 -560
  260. package/src/operations/index.ts +1 -2
  261. package/src/operations/managementPolicies.ts +102 -175
  262. package/src/operations/objectReplicationPoliciesOperations.ts +187 -227
  263. package/src/operations/operations.ts +61 -38
  264. package/src/operations/privateEndpointConnections.ts +177 -214
  265. package/src/operations/privateLinkResources.ts +37 -60
  266. package/src/operations/queue.ts +269 -365
  267. package/src/operations/queueServices.ts +103 -173
  268. package/src/operations/skus.ts +59 -41
  269. package/src/operations/storageAccounts.ts +779 -872
  270. package/src/operations/tableOperations.ts +255 -328
  271. package/src/operations/tableServices.ts +103 -173
  272. package/src/operations/usages.ts +73 -45
  273. package/src/operationsInterfaces/blobContainers.ts +366 -0
  274. package/src/operationsInterfaces/blobInventoryPolicies.ts +92 -0
  275. package/src/operationsInterfaces/blobServices.ts +70 -0
  276. package/src/operationsInterfaces/deletedAccounts.ts +39 -0
  277. package/src/operationsInterfaces/encryptionScopes.ts +103 -0
  278. package/src/operationsInterfaces/fileServices.ts +68 -0
  279. package/src/operationsInterfaces/fileShares.ts +163 -0
  280. package/src/operationsInterfaces/index.ts +27 -0
  281. package/src/operationsInterfaces/managementPolicies.ts +74 -0
  282. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +98 -0
  283. package/src/operationsInterfaces/operations.ts +23 -0
  284. package/src/operationsInterfaces/privateEndpointConnections.ts +91 -0
  285. package/src/operationsInterfaces/privateLinkResources.ts +30 -0
  286. package/src/operationsInterfaces/queue.ts +117 -0
  287. package/src/operationsInterfaces/queueServices.ts +68 -0
  288. package/src/operationsInterfaces/skus.ts +23 -0
  289. package/src/operationsInterfaces/storageAccounts.ts +320 -0
  290. package/src/operationsInterfaces/tableOperations.ts +112 -0
  291. package/src/operationsInterfaces/tableServices.ts +68 -0
  292. package/src/operationsInterfaces/usages.ts +25 -0
  293. package/src/storageManagementClient.ts +94 -67
  294. package/src/storageManagementClientContext.ts +42 -46
  295. package/tsconfig.json +2 -1
  296. package/dist/arm-storage.js +0 -10687
  297. package/dist/arm-storage.js.map +0 -1
  298. package/dist/arm-storage.min.js +0 -1
  299. package/dist/arm-storage.min.js.map +0 -1
  300. package/esm/models/blobContainersMappers.d.ts +0 -2
  301. package/esm/models/blobContainersMappers.d.ts.map +0 -1
  302. package/esm/models/blobContainersMappers.js +0 -9
  303. package/esm/models/blobContainersMappers.js.map +0 -1
  304. package/esm/models/blobInventoryPoliciesMappers.d.ts +0 -2
  305. package/esm/models/blobInventoryPoliciesMappers.d.ts.map +0 -1
  306. package/esm/models/blobInventoryPoliciesMappers.js +0 -9
  307. package/esm/models/blobInventoryPoliciesMappers.js.map +0 -1
  308. package/esm/models/blobServicesMappers.d.ts +0 -2
  309. package/esm/models/blobServicesMappers.d.ts.map +0 -1
  310. package/esm/models/blobServicesMappers.js +0 -9
  311. package/esm/models/blobServicesMappers.js.map +0 -1
  312. package/esm/models/deletedAccountsMappers.d.ts +0 -2
  313. package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
  314. package/esm/models/deletedAccountsMappers.js +0 -9
  315. package/esm/models/deletedAccountsMappers.js.map +0 -1
  316. package/esm/models/encryptionScopesMappers.d.ts +0 -2
  317. package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
  318. package/esm/models/encryptionScopesMappers.js +0 -9
  319. package/esm/models/encryptionScopesMappers.js.map +0 -1
  320. package/esm/models/fileServicesMappers.d.ts +0 -2
  321. package/esm/models/fileServicesMappers.d.ts.map +0 -1
  322. package/esm/models/fileServicesMappers.js +0 -9
  323. package/esm/models/fileServicesMappers.js.map +0 -1
  324. package/esm/models/fileSharesMappers.d.ts +0 -2
  325. package/esm/models/fileSharesMappers.d.ts.map +0 -1
  326. package/esm/models/fileSharesMappers.js +0 -9
  327. package/esm/models/fileSharesMappers.js.map +0 -1
  328. package/esm/models/managementPoliciesMappers.d.ts +0 -2
  329. package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
  330. package/esm/models/managementPoliciesMappers.js +0 -9
  331. package/esm/models/managementPoliciesMappers.js.map +0 -1
  332. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
  333. package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
  334. package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
  335. package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
  336. package/esm/models/operationsMappers.d.ts +0 -2
  337. package/esm/models/operationsMappers.d.ts.map +0 -1
  338. package/esm/models/operationsMappers.js.map +0 -1
  339. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  340. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  341. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  342. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  343. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  344. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  345. package/esm/models/privateLinkResourcesMappers.js +0 -9
  346. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  347. package/esm/models/queueMappers.d.ts +0 -2
  348. package/esm/models/queueMappers.d.ts.map +0 -1
  349. package/esm/models/queueMappers.js +0 -9
  350. package/esm/models/queueMappers.js.map +0 -1
  351. package/esm/models/queueServicesMappers.d.ts +0 -2
  352. package/esm/models/queueServicesMappers.d.ts.map +0 -1
  353. package/esm/models/queueServicesMappers.js +0 -9
  354. package/esm/models/queueServicesMappers.js.map +0 -1
  355. package/esm/models/skusMappers.d.ts +0 -2
  356. package/esm/models/skusMappers.d.ts.map +0 -1
  357. package/esm/models/skusMappers.js.map +0 -1
  358. package/esm/models/storageAccountsMappers.d.ts +0 -2
  359. package/esm/models/storageAccountsMappers.d.ts.map +0 -1
  360. package/esm/models/storageAccountsMappers.js +0 -9
  361. package/esm/models/storageAccountsMappers.js.map +0 -1
  362. package/esm/models/tableOperationsMappers.d.ts +0 -2
  363. package/esm/models/tableOperationsMappers.d.ts.map +0 -1
  364. package/esm/models/tableOperationsMappers.js +0 -9
  365. package/esm/models/tableOperationsMappers.js.map +0 -1
  366. package/esm/models/tableServicesMappers.d.ts +0 -2
  367. package/esm/models/tableServicesMappers.d.ts.map +0 -1
  368. package/esm/models/tableServicesMappers.js +0 -9
  369. package/esm/models/tableServicesMappers.js.map +0 -1
  370. package/esm/models/usagesMappers.d.ts +0 -2
  371. package/esm/models/usagesMappers.d.ts.map +0 -1
  372. package/esm/models/usagesMappers.js.map +0 -1
  373. package/src/models/blobContainersMappers.ts +0 -106
  374. package/src/models/blobInventoryPoliciesMappers.ts +0 -99
  375. package/src/models/blobServicesMappers.ts +0 -98
  376. package/src/models/deletedAccountsMappers.ts +0 -99
  377. package/src/models/encryptionScopesMappers.ts +0 -100
  378. package/src/models/fileServicesMappers.ts +0 -98
  379. package/src/models/fileSharesMappers.ts +0 -99
  380. package/src/models/managementPoliciesMappers.ts +0 -97
  381. package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
  382. package/src/models/privateEndpointConnectionsMappers.ts +0 -100
  383. package/src/models/privateLinkResourcesMappers.ts +0 -98
  384. package/src/models/queueMappers.ts +0 -98
  385. package/src/models/queueServicesMappers.ts +0 -98
  386. package/src/models/storageAccountsMappers.ts +0 -109
  387. package/src/models/tableOperationsMappers.ts +0 -98
  388. package/src/models/tableServicesMappers.ts +0 -98
@@ -1,154 +1,74 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
1
+ import "@azure/core-paging";
2
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
3
+ import { PrivateEndpointConnections } from "../operationsInterfaces";
3
4
  import { StorageManagementClientContext } from "../storageManagementClientContext";
5
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsPutOptionalParams, PrivateEndpointConnectionsPutResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
4
6
  /** Class representing a PrivateEndpointConnections. */
5
- export declare class PrivateEndpointConnections {
7
+ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
6
8
  private readonly client;
7
9
  /**
8
- * Create a PrivateEndpointConnections.
9
- * @param {StorageManagementClientContext} client Reference to the service client.
10
+ * Initialize a new instance of the class PrivateEndpointConnections class.
11
+ * @param client Reference to the service client
10
12
  */
11
13
  constructor(client: StorageManagementClientContext);
12
14
  /**
13
15
  * List all the private endpoint connections associated with the storage account.
14
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
15
- * is case insensitive.
16
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
17
+ * case insensitive.
16
18
  * @param accountName The name of the storage account within the specified resource group. Storage
17
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
18
- * letters only.
19
- * @param [options] The optional parameters
20
- * @returns Promise<Models.PrivateEndpointConnectionsListResponse>
19
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
20
+ * only.
21
+ * @param options The options parameters.
21
22
  */
22
- list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsListResponse>;
23
+ list(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
24
+ private listPagingPage;
25
+ private listPagingAll;
23
26
  /**
24
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
25
- * is case insensitive.
26
- * @param accountName The name of the storage account within the specified resource group. Storage
27
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
28
- * letters only.
29
- * @param callback The callback
30
- */
31
- list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
32
- /**
33
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
34
- * is case insensitive.
27
+ * List all the private endpoint connections associated with the storage account.
28
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
29
+ * case insensitive.
35
30
  * @param accountName The name of the storage account within the specified resource group. Storage
36
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
37
- * letters only.
38
- * @param options The optional parameters
39
- * @param callback The callback
31
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
32
+ * only.
33
+ * @param options The options parameters.
40
34
  */
41
- list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnectionListResult>): void;
35
+ private _list;
42
36
  /**
43
37
  * Gets the specified private endpoint connection associated with the storage account.
44
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
45
- * is case insensitive.
46
- * @param accountName The name of the storage account within the specified resource group. Storage
47
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
48
- * letters only.
49
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
50
- * the Azure resource
51
- * @param [options] The optional parameters
52
- * @returns Promise<Models.PrivateEndpointConnectionsGetResponse>
53
- */
54
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsGetResponse>;
55
- /**
56
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
57
- * is case insensitive.
58
- * @param accountName The name of the storage account within the specified resource group. Storage
59
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
60
- * letters only.
61
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
62
- * the Azure resource
63
- * @param callback The callback
64
- */
65
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
66
- /**
67
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
68
- * is case insensitive.
38
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
39
+ * case insensitive.
69
40
  * @param accountName The name of the storage account within the specified resource group. Storage
70
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
71
- * letters only.
72
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
73
- * the Azure resource
74
- * @param options The optional parameters
75
- * @param callback The callback
41
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
42
+ * only.
43
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
44
+ * Azure resource
45
+ * @param options The options parameters.
76
46
  */
77
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
47
+ get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
78
48
  /**
79
49
  * Update the state of specified private endpoint connection associated with the storage account.
80
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
81
- * is case insensitive.
82
- * @param accountName The name of the storage account within the specified resource group. Storage
83
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
84
- * letters only.
85
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
86
- * the Azure resource
87
- * @param properties The private endpoint connection properties.
88
- * @param [options] The optional parameters
89
- * @returns Promise<Models.PrivateEndpointConnectionsPutResponse>
90
- */
91
- put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsPutResponse>;
92
- /**
93
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
94
- * is case insensitive.
95
- * @param accountName The name of the storage account within the specified resource group. Storage
96
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
97
- * letters only.
98
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
99
- * the Azure resource
100
- * @param properties The private endpoint connection properties.
101
- * @param callback The callback
102
- */
103
- put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
104
- /**
105
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
106
- * is case insensitive.
50
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
51
+ * case insensitive.
107
52
  * @param accountName The name of the storage account within the specified resource group. Storage
108
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
109
- * letters only.
110
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
111
- * the Azure resource
53
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
54
+ * only.
55
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
56
+ * Azure resource
112
57
  * @param properties The private endpoint connection properties.
113
- * @param options The optional parameters
114
- * @param callback The callback
58
+ * @param options The options parameters.
115
59
  */
116
- put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
60
+ put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
117
61
  /**
118
62
  * Deletes the specified private endpoint connection associated with the storage account.
119
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
120
- * is case insensitive.
121
- * @param accountName The name of the storage account within the specified resource group. Storage
122
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
123
- * letters only.
124
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
125
- * the Azure resource
126
- * @param [options] The optional parameters
127
- * @returns Promise<msRest.RestResponse>
128
- */
129
- deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
130
- /**
131
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
132
- * is case insensitive.
133
- * @param accountName The name of the storage account within the specified resource group. Storage
134
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
135
- * letters only.
136
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
137
- * the Azure resource
138
- * @param callback The callback
139
- */
140
- deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<void>): void;
141
- /**
142
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
143
- * is case insensitive.
63
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
64
+ * case insensitive.
144
65
  * @param accountName The name of the storage account within the specified resource group. Storage
145
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
146
- * letters only.
147
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with
148
- * the Azure resource
149
- * @param options The optional parameters
150
- * @param callback The callback
66
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
67
+ * only.
68
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
69
+ * Azure resource
70
+ * @param options The options parameters.
151
71
  */
152
- deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
72
+ delete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
153
73
  }
154
74
  //# sourceMappingURL=privateEndpointConnections.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,uDAAuD;AACvD,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;;OASG;IACH,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,C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C,GACvD,OAAO,CAAC,IAAI,CAAC;CAWjB"}
@@ -3,98 +3,165 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/privateEndpointConnectionsMappers";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import "@azure/core-paging";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
13
14
  /** Class representing a PrivateEndpointConnections. */
14
- var PrivateEndpointConnections = /** @class */ (function () {
15
+ export class PrivateEndpointConnectionsImpl {
15
16
  /**
16
- * Create a PrivateEndpointConnections.
17
- * @param {StorageManagementClientContext} client Reference to the service client.
17
+ * Initialize a new instance of the class PrivateEndpointConnections class.
18
+ * @param client Reference to the service client
18
19
  */
19
- function PrivateEndpointConnections(client) {
20
+ constructor(client) {
20
21
  this.client = client;
21
22
  }
22
- PrivateEndpointConnections.prototype.list = function (resourceGroupName, accountName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- accountName: accountName,
26
- options: options
27
- }, listOperationSpec, callback);
28
- };
29
- PrivateEndpointConnections.prototype.get = function (resourceGroupName, accountName, privateEndpointConnectionName, options, callback) {
23
+ /**
24
+ * List all the private endpoint connections associated with the storage account.
25
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
26
+ * case insensitive.
27
+ * @param accountName The name of the storage account within the specified resource group. Storage
28
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
29
+ * only.
30
+ * @param options The options parameters.
31
+ */
32
+ list(resourceGroupName, accountName, options) {
33
+ const iter = this.listPagingAll(resourceGroupName, accountName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: () => {
42
+ return this.listPagingPage(resourceGroupName, accountName, options);
43
+ }
44
+ };
45
+ }
46
+ listPagingPage(resourceGroupName, accountName, options) {
47
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
48
+ let result = yield __await(this._list(resourceGroupName, accountName, options));
49
+ yield yield __await(result.value || []);
50
+ });
51
+ }
52
+ listPagingAll(resourceGroupName, accountName, options) {
53
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
54
+ var e_1, _a;
55
+ try {
56
+ for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
+ const page = _c.value;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * List all the private endpoint connections associated with the storage account.
72
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
73
+ * case insensitive.
74
+ * @param accountName The name of the storage account within the specified resource group. Storage
75
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
76
+ * only.
77
+ * @param options The options parameters.
78
+ */
79
+ _list(resourceGroupName, accountName, options) {
80
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
81
+ }
82
+ /**
83
+ * Gets the specified private endpoint connection associated with the storage account.
84
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
85
+ * case insensitive.
86
+ * @param accountName The name of the storage account within the specified resource group. Storage
87
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
88
+ * only.
89
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
90
+ * Azure resource
91
+ * @param options The options parameters.
92
+ */
93
+ get(resourceGroupName, accountName, privateEndpointConnectionName, options) {
30
94
  return this.client.sendOperationRequest({
31
- resourceGroupName: resourceGroupName,
32
- accountName: accountName,
33
- privateEndpointConnectionName: privateEndpointConnectionName,
34
- options: options
35
- }, getOperationSpec, callback);
36
- };
37
- PrivateEndpointConnections.prototype.put = function (resourceGroupName, accountName, privateEndpointConnectionName, properties, options, callback) {
95
+ resourceGroupName,
96
+ accountName,
97
+ privateEndpointConnectionName,
98
+ options
99
+ }, getOperationSpec);
100
+ }
101
+ /**
102
+ * Update the state of specified private endpoint connection associated with the storage account.
103
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
104
+ * case insensitive.
105
+ * @param accountName The name of the storage account within the specified resource group. Storage
106
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
107
+ * only.
108
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
109
+ * Azure resource
110
+ * @param properties The private endpoint connection properties.
111
+ * @param options The options parameters.
112
+ */
113
+ put(resourceGroupName, accountName, privateEndpointConnectionName, properties, options) {
38
114
  return this.client.sendOperationRequest({
39
- resourceGroupName: resourceGroupName,
40
- accountName: accountName,
41
- privateEndpointConnectionName: privateEndpointConnectionName,
42
- properties: properties,
43
- options: options
44
- }, putOperationSpec, callback);
45
- };
46
- PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, accountName, privateEndpointConnectionName, options, callback) {
115
+ resourceGroupName,
116
+ accountName,
117
+ privateEndpointConnectionName,
118
+ properties,
119
+ options
120
+ }, putOperationSpec);
121
+ }
122
+ /**
123
+ * Deletes the specified private endpoint connection associated with the storage account.
124
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
125
+ * case insensitive.
126
+ * @param accountName The name of the storage account within the specified resource group. Storage
127
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
128
+ * only.
129
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
130
+ * Azure resource
131
+ * @param options The options parameters.
132
+ */
133
+ delete(resourceGroupName, accountName, privateEndpointConnectionName, options) {
47
134
  return this.client.sendOperationRequest({
48
- resourceGroupName: resourceGroupName,
49
- accountName: accountName,
50
- privateEndpointConnectionName: privateEndpointConnectionName,
51
- options: options
52
- }, deleteMethodOperationSpec, callback);
53
- };
54
- return PrivateEndpointConnections;
55
- }());
56
- export { PrivateEndpointConnections };
135
+ resourceGroupName,
136
+ accountName,
137
+ privateEndpointConnectionName,
138
+ options
139
+ }, deleteOperationSpec);
140
+ }
141
+ }
57
142
  // Operation Specifications
58
- var serializer = new msRest.Serializer(Mappers);
59
- var listOperationSpec = {
143
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
144
+ const listOperationSpec = {
145
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections",
60
146
  httpMethod: "GET",
61
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections",
62
- urlParameters: [
63
- Parameters.resourceGroupName,
64
- Parameters.accountName,
65
- Parameters.subscriptionId
66
- ],
67
- queryParameters: [
68
- Parameters.apiVersion
69
- ],
70
- headerParameters: [
71
- Parameters.acceptLanguage
72
- ],
73
147
  responses: {
74
148
  200: {
75
149
  bodyMapper: Mappers.PrivateEndpointConnectionListResult
76
- },
77
- default: {
78
- bodyMapper: Mappers.CloudError
79
150
  }
80
151
  },
81
- serializer: serializer
82
- };
83
- var getOperationSpec = {
84
- httpMethod: "GET",
85
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
152
+ queryParameters: [Parameters.apiVersion],
86
153
  urlParameters: [
87
- Parameters.resourceGroupName,
88
- Parameters.accountName,
154
+ Parameters.$host,
89
155
  Parameters.subscriptionId,
90
- Parameters.privateEndpointConnectionName
91
- ],
92
- queryParameters: [
93
- Parameters.apiVersion
94
- ],
95
- headerParameters: [
96
- Parameters.acceptLanguage
156
+ Parameters.resourceGroupName,
157
+ Parameters.accountName1
97
158
  ],
159
+ headerParameters: [Parameters.accept],
160
+ serializer
161
+ };
162
+ const getOperationSpec = {
163
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
164
+ httpMethod: "GET",
98
165
  responses: {
99
166
  200: {
100
167
  bodyMapper: Mappers.PrivateEndpointConnection
@@ -103,27 +170,20 @@ var getOperationSpec = {
103
170
  bodyMapper: Mappers.ErrorResponse
104
171
  }
105
172
  },
106
- serializer: serializer
107
- };
108
- var putOperationSpec = {
109
- httpMethod: "PUT",
110
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
173
+ queryParameters: [Parameters.apiVersion],
111
174
  urlParameters: [
112
- Parameters.resourceGroupName,
113
- Parameters.accountName,
175
+ Parameters.$host,
114
176
  Parameters.subscriptionId,
177
+ Parameters.resourceGroupName,
178
+ Parameters.accountName1,
115
179
  Parameters.privateEndpointConnectionName
116
180
  ],
117
- queryParameters: [
118
- Parameters.apiVersion
119
- ],
120
- headerParameters: [
121
- Parameters.acceptLanguage
122
- ],
123
- requestBody: {
124
- parameterPath: "properties",
125
- mapper: __assign(__assign({}, Mappers.PrivateEndpointConnection), { required: true })
126
- },
181
+ headerParameters: [Parameters.accept],
182
+ serializer
183
+ };
184
+ const putOperationSpec = {
185
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
186
+ httpMethod: "PUT",
127
187
  responses: {
128
188
  200: {
129
189
  bodyMapper: Mappers.PrivateEndpointConnection
@@ -132,23 +192,22 @@ var putOperationSpec = {
132
192
  bodyMapper: Mappers.ErrorResponse
133
193
  }
134
194
  },
135
- serializer: serializer
136
- };
137
- var deleteMethodOperationSpec = {
138
- httpMethod: "DELETE",
139
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
195
+ requestBody: Parameters.properties2,
196
+ queryParameters: [Parameters.apiVersion],
140
197
  urlParameters: [
141
- Parameters.resourceGroupName,
142
- Parameters.accountName,
198
+ Parameters.$host,
143
199
  Parameters.subscriptionId,
200
+ Parameters.resourceGroupName,
201
+ Parameters.accountName1,
144
202
  Parameters.privateEndpointConnectionName
145
203
  ],
146
- queryParameters: [
147
- Parameters.apiVersion
148
- ],
149
- headerParameters: [
150
- Parameters.acceptLanguage
151
- ],
204
+ headerParameters: [Parameters.accept, Parameters.contentType],
205
+ mediaType: "json",
206
+ serializer
207
+ };
208
+ const deleteOperationSpec = {
209
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
210
+ httpMethod: "DELETE",
152
211
  responses: {
153
212
  200: {},
154
213
  204: {},
@@ -156,6 +215,15 @@ var deleteMethodOperationSpec = {
156
215
  bodyMapper: Mappers.ErrorResponse
157
216
  }
158
217
  },
159
- serializer: serializer
218
+ queryParameters: [Parameters.apiVersion],
219
+ urlParameters: [
220
+ Parameters.$host,
221
+ Parameters.subscriptionId,
222
+ Parameters.resourceGroupName,
223
+ Parameters.accountName1,
224
+ Parameters.privateEndpointConnectionName
225
+ ],
226
+ headerParameters: [Parameters.accept],
227
+ serializer
160
228
  };
161
229
  //# sourceMappingURL=privateEndpointConnections.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,M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b,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,YAAY;QAC3B,MAAM,wBACD,OAAO,CAAC,yBAAyB,KACpC,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,yBAAyB,GAAyB;IACtD,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,wLAAwL;IAC9L,aAAa,EAAE;QACb,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAanD,4CAA4C;AAC5C,uD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;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,43 +1,23 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
1
+ import { PrivateLinkResources } from "../operationsInterfaces";
3
2
  import { StorageManagementClientContext } from "../storageManagementClientContext";
3
+ import { PrivateLinkResourcesListByStorageAccountOptionalParams, PrivateLinkResourcesListByStorageAccountResponse } from "../models";
4
4
  /** Class representing a PrivateLinkResources. */
5
- export declare class PrivateLinkResources {
5
+ export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
6
6
  private readonly client;
7
7
  /**
8
- * Create a PrivateLinkResources.
9
- * @param {StorageManagementClientContext} client Reference to the service client.
8
+ * Initialize a new instance of the class PrivateLinkResources class.
9
+ * @param client Reference to the service client
10
10
  */
11
11
  constructor(client: StorageManagementClientContext);
12
12
  /**
13
13
  * Gets the private link resources that need to be created for a storage account.
14
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
15
- * is case insensitive.
14
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
15
+ * case insensitive.
16
16
  * @param accountName The name of the storage account within the specified resource group. Storage
17
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
18
- * letters only.
19
- * @param [options] The optional parameters
20
- * @returns Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>
17
+ * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
18
+ * only.
19
+ * @param options The options parameters.
21
20
  */
22
- listByStorageAccount(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>;
23
- /**
24
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
25
- * is case insensitive.
26
- * @param accountName The name of the storage account within the specified resource group. Storage
27
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
28
- * letters only.
29
- * @param callback The callback
30
- */
31
- listByStorageAccount(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
32
- /**
33
- * @param resourceGroupName The name of the resource group within the user's subscription. The name
34
- * is case insensitive.
35
- * @param accountName The name of the storage account within the specified resource group. Storage
36
- * account names must be between 3 and 24 characters in length and use numbers and lower-case
37
- * letters only.
38
- * @param options The optional parameters
39
- * @param callback The callback
40
- */
41
- listByStorageAccount(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
21
+ listByStorageAccount(resourceGroupName: string, accountName: string, options?: PrivateLinkResourcesListByStorageAccountOptionalParams): Promise<PrivateLinkResourcesListByStorageAccountResponse>;
42
22
  }
43
23
  //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,iDAAiD;AACjD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;;OASG;IACH,oBAAoB,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC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