@azure/arm-storage-profile-2020-09-01-hybrid 2.1.1-alpha.20250217.1 → 2.1.1-alpha.20250219.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 (711) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js +25 -0
  7. package/dist/browser/lroImpl.js.map +1 -0
  8. package/dist/browser/models/index.js.map +1 -0
  9. package/dist/browser/models/mappers.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  11. package/dist/browser/models/parameters.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/operations/blobInventoryPolicies.d.ts +3 -3
  13. package/dist/browser/operations/blobInventoryPolicies.d.ts.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/blobInventoryPolicies.js +2 -2
  15. package/dist/browser/operations/blobInventoryPolicies.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/encryptionScopes.d.ts +3 -3
  17. package/dist/browser/operations/encryptionScopes.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/encryptionScopes.js +3 -3
  19. package/dist/browser/operations/encryptionScopes.js.map +1 -0
  20. package/dist/browser/operations/index.d.ts +11 -0
  21. package/dist/browser/operations/index.d.ts.map +1 -0
  22. package/dist/browser/operations/index.js +18 -0
  23. package/dist/browser/operations/index.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/managementPolicies.d.ts +3 -3
  25. package/dist/browser/operations/managementPolicies.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/managementPolicies.js +2 -2
  27. package/dist/browser/operations/managementPolicies.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/objectReplicationPoliciesOperations.d.ts +3 -3
  29. package/dist/browser/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/objectReplicationPoliciesOperations.js +2 -2
  31. package/dist/browser/operations/objectReplicationPoliciesOperations.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  33. package/dist/browser/operations/operations.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  35. package/dist/browser/operations/operations.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  37. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +2 -2
  39. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  41. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
  43. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/skus.d.ts +3 -3
  45. package/dist/browser/operations/skus.d.ts.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/skus.js +2 -2
  47. package/dist/browser/operations/skus.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operations/storageAccounts.d.ts +3 -3
  49. package/dist/browser/operations/storageAccounts.d.ts.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operations/storageAccounts.js +103 -115
  51. package/dist/browser/operations/storageAccounts.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
  53. package/dist/browser/operations/usages.d.ts.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operations/usages.js +2 -2
  55. package/dist/browser/operations/usages.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/blobInventoryPolicies.d.ts +1 -1
  57. package/dist/browser/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  58. package/dist/browser/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  59. package/{dist-esm/src → dist/browser}/operationsInterfaces/encryptionScopes.d.ts +1 -1
  60. package/dist/browser/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  61. package/dist/browser/operationsInterfaces/encryptionScopes.js.map +1 -0
  62. package/dist/browser/operationsInterfaces/index.d.ts +11 -0
  63. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  64. package/dist/browser/operationsInterfaces/index.js +18 -0
  65. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  66. package/{dist-esm/src → dist/browser}/operationsInterfaces/managementPolicies.d.ts +1 -1
  67. package/dist/browser/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  68. package/dist/browser/operationsInterfaces/managementPolicies.js.map +1 -0
  69. package/{dist-esm/src → dist/browser}/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +1 -1
  70. package/dist/browser/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  71. package/dist/browser/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  74. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  75. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  76. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  77. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  78. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  79. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  81. package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts +1 -1
  82. package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts.map +1 -1
  83. package/dist/browser/operationsInterfaces/skus.js.map +1 -0
  84. package/{dist-esm/src → dist/browser}/operationsInterfaces/storageAccounts.d.ts +1 -1
  85. package/dist/browser/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  86. package/dist/browser/operationsInterfaces/storageAccounts.js.map +1 -0
  87. package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
  88. package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts.map +1 -1
  89. package/dist/browser/operationsInterfaces/usages.js.map +1 -0
  90. package/dist/browser/package.json +3 -0
  91. package/dist/browser/pagingHelper.js.map +1 -0
  92. package/{dist-esm/src → dist/browser}/storageManagementClient.d.ts +2 -2
  93. package/dist/browser/storageManagementClient.d.ts.map +1 -0
  94. package/{dist-esm/src → dist/browser}/storageManagementClient.js +15 -18
  95. package/dist/browser/storageManagementClient.js.map +1 -0
  96. package/dist/commonjs/index.d.ts +5 -0
  97. package/dist/commonjs/index.d.ts.map +1 -0
  98. package/dist/commonjs/index.js +19 -0
  99. package/dist/commonjs/index.js.map +1 -0
  100. package/dist/commonjs/lroImpl.d.ts +16 -0
  101. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  102. package/dist/commonjs/lroImpl.js +29 -0
  103. package/dist/commonjs/lroImpl.js.map +1 -0
  104. package/{types/arm-storage-profile-2020-09-01-hybrid.d.ts → dist/commonjs/models/index.d.ts} +1849 -2596
  105. package/dist/commonjs/models/index.d.ts.map +1 -0
  106. package/dist/commonjs/models/index.js +265 -0
  107. package/dist/commonjs/models/index.js.map +1 -0
  108. package/dist/commonjs/models/mappers.d.ts +84 -0
  109. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  110. package/dist/commonjs/models/mappers.js +2875 -0
  111. package/dist/commonjs/models/mappers.js.map +1 -0
  112. package/dist/commonjs/models/parameters.d.ts +30 -0
  113. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  114. package/dist/commonjs/models/parameters.js +245 -0
  115. package/dist/commonjs/models/parameters.js.map +1 -0
  116. package/dist/commonjs/operations/blobInventoryPolicies.d.ts +73 -0
  117. package/dist/commonjs/operations/blobInventoryPolicies.d.ts.map +1 -0
  118. package/dist/commonjs/operations/blobInventoryPolicies.js +231 -0
  119. package/dist/commonjs/operations/blobInventoryPolicies.js.map +1 -0
  120. package/dist/commonjs/operations/encryptionScopes.d.ts +94 -0
  121. package/dist/commonjs/operations/encryptionScopes.d.ts.map +1 -0
  122. package/dist/commonjs/operations/encryptionScopes.js +295 -0
  123. package/dist/commonjs/operations/encryptionScopes.js.map +1 -0
  124. package/dist/commonjs/operations/index.d.ts +11 -0
  125. package/dist/commonjs/operations/index.d.ts.map +1 -0
  126. package/dist/commonjs/operations/index.js +21 -0
  127. package/dist/commonjs/operations/index.js.map +1 -0
  128. package/dist/commonjs/operations/managementPolicies.d.ts +50 -0
  129. package/dist/commonjs/operations/managementPolicies.d.ts.map +1 -0
  130. package/dist/commonjs/operations/managementPolicies.js +131 -0
  131. package/dist/commonjs/operations/managementPolicies.js.map +1 -0
  132. package/dist/commonjs/operations/objectReplicationPoliciesOperations.d.ts +74 -0
  133. package/dist/commonjs/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
  134. package/dist/commonjs/operations/objectReplicationPoliciesOperations.js +232 -0
  135. package/dist/commonjs/operations/objectReplicationPoliciesOperations.js.map +1 -0
  136. package/dist/commonjs/operations/operations.d.ts +26 -0
  137. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  138. package/dist/commonjs/operations/operations.js +97 -0
  139. package/dist/commonjs/operations/operations.js.map +1 -0
  140. package/dist/commonjs/operations/privateEndpointConnections.d.ts +73 -0
  141. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  142. package/dist/commonjs/operations/privateEndpointConnections.js +238 -0
  143. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  144. package/dist/commonjs/operations/privateLinkResources.d.ts +23 -0
  145. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  146. package/dist/commonjs/operations/privateLinkResources.js +58 -0
  147. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  148. package/dist/commonjs/operations/skus.d.ts +26 -0
  149. package/dist/commonjs/operations/skus.d.ts.map +1 -0
  150. package/dist/commonjs/operations/skus.js +97 -0
  151. package/dist/commonjs/operations/skus.js.map +1 -0
  152. package/dist/commonjs/operations/storageAccounts.d.ts +228 -0
  153. package/dist/commonjs/operations/storageAccounts.d.ts.map +1 -0
  154. package/dist/commonjs/operations/storageAccounts.js +739 -0
  155. package/dist/commonjs/operations/storageAccounts.js.map +1 -0
  156. package/dist/commonjs/operations/usages.d.ts +28 -0
  157. package/dist/commonjs/operations/usages.d.ts.map +1 -0
  158. package/dist/commonjs/operations/usages.js +103 -0
  159. package/dist/commonjs/operations/usages.js.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
  161. package/dist/commonjs/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  162. package/dist/commonjs/operationsInterfaces/blobInventoryPolicies.js +10 -0
  163. package/dist/commonjs/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/encryptionScopes.d.ts +63 -0
  165. package/dist/commonjs/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  166. package/dist/commonjs/operationsInterfaces/encryptionScopes.js +10 -0
  167. package/dist/commonjs/operationsInterfaces/encryptionScopes.js.map +1 -0
  168. package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
  169. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  170. package/dist/commonjs/operationsInterfaces/index.js +21 -0
  171. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  172. package/dist/commonjs/operationsInterfaces/managementPolicies.d.ts +42 -0
  173. package/dist/commonjs/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  174. package/dist/commonjs/operationsInterfaces/managementPolicies.js +10 -0
  175. package/dist/commonjs/operationsInterfaces/managementPolicies.js.map +1 -0
  176. package/dist/commonjs/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
  177. package/dist/commonjs/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  178. package/dist/commonjs/operationsInterfaces/objectReplicationPoliciesOperations.js +10 -0
  179. package/dist/commonjs/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  180. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  181. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  182. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  183. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  184. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
  185. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  187. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
  189. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  191. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/skus.d.ts +11 -0
  193. package/dist/commonjs/operationsInterfaces/skus.d.ts.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/skus.js +10 -0
  195. package/dist/commonjs/operationsInterfaces/skus.js.map +1 -0
  196. package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts +196 -0
  197. package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  198. package/dist/commonjs/operationsInterfaces/storageAccounts.js +10 -0
  199. package/dist/commonjs/operationsInterfaces/storageAccounts.js.map +1 -0
  200. package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
  201. package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
  202. package/dist/commonjs/operationsInterfaces/usages.js +10 -0
  203. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
  204. package/dist/commonjs/package.json +3 -0
  205. package/dist/commonjs/pagingHelper.d.ts +13 -0
  206. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  207. package/dist/commonjs/pagingHelper.js +36 -0
  208. package/dist/commonjs/pagingHelper.js.map +1 -0
  209. package/dist/commonjs/storageManagementClient.d.ts +29 -0
  210. package/dist/commonjs/storageManagementClient.d.ts.map +1 -0
  211. package/dist/commonjs/storageManagementClient.js +111 -0
  212. package/dist/commonjs/storageManagementClient.js.map +1 -0
  213. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  214. package/dist/esm/index.d.ts +5 -0
  215. package/dist/esm/index.d.ts.map +1 -0
  216. package/{src/index.ts → dist/esm/index.js} +5 -5
  217. package/dist/esm/index.js.map +1 -0
  218. package/dist/esm/lroImpl.d.ts +16 -0
  219. package/dist/esm/lroImpl.d.ts.map +1 -0
  220. package/dist/esm/lroImpl.js +25 -0
  221. package/dist/esm/lroImpl.js.map +1 -0
  222. package/dist/esm/models/index.d.ts +1849 -0
  223. package/dist/esm/models/index.d.ts.map +1 -0
  224. package/dist/esm/models/index.js +262 -0
  225. package/dist/esm/models/index.js.map +1 -0
  226. package/dist/esm/models/mappers.d.ts +84 -0
  227. package/dist/esm/models/mappers.d.ts.map +1 -0
  228. package/dist/esm/models/mappers.js +2871 -0
  229. package/dist/esm/models/mappers.js.map +1 -0
  230. package/dist/esm/models/parameters.d.ts +30 -0
  231. package/dist/esm/models/parameters.d.ts.map +1 -0
  232. package/dist/esm/models/parameters.js +242 -0
  233. package/dist/esm/models/parameters.js.map +1 -0
  234. package/dist/esm/operations/blobInventoryPolicies.d.ts +73 -0
  235. package/dist/esm/operations/blobInventoryPolicies.d.ts.map +1 -0
  236. package/dist/esm/operations/blobInventoryPolicies.js +227 -0
  237. package/dist/esm/operations/blobInventoryPolicies.js.map +1 -0
  238. package/dist/esm/operations/encryptionScopes.d.ts +94 -0
  239. package/dist/esm/operations/encryptionScopes.d.ts.map +1 -0
  240. package/dist/esm/operations/encryptionScopes.js +291 -0
  241. package/dist/esm/operations/encryptionScopes.js.map +1 -0
  242. package/dist/esm/operations/index.d.ts +11 -0
  243. package/dist/esm/operations/index.d.ts.map +1 -0
  244. package/dist/esm/operations/index.js +18 -0
  245. package/dist/esm/operations/index.js.map +1 -0
  246. package/dist/esm/operations/managementPolicies.d.ts +50 -0
  247. package/dist/esm/operations/managementPolicies.d.ts.map +1 -0
  248. package/dist/esm/operations/managementPolicies.js +126 -0
  249. package/dist/esm/operations/managementPolicies.js.map +1 -0
  250. package/dist/esm/operations/objectReplicationPoliciesOperations.d.ts +74 -0
  251. package/dist/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
  252. package/dist/esm/operations/objectReplicationPoliciesOperations.js +228 -0
  253. package/dist/esm/operations/objectReplicationPoliciesOperations.js.map +1 -0
  254. package/dist/esm/operations/operations.d.ts +26 -0
  255. package/dist/esm/operations/operations.d.ts.map +1 -0
  256. package/dist/esm/operations/operations.js +93 -0
  257. package/dist/esm/operations/operations.js.map +1 -0
  258. package/dist/esm/operations/privateEndpointConnections.d.ts +73 -0
  259. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  260. package/dist/esm/operations/privateEndpointConnections.js +234 -0
  261. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  262. package/dist/esm/operations/privateLinkResources.d.ts +23 -0
  263. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  264. package/dist/esm/operations/privateLinkResources.js +53 -0
  265. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  266. package/dist/esm/operations/skus.d.ts +26 -0
  267. package/dist/esm/operations/skus.d.ts.map +1 -0
  268. package/dist/esm/operations/skus.js +93 -0
  269. package/dist/esm/operations/skus.js.map +1 -0
  270. package/dist/esm/operations/storageAccounts.d.ts +228 -0
  271. package/dist/esm/operations/storageAccounts.d.ts.map +1 -0
  272. package/dist/esm/operations/storageAccounts.js +735 -0
  273. package/dist/esm/operations/storageAccounts.js.map +1 -0
  274. package/dist/esm/operations/usages.d.ts +28 -0
  275. package/dist/esm/operations/usages.d.ts.map +1 -0
  276. package/dist/esm/operations/usages.js +99 -0
  277. package/dist/esm/operations/usages.js.map +1 -0
  278. package/dist/esm/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
  279. package/dist/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  280. package/dist/esm/operationsInterfaces/blobInventoryPolicies.js +9 -0
  281. package/dist/esm/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  282. package/dist/esm/operationsInterfaces/encryptionScopes.d.ts +63 -0
  283. package/dist/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  284. package/dist/esm/operationsInterfaces/encryptionScopes.js +9 -0
  285. package/dist/esm/operationsInterfaces/encryptionScopes.js.map +1 -0
  286. package/dist/esm/operationsInterfaces/index.d.ts +11 -0
  287. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  288. package/dist/esm/operationsInterfaces/index.js +18 -0
  289. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  290. package/dist/esm/operationsInterfaces/managementPolicies.d.ts +42 -0
  291. package/dist/esm/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  292. package/dist/esm/operationsInterfaces/managementPolicies.js +9 -0
  293. package/dist/esm/operationsInterfaces/managementPolicies.js.map +1 -0
  294. package/dist/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
  295. package/dist/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  296. package/dist/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  297. package/dist/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  298. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  299. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  300. package/dist/esm/operationsInterfaces/operations.js +9 -0
  301. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  302. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
  303. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  304. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  305. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  306. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
  307. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  308. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  309. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  310. package/dist/esm/operationsInterfaces/skus.d.ts +11 -0
  311. package/dist/esm/operationsInterfaces/skus.d.ts.map +1 -0
  312. package/dist/esm/operationsInterfaces/skus.js +9 -0
  313. package/dist/esm/operationsInterfaces/skus.js.map +1 -0
  314. package/dist/esm/operationsInterfaces/storageAccounts.d.ts +196 -0
  315. package/dist/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  316. package/dist/esm/operationsInterfaces/storageAccounts.js +9 -0
  317. package/dist/esm/operationsInterfaces/storageAccounts.js.map +1 -0
  318. package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
  319. package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
  320. package/dist/esm/operationsInterfaces/usages.js +9 -0
  321. package/dist/esm/operationsInterfaces/usages.js.map +1 -0
  322. package/dist/esm/package.json +3 -0
  323. package/dist/esm/pagingHelper.d.ts +13 -0
  324. package/dist/esm/pagingHelper.d.ts.map +1 -0
  325. package/dist/esm/pagingHelper.js +32 -0
  326. package/dist/esm/pagingHelper.js.map +1 -0
  327. package/dist/esm/storageManagementClient.d.ts +29 -0
  328. package/dist/esm/storageManagementClient.d.ts.map +1 -0
  329. package/dist/esm/storageManagementClient.js +106 -0
  330. package/dist/esm/storageManagementClient.js.map +1 -0
  331. package/dist/react-native/index.d.ts +5 -0
  332. package/dist/react-native/index.d.ts.map +1 -0
  333. package/dist/react-native/index.js +13 -0
  334. package/dist/react-native/index.js.map +1 -0
  335. package/dist/react-native/lroImpl.d.ts +16 -0
  336. package/dist/react-native/lroImpl.d.ts.map +1 -0
  337. package/dist/react-native/lroImpl.js +25 -0
  338. package/dist/react-native/lroImpl.js.map +1 -0
  339. package/dist/react-native/models/index.d.ts +1849 -0
  340. package/dist/react-native/models/index.d.ts.map +1 -0
  341. package/dist/react-native/models/index.js +262 -0
  342. package/dist/react-native/models/index.js.map +1 -0
  343. package/dist/react-native/models/mappers.d.ts +84 -0
  344. package/dist/react-native/models/mappers.d.ts.map +1 -0
  345. package/dist/react-native/models/mappers.js +2871 -0
  346. package/dist/react-native/models/mappers.js.map +1 -0
  347. package/dist/react-native/models/parameters.d.ts +30 -0
  348. package/dist/react-native/models/parameters.d.ts.map +1 -0
  349. package/dist/react-native/models/parameters.js +242 -0
  350. package/dist/react-native/models/parameters.js.map +1 -0
  351. package/dist/react-native/operations/blobInventoryPolicies.d.ts +73 -0
  352. package/dist/react-native/operations/blobInventoryPolicies.d.ts.map +1 -0
  353. package/dist/react-native/operations/blobInventoryPolicies.js +227 -0
  354. package/dist/react-native/operations/blobInventoryPolicies.js.map +1 -0
  355. package/dist/react-native/operations/encryptionScopes.d.ts +94 -0
  356. package/dist/react-native/operations/encryptionScopes.d.ts.map +1 -0
  357. package/dist/react-native/operations/encryptionScopes.js +291 -0
  358. package/dist/react-native/operations/encryptionScopes.js.map +1 -0
  359. package/dist/react-native/operations/index.d.ts +11 -0
  360. package/dist/react-native/operations/index.d.ts.map +1 -0
  361. package/dist/react-native/operations/index.js +18 -0
  362. package/dist/react-native/operations/index.js.map +1 -0
  363. package/dist/react-native/operations/managementPolicies.d.ts +50 -0
  364. package/dist/react-native/operations/managementPolicies.d.ts.map +1 -0
  365. package/dist/react-native/operations/managementPolicies.js +126 -0
  366. package/dist/react-native/operations/managementPolicies.js.map +1 -0
  367. package/dist/react-native/operations/objectReplicationPoliciesOperations.d.ts +74 -0
  368. package/dist/react-native/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
  369. package/dist/react-native/operations/objectReplicationPoliciesOperations.js +228 -0
  370. package/dist/react-native/operations/objectReplicationPoliciesOperations.js.map +1 -0
  371. package/dist/react-native/operations/operations.d.ts +26 -0
  372. package/dist/react-native/operations/operations.d.ts.map +1 -0
  373. package/dist/react-native/operations/operations.js +93 -0
  374. package/dist/react-native/operations/operations.js.map +1 -0
  375. package/dist/react-native/operations/privateEndpointConnections.d.ts +73 -0
  376. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  377. package/dist/react-native/operations/privateEndpointConnections.js +234 -0
  378. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  379. package/dist/react-native/operations/privateLinkResources.d.ts +23 -0
  380. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  381. package/dist/react-native/operations/privateLinkResources.js +53 -0
  382. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  383. package/dist/react-native/operations/skus.d.ts +26 -0
  384. package/dist/react-native/operations/skus.d.ts.map +1 -0
  385. package/dist/react-native/operations/skus.js +93 -0
  386. package/dist/react-native/operations/skus.js.map +1 -0
  387. package/dist/react-native/operations/storageAccounts.d.ts +228 -0
  388. package/dist/react-native/operations/storageAccounts.d.ts.map +1 -0
  389. package/dist/react-native/operations/storageAccounts.js +735 -0
  390. package/dist/react-native/operations/storageAccounts.js.map +1 -0
  391. package/dist/react-native/operations/usages.d.ts +28 -0
  392. package/dist/react-native/operations/usages.d.ts.map +1 -0
  393. package/dist/react-native/operations/usages.js +99 -0
  394. package/dist/react-native/operations/usages.js.map +1 -0
  395. package/dist/react-native/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
  396. package/dist/react-native/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
  397. package/dist/react-native/operationsInterfaces/blobInventoryPolicies.js +9 -0
  398. package/dist/react-native/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
  399. package/dist/react-native/operationsInterfaces/encryptionScopes.d.ts +63 -0
  400. package/dist/react-native/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
  401. package/dist/react-native/operationsInterfaces/encryptionScopes.js +9 -0
  402. package/dist/react-native/operationsInterfaces/encryptionScopes.js.map +1 -0
  403. package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
  404. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  405. package/dist/react-native/operationsInterfaces/index.js +18 -0
  406. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  407. package/dist/react-native/operationsInterfaces/managementPolicies.d.ts +42 -0
  408. package/dist/react-native/operationsInterfaces/managementPolicies.d.ts.map +1 -0
  409. package/dist/react-native/operationsInterfaces/managementPolicies.js +9 -0
  410. package/dist/react-native/operationsInterfaces/managementPolicies.js.map +1 -0
  411. package/dist/react-native/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
  412. package/dist/react-native/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
  413. package/dist/react-native/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
  414. package/dist/react-native/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
  415. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  416. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  417. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  418. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  419. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
  420. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  421. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  422. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  423. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
  424. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  425. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  426. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  427. package/dist/react-native/operationsInterfaces/skus.d.ts +11 -0
  428. package/dist/react-native/operationsInterfaces/skus.d.ts.map +1 -0
  429. package/dist/react-native/operationsInterfaces/skus.js +9 -0
  430. package/dist/react-native/operationsInterfaces/skus.js.map +1 -0
  431. package/dist/react-native/operationsInterfaces/storageAccounts.d.ts +196 -0
  432. package/dist/react-native/operationsInterfaces/storageAccounts.d.ts.map +1 -0
  433. package/dist/react-native/operationsInterfaces/storageAccounts.js +9 -0
  434. package/dist/react-native/operationsInterfaces/storageAccounts.js.map +1 -0
  435. package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
  436. package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
  437. package/dist/react-native/operationsInterfaces/usages.js +9 -0
  438. package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
  439. package/dist/react-native/package.json +3 -0
  440. package/dist/react-native/pagingHelper.d.ts +13 -0
  441. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  442. package/dist/react-native/pagingHelper.js +32 -0
  443. package/dist/react-native/pagingHelper.js.map +1 -0
  444. package/dist/react-native/storageManagementClient.d.ts +29 -0
  445. package/dist/react-native/storageManagementClient.d.ts.map +1 -0
  446. package/dist/react-native/storageManagementClient.js +106 -0
  447. package/dist/react-native/storageManagementClient.js.map +1 -0
  448. package/package.json +66 -35
  449. package/dist/index.js +0 -5806
  450. package/dist/index.js.map +0 -1
  451. package/dist/index.min.js +0 -1
  452. package/dist/index.min.js.map +0 -1
  453. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.d.ts +0 -2
  454. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.d.ts.map +0 -1
  455. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +0 -51
  456. package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js.map +0 -1
  457. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.d.ts +0 -2
  458. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.d.ts.map +0 -1
  459. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +0 -37
  460. package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js.map +0 -1
  461. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.d.ts +0 -2
  462. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.d.ts.map +0 -1
  463. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +0 -37
  464. package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js.map +0 -1
  465. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.d.ts +0 -2
  466. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.d.ts.map +0 -1
  467. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +0 -52
  468. package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js.map +0 -1
  469. package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts +0 -2
  470. package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts.map +0 -1
  471. package/dist-esm/samples-dev/encryptionScopesGetSample.js +0 -37
  472. package/dist-esm/samples-dev/encryptionScopesGetSample.js.map +0 -1
  473. package/dist-esm/samples-dev/encryptionScopesListSample.d.ts +0 -2
  474. package/dist-esm/samples-dev/encryptionScopesListSample.d.ts.map +0 -1
  475. package/dist-esm/samples-dev/encryptionScopesListSample.js +0 -52
  476. package/dist-esm/samples-dev/encryptionScopesListSample.js.map +0 -1
  477. package/dist-esm/samples-dev/encryptionScopesPatchSample.d.ts +0 -2
  478. package/dist-esm/samples-dev/encryptionScopesPatchSample.d.ts.map +0 -1
  479. package/dist-esm/samples-dev/encryptionScopesPatchSample.js +0 -36
  480. package/dist-esm/samples-dev/encryptionScopesPatchSample.js.map +0 -1
  481. package/dist-esm/samples-dev/encryptionScopesPutSample.d.ts +0 -2
  482. package/dist-esm/samples-dev/encryptionScopesPutSample.d.ts.map +0 -1
  483. package/dist-esm/samples-dev/encryptionScopesPutSample.js +0 -31
  484. package/dist-esm/samples-dev/encryptionScopesPutSample.js.map +0 -1
  485. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.d.ts +0 -2
  486. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.d.ts.map +0 -1
  487. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +0 -216
  488. package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js.map +0 -1
  489. package/dist-esm/samples-dev/managementPoliciesDeleteSample.d.ts +0 -2
  490. package/dist-esm/samples-dev/managementPoliciesDeleteSample.d.ts.map +0 -1
  491. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +0 -37
  492. package/dist-esm/samples-dev/managementPoliciesDeleteSample.js.map +0 -1
  493. package/dist-esm/samples-dev/managementPoliciesGetSample.d.ts +0 -2
  494. package/dist-esm/samples-dev/managementPoliciesGetSample.d.ts.map +0 -1
  495. package/dist-esm/samples-dev/managementPoliciesGetSample.js +0 -37
  496. package/dist-esm/samples-dev/managementPoliciesGetSample.js.map +0 -1
  497. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.d.ts +0 -2
  498. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.d.ts.map +0 -1
  499. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +0 -143
  500. package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js.map +0 -1
  501. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.d.ts +0 -2
  502. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.d.ts.map +0 -1
  503. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +0 -37
  504. package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js.map +0 -1
  505. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.d.ts +0 -2
  506. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.d.ts.map +0 -1
  507. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +0 -37
  508. package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js.map +0 -1
  509. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.d.ts +0 -2
  510. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.d.ts.map +0 -1
  511. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +0 -52
  512. package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js.map +0 -1
  513. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  514. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  515. package/dist-esm/samples-dev/operationsListSample.js +0 -50
  516. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  517. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  518. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  519. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
  520. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  521. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  522. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  523. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
  524. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  525. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  526. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  527. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -52
  528. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  529. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts +0 -2
  530. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts.map +0 -1
  531. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +0 -36
  532. package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +0 -1
  533. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.d.ts +0 -2
  534. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.d.ts.map +0 -1
  535. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +0 -36
  536. package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js.map +0 -1
  537. package/dist-esm/samples-dev/skusListSample.d.ts +0 -2
  538. package/dist-esm/samples-dev/skusListSample.d.ts.map +0 -1
  539. package/dist-esm/samples-dev/skusListSample.js +0 -50
  540. package/dist-esm/samples-dev/skusListSample.js.map +0 -1
  541. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.d.ts +0 -2
  542. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.d.ts.map +0 -1
  543. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +0 -31
  544. package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js.map +0 -1
  545. package/dist-esm/samples-dev/storageAccountsCreateSample.d.ts +0 -2
  546. package/dist-esm/samples-dev/storageAccountsCreateSample.d.ts.map +0 -1
  547. package/dist-esm/samples-dev/storageAccountsCreateSample.js +0 -52
  548. package/dist-esm/samples-dev/storageAccountsCreateSample.js.map +0 -1
  549. package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts +0 -2
  550. package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts.map +0 -1
  551. package/dist-esm/samples-dev/storageAccountsDeleteSample.js +0 -36
  552. package/dist-esm/samples-dev/storageAccountsDeleteSample.js.map +0 -1
  553. package/dist-esm/samples-dev/storageAccountsFailoverSample.d.ts +0 -2
  554. package/dist-esm/samples-dev/storageAccountsFailoverSample.d.ts.map +0 -1
  555. package/dist-esm/samples-dev/storageAccountsFailoverSample.js +0 -36
  556. package/dist-esm/samples-dev/storageAccountsFailoverSample.js.map +0 -1
  557. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.d.ts +0 -2
  558. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.d.ts.map +0 -1
  559. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +0 -54
  560. package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js.map +0 -1
  561. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.d.ts +0 -2
  562. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.d.ts.map +0 -1
  563. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +0 -38
  564. package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js.map +0 -1
  565. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.d.ts +0 -2
  566. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.d.ts.map +0 -1
  567. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +0 -51
  568. package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js.map +0 -1
  569. package/dist-esm/samples-dev/storageAccountsListKeysSample.d.ts +0 -2
  570. package/dist-esm/samples-dev/storageAccountsListKeysSample.d.ts.map +0 -1
  571. package/dist-esm/samples-dev/storageAccountsListKeysSample.js +0 -36
  572. package/dist-esm/samples-dev/storageAccountsListKeysSample.js.map +0 -1
  573. package/dist-esm/samples-dev/storageAccountsListSample.d.ts +0 -2
  574. package/dist-esm/samples-dev/storageAccountsListSample.d.ts.map +0 -1
  575. package/dist-esm/samples-dev/storageAccountsListSample.js +0 -50
  576. package/dist-esm/samples-dev/storageAccountsListSample.js.map +0 -1
  577. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.d.ts +0 -2
  578. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.d.ts.map +0 -1
  579. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +0 -35
  580. package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js.map +0 -1
  581. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.d.ts +0 -2
  582. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.d.ts.map +0 -1
  583. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +0 -53
  584. package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js.map +0 -1
  585. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.d.ts +0 -2
  586. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.d.ts.map +0 -1
  587. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +0 -36
  588. package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js.map +0 -1
  589. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.d.ts +0 -2
  590. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.d.ts.map +0 -1
  591. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +0 -36
  592. package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js.map +0 -1
  593. package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts +0 -2
  594. package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts.map +0 -1
  595. package/dist-esm/samples-dev/storageAccountsUpdateSample.js +0 -110
  596. package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +0 -1
  597. package/dist-esm/samples-dev/usagesListByLocationSample.d.ts +0 -2
  598. package/dist-esm/samples-dev/usagesListByLocationSample.d.ts.map +0 -1
  599. package/dist-esm/samples-dev/usagesListByLocationSample.js +0 -51
  600. package/dist-esm/samples-dev/usagesListByLocationSample.js.map +0 -1
  601. package/dist-esm/src/index.d.ts +0 -5
  602. package/dist-esm/src/index.js.map +0 -1
  603. package/dist-esm/src/lroImpl.js +0 -29
  604. package/dist-esm/src/lroImpl.js.map +0 -1
  605. package/dist-esm/src/models/index.js.map +0 -1
  606. package/dist-esm/src/models/mappers.js.map +0 -1
  607. package/dist-esm/src/models/parameters.js.map +0 -1
  608. package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +0 -1
  609. package/dist-esm/src/operations/blobInventoryPolicies.js.map +0 -1
  610. package/dist-esm/src/operations/encryptionScopes.d.ts.map +0 -1
  611. package/dist-esm/src/operations/encryptionScopes.js.map +0 -1
  612. package/dist-esm/src/operations/index.d.ts +0 -11
  613. package/dist-esm/src/operations/index.d.ts.map +0 -1
  614. package/dist-esm/src/operations/index.js +0 -18
  615. package/dist-esm/src/operations/index.js.map +0 -1
  616. package/dist-esm/src/operations/managementPolicies.d.ts.map +0 -1
  617. package/dist-esm/src/operations/managementPolicies.js.map +0 -1
  618. package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
  619. package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +0 -1
  620. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  621. package/dist-esm/src/operations/operations.js.map +0 -1
  622. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  623. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  624. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  625. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  626. package/dist-esm/src/operations/skus.d.ts.map +0 -1
  627. package/dist-esm/src/operations/skus.js.map +0 -1
  628. package/dist-esm/src/operations/storageAccounts.d.ts.map +0 -1
  629. package/dist-esm/src/operations/storageAccounts.js.map +0 -1
  630. package/dist-esm/src/operations/usages.d.ts.map +0 -1
  631. package/dist-esm/src/operations/usages.js.map +0 -1
  632. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +0 -1
  633. package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +0 -1
  634. package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +0 -1
  635. package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +0 -1
  636. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
  637. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  638. package/dist-esm/src/operationsInterfaces/index.js +0 -18
  639. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  640. package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +0 -1
  641. package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +0 -1
  642. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +0 -1
  643. package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +0 -1
  644. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  645. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  646. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  647. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  648. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  649. package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
  650. package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +0 -1
  651. package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +0 -1
  652. package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
  653. package/dist-esm/src/pagingHelper.js.map +0 -1
  654. package/dist-esm/src/storageManagementClient.d.ts.map +0 -1
  655. package/dist-esm/src/storageManagementClient.js.map +0 -1
  656. package/dist-esm/test/sampleTest.d.ts +0 -2
  657. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  658. package/dist-esm/test/sampleTest.js +0 -42
  659. package/dist-esm/test/sampleTest.js.map +0 -1
  660. package/src/lroImpl.ts +0 -34
  661. package/src/models/index.ts +0 -2069
  662. package/src/models/mappers.ts +0 -3021
  663. package/src/models/parameters.ts +0 -288
  664. package/src/operations/blobInventoryPolicies.ts +0 -292
  665. package/src/operations/encryptionScopes.ts +0 -373
  666. package/src/operations/index.ts +0 -18
  667. package/src/operations/managementPolicies.ts +0 -172
  668. package/src/operations/objectReplicationPoliciesOperations.ts +0 -293
  669. package/src/operations/operations.ts +0 -100
  670. package/src/operations/privateEndpointConnections.ts +0 -299
  671. package/src/operations/privateLinkResources.ts +0 -72
  672. package/src/operations/skus.ts +0 -98
  673. package/src/operations/storageAccounts.ts +0 -1001
  674. package/src/operations/usages.ts +0 -114
  675. package/src/operationsInterfaces/blobInventoryPolicies.ts +0 -91
  676. package/src/operationsInterfaces/encryptionScopes.ts +0 -102
  677. package/src/operationsInterfaces/index.ts +0 -18
  678. package/src/operationsInterfaces/managementPolicies.ts +0 -74
  679. package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +0 -91
  680. package/src/operationsInterfaces/operations.ts +0 -22
  681. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -90
  682. package/src/operationsInterfaces/privateLinkResources.ts +0 -30
  683. package/src/operationsInterfaces/skus.ts +0 -22
  684. package/src/operationsInterfaces/storageAccounts.ts +0 -319
  685. package/src/operationsInterfaces/usages.ts +0 -24
  686. package/src/pagingHelper.ts +0 -39
  687. package/src/storageManagementClient.ts +0 -182
  688. package/tsconfig.json +0 -33
  689. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  690. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  691. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  692. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  693. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  694. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  695. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  696. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  697. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  698. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  699. /package/{dist-esm/src → dist/browser}/operationsInterfaces/blobInventoryPolicies.js +0 -0
  700. /package/{dist-esm/src → dist/browser}/operationsInterfaces/encryptionScopes.js +0 -0
  701. /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementPolicies.js +0 -0
  702. /package/{dist-esm/src → dist/browser}/operationsInterfaces/objectReplicationPoliciesOperations.js +0 -0
  703. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  704. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  705. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  706. /package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.js +0 -0
  707. /package/{dist-esm/src → dist/browser}/operationsInterfaces/storageAccounts.js +0 -0
  708. /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
  709. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  710. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  711. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -1,2596 +1,1849 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
6
-
7
- /** Defines values for AccessTier. */
8
- export declare type AccessTier = "Hot" | "Cool";
9
-
10
- /** The parameters to list SAS credentials of a storage account. */
11
- export declare interface AccountSasParameters {
12
- /** The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). */
13
- services: Services;
14
- /** The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. */
15
- resourceTypes: SignedResourceTypes;
16
- /** The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */
17
- permissions: Permissions_2;
18
- /** An IP address or a range of IP addresses from which to accept requests. */
19
- iPAddressOrRange?: string;
20
- /** The protocol permitted for a request made with the account SAS. */
21
- protocols?: HttpProtocol;
22
- /** The time at which the SAS becomes valid. */
23
- sharedAccessStartTime?: Date;
24
- /** The time at which the shared access signature becomes invalid. */
25
- sharedAccessExpiryTime: Date;
26
- /** The key to sign the account SAS token with. */
27
- keyToSign?: string;
28
- }
29
-
30
- /** Defines values for AccountStatus. */
31
- export declare type AccountStatus = "available" | "unavailable";
32
-
33
- /** Settings properties for Active Directory (AD). */
34
- export declare interface ActiveDirectoryProperties {
35
- /** Specifies the primary domain that the AD DNS server is authoritative for. */
36
- domainName: string;
37
- /** Specifies the NetBIOS domain name. */
38
- netBiosDomainName: string;
39
- /** Specifies the Active Directory forest to get. */
40
- forestName: string;
41
- /** Specifies the domain GUID. */
42
- domainGuid: string;
43
- /** Specifies the security identifier (SID). */
44
- domainSid: string;
45
- /** Specifies the security identifier (SID) for Azure Storage. */
46
- azureStorageSid: string;
47
- }
48
-
49
- /** Settings for Azure Files identity based authentication. */
50
- export declare interface AzureFilesIdentityBasedAuthentication {
51
- /** Indicates the directory service used. */
52
- directoryServiceOptions: DirectoryServiceOptions;
53
- /** Required if choose AD. */
54
- activeDirectoryProperties?: ActiveDirectoryProperties;
55
- }
56
-
57
- /** Interface representing a BlobInventoryPolicies. */
58
- export declare interface BlobInventoryPolicies {
59
- /**
60
- * Gets the blob inventory policy associated with the specified storage account.
61
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
62
- * case insensitive.
63
- * @param accountName The name of the storage account within the specified resource group. Storage
64
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
65
- * only.
66
- * @param options The options parameters.
67
- */
68
- list(resourceGroupName: string, accountName: string, options?: BlobInventoryPoliciesListOptionalParams): PagedAsyncIterableIterator<BlobInventoryPolicy>;
69
- /**
70
- * Gets the blob inventory policy associated with the specified storage account.
71
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
72
- * case insensitive.
73
- * @param accountName The name of the storage account within the specified resource group. Storage
74
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
75
- * only.
76
- * @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
77
- * always be 'default'
78
- * @param options The options parameters.
79
- */
80
- get(resourceGroupName: string, accountName: string, blobInventoryPolicyName: BlobInventoryPolicyName, options?: BlobInventoryPoliciesGetOptionalParams): Promise<BlobInventoryPoliciesGetResponse>;
81
- /**
82
- * Sets the blob inventory policy to the specified storage account.
83
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
84
- * case insensitive.
85
- * @param accountName The name of the storage account within the specified resource group. Storage
86
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
87
- * only.
88
- * @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
89
- * always be 'default'
90
- * @param properties The blob inventory policy set to a storage account.
91
- * @param options The options parameters.
92
- */
93
- createOrUpdate(resourceGroupName: string, accountName: string, blobInventoryPolicyName: BlobInventoryPolicyName, properties: BlobInventoryPolicy, options?: BlobInventoryPoliciesCreateOrUpdateOptionalParams): Promise<BlobInventoryPoliciesCreateOrUpdateResponse>;
94
- /**
95
- * Deletes the blob inventory policy associated with the specified storage account.
96
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
97
- * case insensitive.
98
- * @param accountName The name of the storage account within the specified resource group. Storage
99
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
100
- * only.
101
- * @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
102
- * always be 'default'
103
- * @param options The options parameters.
104
- */
105
- delete(resourceGroupName: string, accountName: string, blobInventoryPolicyName: BlobInventoryPolicyName, options?: BlobInventoryPoliciesDeleteOptionalParams): Promise<void>;
106
- }
107
-
108
- /** Optional parameters. */
109
- export declare interface BlobInventoryPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
110
- }
111
-
112
- /** Contains response data for the createOrUpdate operation. */
113
- export declare type BlobInventoryPoliciesCreateOrUpdateResponse = BlobInventoryPolicy;
114
-
115
- /** Optional parameters. */
116
- export declare interface BlobInventoryPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
117
- }
118
-
119
- /** Optional parameters. */
120
- export declare interface BlobInventoryPoliciesGetOptionalParams extends coreClient.OperationOptions {
121
- }
122
-
123
- /** Contains response data for the get operation. */
124
- export declare type BlobInventoryPoliciesGetResponse = BlobInventoryPolicy;
125
-
126
- /** Optional parameters. */
127
- export declare interface BlobInventoryPoliciesListOptionalParams extends coreClient.OperationOptions {
128
- }
129
-
130
- /** Contains response data for the list operation. */
131
- export declare type BlobInventoryPoliciesListResponse = ListBlobInventoryPolicy;
132
-
133
- /** The storage account blob inventory policy. */
134
- export declare interface BlobInventoryPolicy extends Resource {
135
- /**
136
- * Metadata pertaining to creation and last modification of the resource.
137
- * NOTE: This property will not be serialized. It can only be populated by the server.
138
- */
139
- readonly systemData?: SystemData;
140
- /**
141
- * Returns the last modified date and time of the blob inventory policy.
142
- * NOTE: This property will not be serialized. It can only be populated by the server.
143
- */
144
- readonly lastModifiedTime?: Date;
145
- /** The storage account blob inventory policy object. It is composed of policy rules. */
146
- policy?: BlobInventoryPolicySchema;
147
- }
148
-
149
- /** An object that defines the blob inventory rule. Each definition consists of a set of filters. */
150
- export declare interface BlobInventoryPolicyDefinition {
151
- /** An object that defines the filter set. */
152
- filters: BlobInventoryPolicyFilter;
153
- }
154
-
155
- /** An object that defines the blob inventory rule filter conditions. */
156
- export declare interface BlobInventoryPolicyFilter {
157
- /** An array of strings for blob prefixes to be matched. */
158
- prefixMatch?: string[];
159
- /** An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. */
160
- blobTypes: string[];
161
- /** Includes blob versions in blob inventory when value set to true. */
162
- includeBlobVersions?: boolean;
163
- /** Includes blob snapshots in blob inventory when value set to true. */
164
- includeSnapshots?: boolean;
165
- }
166
-
167
- /**
168
- * Defines values for BlobInventoryPolicyName. \
169
- * {@link KnownBlobInventoryPolicyName} can be used interchangeably with BlobInventoryPolicyName,
170
- * this enum contains the known values that the service supports.
171
- * ### Known values supported by the service
172
- * **default**
173
- */
174
- export declare type BlobInventoryPolicyName = string;
175
-
176
- /** An object that wraps the blob inventory rule. Each rule is uniquely defined by name. */
177
- export declare interface BlobInventoryPolicyRule {
178
- /** Rule is enabled when set to true. */
179
- enabled: boolean;
180
- /** A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. */
181
- name: string;
182
- /** An object that defines the blob inventory policy rule. */
183
- definition: BlobInventoryPolicyDefinition;
184
- }
185
-
186
- /** The storage account blob inventory policy rules. */
187
- export declare interface BlobInventoryPolicySchema {
188
- /** Policy is enabled if set to true. */
189
- enabled: boolean;
190
- /** Container name where blob inventory files are stored. Must be pre-created. */
191
- destination: string;
192
- /** The valid value is Inventory */
193
- type: InventoryRuleType;
194
- /** The storage account blob inventory policy rules. The rule is applied when it is enabled. */
195
- rules: BlobInventoryPolicyRule[];
196
- }
197
-
198
- /** Blob restore parameters */
199
- export declare interface BlobRestoreParameters {
200
- /** Restore blob to the specified time. */
201
- timeToRestore: Date;
202
- /** Blob ranges to restore. */
203
- blobRanges: BlobRestoreRange[];
204
- }
205
-
206
- /**
207
- * Defines values for BlobRestoreProgressStatus. \
208
- * {@link KnownBlobRestoreProgressStatus} can be used interchangeably with BlobRestoreProgressStatus,
209
- * this enum contains the known values that the service supports.
210
- * ### Known values supported by the service
211
- * **InProgress** \
212
- * **Complete** \
213
- * **Failed**
214
- */
215
- export declare type BlobRestoreProgressStatus = string;
216
-
217
- /** Blob range */
218
- export declare interface BlobRestoreRange {
219
- /** Blob start range. This is inclusive. Empty means account start. */
220
- startRange: string;
221
- /** Blob end range. This is exclusive. Empty means account end. */
222
- endRange: string;
223
- }
224
-
225
- /** Blob restore status. */
226
- export declare interface BlobRestoreStatus {
227
- /**
228
- * The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.
229
- * NOTE: This property will not be serialized. It can only be populated by the server.
230
- */
231
- readonly status?: BlobRestoreProgressStatus;
232
- /**
233
- * Failure reason when blob restore is failed.
234
- * NOTE: This property will not be serialized. It can only be populated by the server.
235
- */
236
- readonly failureReason?: string;
237
- /**
238
- * Id for tracking blob restore request.
239
- * NOTE: This property will not be serialized. It can only be populated by the server.
240
- */
241
- readonly restoreId?: string;
242
- /**
243
- * Blob restore request parameters.
244
- * NOTE: This property will not be serialized. It can only be populated by the server.
245
- */
246
- readonly parameters?: BlobRestoreParameters;
247
- }
248
-
249
- /**
250
- * Defines values for Bypass. \
251
- * {@link KnownBypass} can be used interchangeably with Bypass,
252
- * this enum contains the known values that the service supports.
253
- * ### Known values supported by the service
254
- * **None** \
255
- * **Logging** \
256
- * **Metrics** \
257
- * **AzureServices**
258
- */
259
- export declare type Bypass = string;
260
-
261
- /** The CheckNameAvailability operation response. */
262
- export declare interface CheckNameAvailabilityResult {
263
- /**
264
- * Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
265
- * NOTE: This property will not be serialized. It can only be populated by the server.
266
- */
267
- readonly nameAvailable?: boolean;
268
- /**
269
- * Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.
270
- * NOTE: This property will not be serialized. It can only be populated by the server.
271
- */
272
- readonly reason?: Reason;
273
- /**
274
- * Gets an error message explaining the Reason value in more detail.
275
- * NOTE: This property will not be serialized. It can only be populated by the server.
276
- */
277
- readonly message?: string;
278
- }
279
-
280
- /**
281
- * Defines values for CreatedByType. \
282
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
283
- * this enum contains the known values that the service supports.
284
- * ### Known values supported by the service
285
- * **User** \
286
- * **Application** \
287
- * **ManagedIdentity** \
288
- * **Key**
289
- */
290
- export declare type CreatedByType = string;
291
-
292
- /** The custom domain assigned to this storage account. This can be set via Update. */
293
- export declare interface CustomDomain {
294
- /** Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source. */
295
- name: string;
296
- /** Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates. */
297
- useSubDomainName?: boolean;
298
- }
299
-
300
- /** Object to define the number of days after creation. */
301
- export declare interface DateAfterCreation {
302
- /** Value indicating the age in days after creation */
303
- daysAfterCreationGreaterThan: number;
304
- }
305
-
306
- /** Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive. */
307
- export declare interface DateAfterModification {
308
- /** Value indicating the age in days after last modification */
309
- daysAfterModificationGreaterThan?: number;
310
- /** Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy */
311
- daysAfterLastAccessTimeGreaterThan?: number;
312
- }
313
-
314
- /** Defines values for DefaultAction. */
315
- export declare type DefaultAction = "Allow" | "Deny";
316
-
317
- /** Dimension of blobs, possibly be blob type or access tier. */
318
- export declare interface Dimension {
319
- /** Display name of dimension. */
320
- name?: string;
321
- /** Display name of dimension. */
322
- displayName?: string;
323
- }
324
-
325
- /**
326
- * Defines values for DirectoryServiceOptions. \
327
- * {@link KnownDirectoryServiceOptions} can be used interchangeably with DirectoryServiceOptions,
328
- * this enum contains the known values that the service supports.
329
- * ### Known values supported by the service
330
- * **None** \
331
- * **AADDS** \
332
- * **AD**
333
- */
334
- export declare type DirectoryServiceOptions = string;
335
-
336
- /** The encryption settings on the storage account. */
337
- export declare interface Encryption {
338
- /** List of services which support encryption. */
339
- services?: EncryptionServices;
340
- /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault */
341
- keySource: KeySource;
342
- /** A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. */
343
- requireInfrastructureEncryption?: boolean;
344
- /** Properties provided by key vault. */
345
- keyVaultProperties?: KeyVaultProperties;
346
- }
347
-
348
- /** The Encryption Scope resource. */
349
- export declare interface EncryptionScope extends Resource {
350
- /** The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. */
351
- source?: EncryptionScopeSource;
352
- /** The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. */
353
- state?: EncryptionScopeState;
354
- /**
355
- * Gets the creation date and time of the encryption scope in UTC.
356
- * NOTE: This property will not be serialized. It can only be populated by the server.
357
- */
358
- readonly creationTime?: Date;
359
- /**
360
- * Gets the last modification date and time of the encryption scope in UTC.
361
- * NOTE: This property will not be serialized. It can only be populated by the server.
362
- */
363
- readonly lastModifiedTime?: Date;
364
- /** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
365
- keyVaultProperties?: EncryptionScopeKeyVaultProperties;
366
- }
367
-
368
- /** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
369
- export declare interface EncryptionScopeKeyVaultProperties {
370
- /** The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. */
371
- keyUri?: string;
372
- }
373
-
374
- /** List of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes. */
375
- export declare interface EncryptionScopeListResult {
376
- /**
377
- * List of encryption scopes requested.
378
- * NOTE: This property will not be serialized. It can only be populated by the server.
379
- */
380
- readonly value?: EncryptionScope[];
381
- /**
382
- * Request URL that can be used to query next page of encryption scopes. Returned when total number of requested encryption scopes exceeds the maximum page size.
383
- * NOTE: This property will not be serialized. It can only be populated by the server.
384
- */
385
- readonly nextLink?: string;
386
- }
387
-
388
- /** Interface representing a EncryptionScopes. */
389
- export declare interface EncryptionScopes {
390
- /**
391
- * Lists all the encryption scopes available under the specified storage account.
392
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
393
- * case insensitive.
394
- * @param accountName The name of the storage account within the specified resource group. Storage
395
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
396
- * only.
397
- * @param options The options parameters.
398
- */
399
- list(resourceGroupName: string, accountName: string, options?: EncryptionScopesListOptionalParams): PagedAsyncIterableIterator<EncryptionScope>;
400
- /**
401
- * Synchronously creates or updates an encryption scope under the specified storage account. If an
402
- * encryption scope is already created and a subsequent request is issued with different properties,
403
- * the encryption scope properties will be updated per the specified request.
404
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
405
- * case insensitive.
406
- * @param accountName The name of the storage account within the specified resource group. Storage
407
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
408
- * only.
409
- * @param encryptionScopeName The name of the encryption scope within the specified storage account.
410
- * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
411
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
412
- * letter or number.
413
- * @param encryptionScope Encryption scope properties to be used for the create or update.
414
- * @param options The options parameters.
415
- */
416
- put(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: EncryptionScope, options?: EncryptionScopesPutOptionalParams): Promise<EncryptionScopesPutResponse>;
417
- /**
418
- * Update encryption scope properties as specified in the request body. Update fails if the specified
419
- * encryption scope does not already exist.
420
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
421
- * case insensitive.
422
- * @param accountName The name of the storage account within the specified resource group. Storage
423
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
424
- * only.
425
- * @param encryptionScopeName The name of the encryption scope within the specified storage account.
426
- * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
427
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
428
- * letter or number.
429
- * @param encryptionScope Encryption scope properties to be used for the update.
430
- * @param options The options parameters.
431
- */
432
- patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: EncryptionScope, options?: EncryptionScopesPatchOptionalParams): Promise<EncryptionScopesPatchResponse>;
433
- /**
434
- * Returns the properties for the specified encryption scope.
435
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
436
- * case insensitive.
437
- * @param accountName The name of the storage account within the specified resource group. Storage
438
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
439
- * only.
440
- * @param encryptionScopeName The name of the encryption scope within the specified storage account.
441
- * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
442
- * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
443
- * letter or number.
444
- * @param options The options parameters.
445
- */
446
- get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: EncryptionScopesGetOptionalParams): Promise<EncryptionScopesGetResponse>;
447
- }
448
-
449
- /** Optional parameters. */
450
- export declare interface EncryptionScopesGetOptionalParams extends coreClient.OperationOptions {
451
- }
452
-
453
- /** Contains response data for the get operation. */
454
- export declare type EncryptionScopesGetResponse = EncryptionScope;
455
-
456
- /** Optional parameters. */
457
- export declare interface EncryptionScopesListNextOptionalParams extends coreClient.OperationOptions {
458
- }
459
-
460
- /** Contains response data for the listNext operation. */
461
- export declare type EncryptionScopesListNextResponse = EncryptionScopeListResult;
462
-
463
- /** Optional parameters. */
464
- export declare interface EncryptionScopesListOptionalParams extends coreClient.OperationOptions {
465
- }
466
-
467
- /** Contains response data for the list operation. */
468
- export declare type EncryptionScopesListResponse = EncryptionScopeListResult;
469
-
470
- /**
471
- * Defines values for EncryptionScopeSource. \
472
- * {@link KnownEncryptionScopeSource} can be used interchangeably with EncryptionScopeSource,
473
- * this enum contains the known values that the service supports.
474
- * ### Known values supported by the service
475
- * **Microsoft.Storage** \
476
- * **Microsoft.KeyVault**
477
- */
478
- export declare type EncryptionScopeSource = string;
479
-
480
- /** Optional parameters. */
481
- export declare interface EncryptionScopesPatchOptionalParams extends coreClient.OperationOptions {
482
- }
483
-
484
- /** Contains response data for the patch operation. */
485
- export declare type EncryptionScopesPatchResponse = EncryptionScope;
486
-
487
- /** Optional parameters. */
488
- export declare interface EncryptionScopesPutOptionalParams extends coreClient.OperationOptions {
489
- }
490
-
491
- /** Contains response data for the put operation. */
492
- export declare type EncryptionScopesPutResponse = EncryptionScope;
493
-
494
- /**
495
- * Defines values for EncryptionScopeState. \
496
- * {@link KnownEncryptionScopeState} can be used interchangeably with EncryptionScopeState,
497
- * this enum contains the known values that the service supports.
498
- * ### Known values supported by the service
499
- * **Enabled** \
500
- * **Disabled**
501
- */
502
- export declare type EncryptionScopeState = string;
503
-
504
- /** A service that allows server-side encryption to be used. */
505
- export declare interface EncryptionService {
506
- /** A boolean indicating whether or not the service encrypts the data as it is stored. */
507
- enabled?: boolean;
508
- /**
509
- * Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate.
510
- * NOTE: This property will not be serialized. It can only be populated by the server.
511
- */
512
- readonly lastEnabledTime?: Date;
513
- /** Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. */
514
- keyType?: KeyType_2;
515
- }
516
-
517
- /** A list of services that support encryption. */
518
- export declare interface EncryptionServices {
519
- /** The encryption function of the blob storage service. */
520
- blob?: EncryptionService;
521
- /** The encryption function of the file storage service. */
522
- file?: EncryptionService;
523
- /** The encryption function of the table storage service. */
524
- table?: EncryptionService;
525
- /** The encryption function of the queue storage service. */
526
- queue?: EncryptionService;
527
- }
528
-
529
- /** The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object. */
530
- export declare interface Endpoints {
531
- /**
532
- * Gets the blob endpoint.
533
- * NOTE: This property will not be serialized. It can only be populated by the server.
534
- */
535
- readonly blob?: string;
536
- /**
537
- * Gets the queue endpoint.
538
- * NOTE: This property will not be serialized. It can only be populated by the server.
539
- */
540
- readonly queue?: string;
541
- /**
542
- * Gets the table endpoint.
543
- * NOTE: This property will not be serialized. It can only be populated by the server.
544
- */
545
- readonly table?: string;
546
- /**
547
- * Gets the file endpoint.
548
- * NOTE: This property will not be serialized. It can only be populated by the server.
549
- */
550
- readonly file?: string;
551
- /**
552
- * Gets the web endpoint.
553
- * NOTE: This property will not be serialized. It can only be populated by the server.
554
- */
555
- readonly web?: string;
556
- /**
557
- * Gets the dfs endpoint.
558
- * NOTE: This property will not be serialized. It can only be populated by the server.
559
- */
560
- readonly dfs?: string;
561
- /** Gets the microsoft routing storage endpoints. */
562
- microsoftEndpoints?: StorageAccountMicrosoftEndpoints;
563
- /** Gets the internet routing storage endpoints */
564
- internetEndpoints?: StorageAccountInternetEndpoints;
565
- }
566
-
567
- /** An error response from the storage resource provider. */
568
- export declare interface ErrorResponse {
569
- /** Azure Storage Resource Provider error response body. */
570
- error?: ErrorResponseBody;
571
- }
572
-
573
- /** Error response body contract. */
574
- export declare interface ErrorResponseBody {
575
- /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
576
- code?: string;
577
- /** A message describing the error, intended to be suitable for display in a user interface. */
578
- message?: string;
579
- }
580
-
581
- /** Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account. */
582
- export declare interface GeoReplicationStats {
583
- /**
584
- * The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.
585
- * NOTE: This property will not be serialized. It can only be populated by the server.
586
- */
587
- readonly status?: GeoReplicationStatus;
588
- /**
589
- * All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap.
590
- * NOTE: This property will not be serialized. It can only be populated by the server.
591
- */
592
- readonly lastSyncTime?: Date;
593
- /**
594
- * A boolean flag which indicates whether or not account failover is supported for the account.
595
- * NOTE: This property will not be serialized. It can only be populated by the server.
596
- */
597
- readonly canFailover?: boolean;
598
- }
599
-
600
- /**
601
- * Defines values for GeoReplicationStatus. \
602
- * {@link KnownGeoReplicationStatus} can be used interchangeably with GeoReplicationStatus,
603
- * this enum contains the known values that the service supports.
604
- * ### Known values supported by the service
605
- * **Live** \
606
- * **Bootstrap** \
607
- * **Unavailable**
608
- */
609
- export declare type GeoReplicationStatus = string;
610
-
611
- /**
612
- * Given the last `.value` produced by the `byPage` iterator,
613
- * returns a continuation token that can be used to begin paging from
614
- * that point later.
615
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
616
- * @returns The continuation token that can be passed into byPage() during future calls.
617
- */
618
- export declare function getContinuationToken(page: unknown): string | undefined;
619
-
620
- /** Defines values for HttpProtocol. */
621
- export declare type HttpProtocol = "https,http" | "https";
622
-
623
- /** Identity for the resource. */
624
- export declare interface Identity {
625
- /**
626
- * The principal ID of resource identity.
627
- * NOTE: This property will not be serialized. It can only be populated by the server.
628
- */
629
- readonly principalId?: string;
630
- /**
631
- * The tenant ID of resource.
632
- * NOTE: This property will not be serialized. It can only be populated by the server.
633
- */
634
- readonly tenantId?: string;
635
- /** The identity type. */
636
- type: "SystemAssigned";
637
- }
638
-
639
- /**
640
- * Defines values for InventoryRuleType. \
641
- * {@link KnownInventoryRuleType} can be used interchangeably with InventoryRuleType,
642
- * this enum contains the known values that the service supports.
643
- * ### Known values supported by the service
644
- * **Inventory**
645
- */
646
- export declare type InventoryRuleType = string;
647
-
648
- /** IP rule with specific IP or IP range in CIDR format. */
649
- export declare interface IPRule {
650
- /** Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. */
651
- iPAddressOrRange: string;
652
- /** The action of IP ACL rule. */
653
- action?: "Allow";
654
- }
655
-
656
- /** Defines values for KeyPermission. */
657
- export declare type KeyPermission = "Read" | "Full";
658
-
659
- /**
660
- * Defines values for KeySource. \
661
- * {@link KnownKeySource} can be used interchangeably with KeySource,
662
- * this enum contains the known values that the service supports.
663
- * ### Known values supported by the service
664
- * **Microsoft.Storage** \
665
- * **Microsoft.Keyvault**
666
- */
667
- export declare type KeySource = string;
668
-
669
- /**
670
- * Defines values for KeyType. \
671
- * {@link KnownKeyType} can be used interchangeably with KeyType,
672
- * this enum contains the known values that the service supports.
673
- * ### Known values supported by the service
674
- * **Service** \
675
- * **Account**
676
- */
677
- declare type KeyType_2 = string;
678
- export { KeyType_2 as KeyType }
679
-
680
- /** Properties of key vault. */
681
- export declare interface KeyVaultProperties {
682
- /** The name of KeyVault key. */
683
- keyName?: string;
684
- /** The version of KeyVault key. */
685
- keyVersion?: string;
686
- /** The Uri of KeyVault. */
687
- keyVaultUri?: string;
688
- /**
689
- * The object identifier of the current versioned Key Vault Key in use.
690
- * NOTE: This property will not be serialized. It can only be populated by the server.
691
- */
692
- readonly currentVersionedKeyIdentifier?: string;
693
- /**
694
- * Timestamp of last rotation of the Key Vault Key.
695
- * NOTE: This property will not be serialized. It can only be populated by the server.
696
- */
697
- readonly lastKeyRotationTimestamp?: Date;
698
- }
699
-
700
- /**
701
- * Defines values for Kind. \
702
- * {@link KnownKind} can be used interchangeably with Kind,
703
- * this enum contains the known values that the service supports.
704
- * ### Known values supported by the service
705
- * **Storage** \
706
- * **StorageV2** \
707
- * **BlobStorage** \
708
- * **FileStorage** \
709
- * **BlockBlobStorage**
710
- */
711
- export declare type Kind = string;
712
-
713
- /** Known values of {@link BlobInventoryPolicyName} that the service accepts. */
714
- export declare enum KnownBlobInventoryPolicyName {
715
- /** Default */
716
- Default = "default"
717
- }
718
-
719
- /** Known values of {@link BlobRestoreProgressStatus} that the service accepts. */
720
- export declare enum KnownBlobRestoreProgressStatus {
721
- /** InProgress */
722
- InProgress = "InProgress",
723
- /** Complete */
724
- Complete = "Complete",
725
- /** Failed */
726
- Failed = "Failed"
727
- }
728
-
729
- /** Known values of {@link Bypass} that the service accepts. */
730
- export declare enum KnownBypass {
731
- /** None */
732
- None = "None",
733
- /** Logging */
734
- Logging = "Logging",
735
- /** Metrics */
736
- Metrics = "Metrics",
737
- /** AzureServices */
738
- AzureServices = "AzureServices"
739
- }
740
-
741
- /** Known values of {@link CreatedByType} that the service accepts. */
742
- export declare enum KnownCreatedByType {
743
- /** User */
744
- User = "User",
745
- /** Application */
746
- Application = "Application",
747
- /** ManagedIdentity */
748
- ManagedIdentity = "ManagedIdentity",
749
- /** Key */
750
- Key = "Key"
751
- }
752
-
753
- /** Known values of {@link DirectoryServiceOptions} that the service accepts. */
754
- export declare enum KnownDirectoryServiceOptions {
755
- /** None */
756
- None = "None",
757
- /** Aadds */
758
- Aadds = "AADDS",
759
- /** AD */
760
- AD = "AD"
761
- }
762
-
763
- /** Known values of {@link EncryptionScopeSource} that the service accepts. */
764
- export declare enum KnownEncryptionScopeSource {
765
- /** MicrosoftStorage */
766
- MicrosoftStorage = "Microsoft.Storage",
767
- /** MicrosoftKeyVault */
768
- MicrosoftKeyVault = "Microsoft.KeyVault"
769
- }
770
-
771
- /** Known values of {@link EncryptionScopeState} that the service accepts. */
772
- export declare enum KnownEncryptionScopeState {
773
- /** Enabled */
774
- Enabled = "Enabled",
775
- /** Disabled */
776
- Disabled = "Disabled"
777
- }
778
-
779
- /** Known values of {@link GeoReplicationStatus} that the service accepts. */
780
- export declare enum KnownGeoReplicationStatus {
781
- /** Live */
782
- Live = "Live",
783
- /** Bootstrap */
784
- Bootstrap = "Bootstrap",
785
- /** Unavailable */
786
- Unavailable = "Unavailable"
787
- }
788
-
789
- /** Known values of {@link InventoryRuleType} that the service accepts. */
790
- export declare enum KnownInventoryRuleType {
791
- /** Inventory */
792
- Inventory = "Inventory"
793
- }
794
-
795
- /** Known values of {@link KeySource} that the service accepts. */
796
- export declare enum KnownKeySource {
797
- /** MicrosoftStorage */
798
- MicrosoftStorage = "Microsoft.Storage",
799
- /** MicrosoftKeyvault */
800
- MicrosoftKeyvault = "Microsoft.Keyvault"
801
- }
802
-
803
- /** Known values of {@link KeyType} that the service accepts. */
804
- export declare enum KnownKeyType {
805
- /** Service */
806
- Service = "Service",
807
- /** Account */
808
- Account = "Account"
809
- }
810
-
811
- /** Known values of {@link Kind} that the service accepts. */
812
- export declare enum KnownKind {
813
- /** Storage */
814
- Storage = "Storage",
815
- /** StorageV2 */
816
- StorageV2 = "StorageV2",
817
- /** BlobStorage */
818
- BlobStorage = "BlobStorage",
819
- /** FileStorage */
820
- FileStorage = "FileStorage",
821
- /** BlockBlobStorage */
822
- BlockBlobStorage = "BlockBlobStorage"
823
- }
824
-
825
- /** Known values of {@link LargeFileSharesState} that the service accepts. */
826
- export declare enum KnownLargeFileSharesState {
827
- /** Disabled */
828
- Disabled = "Disabled",
829
- /** Enabled */
830
- Enabled = "Enabled"
831
- }
832
-
833
- /** Known values of {@link ManagementPolicyName} that the service accepts. */
834
- export declare enum KnownManagementPolicyName {
835
- /** Default */
836
- Default = "default"
837
- }
838
-
839
- /** Known values of {@link MinimumTlsVersion} that the service accepts. */
840
- export declare enum KnownMinimumTlsVersion {
841
- /** TLS10 */
842
- TLS10 = "TLS1_0",
843
- /** TLS11 */
844
- TLS11 = "TLS1_1",
845
- /** TLS12 */
846
- TLS12 = "TLS1_2"
847
- }
848
-
849
- /** Known values of {@link Permissions} that the service accepts. */
850
- export declare enum KnownPermissions {
851
- /** R */
852
- R = "r",
853
- /** D */
854
- D = "d",
855
- /** W */
856
- W = "w",
857
- /** L */
858
- L = "l",
859
- /** A */
860
- A = "a",
861
- /** C */
862
- C = "c",
863
- /** U */
864
- U = "u",
865
- /** P */
866
- P = "p"
867
- }
868
-
869
- /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
870
- export declare enum KnownPrivateEndpointConnectionProvisioningState {
871
- /** Succeeded */
872
- Succeeded = "Succeeded",
873
- /** Creating */
874
- Creating = "Creating",
875
- /** Deleting */
876
- Deleting = "Deleting",
877
- /** Failed */
878
- Failed = "Failed"
879
- }
880
-
881
- /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
882
- export declare enum KnownPrivateEndpointServiceConnectionStatus {
883
- /** Pending */
884
- Pending = "Pending",
885
- /** Approved */
886
- Approved = "Approved",
887
- /** Rejected */
888
- Rejected = "Rejected"
889
- }
890
-
891
- /** Known values of {@link ReasonCode} that the service accepts. */
892
- export declare enum KnownReasonCode {
893
- /** QuotaId */
894
- QuotaId = "QuotaId",
895
- /** NotAvailableForSubscription */
896
- NotAvailableForSubscription = "NotAvailableForSubscription"
897
- }
898
-
899
- /** Known values of {@link RoutingChoice} that the service accepts. */
900
- export declare enum KnownRoutingChoice {
901
- /** MicrosoftRouting */
902
- MicrosoftRouting = "MicrosoftRouting",
903
- /** InternetRouting */
904
- InternetRouting = "InternetRouting"
905
- }
906
-
907
- /** Known values of {@link RuleType} that the service accepts. */
908
- export declare enum KnownRuleType {
909
- /** Lifecycle */
910
- Lifecycle = "Lifecycle"
911
- }
912
-
913
- /** Known values of {@link Services} that the service accepts. */
914
- export declare enum KnownServices {
915
- /** B */
916
- B = "b",
917
- /** Q */
918
- Q = "q",
919
- /** T */
920
- T = "t",
921
- /** F */
922
- F = "f"
923
- }
924
-
925
- /** Known values of {@link SignedResource} that the service accepts. */
926
- export declare enum KnownSignedResource {
927
- /** B */
928
- B = "b",
929
- /** C */
930
- C = "c",
931
- /** F */
932
- F = "f",
933
- /** S */
934
- S = "s"
935
- }
936
-
937
- /** Known values of {@link SignedResourceTypes} that the service accepts. */
938
- export declare enum KnownSignedResourceTypes {
939
- /** S */
940
- S = "s",
941
- /** C */
942
- C = "c",
943
- /** O */
944
- O = "o"
945
- }
946
-
947
- /** Known values of {@link SkuName} that the service accepts. */
948
- export declare enum KnownSkuName {
949
- /** StandardLRS */
950
- StandardLRS = "Standard_LRS",
951
- /** StandardGRS */
952
- StandardGRS = "Standard_GRS",
953
- /** StandardRagrs */
954
- StandardRagrs = "Standard_RAGRS",
955
- /** StandardZRS */
956
- StandardZRS = "Standard_ZRS",
957
- /** PremiumLRS */
958
- PremiumLRS = "Premium_LRS",
959
- /** PremiumZRS */
960
- PremiumZRS = "Premium_ZRS",
961
- /** StandardGzrs */
962
- StandardGzrs = "Standard_GZRS",
963
- /** StandardRagzrs */
964
- StandardRagzrs = "Standard_RAGZRS"
965
- }
966
-
967
- /**
968
- * Defines values for LargeFileSharesState. \
969
- * {@link KnownLargeFileSharesState} can be used interchangeably with LargeFileSharesState,
970
- * this enum contains the known values that the service supports.
971
- * ### Known values supported by the service
972
- * **Disabled** \
973
- * **Enabled**
974
- */
975
- export declare type LargeFileSharesState = string;
976
-
977
- /** The List SAS credentials operation response. */
978
- export declare interface ListAccountSasResponse {
979
- /**
980
- * List SAS credentials of storage account.
981
- * NOTE: This property will not be serialized. It can only be populated by the server.
982
- */
983
- readonly accountSasToken?: string;
984
- }
985
-
986
- /** List of blob inventory policies returned. */
987
- export declare interface ListBlobInventoryPolicy {
988
- /**
989
- * List of blob inventory policies.
990
- * NOTE: This property will not be serialized. It can only be populated by the server.
991
- */
992
- readonly value?: BlobInventoryPolicy[];
993
- }
994
-
995
- /** The List service SAS credentials operation response. */
996
- export declare interface ListServiceSasResponse {
997
- /**
998
- * List service SAS credentials of specific resource.
999
- * NOTE: This property will not be serialized. It can only be populated by the server.
1000
- */
1001
- readonly serviceSasToken?: string;
1002
- }
1003
-
1004
- /** Interface representing a ManagementPolicies. */
1005
- export declare interface ManagementPolicies {
1006
- /**
1007
- * Gets the managementpolicy associated with the specified storage account.
1008
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1009
- * case insensitive.
1010
- * @param accountName The name of the storage account within the specified resource group. Storage
1011
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1012
- * only.
1013
- * @param managementPolicyName The name of the Storage Account Management Policy. It should always be
1014
- * 'default'
1015
- * @param options The options parameters.
1016
- */
1017
- get(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, options?: ManagementPoliciesGetOptionalParams): Promise<ManagementPoliciesGetResponse>;
1018
- /**
1019
- * Sets the managementpolicy to the specified storage account.
1020
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1021
- * case insensitive.
1022
- * @param accountName The name of the storage account within the specified resource group. Storage
1023
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1024
- * only.
1025
- * @param managementPolicyName The name of the Storage Account Management Policy. It should always be
1026
- * 'default'
1027
- * @param properties The ManagementPolicy set to a storage account.
1028
- * @param options The options parameters.
1029
- */
1030
- createOrUpdate(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, properties: ManagementPolicy, options?: ManagementPoliciesCreateOrUpdateOptionalParams): Promise<ManagementPoliciesCreateOrUpdateResponse>;
1031
- /**
1032
- * Deletes the managementpolicy associated with the specified storage account.
1033
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1034
- * case insensitive.
1035
- * @param accountName The name of the storage account within the specified resource group. Storage
1036
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1037
- * only.
1038
- * @param managementPolicyName The name of the Storage Account Management Policy. It should always be
1039
- * 'default'
1040
- * @param options The options parameters.
1041
- */
1042
- delete(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, options?: ManagementPoliciesDeleteOptionalParams): Promise<void>;
1043
- }
1044
-
1045
- /** Optional parameters. */
1046
- export declare interface ManagementPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1047
- }
1048
-
1049
- /** Contains response data for the createOrUpdate operation. */
1050
- export declare type ManagementPoliciesCreateOrUpdateResponse = ManagementPolicy;
1051
-
1052
- /** Optional parameters. */
1053
- export declare interface ManagementPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
1054
- }
1055
-
1056
- /** Optional parameters. */
1057
- export declare interface ManagementPoliciesGetOptionalParams extends coreClient.OperationOptions {
1058
- }
1059
-
1060
- /** Contains response data for the get operation. */
1061
- export declare type ManagementPoliciesGetResponse = ManagementPolicy;
1062
-
1063
- /** The Get Storage Account ManagementPolicies operation response. */
1064
- export declare interface ManagementPolicy extends Resource {
1065
- /**
1066
- * Returns the date and time the ManagementPolicies was last modified.
1067
- * NOTE: This property will not be serialized. It can only be populated by the server.
1068
- */
1069
- readonly lastModifiedTime?: Date;
1070
- /** The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
1071
- policy?: ManagementPolicySchema;
1072
- }
1073
-
1074
- /** Actions are applied to the filtered blobs when the execution condition is met. */
1075
- export declare interface ManagementPolicyAction {
1076
- /** The management policy action for base blob */
1077
- baseBlob?: ManagementPolicyBaseBlob;
1078
- /** The management policy action for snapshot */
1079
- snapshot?: ManagementPolicySnapShot;
1080
- /** The management policy action for version */
1081
- version?: ManagementPolicyVersion;
1082
- }
1083
-
1084
- /** Management policy action for base blob. */
1085
- export declare interface ManagementPolicyBaseBlob {
1086
- /** The function to tier blobs to cool storage. Support blobs currently at Hot tier */
1087
- tierToCool?: DateAfterModification;
1088
- /** The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier */
1089
- tierToArchive?: DateAfterModification;
1090
- /** The function to delete the blob */
1091
- delete?: DateAfterModification;
1092
- /** This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. */
1093
- enableAutoTierToHotFromCool?: boolean;
1094
- }
1095
-
1096
- /** An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set. */
1097
- export declare interface ManagementPolicyDefinition {
1098
- /** An object that defines the action set. */
1099
- actions: ManagementPolicyAction;
1100
- /** An object that defines the filter set. */
1101
- filters?: ManagementPolicyFilter;
1102
- }
1103
-
1104
- /** Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. */
1105
- export declare interface ManagementPolicyFilter {
1106
- /** An array of strings for prefixes to be match. */
1107
- prefixMatch?: string[];
1108
- /** An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. */
1109
- blobTypes: string[];
1110
- /** An array of blob index tag based filters, there can be at most 10 tag filters */
1111
- blobIndexMatch?: TagFilter[];
1112
- }
1113
-
1114
- /**
1115
- * Defines values for ManagementPolicyName. \
1116
- * {@link KnownManagementPolicyName} can be used interchangeably with ManagementPolicyName,
1117
- * this enum contains the known values that the service supports.
1118
- * ### Known values supported by the service
1119
- * **default**
1120
- */
1121
- export declare type ManagementPolicyName = string;
1122
-
1123
- /** An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. */
1124
- export declare interface ManagementPolicyRule {
1125
- /** Rule is enabled if set to true. */
1126
- enabled?: boolean;
1127
- /** A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. */
1128
- name: string;
1129
- /** The valid value is Lifecycle */
1130
- type: RuleType;
1131
- /** An object that defines the Lifecycle rule. */
1132
- definition: ManagementPolicyDefinition;
1133
- }
1134
-
1135
- /** The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
1136
- export declare interface ManagementPolicySchema {
1137
- /** The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
1138
- rules: ManagementPolicyRule[];
1139
- }
1140
-
1141
- /** Management policy action for snapshot. */
1142
- export declare interface ManagementPolicySnapShot {
1143
- /** The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier */
1144
- tierToCool?: DateAfterCreation;
1145
- /** The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier */
1146
- tierToArchive?: DateAfterCreation;
1147
- /** The function to delete the blob snapshot */
1148
- delete?: DateAfterCreation;
1149
- }
1150
-
1151
- /** Management policy action for blob version. */
1152
- export declare interface ManagementPolicyVersion {
1153
- /** The function to tier blob version to cool storage. Support blob version currently at Hot tier */
1154
- tierToCool?: DateAfterCreation;
1155
- /** The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier */
1156
- tierToArchive?: DateAfterCreation;
1157
- /** The function to delete the blob version */
1158
- delete?: DateAfterCreation;
1159
- }
1160
-
1161
- /** Metric specification of operation. */
1162
- export declare interface MetricSpecification {
1163
- /** Name of metric specification. */
1164
- name?: string;
1165
- /** Display name of metric specification. */
1166
- displayName?: string;
1167
- /** Display description of metric specification. */
1168
- displayDescription?: string;
1169
- /** Unit could be Bytes or Count. */
1170
- unit?: string;
1171
- /** Dimensions of blobs, including blob type and access tier. */
1172
- dimensions?: Dimension[];
1173
- /** Aggregation type could be Average. */
1174
- aggregationType?: string;
1175
- /** The property to decide fill gap with zero or not. */
1176
- fillGapWithZero?: boolean;
1177
- /** The category this metric specification belong to, could be Capacity. */
1178
- category?: string;
1179
- /** Account Resource Id. */
1180
- resourceIdDimensionNameOverride?: string;
1181
- }
1182
-
1183
- /**
1184
- * Defines values for MinimumTlsVersion. \
1185
- * {@link KnownMinimumTlsVersion} can be used interchangeably with MinimumTlsVersion,
1186
- * this enum contains the known values that the service supports.
1187
- * ### Known values supported by the service
1188
- * **TLS1_0** \
1189
- * **TLS1_1** \
1190
- * **TLS1_2**
1191
- */
1192
- export declare type MinimumTlsVersion = string;
1193
-
1194
- /** Network rule set */
1195
- export declare interface NetworkRuleSet {
1196
- /** Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. */
1197
- bypass?: Bypass;
1198
- /** Sets the virtual network rules */
1199
- virtualNetworkRules?: VirtualNetworkRule[];
1200
- /** Sets the IP ACL rules */
1201
- ipRules?: IPRule[];
1202
- /** Specifies the default action of allow or deny when no other rules match. */
1203
- defaultAction: DefaultAction;
1204
- }
1205
-
1206
- /** List storage account object replication policies. */
1207
- export declare interface ObjectReplicationPolicies {
1208
- /** The replication policy between two storage accounts. */
1209
- value?: ObjectReplicationPolicy[];
1210
- }
1211
-
1212
- /** Optional parameters. */
1213
- export declare interface ObjectReplicationPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1214
- }
1215
-
1216
- /** Contains response data for the createOrUpdate operation. */
1217
- export declare type ObjectReplicationPoliciesCreateOrUpdateResponse = ObjectReplicationPolicy;
1218
-
1219
- /** Optional parameters. */
1220
- export declare interface ObjectReplicationPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
1221
- }
1222
-
1223
- /** Optional parameters. */
1224
- export declare interface ObjectReplicationPoliciesGetOptionalParams extends coreClient.OperationOptions {
1225
- }
1226
-
1227
- /** Contains response data for the get operation. */
1228
- export declare type ObjectReplicationPoliciesGetResponse = ObjectReplicationPolicy;
1229
-
1230
- /** Optional parameters. */
1231
- export declare interface ObjectReplicationPoliciesListOptionalParams extends coreClient.OperationOptions {
1232
- }
1233
-
1234
- /** Contains response data for the list operation. */
1235
- export declare type ObjectReplicationPoliciesListResponse = ObjectReplicationPolicies;
1236
-
1237
- /** Interface representing a ObjectReplicationPoliciesOperations. */
1238
- export declare interface ObjectReplicationPoliciesOperations {
1239
- /**
1240
- * List the object replication policies associated with the storage account.
1241
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1242
- * case insensitive.
1243
- * @param accountName The name of the storage account within the specified resource group. Storage
1244
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1245
- * only.
1246
- * @param options The options parameters.
1247
- */
1248
- list(resourceGroupName: string, accountName: string, options?: ObjectReplicationPoliciesListOptionalParams): PagedAsyncIterableIterator<ObjectReplicationPolicy>;
1249
- /**
1250
- * Get the object replication policy of the storage account by policy ID.
1251
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1252
- * case insensitive.
1253
- * @param accountName The name of the storage account within the specified resource group. Storage
1254
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1255
- * only.
1256
- * @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy ID
1257
- * is unknown.
1258
- * @param options The options parameters.
1259
- */
1260
- get(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options?: ObjectReplicationPoliciesGetOptionalParams): Promise<ObjectReplicationPoliciesGetResponse>;
1261
- /**
1262
- * Create or update the object replication policy of the storage account.
1263
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1264
- * case insensitive.
1265
- * @param accountName The name of the storage account within the specified resource group. Storage
1266
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1267
- * only.
1268
- * @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy ID
1269
- * is unknown.
1270
- * @param properties The object replication policy set to a storage account. A unique policy ID will be
1271
- * created if absent.
1272
- * @param options The options parameters.
1273
- */
1274
- createOrUpdate(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, properties: ObjectReplicationPolicy, options?: ObjectReplicationPoliciesCreateOrUpdateOptionalParams): Promise<ObjectReplicationPoliciesCreateOrUpdateResponse>;
1275
- /**
1276
- * Deletes the object replication policy associated with the specified storage account.
1277
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1278
- * case insensitive.
1279
- * @param accountName The name of the storage account within the specified resource group. Storage
1280
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1281
- * only.
1282
- * @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy ID
1283
- * is unknown.
1284
- * @param options The options parameters.
1285
- */
1286
- delete(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options?: ObjectReplicationPoliciesDeleteOptionalParams): Promise<void>;
1287
- }
1288
-
1289
- /** The replication policy between two storage accounts. Multiple rules can be defined in one policy. */
1290
- export declare interface ObjectReplicationPolicy extends Resource {
1291
- /**
1292
- * A unique id for object replication policy.
1293
- * NOTE: This property will not be serialized. It can only be populated by the server.
1294
- */
1295
- readonly policyId?: string;
1296
- /**
1297
- * Indicates when the policy is enabled on the source account.
1298
- * NOTE: This property will not be serialized. It can only be populated by the server.
1299
- */
1300
- readonly enabledTime?: Date;
1301
- /** Required. Source account name. */
1302
- sourceAccount?: string;
1303
- /** Required. Destination account name. */
1304
- destinationAccount?: string;
1305
- /** The storage account object replication rules. */
1306
- rules?: ObjectReplicationPolicyRule[];
1307
- }
1308
-
1309
- /** Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters. */
1310
- export declare interface ObjectReplicationPolicyFilter {
1311
- /** Optional. Filters the results to replicate only blobs whose names begin with the specified prefix. */
1312
- prefixMatch?: string[];
1313
- /** Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z */
1314
- minCreationTime?: string;
1315
- }
1316
-
1317
- /** The replication policy rule between two containers. */
1318
- export declare interface ObjectReplicationPolicyRule {
1319
- /** Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account. */
1320
- ruleId?: string;
1321
- /** Required. Source container name. */
1322
- sourceContainer: string;
1323
- /** Required. Destination container name. */
1324
- destinationContainer: string;
1325
- /** Optional. An object that defines the filter set. */
1326
- filters?: ObjectReplicationPolicyFilter;
1327
- }
1328
-
1329
- /** Storage REST API operation definition. */
1330
- export declare interface Operation {
1331
- /** Operation name: {provider}/{resource}/{operation} */
1332
- name?: string;
1333
- /** Display metadata associated with the operation. */
1334
- display?: OperationDisplay;
1335
- /** The origin of operations. */
1336
- origin?: string;
1337
- /** One property of operation, include metric specifications. */
1338
- serviceSpecification?: ServiceSpecification;
1339
- }
1340
-
1341
- /** Display metadata associated with the operation. */
1342
- export declare interface OperationDisplay {
1343
- /** Service provider: Microsoft Storage. */
1344
- provider?: string;
1345
- /** Resource on which the operation is performed etc. */
1346
- resource?: string;
1347
- /** Type of operation: get, read, delete, etc. */
1348
- operation?: string;
1349
- /** Description of the operation. */
1350
- description?: string;
1351
- }
1352
-
1353
- /** Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. */
1354
- export declare interface OperationListResult {
1355
- /** List of Storage operations supported by the Storage resource provider. */
1356
- value?: Operation[];
1357
- }
1358
-
1359
- /** Interface representing a Operations. */
1360
- export declare interface Operations {
1361
- /**
1362
- * Lists all of the available Storage Rest API operations.
1363
- * @param options The options parameters.
1364
- */
1365
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1366
- }
1367
-
1368
- /** Optional parameters. */
1369
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1370
- }
1371
-
1372
- /** Contains response data for the list operation. */
1373
- export declare type OperationsListResponse = OperationListResult;
1374
-
1375
- /**
1376
- * Defines values for Permissions. \
1377
- * {@link KnownPermissions} can be used interchangeably with Permissions,
1378
- * this enum contains the known values that the service supports.
1379
- * ### Known values supported by the service
1380
- * **r** \
1381
- * **d** \
1382
- * **w** \
1383
- * **l** \
1384
- * **a** \
1385
- * **c** \
1386
- * **u** \
1387
- * **p**
1388
- */
1389
- declare type Permissions_2 = string;
1390
- export { Permissions_2 as Permissions }
1391
-
1392
- /** The Private Endpoint resource. */
1393
- export declare interface PrivateEndpoint {
1394
- /**
1395
- * The ARM identifier for Private Endpoint
1396
- * NOTE: This property will not be serialized. It can only be populated by the server.
1397
- */
1398
- readonly id?: string;
1399
- }
1400
-
1401
- /** The Private Endpoint Connection resource. */
1402
- export declare interface PrivateEndpointConnection extends Resource {
1403
- /** The resource of private end point. */
1404
- privateEndpoint?: PrivateEndpoint;
1405
- /** A collection of information about the state of the connection between service consumer and provider. */
1406
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1407
- /**
1408
- * The provisioning state of the private endpoint connection resource.
1409
- * NOTE: This property will not be serialized. It can only be populated by the server.
1410
- */
1411
- readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1412
- }
1413
-
1414
- /** List of private endpoint connection associated with the specified storage account */
1415
- export declare interface PrivateEndpointConnectionListResult {
1416
- /** Array of private endpoint connections */
1417
- value?: PrivateEndpointConnection[];
1418
- }
1419
-
1420
- /**
1421
- * Defines values for PrivateEndpointConnectionProvisioningState. \
1422
- * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1423
- * this enum contains the known values that the service supports.
1424
- * ### Known values supported by the service
1425
- * **Succeeded** \
1426
- * **Creating** \
1427
- * **Deleting** \
1428
- * **Failed**
1429
- */
1430
- export declare type PrivateEndpointConnectionProvisioningState = string;
1431
-
1432
- /** Interface representing a PrivateEndpointConnections. */
1433
- export declare interface PrivateEndpointConnections {
1434
- /**
1435
- * List all the private endpoint connections associated with the storage account.
1436
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1437
- * case insensitive.
1438
- * @param accountName The name of the storage account within the specified resource group. Storage
1439
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1440
- * only.
1441
- * @param options The options parameters.
1442
- */
1443
- list(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
1444
- /**
1445
- * Gets the specified private endpoint connection associated with the storage account.
1446
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1447
- * case insensitive.
1448
- * @param accountName The name of the storage account within the specified resource group. Storage
1449
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1450
- * only.
1451
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1452
- * Azure resource
1453
- * @param options The options parameters.
1454
- */
1455
- get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
1456
- /**
1457
- * Update the state of specified private endpoint connection associated with the storage account.
1458
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1459
- * case insensitive.
1460
- * @param accountName The name of the storage account within the specified resource group. Storage
1461
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1462
- * only.
1463
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1464
- * Azure resource
1465
- * @param properties The private endpoint connection properties.
1466
- * @param options The options parameters.
1467
- */
1468
- put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
1469
- /**
1470
- * Deletes the specified private endpoint connection associated with the storage account.
1471
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1472
- * case insensitive.
1473
- * @param accountName The name of the storage account within the specified resource group. Storage
1474
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1475
- * only.
1476
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1477
- * Azure resource
1478
- * @param options The options parameters.
1479
- */
1480
- delete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
1481
- }
1482
-
1483
- /** Optional parameters. */
1484
- export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1485
- }
1486
-
1487
- /** Optional parameters. */
1488
- export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1489
- }
1490
-
1491
- /** Contains response data for the get operation. */
1492
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1493
-
1494
- /** Optional parameters. */
1495
- export declare interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
1496
- }
1497
-
1498
- /** Contains response data for the list operation. */
1499
- export declare type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
1500
-
1501
- /** Optional parameters. */
1502
- export declare interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
1503
- }
1504
-
1505
- /** Contains response data for the put operation. */
1506
- export declare type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection;
1507
-
1508
- /**
1509
- * Defines values for PrivateEndpointServiceConnectionStatus. \
1510
- * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1511
- * this enum contains the known values that the service supports.
1512
- * ### Known values supported by the service
1513
- * **Pending** \
1514
- * **Approved** \
1515
- * **Rejected**
1516
- */
1517
- export declare type PrivateEndpointServiceConnectionStatus = string;
1518
-
1519
- /** A private link resource */
1520
- export declare interface PrivateLinkResource extends Resource {
1521
- /**
1522
- * The private link resource group id.
1523
- * NOTE: This property will not be serialized. It can only be populated by the server.
1524
- */
1525
- readonly groupId?: string;
1526
- /**
1527
- * The private link resource required member names.
1528
- * NOTE: This property will not be serialized. It can only be populated by the server.
1529
- */
1530
- readonly requiredMembers?: string[];
1531
- /** The private link resource Private link DNS zone name. */
1532
- requiredZoneNames?: string[];
1533
- }
1534
-
1535
- /** A list of private link resources */
1536
- export declare interface PrivateLinkResourceListResult {
1537
- /** Array of private link resources */
1538
- value?: PrivateLinkResource[];
1539
- }
1540
-
1541
- /** Interface representing a PrivateLinkResources. */
1542
- export declare interface PrivateLinkResources {
1543
- /**
1544
- * Gets the private link resources that need to be created for a storage account.
1545
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
1546
- * case insensitive.
1547
- * @param accountName The name of the storage account within the specified resource group. Storage
1548
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
1549
- * only.
1550
- * @param options The options parameters.
1551
- */
1552
- listByStorageAccount(resourceGroupName: string, accountName: string, options?: PrivateLinkResourcesListByStorageAccountOptionalParams): Promise<PrivateLinkResourcesListByStorageAccountResponse>;
1553
- }
1554
-
1555
- /** Optional parameters. */
1556
- export declare interface PrivateLinkResourcesListByStorageAccountOptionalParams extends coreClient.OperationOptions {
1557
- }
1558
-
1559
- /** Contains response data for the listByStorageAccount operation. */
1560
- export declare type PrivateLinkResourcesListByStorageAccountResponse = PrivateLinkResourceListResult;
1561
-
1562
- /** A collection of information about the state of the connection between service consumer and provider. */
1563
- export declare interface PrivateLinkServiceConnectionState {
1564
- /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1565
- status?: PrivateEndpointServiceConnectionStatus;
1566
- /** The reason for approval/rejection of the connection. */
1567
- description?: string;
1568
- /** A message indicating if changes on the service provider require any updates on the consumer. */
1569
- actionRequired?: string;
1570
- }
1571
-
1572
- /** Defines values for ProvisioningState. */
1573
- export declare type ProvisioningState = "Creating" | "ResolvingDNS" | "Succeeded";
1574
-
1575
- /** Defines values for Reason. */
1576
- export declare type Reason = "AccountNameInvalid" | "AlreadyExists";
1577
-
1578
- /**
1579
- * Defines values for ReasonCode. \
1580
- * {@link KnownReasonCode} can be used interchangeably with ReasonCode,
1581
- * this enum contains the known values that the service supports.
1582
- * ### Known values supported by the service
1583
- * **QuotaId** \
1584
- * **NotAvailableForSubscription**
1585
- */
1586
- export declare type ReasonCode = string;
1587
-
1588
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
1589
- export declare interface Resource {
1590
- /**
1591
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1592
- * NOTE: This property will not be serialized. It can only be populated by the server.
1593
- */
1594
- readonly id?: string;
1595
- /**
1596
- * The name of the resource
1597
- * NOTE: This property will not be serialized. It can only be populated by the server.
1598
- */
1599
- readonly name?: string;
1600
- /**
1601
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1602
- * NOTE: This property will not be serialized. It can only be populated by the server.
1603
- */
1604
- readonly type?: string;
1605
- }
1606
-
1607
- /** The restriction because of which SKU cannot be used. */
1608
- export declare interface Restriction {
1609
- /**
1610
- * The type of restrictions. As of now only possible value for this is location.
1611
- * NOTE: This property will not be serialized. It can only be populated by the server.
1612
- */
1613
- readonly type?: string;
1614
- /**
1615
- * The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
1616
- * NOTE: This property will not be serialized. It can only be populated by the server.
1617
- */
1618
- readonly values?: string[];
1619
- /** The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. */
1620
- reasonCode?: ReasonCode;
1621
- }
1622
-
1623
- /**
1624
- * Defines values for RoutingChoice. \
1625
- * {@link KnownRoutingChoice} can be used interchangeably with RoutingChoice,
1626
- * this enum contains the known values that the service supports.
1627
- * ### Known values supported by the service
1628
- * **MicrosoftRouting** \
1629
- * **InternetRouting**
1630
- */
1631
- export declare type RoutingChoice = string;
1632
-
1633
- /** Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing */
1634
- export declare interface RoutingPreference {
1635
- /** Routing Choice defines the kind of network routing opted by the user. */
1636
- routingChoice?: RoutingChoice;
1637
- /** A boolean flag which indicates whether microsoft routing storage endpoints are to be published */
1638
- publishMicrosoftEndpoints?: boolean;
1639
- /** A boolean flag which indicates whether internet routing storage endpoints are to be published */
1640
- publishInternetEndpoints?: boolean;
1641
- }
1642
-
1643
- /**
1644
- * Defines values for RuleType. \
1645
- * {@link KnownRuleType} can be used interchangeably with RuleType,
1646
- * this enum contains the known values that the service supports.
1647
- * ### Known values supported by the service
1648
- * **Lifecycle**
1649
- */
1650
- export declare type RuleType = string;
1651
-
1652
- /**
1653
- * Defines values for Services. \
1654
- * {@link KnownServices} can be used interchangeably with Services,
1655
- * this enum contains the known values that the service supports.
1656
- * ### Known values supported by the service
1657
- * **b** \
1658
- * **q** \
1659
- * **t** \
1660
- * **f**
1661
- */
1662
- export declare type Services = string;
1663
-
1664
- /** The parameters to list service SAS credentials of a specific resource. */
1665
- export declare interface ServiceSasParameters {
1666
- /** The canonical path to the signed resource. */
1667
- canonicalizedResource: string;
1668
- /** The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). */
1669
- resource?: SignedResource;
1670
- /** The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */
1671
- permissions?: Permissions_2;
1672
- /** An IP address or a range of IP addresses from which to accept requests. */
1673
- iPAddressOrRange?: string;
1674
- /** The protocol permitted for a request made with the account SAS. */
1675
- protocols?: HttpProtocol;
1676
- /** The time at which the SAS becomes valid. */
1677
- sharedAccessStartTime?: Date;
1678
- /** The time at which the shared access signature becomes invalid. */
1679
- sharedAccessExpiryTime?: Date;
1680
- /** A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. */
1681
- identifier?: string;
1682
- /** The start of partition key. */
1683
- partitionKeyStart?: string;
1684
- /** The end of partition key. */
1685
- partitionKeyEnd?: string;
1686
- /** The start of row key. */
1687
- rowKeyStart?: string;
1688
- /** The end of row key. */
1689
- rowKeyEnd?: string;
1690
- /** The key to sign the account SAS token with. */
1691
- keyToSign?: string;
1692
- /** The response header override for cache control. */
1693
- cacheControl?: string;
1694
- /** The response header override for content disposition. */
1695
- contentDisposition?: string;
1696
- /** The response header override for content encoding. */
1697
- contentEncoding?: string;
1698
- /** The response header override for content language. */
1699
- contentLanguage?: string;
1700
- /** The response header override for content type. */
1701
- contentType?: string;
1702
- }
1703
-
1704
- /** One property of operation, include metric specifications. */
1705
- export declare interface ServiceSpecification {
1706
- /** Metric specifications of operation. */
1707
- metricSpecifications?: MetricSpecification[];
1708
- }
1709
-
1710
- /**
1711
- * Defines values for SignedResource. \
1712
- * {@link KnownSignedResource} can be used interchangeably with SignedResource,
1713
- * this enum contains the known values that the service supports.
1714
- * ### Known values supported by the service
1715
- * **b** \
1716
- * **c** \
1717
- * **f** \
1718
- * **s**
1719
- */
1720
- export declare type SignedResource = string;
1721
-
1722
- /**
1723
- * Defines values for SignedResourceTypes. \
1724
- * {@link KnownSignedResourceTypes} can be used interchangeably with SignedResourceTypes,
1725
- * this enum contains the known values that the service supports.
1726
- * ### Known values supported by the service
1727
- * **s** \
1728
- * **c** \
1729
- * **o**
1730
- */
1731
- export declare type SignedResourceTypes = string;
1732
-
1733
- /** The SKU of the storage account. */
1734
- export declare interface Sku {
1735
- /** The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. */
1736
- name: SkuName;
1737
- /**
1738
- * The SKU tier. This is based on the SKU name.
1739
- * NOTE: This property will not be serialized. It can only be populated by the server.
1740
- */
1741
- readonly tier?: SkuTier;
1742
- }
1743
-
1744
- /** The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. */
1745
- export declare interface SKUCapability {
1746
- /**
1747
- * The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
1748
- * NOTE: This property will not be serialized. It can only be populated by the server.
1749
- */
1750
- readonly name?: string;
1751
- /**
1752
- * A string value to indicate states of given capability. Possibly 'true' or 'false'.
1753
- * NOTE: This property will not be serialized. It can only be populated by the server.
1754
- */
1755
- readonly value?: string;
1756
- }
1757
-
1758
- /** Storage SKU and its properties */
1759
- export declare interface SkuInformation {
1760
- /** The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. */
1761
- name: SkuName;
1762
- /**
1763
- * The SKU tier. This is based on the SKU name.
1764
- * NOTE: This property will not be serialized. It can only be populated by the server.
1765
- */
1766
- readonly tier?: SkuTier;
1767
- /**
1768
- * The type of the resource, usually it is 'storageAccounts'.
1769
- * NOTE: This property will not be serialized. It can only be populated by the server.
1770
- */
1771
- readonly resourceType?: string;
1772
- /**
1773
- * Indicates the type of storage account.
1774
- * NOTE: This property will not be serialized. It can only be populated by the server.
1775
- */
1776
- readonly kind?: Kind;
1777
- /**
1778
- * The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
1779
- * NOTE: This property will not be serialized. It can only be populated by the server.
1780
- */
1781
- readonly locations?: string[];
1782
- /**
1783
- * The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
1784
- * NOTE: This property will not be serialized. It can only be populated by the server.
1785
- */
1786
- readonly capabilities?: SKUCapability[];
1787
- /** The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. */
1788
- restrictions?: Restriction[];
1789
- }
1790
-
1791
- /**
1792
- * Defines values for SkuName. \
1793
- * {@link KnownSkuName} can be used interchangeably with SkuName,
1794
- * this enum contains the known values that the service supports.
1795
- * ### Known values supported by the service
1796
- * **Standard_LRS** \
1797
- * **Standard_GRS** \
1798
- * **Standard_RAGRS** \
1799
- * **Standard_ZRS** \
1800
- * **Premium_LRS** \
1801
- * **Premium_ZRS** \
1802
- * **Standard_GZRS** \
1803
- * **Standard_RAGZRS**
1804
- */
1805
- export declare type SkuName = string;
1806
-
1807
- /** Interface representing a Skus. */
1808
- export declare interface Skus {
1809
- /**
1810
- * Lists the available SKUs supported by Microsoft.Storage for given subscription.
1811
- * @param options The options parameters.
1812
- */
1813
- list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
1814
- }
1815
-
1816
- /** Optional parameters. */
1817
- export declare interface SkusListOptionalParams extends coreClient.OperationOptions {
1818
- }
1819
-
1820
- /** Contains response data for the list operation. */
1821
- export declare type SkusListResponse = StorageSkuListResult;
1822
-
1823
- /** Defines values for SkuTier. */
1824
- export declare type SkuTier = "Standard" | "Premium";
1825
-
1826
- /** Defines values for State. */
1827
- export declare type State = "provisioning" | "deprovisioning" | "succeeded" | "failed" | "networkSourceDeleted";
1828
-
1829
- /** The storage account. */
1830
- export declare interface StorageAccount extends TrackedResource {
1831
- /**
1832
- * Gets the SKU.
1833
- * NOTE: This property will not be serialized. It can only be populated by the server.
1834
- */
1835
- readonly sku?: Sku;
1836
- /**
1837
- * Gets the Kind.
1838
- * NOTE: This property will not be serialized. It can only be populated by the server.
1839
- */
1840
- readonly kind?: Kind;
1841
- /** The identity of the resource. */
1842
- identity?: Identity;
1843
- /**
1844
- * Gets the status of the storage account at the time the operation was called.
1845
- * NOTE: This property will not be serialized. It can only be populated by the server.
1846
- */
1847
- readonly provisioningState?: ProvisioningState;
1848
- /**
1849
- * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.
1850
- * NOTE: This property will not be serialized. It can only be populated by the server.
1851
- */
1852
- readonly primaryEndpoints?: Endpoints;
1853
- /**
1854
- * Gets the location of the primary data center for the storage account.
1855
- * NOTE: This property will not be serialized. It can only be populated by the server.
1856
- */
1857
- readonly primaryLocation?: string;
1858
- /**
1859
- * Gets the status indicating whether the primary location of the storage account is available or unavailable.
1860
- * NOTE: This property will not be serialized. It can only be populated by the server.
1861
- */
1862
- readonly statusOfPrimary?: AccountStatus;
1863
- /**
1864
- * Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.
1865
- * NOTE: This property will not be serialized. It can only be populated by the server.
1866
- */
1867
- readonly lastGeoFailoverTime?: Date;
1868
- /**
1869
- * Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.
1870
- * NOTE: This property will not be serialized. It can only be populated by the server.
1871
- */
1872
- readonly secondaryLocation?: string;
1873
- /**
1874
- * Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.
1875
- * NOTE: This property will not be serialized. It can only be populated by the server.
1876
- */
1877
- readonly statusOfSecondary?: AccountStatus;
1878
- /**
1879
- * Gets the creation date and time of the storage account in UTC.
1880
- * NOTE: This property will not be serialized. It can only be populated by the server.
1881
- */
1882
- readonly creationTime?: Date;
1883
- /**
1884
- * Gets the custom domain the user assigned to this storage account.
1885
- * NOTE: This property will not be serialized. It can only be populated by the server.
1886
- */
1887
- readonly customDomain?: CustomDomain;
1888
- /**
1889
- * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.
1890
- * NOTE: This property will not be serialized. It can only be populated by the server.
1891
- */
1892
- readonly secondaryEndpoints?: Endpoints;
1893
- /**
1894
- * Gets the encryption settings on the account. If unspecified, the account is unencrypted.
1895
- * NOTE: This property will not be serialized. It can only be populated by the server.
1896
- */
1897
- readonly encryption?: Encryption;
1898
- /**
1899
- * Required for storage accounts where kind = BlobStorage. The access tier used for billing.
1900
- * NOTE: This property will not be serialized. It can only be populated by the server.
1901
- */
1902
- readonly accessTier?: AccessTier;
1903
- /** Provides the identity based authentication settings for Azure Files. */
1904
- azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
1905
- /** Allows https traffic only to storage service if sets to true. */
1906
- enableHttpsTrafficOnly?: boolean;
1907
- /**
1908
- * Network rule set
1909
- * NOTE: This property will not be serialized. It can only be populated by the server.
1910
- */
1911
- readonly networkRuleSet?: NetworkRuleSet;
1912
- /** Account HierarchicalNamespace enabled if sets to true. */
1913
- isHnsEnabled?: boolean;
1914
- /**
1915
- * Geo Replication Stats
1916
- * NOTE: This property will not be serialized. It can only be populated by the server.
1917
- */
1918
- readonly geoReplicationStats?: GeoReplicationStats;
1919
- /**
1920
- * If the failover is in progress, the value will be true, otherwise, it will be null.
1921
- * NOTE: This property will not be serialized. It can only be populated by the server.
1922
- */
1923
- readonly failoverInProgress?: boolean;
1924
- /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
1925
- largeFileSharesState?: LargeFileSharesState;
1926
- /**
1927
- * List of private endpoint connection associated with the specified storage account
1928
- * NOTE: This property will not be serialized. It can only be populated by the server.
1929
- */
1930
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
1931
- /** Maintains information about the network routing choice opted by the user for data transfer */
1932
- routingPreference?: RoutingPreference;
1933
- /**
1934
- * Blob restore status
1935
- * NOTE: This property will not be serialized. It can only be populated by the server.
1936
- */
1937
- readonly blobRestoreStatus?: BlobRestoreStatus;
1938
- /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
1939
- allowBlobPublicAccess?: boolean;
1940
- /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
1941
- minimumTlsVersion?: MinimumTlsVersion;
1942
- /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
1943
- allowSharedKeyAccess?: boolean;
1944
- }
1945
-
1946
- /** The parameters used to check the availability of the storage account name. */
1947
- export declare interface StorageAccountCheckNameAvailabilityParameters {
1948
- /** The storage account name. */
1949
- name: string;
1950
- /** The type of resource, Microsoft.Storage/storageAccounts */
1951
- type: "Microsoft.Storage/storageAccounts";
1952
- }
1953
-
1954
- /** The parameters used when creating a storage account. */
1955
- export declare interface StorageAccountCreateParameters {
1956
- /** Required. Gets or sets the SKU name. */
1957
- sku: Sku;
1958
- /** Required. Indicates the type of storage account. */
1959
- kind: Kind;
1960
- /** Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. */
1961
- location: string;
1962
- /** Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. */
1963
- tags?: {
1964
- [propertyName: string]: string;
1965
- };
1966
- /** The identity of the resource. */
1967
- identity?: Identity;
1968
- /** User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
1969
- customDomain?: CustomDomain;
1970
- /** Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled. */
1971
- encryption?: Encryption;
1972
- /** Network rule set */
1973
- networkRuleSet?: NetworkRuleSet;
1974
- /** Required for storage accounts where kind = BlobStorage. The access tier used for billing. */
1975
- accessTier?: AccessTier;
1976
- /** Provides the identity based authentication settings for Azure Files. */
1977
- azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
1978
- /** Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. */
1979
- enableHttpsTrafficOnly?: boolean;
1980
- /** Account HierarchicalNamespace enabled if sets to true. */
1981
- isHnsEnabled?: boolean;
1982
- /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
1983
- largeFileSharesState?: LargeFileSharesState;
1984
- /** Maintains information about the network routing choice opted by the user for data transfer */
1985
- routingPreference?: RoutingPreference;
1986
- /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
1987
- allowBlobPublicAccess?: boolean;
1988
- /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
1989
- minimumTlsVersion?: MinimumTlsVersion;
1990
- /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
1991
- allowSharedKeyAccess?: boolean;
1992
- }
1993
-
1994
- /** Defines values for StorageAccountExpand. */
1995
- export declare type StorageAccountExpand = "geoReplicationStats" | "blobRestoreStatus";
1996
-
1997
- /** The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint. */
1998
- export declare interface StorageAccountInternetEndpoints {
1999
- /**
2000
- * Gets the blob endpoint.
2001
- * NOTE: This property will not be serialized. It can only be populated by the server.
2002
- */
2003
- readonly blob?: string;
2004
- /**
2005
- * Gets the file endpoint.
2006
- * NOTE: This property will not be serialized. It can only be populated by the server.
2007
- */
2008
- readonly file?: string;
2009
- /**
2010
- * Gets the web endpoint.
2011
- * NOTE: This property will not be serialized. It can only be populated by the server.
2012
- */
2013
- readonly web?: string;
2014
- /**
2015
- * Gets the dfs endpoint.
2016
- * NOTE: This property will not be serialized. It can only be populated by the server.
2017
- */
2018
- readonly dfs?: string;
2019
- }
2020
-
2021
- /** An access key for the storage account. */
2022
- export declare interface StorageAccountKey {
2023
- /**
2024
- * Name of the key.
2025
- * NOTE: This property will not be serialized. It can only be populated by the server.
2026
- */
2027
- readonly keyName?: string;
2028
- /**
2029
- * Base 64-encoded value of the key.
2030
- * NOTE: This property will not be serialized. It can only be populated by the server.
2031
- */
2032
- readonly value?: string;
2033
- /**
2034
- * Permissions for the key -- read-only or full permissions.
2035
- * NOTE: This property will not be serialized. It can only be populated by the server.
2036
- */
2037
- readonly permissions?: KeyPermission;
2038
- }
2039
-
2040
- /** The response from the ListKeys operation. */
2041
- export declare interface StorageAccountListKeysResult {
2042
- /**
2043
- * Gets the list of storage account keys and their properties for the specified storage account.
2044
- * NOTE: This property will not be serialized. It can only be populated by the server.
2045
- */
2046
- readonly keys?: StorageAccountKey[];
2047
- }
2048
-
2049
- /** The response from the List Storage Accounts operation. */
2050
- export declare interface StorageAccountListResult {
2051
- /**
2052
- * Gets the list of storage accounts and their properties.
2053
- * NOTE: This property will not be serialized. It can only be populated by the server.
2054
- */
2055
- readonly value?: StorageAccount[];
2056
- /**
2057
- * Request URL that can be used to query next page of storage accounts. Returned when total number of requested storage accounts exceed maximum page size.
2058
- * NOTE: This property will not be serialized. It can only be populated by the server.
2059
- */
2060
- readonly nextLink?: string;
2061
- }
2062
-
2063
- /** The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint. */
2064
- export declare interface StorageAccountMicrosoftEndpoints {
2065
- /**
2066
- * Gets the blob endpoint.
2067
- * NOTE: This property will not be serialized. It can only be populated by the server.
2068
- */
2069
- readonly blob?: string;
2070
- /**
2071
- * Gets the queue endpoint.
2072
- * NOTE: This property will not be serialized. It can only be populated by the server.
2073
- */
2074
- readonly queue?: string;
2075
- /**
2076
- * Gets the table endpoint.
2077
- * NOTE: This property will not be serialized. It can only be populated by the server.
2078
- */
2079
- readonly table?: string;
2080
- /**
2081
- * Gets the file endpoint.
2082
- * NOTE: This property will not be serialized. It can only be populated by the server.
2083
- */
2084
- readonly file?: string;
2085
- /**
2086
- * Gets the web endpoint.
2087
- * NOTE: This property will not be serialized. It can only be populated by the server.
2088
- */
2089
- readonly web?: string;
2090
- /**
2091
- * Gets the dfs endpoint.
2092
- * NOTE: This property will not be serialized. It can only be populated by the server.
2093
- */
2094
- readonly dfs?: string;
2095
- }
2096
-
2097
- /** The parameters used to regenerate the storage account key. */
2098
- export declare interface StorageAccountRegenerateKeyParameters {
2099
- /** The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2. */
2100
- keyName: string;
2101
- }
2102
-
2103
- /** Interface representing a StorageAccounts. */
2104
- export declare interface StorageAccounts {
2105
- /**
2106
- * Lists all the storage accounts available under the subscription. Note that storage keys are not
2107
- * returned; use the ListKeys operation for this.
2108
- * @param options The options parameters.
2109
- */
2110
- list(options?: StorageAccountsListOptionalParams): PagedAsyncIterableIterator<StorageAccount>;
2111
- /**
2112
- * Lists all the storage accounts available under the given resource group. Note that storage keys are
2113
- * not returned; use the ListKeys operation for this.
2114
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2115
- * case insensitive.
2116
- * @param options The options parameters.
2117
- */
2118
- listByResourceGroup(resourceGroupName: string, options?: StorageAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StorageAccount>;
2119
- /**
2120
- * Checks that the storage account name is valid and is not already in use.
2121
- * @param accountName The name of the storage account within the specified resource group. Storage
2122
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2123
- * only.
2124
- * @param options The options parameters.
2125
- */
2126
- checkNameAvailability(accountName: StorageAccountCheckNameAvailabilityParameters, options?: StorageAccountsCheckNameAvailabilityOptionalParams): Promise<StorageAccountsCheckNameAvailabilityResponse>;
2127
- /**
2128
- * Asynchronously creates a new storage account with the specified parameters. If an account is already
2129
- * created and a subsequent create request is issued with different properties, the account properties
2130
- * will be updated. If an account is already created and a subsequent create or update request is
2131
- * issued with the exact same set of properties, the request will succeed.
2132
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2133
- * case insensitive.
2134
- * @param accountName The name of the storage account within the specified resource group. Storage
2135
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2136
- * only.
2137
- * @param parameters The parameters to provide for the created account.
2138
- * @param options The options parameters.
2139
- */
2140
- beginCreate(resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountsCreateResponse>, StorageAccountsCreateResponse>>;
2141
- /**
2142
- * Asynchronously creates a new storage account with the specified parameters. If an account is already
2143
- * created and a subsequent create request is issued with different properties, the account properties
2144
- * will be updated. If an account is already created and a subsequent create or update request is
2145
- * issued with the exact same set of properties, the request will succeed.
2146
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2147
- * case insensitive.
2148
- * @param accountName The name of the storage account within the specified resource group. Storage
2149
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2150
- * only.
2151
- * @param parameters The parameters to provide for the created account.
2152
- * @param options The options parameters.
2153
- */
2154
- beginCreateAndWait(resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): Promise<StorageAccountsCreateResponse>;
2155
- /**
2156
- * Deletes a storage account in Microsoft Azure.
2157
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2158
- * case insensitive.
2159
- * @param accountName The name of the storage account within the specified resource group. Storage
2160
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2161
- * only.
2162
- * @param options The options parameters.
2163
- */
2164
- delete(resourceGroupName: string, accountName: string, options?: StorageAccountsDeleteOptionalParams): Promise<void>;
2165
- /**
2166
- * Returns the properties for the specified storage account including but not limited to name, SKU
2167
- * name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
2168
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2169
- * case insensitive.
2170
- * @param accountName The name of the storage account within the specified resource group. Storage
2171
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2172
- * only.
2173
- * @param options The options parameters.
2174
- */
2175
- getProperties(resourceGroupName: string, accountName: string, options?: StorageAccountsGetPropertiesOptionalParams): Promise<StorageAccountsGetPropertiesResponse>;
2176
- /**
2177
- * The update operation can be used to update the SKU, encryption, access tier, or tags for a storage
2178
- * account. It can also be used to map the account to a custom domain. Only one custom domain is
2179
- * supported per storage account; the replacement/change of custom domain is not supported. In order to
2180
- * replace an old custom domain, the old value must be cleared/unregistered before a new value can be
2181
- * set. The update of multiple properties is supported. This call does not change the storage keys for
2182
- * the account. If you want to change the storage account keys, use the regenerate keys operation. The
2183
- * location and name of the storage account cannot be changed after creation.
2184
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2185
- * case insensitive.
2186
- * @param accountName The name of the storage account within the specified resource group. Storage
2187
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2188
- * only.
2189
- * @param parameters The parameters to provide for the updated account.
2190
- * @param options The options parameters.
2191
- */
2192
- update(resourceGroupName: string, accountName: string, parameters: StorageAccountUpdateParameters, options?: StorageAccountsUpdateOptionalParams): Promise<StorageAccountsUpdateResponse>;
2193
- /**
2194
- * Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage
2195
- * account.
2196
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2197
- * case insensitive.
2198
- * @param accountName The name of the storage account within the specified resource group. Storage
2199
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2200
- * only.
2201
- * @param options The options parameters.
2202
- */
2203
- listKeys(resourceGroupName: string, accountName: string, options?: StorageAccountsListKeysOptionalParams): Promise<StorageAccountsListKeysResponse>;
2204
- /**
2205
- * Regenerates one of the access keys or Kerberos keys for the specified storage account.
2206
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2207
- * case insensitive.
2208
- * @param accountName The name of the storage account within the specified resource group. Storage
2209
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2210
- * only.
2211
- * @param regenerateKey Specifies name of the key which should be regenerated -- key1, key2, kerb1,
2212
- * kerb2.
2213
- * @param options The options parameters.
2214
- */
2215
- regenerateKey(resourceGroupName: string, accountName: string, regenerateKey: StorageAccountRegenerateKeyParameters, options?: StorageAccountsRegenerateKeyOptionalParams): Promise<StorageAccountsRegenerateKeyResponse>;
2216
- /**
2217
- * List SAS credentials of a storage account.
2218
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2219
- * case insensitive.
2220
- * @param accountName The name of the storage account within the specified resource group. Storage
2221
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2222
- * only.
2223
- * @param parameters The parameters to provide to list SAS credentials for the storage account.
2224
- * @param options The options parameters.
2225
- */
2226
- listAccountSAS(resourceGroupName: string, accountName: string, parameters: AccountSasParameters, options?: StorageAccountsListAccountSASOptionalParams): Promise<StorageAccountsListAccountSASResponse>;
2227
- /**
2228
- * List service SAS credentials of a specific resource.
2229
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2230
- * case insensitive.
2231
- * @param accountName The name of the storage account within the specified resource group. Storage
2232
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2233
- * only.
2234
- * @param parameters The parameters to provide to list service SAS credentials.
2235
- * @param options The options parameters.
2236
- */
2237
- listServiceSAS(resourceGroupName: string, accountName: string, parameters: ServiceSasParameters, options?: StorageAccountsListServiceSASOptionalParams): Promise<StorageAccountsListServiceSASResponse>;
2238
- /**
2239
- * Failover request can be triggered for a storage account in case of availability issues. The failover
2240
- * occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The
2241
- * secondary cluster will become primary after failover.
2242
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2243
- * case insensitive.
2244
- * @param accountName The name of the storage account within the specified resource group. Storage
2245
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2246
- * only.
2247
- * @param options The options parameters.
2248
- */
2249
- beginFailover(resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2250
- /**
2251
- * Failover request can be triggered for a storage account in case of availability issues. The failover
2252
- * occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The
2253
- * secondary cluster will become primary after failover.
2254
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2255
- * case insensitive.
2256
- * @param accountName The name of the storage account within the specified resource group. Storage
2257
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2258
- * only.
2259
- * @param options The options parameters.
2260
- */
2261
- beginFailoverAndWait(resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): Promise<void>;
2262
- /**
2263
- * Restore blobs in the specified blob ranges
2264
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2265
- * case insensitive.
2266
- * @param accountName The name of the storage account within the specified resource group. Storage
2267
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2268
- * only.
2269
- * @param parameters The parameters to provide for restore blob ranges.
2270
- * @param options The options parameters.
2271
- */
2272
- beginRestoreBlobRanges(resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountsRestoreBlobRangesResponse>, StorageAccountsRestoreBlobRangesResponse>>;
2273
- /**
2274
- * Restore blobs in the specified blob ranges
2275
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2276
- * case insensitive.
2277
- * @param accountName The name of the storage account within the specified resource group. Storage
2278
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2279
- * only.
2280
- * @param parameters The parameters to provide for restore blob ranges.
2281
- * @param options The options parameters.
2282
- */
2283
- beginRestoreBlobRangesAndWait(resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): Promise<StorageAccountsRestoreBlobRangesResponse>;
2284
- /**
2285
- * Revoke user delegation keys.
2286
- * @param resourceGroupName The name of the resource group within the user's subscription. The name is
2287
- * case insensitive.
2288
- * @param accountName The name of the storage account within the specified resource group. Storage
2289
- * account names must be between 3 and 24 characters in length and use numbers and lower-case letters
2290
- * only.
2291
- * @param options The options parameters.
2292
- */
2293
- revokeUserDelegationKeys(resourceGroupName: string, accountName: string, options?: StorageAccountsRevokeUserDelegationKeysOptionalParams): Promise<void>;
2294
- }
2295
-
2296
- /** Optional parameters. */
2297
- export declare interface StorageAccountsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
2298
- }
2299
-
2300
- /** Contains response data for the checkNameAvailability operation. */
2301
- export declare type StorageAccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
2302
-
2303
- /** Optional parameters. */
2304
- export declare interface StorageAccountsCreateOptionalParams extends coreClient.OperationOptions {
2305
- /** Delay to wait until next poll, in milliseconds. */
2306
- updateIntervalInMs?: number;
2307
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2308
- resumeFrom?: string;
2309
- }
2310
-
2311
- /** Contains response data for the create operation. */
2312
- export declare type StorageAccountsCreateResponse = StorageAccount;
2313
-
2314
- /** Optional parameters. */
2315
- export declare interface StorageAccountsDeleteOptionalParams extends coreClient.OperationOptions {
2316
- }
2317
-
2318
- /** Optional parameters. */
2319
- export declare interface StorageAccountsFailoverOptionalParams extends coreClient.OperationOptions {
2320
- /** Delay to wait until next poll, in milliseconds. */
2321
- updateIntervalInMs?: number;
2322
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2323
- resumeFrom?: string;
2324
- }
2325
-
2326
- /** Optional parameters. */
2327
- export declare interface StorageAccountsGetPropertiesOptionalParams extends coreClient.OperationOptions {
2328
- /** May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. */
2329
- expand?: StorageAccountExpand;
2330
- }
2331
-
2332
- /** Contains response data for the getProperties operation. */
2333
- export declare type StorageAccountsGetPropertiesResponse = StorageAccount;
2334
-
2335
- /** Optional parameters. */
2336
- export declare interface StorageAccountsListAccountSASOptionalParams extends coreClient.OperationOptions {
2337
- }
2338
-
2339
- /** Contains response data for the listAccountSAS operation. */
2340
- export declare type StorageAccountsListAccountSASResponse = ListAccountSasResponse;
2341
-
2342
- /** Optional parameters. */
2343
- export declare interface StorageAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2344
- }
2345
-
2346
- /** Contains response data for the listByResourceGroup operation. */
2347
- export declare type StorageAccountsListByResourceGroupResponse = StorageAccountListResult;
2348
-
2349
- /** Optional parameters. */
2350
- export declare interface StorageAccountsListKeysOptionalParams extends coreClient.OperationOptions {
2351
- }
2352
-
2353
- /** Contains response data for the listKeys operation. */
2354
- export declare type StorageAccountsListKeysResponse = StorageAccountListKeysResult;
2355
-
2356
- /** Optional parameters. */
2357
- export declare interface StorageAccountsListNextOptionalParams extends coreClient.OperationOptions {
2358
- }
2359
-
2360
- /** Contains response data for the listNext operation. */
2361
- export declare type StorageAccountsListNextResponse = StorageAccountListResult;
2362
-
2363
- /** Optional parameters. */
2364
- export declare interface StorageAccountsListOptionalParams extends coreClient.OperationOptions {
2365
- }
2366
-
2367
- /** Contains response data for the list operation. */
2368
- export declare type StorageAccountsListResponse = StorageAccountListResult;
2369
-
2370
- /** Optional parameters. */
2371
- export declare interface StorageAccountsListServiceSASOptionalParams extends coreClient.OperationOptions {
2372
- }
2373
-
2374
- /** Contains response data for the listServiceSAS operation. */
2375
- export declare type StorageAccountsListServiceSASResponse = ListServiceSasResponse;
2376
-
2377
- /** Optional parameters. */
2378
- export declare interface StorageAccountsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
2379
- }
2380
-
2381
- /** Contains response data for the regenerateKey operation. */
2382
- export declare type StorageAccountsRegenerateKeyResponse = StorageAccountListKeysResult;
2383
-
2384
- /** Optional parameters. */
2385
- export declare interface StorageAccountsRestoreBlobRangesOptionalParams extends coreClient.OperationOptions {
2386
- /** Delay to wait until next poll, in milliseconds. */
2387
- updateIntervalInMs?: number;
2388
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2389
- resumeFrom?: string;
2390
- }
2391
-
2392
- /** Contains response data for the restoreBlobRanges operation. */
2393
- export declare type StorageAccountsRestoreBlobRangesResponse = BlobRestoreStatus;
2394
-
2395
- /** Optional parameters. */
2396
- export declare interface StorageAccountsRevokeUserDelegationKeysOptionalParams extends coreClient.OperationOptions {
2397
- }
2398
-
2399
- /** Optional parameters. */
2400
- export declare interface StorageAccountsUpdateOptionalParams extends coreClient.OperationOptions {
2401
- }
2402
-
2403
- /** Contains response data for the update operation. */
2404
- export declare type StorageAccountsUpdateResponse = StorageAccount;
2405
-
2406
- /** The parameters that can be provided when updating the storage account properties. */
2407
- export declare interface StorageAccountUpdateParameters {
2408
- /** Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value. */
2409
- sku?: Sku;
2410
- /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
2411
- tags?: {
2412
- [propertyName: string]: string;
2413
- };
2414
- /** The identity of the resource. */
2415
- identity?: Identity;
2416
- /** Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. */
2417
- kind?: Kind;
2418
- /** Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
2419
- customDomain?: CustomDomain;
2420
- /** Provides the encryption settings on the account. The default setting is unencrypted. */
2421
- encryption?: Encryption;
2422
- /** Required for storage accounts where kind = BlobStorage. The access tier used for billing. */
2423
- accessTier?: AccessTier;
2424
- /** Provides the identity based authentication settings for Azure Files. */
2425
- azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
2426
- /** Allows https traffic only to storage service if sets to true. */
2427
- enableHttpsTrafficOnly?: boolean;
2428
- /** Network rule set */
2429
- networkRuleSet?: NetworkRuleSet;
2430
- /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
2431
- largeFileSharesState?: LargeFileSharesState;
2432
- /** Maintains information about the network routing choice opted by the user for data transfer */
2433
- routingPreference?: RoutingPreference;
2434
- /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
2435
- allowBlobPublicAccess?: boolean;
2436
- /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
2437
- minimumTlsVersion?: MinimumTlsVersion;
2438
- /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
2439
- allowSharedKeyAccess?: boolean;
2440
- }
2441
-
2442
- export declare class StorageManagementClient extends coreClient.ServiceClient {
2443
- $host: string;
2444
- apiVersion: string;
2445
- subscriptionId: string;
2446
- /**
2447
- * Initializes a new instance of the StorageManagementClient class.
2448
- * @param credentials Subscription credentials which uniquely identify client subscription.
2449
- * @param subscriptionId The ID of the target subscription.
2450
- * @param options The parameter options
2451
- */
2452
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StorageManagementClientOptionalParams);
2453
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
2454
- private addCustomApiVersionPolicy;
2455
- operations: Operations;
2456
- skus: Skus;
2457
- storageAccounts: StorageAccounts;
2458
- usages: Usages;
2459
- managementPolicies: ManagementPolicies;
2460
- blobInventoryPolicies: BlobInventoryPolicies;
2461
- privateEndpointConnections: PrivateEndpointConnections;
2462
- privateLinkResources: PrivateLinkResources;
2463
- objectReplicationPoliciesOperations: ObjectReplicationPoliciesOperations;
2464
- encryptionScopes: EncryptionScopes;
2465
- }
2466
-
2467
- /** Optional parameters. */
2468
- export declare interface StorageManagementClientOptionalParams extends coreClient.ServiceClientOptions {
2469
- /** server parameter */
2470
- $host?: string;
2471
- /** Api Version */
2472
- apiVersion?: string;
2473
- /** Overrides client endpoint. */
2474
- endpoint?: string;
2475
- }
2476
-
2477
- /** The response from the List Storage SKUs operation. */
2478
- export declare interface StorageSkuListResult {
2479
- /**
2480
- * Get the list result of storage SKUs and their properties.
2481
- * NOTE: This property will not be serialized. It can only be populated by the server.
2482
- */
2483
- readonly value?: SkuInformation[];
2484
- }
2485
-
2486
- /** Metadata pertaining to creation and last modification of the resource. */
2487
- export declare interface SystemData {
2488
- /** The identity that created the resource. */
2489
- createdBy?: string;
2490
- /** The type of identity that created the resource. */
2491
- createdByType?: CreatedByType;
2492
- /** The timestamp of resource creation (UTC). */
2493
- createdAt?: Date;
2494
- /** The identity that last modified the resource. */
2495
- lastModifiedBy?: string;
2496
- /** The type of identity that last modified the resource. */
2497
- lastModifiedByType?: CreatedByType;
2498
- /** The timestamp of resource last modification (UTC) */
2499
- lastModifiedAt?: Date;
2500
- }
2501
-
2502
- /** Blob index tag based filtering for blob objects */
2503
- export declare interface TagFilter {
2504
- /** This is the filter tag name, it can have 1 - 128 characters */
2505
- name: string;
2506
- /** This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported */
2507
- op: string;
2508
- /** This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters */
2509
- value: string;
2510
- }
2511
-
2512
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
2513
- export declare interface TrackedResource extends Resource {
2514
- /** Resource tags. */
2515
- tags?: {
2516
- [propertyName: string]: string;
2517
- };
2518
- /** The geo-location where the resource lives */
2519
- location: string;
2520
- }
2521
-
2522
- /** Describes Storage Resource Usage. */
2523
- export declare interface Usage {
2524
- /**
2525
- * Gets the unit of measurement.
2526
- * NOTE: This property will not be serialized. It can only be populated by the server.
2527
- */
2528
- readonly unit?: UsageUnit;
2529
- /**
2530
- * Gets the current count of the allocated resources in the subscription.
2531
- * NOTE: This property will not be serialized. It can only be populated by the server.
2532
- */
2533
- readonly currentValue?: number;
2534
- /**
2535
- * Gets the maximum count of the resources that can be allocated in the subscription.
2536
- * NOTE: This property will not be serialized. It can only be populated by the server.
2537
- */
2538
- readonly limit?: number;
2539
- /**
2540
- * Gets the name of the type of usage.
2541
- * NOTE: This property will not be serialized. It can only be populated by the server.
2542
- */
2543
- readonly name?: UsageName;
2544
- }
2545
-
2546
- /** The response from the List Usages operation. */
2547
- export declare interface UsageListResult {
2548
- /** Gets or sets the list of Storage Resource Usages. */
2549
- value?: Usage[];
2550
- }
2551
-
2552
- /** The usage names that can be used; currently limited to StorageAccount. */
2553
- export declare interface UsageName {
2554
- /**
2555
- * Gets a string describing the resource name.
2556
- * NOTE: This property will not be serialized. It can only be populated by the server.
2557
- */
2558
- readonly value?: string;
2559
- /**
2560
- * Gets a localized string describing the resource name.
2561
- * NOTE: This property will not be serialized. It can only be populated by the server.
2562
- */
2563
- readonly localizedValue?: string;
2564
- }
2565
-
2566
- /** Interface representing a Usages. */
2567
- export declare interface Usages {
2568
- /**
2569
- * Gets the current usage count and the limit for the resources of the location under the subscription.
2570
- * @param location The location of the Azure Storage resource.
2571
- * @param options The options parameters.
2572
- */
2573
- listByLocation(location: string, options?: UsagesListByLocationOptionalParams): PagedAsyncIterableIterator<Usage>;
2574
- }
2575
-
2576
- /** Optional parameters. */
2577
- export declare interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
2578
- }
2579
-
2580
- /** Contains response data for the listByLocation operation. */
2581
- export declare type UsagesListByLocationResponse = UsageListResult;
2582
-
2583
- /** Defines values for UsageUnit. */
2584
- export declare type UsageUnit = "Count" | "Bytes" | "Seconds" | "Percent" | "CountsPerSecond" | "BytesPerSecond";
2585
-
2586
- /** Virtual Network rule. */
2587
- export declare interface VirtualNetworkRule {
2588
- /** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
2589
- virtualNetworkResourceId: string;
2590
- /** The action of virtual network rule. */
2591
- action?: "Allow";
2592
- /** Gets the state of virtual network rule. */
2593
- state?: State;
2594
- }
2595
-
2596
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. */
3
+ export interface OperationListResult {
4
+ /** List of Storage operations supported by the Storage resource provider. */
5
+ value?: Operation[];
6
+ }
7
+ /** Storage REST API operation definition. */
8
+ export interface Operation {
9
+ /** Operation name: {provider}/{resource}/{operation} */
10
+ name?: string;
11
+ /** Display metadata associated with the operation. */
12
+ display?: OperationDisplay;
13
+ /** The origin of operations. */
14
+ origin?: string;
15
+ /** One property of operation, include metric specifications. */
16
+ serviceSpecification?: ServiceSpecification;
17
+ }
18
+ /** Display metadata associated with the operation. */
19
+ export interface OperationDisplay {
20
+ /** Service provider: Microsoft Storage. */
21
+ provider?: string;
22
+ /** Resource on which the operation is performed etc. */
23
+ resource?: string;
24
+ /** Type of operation: get, read, delete, etc. */
25
+ operation?: string;
26
+ /** Description of the operation. */
27
+ description?: string;
28
+ }
29
+ /** One property of operation, include metric specifications. */
30
+ export interface ServiceSpecification {
31
+ /** Metric specifications of operation. */
32
+ metricSpecifications?: MetricSpecification[];
33
+ }
34
+ /** Metric specification of operation. */
35
+ export interface MetricSpecification {
36
+ /** Name of metric specification. */
37
+ name?: string;
38
+ /** Display name of metric specification. */
39
+ displayName?: string;
40
+ /** Display description of metric specification. */
41
+ displayDescription?: string;
42
+ /** Unit could be Bytes or Count. */
43
+ unit?: string;
44
+ /** Dimensions of blobs, including blob type and access tier. */
45
+ dimensions?: Dimension[];
46
+ /** Aggregation type could be Average. */
47
+ aggregationType?: string;
48
+ /** The property to decide fill gap with zero or not. */
49
+ fillGapWithZero?: boolean;
50
+ /** The category this metric specification belong to, could be Capacity. */
51
+ category?: string;
52
+ /** Account Resource Id. */
53
+ resourceIdDimensionNameOverride?: string;
54
+ }
55
+ /** Dimension of blobs, possibly be blob type or access tier. */
56
+ export interface Dimension {
57
+ /** Display name of dimension. */
58
+ name?: string;
59
+ /** Display name of dimension. */
60
+ displayName?: string;
61
+ }
62
+ /** The response from the List Storage SKUs operation. */
63
+ export interface StorageSkuListResult {
64
+ /**
65
+ * Get the list result of storage SKUs and their properties.
66
+ * NOTE: This property will not be serialized. It can only be populated by the server.
67
+ */
68
+ readonly value?: SkuInformation[];
69
+ }
70
+ /** Storage SKU and its properties */
71
+ export interface SkuInformation {
72
+ /** The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. */
73
+ name: SkuName;
74
+ /**
75
+ * The SKU tier. This is based on the SKU name.
76
+ * NOTE: This property will not be serialized. It can only be populated by the server.
77
+ */
78
+ readonly tier?: SkuTier;
79
+ /**
80
+ * The type of the resource, usually it is 'storageAccounts'.
81
+ * NOTE: This property will not be serialized. It can only be populated by the server.
82
+ */
83
+ readonly resourceType?: string;
84
+ /**
85
+ * Indicates the type of storage account.
86
+ * NOTE: This property will not be serialized. It can only be populated by the server.
87
+ */
88
+ readonly kind?: Kind;
89
+ /**
90
+ * The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
91
+ * NOTE: This property will not be serialized. It can only be populated by the server.
92
+ */
93
+ readonly locations?: string[];
94
+ /**
95
+ * The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
96
+ * NOTE: This property will not be serialized. It can only be populated by the server.
97
+ */
98
+ readonly capabilities?: SKUCapability[];
99
+ /** The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. */
100
+ restrictions?: Restriction[];
101
+ }
102
+ /** The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. */
103
+ export interface SKUCapability {
104
+ /**
105
+ * The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
106
+ * NOTE: This property will not be serialized. It can only be populated by the server.
107
+ */
108
+ readonly name?: string;
109
+ /**
110
+ * A string value to indicate states of given capability. Possibly 'true' or 'false'.
111
+ * NOTE: This property will not be serialized. It can only be populated by the server.
112
+ */
113
+ readonly value?: string;
114
+ }
115
+ /** The restriction because of which SKU cannot be used. */
116
+ export interface Restriction {
117
+ /**
118
+ * The type of restrictions. As of now only possible value for this is location.
119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
120
+ */
121
+ readonly type?: string;
122
+ /**
123
+ * The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
124
+ * NOTE: This property will not be serialized. It can only be populated by the server.
125
+ */
126
+ readonly values?: string[];
127
+ /** The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. */
128
+ reasonCode?: ReasonCode;
129
+ }
130
+ /** The parameters used to check the availability of the storage account name. */
131
+ export interface StorageAccountCheckNameAvailabilityParameters {
132
+ /** The storage account name. */
133
+ name: string;
134
+ /** The type of resource, Microsoft.Storage/storageAccounts */
135
+ type: "Microsoft.Storage/storageAccounts";
136
+ }
137
+ /** The CheckNameAvailability operation response. */
138
+ export interface CheckNameAvailabilityResult {
139
+ /**
140
+ * Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
142
+ */
143
+ readonly nameAvailable?: boolean;
144
+ /**
145
+ * Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.
146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
147
+ */
148
+ readonly reason?: Reason;
149
+ /**
150
+ * Gets an error message explaining the Reason value in more detail.
151
+ * NOTE: This property will not be serialized. It can only be populated by the server.
152
+ */
153
+ readonly message?: string;
154
+ }
155
+ /** The parameters used when creating a storage account. */
156
+ export interface StorageAccountCreateParameters {
157
+ /** Required. Gets or sets the SKU name. */
158
+ sku: Sku;
159
+ /** Required. Indicates the type of storage account. */
160
+ kind: Kind;
161
+ /** Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. */
162
+ location: string;
163
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. */
164
+ tags?: {
165
+ [propertyName: string]: string;
166
+ };
167
+ /** The identity of the resource. */
168
+ identity?: Identity;
169
+ /** User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
170
+ customDomain?: CustomDomain;
171
+ /** Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled. */
172
+ encryption?: Encryption;
173
+ /** Network rule set */
174
+ networkRuleSet?: NetworkRuleSet;
175
+ /** Required for storage accounts where kind = BlobStorage. The access tier used for billing. */
176
+ accessTier?: AccessTier;
177
+ /** Provides the identity based authentication settings for Azure Files. */
178
+ azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
179
+ /** Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. */
180
+ enableHttpsTrafficOnly?: boolean;
181
+ /** Account HierarchicalNamespace enabled if sets to true. */
182
+ isHnsEnabled?: boolean;
183
+ /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
184
+ largeFileSharesState?: LargeFileSharesState;
185
+ /** Maintains information about the network routing choice opted by the user for data transfer */
186
+ routingPreference?: RoutingPreference;
187
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
188
+ allowBlobPublicAccess?: boolean;
189
+ /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
190
+ minimumTlsVersion?: MinimumTlsVersion;
191
+ /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
192
+ allowSharedKeyAccess?: boolean;
193
+ }
194
+ /** The SKU of the storage account. */
195
+ export interface Sku {
196
+ /** The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. */
197
+ name: SkuName;
198
+ /**
199
+ * The SKU tier. This is based on the SKU name.
200
+ * NOTE: This property will not be serialized. It can only be populated by the server.
201
+ */
202
+ readonly tier?: SkuTier;
203
+ }
204
+ /** Identity for the resource. */
205
+ export interface Identity {
206
+ /**
207
+ * The principal ID of resource identity.
208
+ * NOTE: This property will not be serialized. It can only be populated by the server.
209
+ */
210
+ readonly principalId?: string;
211
+ /**
212
+ * The tenant ID of resource.
213
+ * NOTE: This property will not be serialized. It can only be populated by the server.
214
+ */
215
+ readonly tenantId?: string;
216
+ /** The identity type. */
217
+ type: "SystemAssigned";
218
+ }
219
+ /** The custom domain assigned to this storage account. This can be set via Update. */
220
+ export interface CustomDomain {
221
+ /** Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source. */
222
+ name: string;
223
+ /** Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates. */
224
+ useSubDomainName?: boolean;
225
+ }
226
+ /** The encryption settings on the storage account. */
227
+ export interface Encryption {
228
+ /** List of services which support encryption. */
229
+ services?: EncryptionServices;
230
+ /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault */
231
+ keySource: KeySource;
232
+ /** A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. */
233
+ requireInfrastructureEncryption?: boolean;
234
+ /** Properties provided by key vault. */
235
+ keyVaultProperties?: KeyVaultProperties;
236
+ }
237
+ /** A list of services that support encryption. */
238
+ export interface EncryptionServices {
239
+ /** The encryption function of the blob storage service. */
240
+ blob?: EncryptionService;
241
+ /** The encryption function of the file storage service. */
242
+ file?: EncryptionService;
243
+ /** The encryption function of the table storage service. */
244
+ table?: EncryptionService;
245
+ /** The encryption function of the queue storage service. */
246
+ queue?: EncryptionService;
247
+ }
248
+ /** A service that allows server-side encryption to be used. */
249
+ export interface EncryptionService {
250
+ /** A boolean indicating whether or not the service encrypts the data as it is stored. */
251
+ enabled?: boolean;
252
+ /**
253
+ * Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate.
254
+ * NOTE: This property will not be serialized. It can only be populated by the server.
255
+ */
256
+ readonly lastEnabledTime?: Date;
257
+ /** Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. */
258
+ keyType?: KeyType;
259
+ }
260
+ /** Properties of key vault. */
261
+ export interface KeyVaultProperties {
262
+ /** The name of KeyVault key. */
263
+ keyName?: string;
264
+ /** The version of KeyVault key. */
265
+ keyVersion?: string;
266
+ /** The Uri of KeyVault. */
267
+ keyVaultUri?: string;
268
+ /**
269
+ * The object identifier of the current versioned Key Vault Key in use.
270
+ * NOTE: This property will not be serialized. It can only be populated by the server.
271
+ */
272
+ readonly currentVersionedKeyIdentifier?: string;
273
+ /**
274
+ * Timestamp of last rotation of the Key Vault Key.
275
+ * NOTE: This property will not be serialized. It can only be populated by the server.
276
+ */
277
+ readonly lastKeyRotationTimestamp?: Date;
278
+ }
279
+ /** Network rule set */
280
+ export interface NetworkRuleSet {
281
+ /** Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. */
282
+ bypass?: Bypass;
283
+ /** Sets the virtual network rules */
284
+ virtualNetworkRules?: VirtualNetworkRule[];
285
+ /** Sets the IP ACL rules */
286
+ ipRules?: IPRule[];
287
+ /** Specifies the default action of allow or deny when no other rules match. */
288
+ defaultAction: DefaultAction;
289
+ }
290
+ /** Virtual Network rule. */
291
+ export interface VirtualNetworkRule {
292
+ /** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
293
+ virtualNetworkResourceId: string;
294
+ /** The action of virtual network rule. */
295
+ action?: "Allow";
296
+ /** Gets the state of virtual network rule. */
297
+ state?: State;
298
+ }
299
+ /** IP rule with specific IP or IP range in CIDR format. */
300
+ export interface IPRule {
301
+ /** Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. */
302
+ iPAddressOrRange: string;
303
+ /** The action of IP ACL rule. */
304
+ action?: "Allow";
305
+ }
306
+ /** Settings for Azure Files identity based authentication. */
307
+ export interface AzureFilesIdentityBasedAuthentication {
308
+ /** Indicates the directory service used. */
309
+ directoryServiceOptions: DirectoryServiceOptions;
310
+ /** Required if choose AD. */
311
+ activeDirectoryProperties?: ActiveDirectoryProperties;
312
+ }
313
+ /** Settings properties for Active Directory (AD). */
314
+ export interface ActiveDirectoryProperties {
315
+ /** Specifies the primary domain that the AD DNS server is authoritative for. */
316
+ domainName: string;
317
+ /** Specifies the NetBIOS domain name. */
318
+ netBiosDomainName: string;
319
+ /** Specifies the Active Directory forest to get. */
320
+ forestName: string;
321
+ /** Specifies the domain GUID. */
322
+ domainGuid: string;
323
+ /** Specifies the security identifier (SID). */
324
+ domainSid: string;
325
+ /** Specifies the security identifier (SID) for Azure Storage. */
326
+ azureStorageSid: string;
327
+ }
328
+ /** Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing */
329
+ export interface RoutingPreference {
330
+ /** Routing Choice defines the kind of network routing opted by the user. */
331
+ routingChoice?: RoutingChoice;
332
+ /** A boolean flag which indicates whether microsoft routing storage endpoints are to be published */
333
+ publishMicrosoftEndpoints?: boolean;
334
+ /** A boolean flag which indicates whether internet routing storage endpoints are to be published */
335
+ publishInternetEndpoints?: boolean;
336
+ }
337
+ /** The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object. */
338
+ export interface Endpoints {
339
+ /**
340
+ * Gets the blob endpoint.
341
+ * NOTE: This property will not be serialized. It can only be populated by the server.
342
+ */
343
+ readonly blob?: string;
344
+ /**
345
+ * Gets the queue endpoint.
346
+ * NOTE: This property will not be serialized. It can only be populated by the server.
347
+ */
348
+ readonly queue?: string;
349
+ /**
350
+ * Gets the table endpoint.
351
+ * NOTE: This property will not be serialized. It can only be populated by the server.
352
+ */
353
+ readonly table?: string;
354
+ /**
355
+ * Gets the file endpoint.
356
+ * NOTE: This property will not be serialized. It can only be populated by the server.
357
+ */
358
+ readonly file?: string;
359
+ /**
360
+ * Gets the web endpoint.
361
+ * NOTE: This property will not be serialized. It can only be populated by the server.
362
+ */
363
+ readonly web?: string;
364
+ /**
365
+ * Gets the dfs endpoint.
366
+ * NOTE: This property will not be serialized. It can only be populated by the server.
367
+ */
368
+ readonly dfs?: string;
369
+ /** Gets the microsoft routing storage endpoints. */
370
+ microsoftEndpoints?: StorageAccountMicrosoftEndpoints;
371
+ /** Gets the internet routing storage endpoints */
372
+ internetEndpoints?: StorageAccountInternetEndpoints;
373
+ }
374
+ /** The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint. */
375
+ export interface StorageAccountMicrosoftEndpoints {
376
+ /**
377
+ * Gets the blob endpoint.
378
+ * NOTE: This property will not be serialized. It can only be populated by the server.
379
+ */
380
+ readonly blob?: string;
381
+ /**
382
+ * Gets the queue endpoint.
383
+ * NOTE: This property will not be serialized. It can only be populated by the server.
384
+ */
385
+ readonly queue?: string;
386
+ /**
387
+ * Gets the table endpoint.
388
+ * NOTE: This property will not be serialized. It can only be populated by the server.
389
+ */
390
+ readonly table?: string;
391
+ /**
392
+ * Gets the file endpoint.
393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
394
+ */
395
+ readonly file?: string;
396
+ /**
397
+ * Gets the web endpoint.
398
+ * NOTE: This property will not be serialized. It can only be populated by the server.
399
+ */
400
+ readonly web?: string;
401
+ /**
402
+ * Gets the dfs endpoint.
403
+ * NOTE: This property will not be serialized. It can only be populated by the server.
404
+ */
405
+ readonly dfs?: string;
406
+ }
407
+ /** The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint. */
408
+ export interface StorageAccountInternetEndpoints {
409
+ /**
410
+ * Gets the blob endpoint.
411
+ * NOTE: This property will not be serialized. It can only be populated by the server.
412
+ */
413
+ readonly blob?: string;
414
+ /**
415
+ * Gets the file endpoint.
416
+ * NOTE: This property will not be serialized. It can only be populated by the server.
417
+ */
418
+ readonly file?: string;
419
+ /**
420
+ * Gets the web endpoint.
421
+ * NOTE: This property will not be serialized. It can only be populated by the server.
422
+ */
423
+ readonly web?: string;
424
+ /**
425
+ * Gets the dfs endpoint.
426
+ * NOTE: This property will not be serialized. It can only be populated by the server.
427
+ */
428
+ readonly dfs?: string;
429
+ }
430
+ /** Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account. */
431
+ export interface GeoReplicationStats {
432
+ /**
433
+ * The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.
434
+ * NOTE: This property will not be serialized. It can only be populated by the server.
435
+ */
436
+ readonly status?: GeoReplicationStatus;
437
+ /**
438
+ * All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap.
439
+ * NOTE: This property will not be serialized. It can only be populated by the server.
440
+ */
441
+ readonly lastSyncTime?: Date;
442
+ /**
443
+ * A boolean flag which indicates whether or not account failover is supported for the account.
444
+ * NOTE: This property will not be serialized. It can only be populated by the server.
445
+ */
446
+ readonly canFailover?: boolean;
447
+ }
448
+ /** The Private Endpoint resource. */
449
+ export interface PrivateEndpoint {
450
+ /**
451
+ * The ARM identifier for Private Endpoint
452
+ * NOTE: This property will not be serialized. It can only be populated by the server.
453
+ */
454
+ readonly id?: string;
455
+ }
456
+ /** A collection of information about the state of the connection between service consumer and provider. */
457
+ export interface PrivateLinkServiceConnectionState {
458
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
459
+ status?: PrivateEndpointServiceConnectionStatus;
460
+ /** The reason for approval/rejection of the connection. */
461
+ description?: string;
462
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
463
+ actionRequired?: string;
464
+ }
465
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
466
+ export interface Resource {
467
+ /**
468
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
469
+ * NOTE: This property will not be serialized. It can only be populated by the server.
470
+ */
471
+ readonly id?: string;
472
+ /**
473
+ * The name of the resource
474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
475
+ */
476
+ readonly name?: string;
477
+ /**
478
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
479
+ * NOTE: This property will not be serialized. It can only be populated by the server.
480
+ */
481
+ readonly type?: string;
482
+ }
483
+ /** Blob restore status. */
484
+ export interface BlobRestoreStatus {
485
+ /**
486
+ * The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.
487
+ * NOTE: This property will not be serialized. It can only be populated by the server.
488
+ */
489
+ readonly status?: BlobRestoreProgressStatus;
490
+ /**
491
+ * Failure reason when blob restore is failed.
492
+ * NOTE: This property will not be serialized. It can only be populated by the server.
493
+ */
494
+ readonly failureReason?: string;
495
+ /**
496
+ * Id for tracking blob restore request.
497
+ * NOTE: This property will not be serialized. It can only be populated by the server.
498
+ */
499
+ readonly restoreId?: string;
500
+ /**
501
+ * Blob restore request parameters.
502
+ * NOTE: This property will not be serialized. It can only be populated by the server.
503
+ */
504
+ readonly parameters?: BlobRestoreParameters;
505
+ }
506
+ /** Blob restore parameters */
507
+ export interface BlobRestoreParameters {
508
+ /** Restore blob to the specified time. */
509
+ timeToRestore: Date;
510
+ /** Blob ranges to restore. */
511
+ blobRanges: BlobRestoreRange[];
512
+ }
513
+ /** Blob range */
514
+ export interface BlobRestoreRange {
515
+ /** Blob start range. This is inclusive. Empty means account start. */
516
+ startRange: string;
517
+ /** Blob end range. This is exclusive. Empty means account end. */
518
+ endRange: string;
519
+ }
520
+ /** The parameters that can be provided when updating the storage account properties. */
521
+ export interface StorageAccountUpdateParameters {
522
+ /** Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value. */
523
+ sku?: Sku;
524
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
525
+ tags?: {
526
+ [propertyName: string]: string;
527
+ };
528
+ /** The identity of the resource. */
529
+ identity?: Identity;
530
+ /** Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. */
531
+ kind?: Kind;
532
+ /** Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
533
+ customDomain?: CustomDomain;
534
+ /** Provides the encryption settings on the account. The default setting is unencrypted. */
535
+ encryption?: Encryption;
536
+ /** Required for storage accounts where kind = BlobStorage. The access tier used for billing. */
537
+ accessTier?: AccessTier;
538
+ /** Provides the identity based authentication settings for Azure Files. */
539
+ azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
540
+ /** Allows https traffic only to storage service if sets to true. */
541
+ enableHttpsTrafficOnly?: boolean;
542
+ /** Network rule set */
543
+ networkRuleSet?: NetworkRuleSet;
544
+ /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
545
+ largeFileSharesState?: LargeFileSharesState;
546
+ /** Maintains information about the network routing choice opted by the user for data transfer */
547
+ routingPreference?: RoutingPreference;
548
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
549
+ allowBlobPublicAccess?: boolean;
550
+ /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
551
+ minimumTlsVersion?: MinimumTlsVersion;
552
+ /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
553
+ allowSharedKeyAccess?: boolean;
554
+ }
555
+ /** The response from the List Storage Accounts operation. */
556
+ export interface StorageAccountListResult {
557
+ /**
558
+ * Gets the list of storage accounts and their properties.
559
+ * NOTE: This property will not be serialized. It can only be populated by the server.
560
+ */
561
+ readonly value?: StorageAccount[];
562
+ /**
563
+ * Request URL that can be used to query next page of storage accounts. Returned when total number of requested storage accounts exceed maximum page size.
564
+ * NOTE: This property will not be serialized. It can only be populated by the server.
565
+ */
566
+ readonly nextLink?: string;
567
+ }
568
+ /** The response from the ListKeys operation. */
569
+ export interface StorageAccountListKeysResult {
570
+ /**
571
+ * Gets the list of storage account keys and their properties for the specified storage account.
572
+ * NOTE: This property will not be serialized. It can only be populated by the server.
573
+ */
574
+ readonly keys?: StorageAccountKey[];
575
+ }
576
+ /** An access key for the storage account. */
577
+ export interface StorageAccountKey {
578
+ /**
579
+ * Name of the key.
580
+ * NOTE: This property will not be serialized. It can only be populated by the server.
581
+ */
582
+ readonly keyName?: string;
583
+ /**
584
+ * Base 64-encoded value of the key.
585
+ * NOTE: This property will not be serialized. It can only be populated by the server.
586
+ */
587
+ readonly value?: string;
588
+ /**
589
+ * Permissions for the key -- read-only or full permissions.
590
+ * NOTE: This property will not be serialized. It can only be populated by the server.
591
+ */
592
+ readonly permissions?: KeyPermission;
593
+ }
594
+ /** The parameters used to regenerate the storage account key. */
595
+ export interface StorageAccountRegenerateKeyParameters {
596
+ /** The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2. */
597
+ keyName: string;
598
+ }
599
+ /** The response from the List Usages operation. */
600
+ export interface UsageListResult {
601
+ /** Gets or sets the list of Storage Resource Usages. */
602
+ value?: Usage[];
603
+ }
604
+ /** Describes Storage Resource Usage. */
605
+ export interface Usage {
606
+ /**
607
+ * Gets the unit of measurement.
608
+ * NOTE: This property will not be serialized. It can only be populated by the server.
609
+ */
610
+ readonly unit?: UsageUnit;
611
+ /**
612
+ * Gets the current count of the allocated resources in the subscription.
613
+ * NOTE: This property will not be serialized. It can only be populated by the server.
614
+ */
615
+ readonly currentValue?: number;
616
+ /**
617
+ * Gets the maximum count of the resources that can be allocated in the subscription.
618
+ * NOTE: This property will not be serialized. It can only be populated by the server.
619
+ */
620
+ readonly limit?: number;
621
+ /**
622
+ * Gets the name of the type of usage.
623
+ * NOTE: This property will not be serialized. It can only be populated by the server.
624
+ */
625
+ readonly name?: UsageName;
626
+ }
627
+ /** The usage names that can be used; currently limited to StorageAccount. */
628
+ export interface UsageName {
629
+ /**
630
+ * Gets a string describing the resource name.
631
+ * NOTE: This property will not be serialized. It can only be populated by the server.
632
+ */
633
+ readonly value?: string;
634
+ /**
635
+ * Gets a localized string describing the resource name.
636
+ * NOTE: This property will not be serialized. It can only be populated by the server.
637
+ */
638
+ readonly localizedValue?: string;
639
+ }
640
+ /** The parameters to list SAS credentials of a storage account. */
641
+ export interface AccountSasParameters {
642
+ /** The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). */
643
+ services: Services;
644
+ /** The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. */
645
+ resourceTypes: SignedResourceTypes;
646
+ /** The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */
647
+ permissions: Permissions;
648
+ /** An IP address or a range of IP addresses from which to accept requests. */
649
+ iPAddressOrRange?: string;
650
+ /** The protocol permitted for a request made with the account SAS. */
651
+ protocols?: HttpProtocol;
652
+ /** The time at which the SAS becomes valid. */
653
+ sharedAccessStartTime?: Date;
654
+ /** The time at which the shared access signature becomes invalid. */
655
+ sharedAccessExpiryTime: Date;
656
+ /** The key to sign the account SAS token with. */
657
+ keyToSign?: string;
658
+ }
659
+ /** The List SAS credentials operation response. */
660
+ export interface ListAccountSasResponse {
661
+ /**
662
+ * List SAS credentials of storage account.
663
+ * NOTE: This property will not be serialized. It can only be populated by the server.
664
+ */
665
+ readonly accountSasToken?: string;
666
+ }
667
+ /** The parameters to list service SAS credentials of a specific resource. */
668
+ export interface ServiceSasParameters {
669
+ /** The canonical path to the signed resource. */
670
+ canonicalizedResource: string;
671
+ /** The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). */
672
+ resource?: SignedResource;
673
+ /** The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */
674
+ permissions?: Permissions;
675
+ /** An IP address or a range of IP addresses from which to accept requests. */
676
+ iPAddressOrRange?: string;
677
+ /** The protocol permitted for a request made with the account SAS. */
678
+ protocols?: HttpProtocol;
679
+ /** The time at which the SAS becomes valid. */
680
+ sharedAccessStartTime?: Date;
681
+ /** The time at which the shared access signature becomes invalid. */
682
+ sharedAccessExpiryTime?: Date;
683
+ /** A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. */
684
+ identifier?: string;
685
+ /** The start of partition key. */
686
+ partitionKeyStart?: string;
687
+ /** The end of partition key. */
688
+ partitionKeyEnd?: string;
689
+ /** The start of row key. */
690
+ rowKeyStart?: string;
691
+ /** The end of row key. */
692
+ rowKeyEnd?: string;
693
+ /** The key to sign the account SAS token with. */
694
+ keyToSign?: string;
695
+ /** The response header override for cache control. */
696
+ cacheControl?: string;
697
+ /** The response header override for content disposition. */
698
+ contentDisposition?: string;
699
+ /** The response header override for content encoding. */
700
+ contentEncoding?: string;
701
+ /** The response header override for content language. */
702
+ contentLanguage?: string;
703
+ /** The response header override for content type. */
704
+ contentType?: string;
705
+ }
706
+ /** The List service SAS credentials operation response. */
707
+ export interface ListServiceSasResponse {
708
+ /**
709
+ * List service SAS credentials of specific resource.
710
+ * NOTE: This property will not be serialized. It can only be populated by the server.
711
+ */
712
+ readonly serviceSasToken?: string;
713
+ }
714
+ /** The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
715
+ export interface ManagementPolicySchema {
716
+ /** The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
717
+ rules: ManagementPolicyRule[];
718
+ }
719
+ /** An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. */
720
+ export interface ManagementPolicyRule {
721
+ /** Rule is enabled if set to true. */
722
+ enabled?: boolean;
723
+ /** A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. */
724
+ name: string;
725
+ /** The valid value is Lifecycle */
726
+ type: RuleType;
727
+ /** An object that defines the Lifecycle rule. */
728
+ definition: ManagementPolicyDefinition;
729
+ }
730
+ /** An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set. */
731
+ export interface ManagementPolicyDefinition {
732
+ /** An object that defines the action set. */
733
+ actions: ManagementPolicyAction;
734
+ /** An object that defines the filter set. */
735
+ filters?: ManagementPolicyFilter;
736
+ }
737
+ /** Actions are applied to the filtered blobs when the execution condition is met. */
738
+ export interface ManagementPolicyAction {
739
+ /** The management policy action for base blob */
740
+ baseBlob?: ManagementPolicyBaseBlob;
741
+ /** The management policy action for snapshot */
742
+ snapshot?: ManagementPolicySnapShot;
743
+ /** The management policy action for version */
744
+ version?: ManagementPolicyVersion;
745
+ }
746
+ /** Management policy action for base blob. */
747
+ export interface ManagementPolicyBaseBlob {
748
+ /** The function to tier blobs to cool storage. Support blobs currently at Hot tier */
749
+ tierToCool?: DateAfterModification;
750
+ /** The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier */
751
+ tierToArchive?: DateAfterModification;
752
+ /** The function to delete the blob */
753
+ delete?: DateAfterModification;
754
+ /** This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. */
755
+ enableAutoTierToHotFromCool?: boolean;
756
+ }
757
+ /** Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive. */
758
+ export interface DateAfterModification {
759
+ /** Value indicating the age in days after last modification */
760
+ daysAfterModificationGreaterThan?: number;
761
+ /** Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy */
762
+ daysAfterLastAccessTimeGreaterThan?: number;
763
+ }
764
+ /** Management policy action for snapshot. */
765
+ export interface ManagementPolicySnapShot {
766
+ /** The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier */
767
+ tierToCool?: DateAfterCreation;
768
+ /** The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier */
769
+ tierToArchive?: DateAfterCreation;
770
+ /** The function to delete the blob snapshot */
771
+ delete?: DateAfterCreation;
772
+ }
773
+ /** Object to define the number of days after creation. */
774
+ export interface DateAfterCreation {
775
+ /** Value indicating the age in days after creation */
776
+ daysAfterCreationGreaterThan: number;
777
+ }
778
+ /** Management policy action for blob version. */
779
+ export interface ManagementPolicyVersion {
780
+ /** The function to tier blob version to cool storage. Support blob version currently at Hot tier */
781
+ tierToCool?: DateAfterCreation;
782
+ /** The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier */
783
+ tierToArchive?: DateAfterCreation;
784
+ /** The function to delete the blob version */
785
+ delete?: DateAfterCreation;
786
+ }
787
+ /** Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. */
788
+ export interface ManagementPolicyFilter {
789
+ /** An array of strings for prefixes to be match. */
790
+ prefixMatch?: string[];
791
+ /** An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. */
792
+ blobTypes: string[];
793
+ /** An array of blob index tag based filters, there can be at most 10 tag filters */
794
+ blobIndexMatch?: TagFilter[];
795
+ }
796
+ /** Blob index tag based filtering for blob objects */
797
+ export interface TagFilter {
798
+ /** This is the filter tag name, it can have 1 - 128 characters */
799
+ name: string;
800
+ /** This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported */
801
+ op: string;
802
+ /** This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters */
803
+ value: string;
804
+ }
805
+ /** The storage account blob inventory policy rules. */
806
+ export interface BlobInventoryPolicySchema {
807
+ /** Policy is enabled if set to true. */
808
+ enabled: boolean;
809
+ /** Container name where blob inventory files are stored. Must be pre-created. */
810
+ destination: string;
811
+ /** The valid value is Inventory */
812
+ type: InventoryRuleType;
813
+ /** The storage account blob inventory policy rules. The rule is applied when it is enabled. */
814
+ rules: BlobInventoryPolicyRule[];
815
+ }
816
+ /** An object that wraps the blob inventory rule. Each rule is uniquely defined by name. */
817
+ export interface BlobInventoryPolicyRule {
818
+ /** Rule is enabled when set to true. */
819
+ enabled: boolean;
820
+ /** A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. */
821
+ name: string;
822
+ /** An object that defines the blob inventory policy rule. */
823
+ definition: BlobInventoryPolicyDefinition;
824
+ }
825
+ /** An object that defines the blob inventory rule. Each definition consists of a set of filters. */
826
+ export interface BlobInventoryPolicyDefinition {
827
+ /** An object that defines the filter set. */
828
+ filters: BlobInventoryPolicyFilter;
829
+ }
830
+ /** An object that defines the blob inventory rule filter conditions. */
831
+ export interface BlobInventoryPolicyFilter {
832
+ /** An array of strings for blob prefixes to be matched. */
833
+ prefixMatch?: string[];
834
+ /** An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. */
835
+ blobTypes: string[];
836
+ /** Includes blob versions in blob inventory when value set to true. */
837
+ includeBlobVersions?: boolean;
838
+ /** Includes blob snapshots in blob inventory when value set to true. */
839
+ includeSnapshots?: boolean;
840
+ }
841
+ /** Metadata pertaining to creation and last modification of the resource. */
842
+ export interface SystemData {
843
+ /** The identity that created the resource. */
844
+ createdBy?: string;
845
+ /** The type of identity that created the resource. */
846
+ createdByType?: CreatedByType;
847
+ /** The timestamp of resource creation (UTC). */
848
+ createdAt?: Date;
849
+ /** The identity that last modified the resource. */
850
+ lastModifiedBy?: string;
851
+ /** The type of identity that last modified the resource. */
852
+ lastModifiedByType?: CreatedByType;
853
+ /** The timestamp of resource last modification (UTC) */
854
+ lastModifiedAt?: Date;
855
+ }
856
+ /** An error response from the storage resource provider. */
857
+ export interface ErrorResponse {
858
+ /** Azure Storage Resource Provider error response body. */
859
+ error?: ErrorResponseBody;
860
+ }
861
+ /** Error response body contract. */
862
+ export interface ErrorResponseBody {
863
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
864
+ code?: string;
865
+ /** A message describing the error, intended to be suitable for display in a user interface. */
866
+ message?: string;
867
+ }
868
+ /** List of blob inventory policies returned. */
869
+ export interface ListBlobInventoryPolicy {
870
+ /**
871
+ * List of blob inventory policies.
872
+ * NOTE: This property will not be serialized. It can only be populated by the server.
873
+ */
874
+ readonly value?: BlobInventoryPolicy[];
875
+ }
876
+ /** List of private endpoint connection associated with the specified storage account */
877
+ export interface PrivateEndpointConnectionListResult {
878
+ /** Array of private endpoint connections */
879
+ value?: PrivateEndpointConnection[];
880
+ }
881
+ /** A list of private link resources */
882
+ export interface PrivateLinkResourceListResult {
883
+ /** Array of private link resources */
884
+ value?: PrivateLinkResource[];
885
+ }
886
+ /** List storage account object replication policies. */
887
+ export interface ObjectReplicationPolicies {
888
+ /** The replication policy between two storage accounts. */
889
+ value?: ObjectReplicationPolicy[];
890
+ }
891
+ /** The replication policy rule between two containers. */
892
+ export interface ObjectReplicationPolicyRule {
893
+ /** Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account. */
894
+ ruleId?: string;
895
+ /** Required. Source container name. */
896
+ sourceContainer: string;
897
+ /** Required. Destination container name. */
898
+ destinationContainer: string;
899
+ /** Optional. An object that defines the filter set. */
900
+ filters?: ObjectReplicationPolicyFilter;
901
+ }
902
+ /** Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters. */
903
+ export interface ObjectReplicationPolicyFilter {
904
+ /** Optional. Filters the results to replicate only blobs whose names begin with the specified prefix. */
905
+ prefixMatch?: string[];
906
+ /** Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z */
907
+ minCreationTime?: string;
908
+ }
909
+ /** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
910
+ export interface EncryptionScopeKeyVaultProperties {
911
+ /** The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. */
912
+ keyUri?: string;
913
+ }
914
+ /** List of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes. */
915
+ export interface EncryptionScopeListResult {
916
+ /**
917
+ * List of encryption scopes requested.
918
+ * NOTE: This property will not be serialized. It can only be populated by the server.
919
+ */
920
+ readonly value?: EncryptionScope[];
921
+ /**
922
+ * Request URL that can be used to query next page of encryption scopes. Returned when total number of requested encryption scopes exceeds the maximum page size.
923
+ * NOTE: This property will not be serialized. It can only be populated by the server.
924
+ */
925
+ readonly nextLink?: string;
926
+ }
927
+ /** The Private Endpoint Connection resource. */
928
+ export interface PrivateEndpointConnection extends Resource {
929
+ /** The resource of private end point. */
930
+ privateEndpoint?: PrivateEndpoint;
931
+ /** A collection of information about the state of the connection between service consumer and provider. */
932
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
933
+ /**
934
+ * The provisioning state of the private endpoint connection resource.
935
+ * NOTE: This property will not be serialized. It can only be populated by the server.
936
+ */
937
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
938
+ }
939
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
940
+ export interface TrackedResource extends Resource {
941
+ /** Resource tags. */
942
+ tags?: {
943
+ [propertyName: string]: string;
944
+ };
945
+ /** The geo-location where the resource lives */
946
+ location: string;
947
+ }
948
+ /** The Get Storage Account ManagementPolicies operation response. */
949
+ export interface ManagementPolicy extends Resource {
950
+ /**
951
+ * Returns the date and time the ManagementPolicies was last modified.
952
+ * NOTE: This property will not be serialized. It can only be populated by the server.
953
+ */
954
+ readonly lastModifiedTime?: Date;
955
+ /** The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
956
+ policy?: ManagementPolicySchema;
957
+ }
958
+ /** The storage account blob inventory policy. */
959
+ export interface BlobInventoryPolicy extends Resource {
960
+ /**
961
+ * Metadata pertaining to creation and last modification of the resource.
962
+ * NOTE: This property will not be serialized. It can only be populated by the server.
963
+ */
964
+ readonly systemData?: SystemData;
965
+ /**
966
+ * Returns the last modified date and time of the blob inventory policy.
967
+ * NOTE: This property will not be serialized. It can only be populated by the server.
968
+ */
969
+ readonly lastModifiedTime?: Date;
970
+ /** The storage account blob inventory policy object. It is composed of policy rules. */
971
+ policy?: BlobInventoryPolicySchema;
972
+ }
973
+ /** A private link resource */
974
+ export interface PrivateLinkResource extends Resource {
975
+ /**
976
+ * The private link resource group id.
977
+ * NOTE: This property will not be serialized. It can only be populated by the server.
978
+ */
979
+ readonly groupId?: string;
980
+ /**
981
+ * The private link resource required member names.
982
+ * NOTE: This property will not be serialized. It can only be populated by the server.
983
+ */
984
+ readonly requiredMembers?: string[];
985
+ /** The private link resource Private link DNS zone name. */
986
+ requiredZoneNames?: string[];
987
+ }
988
+ /** The replication policy between two storage accounts. Multiple rules can be defined in one policy. */
989
+ export interface ObjectReplicationPolicy extends Resource {
990
+ /**
991
+ * A unique id for object replication policy.
992
+ * NOTE: This property will not be serialized. It can only be populated by the server.
993
+ */
994
+ readonly policyId?: string;
995
+ /**
996
+ * Indicates when the policy is enabled on the source account.
997
+ * NOTE: This property will not be serialized. It can only be populated by the server.
998
+ */
999
+ readonly enabledTime?: Date;
1000
+ /** Required. Source account name. */
1001
+ sourceAccount?: string;
1002
+ /** Required. Destination account name. */
1003
+ destinationAccount?: string;
1004
+ /** The storage account object replication rules. */
1005
+ rules?: ObjectReplicationPolicyRule[];
1006
+ }
1007
+ /** The Encryption Scope resource. */
1008
+ export interface EncryptionScope extends Resource {
1009
+ /** The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. */
1010
+ source?: EncryptionScopeSource;
1011
+ /** The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. */
1012
+ state?: EncryptionScopeState;
1013
+ /**
1014
+ * Gets the creation date and time of the encryption scope in UTC.
1015
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1016
+ */
1017
+ readonly creationTime?: Date;
1018
+ /**
1019
+ * Gets the last modification date and time of the encryption scope in UTC.
1020
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1021
+ */
1022
+ readonly lastModifiedTime?: Date;
1023
+ /** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
1024
+ keyVaultProperties?: EncryptionScopeKeyVaultProperties;
1025
+ }
1026
+ /** The storage account. */
1027
+ export interface StorageAccount extends TrackedResource {
1028
+ /**
1029
+ * Gets the SKU.
1030
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1031
+ */
1032
+ readonly sku?: Sku;
1033
+ /**
1034
+ * Gets the Kind.
1035
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1036
+ */
1037
+ readonly kind?: Kind;
1038
+ /** The identity of the resource. */
1039
+ identity?: Identity;
1040
+ /**
1041
+ * Gets the status of the storage account at the time the operation was called.
1042
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1043
+ */
1044
+ readonly provisioningState?: ProvisioningState;
1045
+ /**
1046
+ * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.
1047
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1048
+ */
1049
+ readonly primaryEndpoints?: Endpoints;
1050
+ /**
1051
+ * Gets the location of the primary data center for the storage account.
1052
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1053
+ */
1054
+ readonly primaryLocation?: string;
1055
+ /**
1056
+ * Gets the status indicating whether the primary location of the storage account is available or unavailable.
1057
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1058
+ */
1059
+ readonly statusOfPrimary?: AccountStatus;
1060
+ /**
1061
+ * Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.
1062
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1063
+ */
1064
+ readonly lastGeoFailoverTime?: Date;
1065
+ /**
1066
+ * Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.
1067
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1068
+ */
1069
+ readonly secondaryLocation?: string;
1070
+ /**
1071
+ * Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.
1072
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1073
+ */
1074
+ readonly statusOfSecondary?: AccountStatus;
1075
+ /**
1076
+ * Gets the creation date and time of the storage account in UTC.
1077
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1078
+ */
1079
+ readonly creationTime?: Date;
1080
+ /**
1081
+ * Gets the custom domain the user assigned to this storage account.
1082
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1083
+ */
1084
+ readonly customDomain?: CustomDomain;
1085
+ /**
1086
+ * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.
1087
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1088
+ */
1089
+ readonly secondaryEndpoints?: Endpoints;
1090
+ /**
1091
+ * Gets the encryption settings on the account. If unspecified, the account is unencrypted.
1092
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1093
+ */
1094
+ readonly encryption?: Encryption;
1095
+ /**
1096
+ * Required for storage accounts where kind = BlobStorage. The access tier used for billing.
1097
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1098
+ */
1099
+ readonly accessTier?: AccessTier;
1100
+ /** Provides the identity based authentication settings for Azure Files. */
1101
+ azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
1102
+ /** Allows https traffic only to storage service if sets to true. */
1103
+ enableHttpsTrafficOnly?: boolean;
1104
+ /**
1105
+ * Network rule set
1106
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1107
+ */
1108
+ readonly networkRuleSet?: NetworkRuleSet;
1109
+ /** Account HierarchicalNamespace enabled if sets to true. */
1110
+ isHnsEnabled?: boolean;
1111
+ /**
1112
+ * Geo Replication Stats
1113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1114
+ */
1115
+ readonly geoReplicationStats?: GeoReplicationStats;
1116
+ /**
1117
+ * If the failover is in progress, the value will be true, otherwise, it will be null.
1118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1119
+ */
1120
+ readonly failoverInProgress?: boolean;
1121
+ /** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
1122
+ largeFileSharesState?: LargeFileSharesState;
1123
+ /**
1124
+ * List of private endpoint connection associated with the specified storage account
1125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1126
+ */
1127
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1128
+ /** Maintains information about the network routing choice opted by the user for data transfer */
1129
+ routingPreference?: RoutingPreference;
1130
+ /**
1131
+ * Blob restore status
1132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1133
+ */
1134
+ readonly blobRestoreStatus?: BlobRestoreStatus;
1135
+ /** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
1136
+ allowBlobPublicAccess?: boolean;
1137
+ /** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
1138
+ minimumTlsVersion?: MinimumTlsVersion;
1139
+ /** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
1140
+ allowSharedKeyAccess?: boolean;
1141
+ }
1142
+ /** Known values of {@link SkuName} that the service accepts. */
1143
+ export declare enum KnownSkuName {
1144
+ /** StandardLRS */
1145
+ StandardLRS = "Standard_LRS",
1146
+ /** StandardGRS */
1147
+ StandardGRS = "Standard_GRS",
1148
+ /** StandardRagrs */
1149
+ StandardRagrs = "Standard_RAGRS",
1150
+ /** StandardZRS */
1151
+ StandardZRS = "Standard_ZRS",
1152
+ /** PremiumLRS */
1153
+ PremiumLRS = "Premium_LRS",
1154
+ /** PremiumZRS */
1155
+ PremiumZRS = "Premium_ZRS",
1156
+ /** StandardGzrs */
1157
+ StandardGzrs = "Standard_GZRS",
1158
+ /** StandardRagzrs */
1159
+ StandardRagzrs = "Standard_RAGZRS"
1160
+ }
1161
+ /**
1162
+ * Defines values for SkuName. \
1163
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
1164
+ * this enum contains the known values that the service supports.
1165
+ * ### Known values supported by the service
1166
+ * **Standard_LRS** \
1167
+ * **Standard_GRS** \
1168
+ * **Standard_RAGRS** \
1169
+ * **Standard_ZRS** \
1170
+ * **Premium_LRS** \
1171
+ * **Premium_ZRS** \
1172
+ * **Standard_GZRS** \
1173
+ * **Standard_RAGZRS**
1174
+ */
1175
+ export type SkuName = string;
1176
+ /** Known values of {@link Kind} that the service accepts. */
1177
+ export declare enum KnownKind {
1178
+ /** Storage */
1179
+ Storage = "Storage",
1180
+ /** StorageV2 */
1181
+ StorageV2 = "StorageV2",
1182
+ /** BlobStorage */
1183
+ BlobStorage = "BlobStorage",
1184
+ /** FileStorage */
1185
+ FileStorage = "FileStorage",
1186
+ /** BlockBlobStorage */
1187
+ BlockBlobStorage = "BlockBlobStorage"
1188
+ }
1189
+ /**
1190
+ * Defines values for Kind. \
1191
+ * {@link KnownKind} can be used interchangeably with Kind,
1192
+ * this enum contains the known values that the service supports.
1193
+ * ### Known values supported by the service
1194
+ * **Storage** \
1195
+ * **StorageV2** \
1196
+ * **BlobStorage** \
1197
+ * **FileStorage** \
1198
+ * **BlockBlobStorage**
1199
+ */
1200
+ export type Kind = string;
1201
+ /** Known values of {@link ReasonCode} that the service accepts. */
1202
+ export declare enum KnownReasonCode {
1203
+ /** QuotaId */
1204
+ QuotaId = "QuotaId",
1205
+ /** NotAvailableForSubscription */
1206
+ NotAvailableForSubscription = "NotAvailableForSubscription"
1207
+ }
1208
+ /**
1209
+ * Defines values for ReasonCode. \
1210
+ * {@link KnownReasonCode} can be used interchangeably with ReasonCode,
1211
+ * this enum contains the known values that the service supports.
1212
+ * ### Known values supported by the service
1213
+ * **QuotaId** \
1214
+ * **NotAvailableForSubscription**
1215
+ */
1216
+ export type ReasonCode = string;
1217
+ /** Known values of {@link KeyType} that the service accepts. */
1218
+ export declare enum KnownKeyType {
1219
+ /** Service */
1220
+ Service = "Service",
1221
+ /** Account */
1222
+ Account = "Account"
1223
+ }
1224
+ /**
1225
+ * Defines values for KeyType. \
1226
+ * {@link KnownKeyType} can be used interchangeably with KeyType,
1227
+ * this enum contains the known values that the service supports.
1228
+ * ### Known values supported by the service
1229
+ * **Service** \
1230
+ * **Account**
1231
+ */
1232
+ export type KeyType = string;
1233
+ /** Known values of {@link KeySource} that the service accepts. */
1234
+ export declare enum KnownKeySource {
1235
+ /** MicrosoftStorage */
1236
+ MicrosoftStorage = "Microsoft.Storage",
1237
+ /** MicrosoftKeyvault */
1238
+ MicrosoftKeyvault = "Microsoft.Keyvault"
1239
+ }
1240
+ /**
1241
+ * Defines values for KeySource. \
1242
+ * {@link KnownKeySource} can be used interchangeably with KeySource,
1243
+ * this enum contains the known values that the service supports.
1244
+ * ### Known values supported by the service
1245
+ * **Microsoft.Storage** \
1246
+ * **Microsoft.Keyvault**
1247
+ */
1248
+ export type KeySource = string;
1249
+ /** Known values of {@link Bypass} that the service accepts. */
1250
+ export declare enum KnownBypass {
1251
+ /** None */
1252
+ None = "None",
1253
+ /** Logging */
1254
+ Logging = "Logging",
1255
+ /** Metrics */
1256
+ Metrics = "Metrics",
1257
+ /** AzureServices */
1258
+ AzureServices = "AzureServices"
1259
+ }
1260
+ /**
1261
+ * Defines values for Bypass. \
1262
+ * {@link KnownBypass} can be used interchangeably with Bypass,
1263
+ * this enum contains the known values that the service supports.
1264
+ * ### Known values supported by the service
1265
+ * **None** \
1266
+ * **Logging** \
1267
+ * **Metrics** \
1268
+ * **AzureServices**
1269
+ */
1270
+ export type Bypass = string;
1271
+ /** Known values of {@link DirectoryServiceOptions} that the service accepts. */
1272
+ export declare enum KnownDirectoryServiceOptions {
1273
+ /** None */
1274
+ None = "None",
1275
+ /** Aadds */
1276
+ Aadds = "AADDS",
1277
+ /** AD */
1278
+ AD = "AD"
1279
+ }
1280
+ /**
1281
+ * Defines values for DirectoryServiceOptions. \
1282
+ * {@link KnownDirectoryServiceOptions} can be used interchangeably with DirectoryServiceOptions,
1283
+ * this enum contains the known values that the service supports.
1284
+ * ### Known values supported by the service
1285
+ * **None** \
1286
+ * **AADDS** \
1287
+ * **AD**
1288
+ */
1289
+ export type DirectoryServiceOptions = string;
1290
+ /** Known values of {@link LargeFileSharesState} that the service accepts. */
1291
+ export declare enum KnownLargeFileSharesState {
1292
+ /** Disabled */
1293
+ Disabled = "Disabled",
1294
+ /** Enabled */
1295
+ Enabled = "Enabled"
1296
+ }
1297
+ /**
1298
+ * Defines values for LargeFileSharesState. \
1299
+ * {@link KnownLargeFileSharesState} can be used interchangeably with LargeFileSharesState,
1300
+ * this enum contains the known values that the service supports.
1301
+ * ### Known values supported by the service
1302
+ * **Disabled** \
1303
+ * **Enabled**
1304
+ */
1305
+ export type LargeFileSharesState = string;
1306
+ /** Known values of {@link RoutingChoice} that the service accepts. */
1307
+ export declare enum KnownRoutingChoice {
1308
+ /** MicrosoftRouting */
1309
+ MicrosoftRouting = "MicrosoftRouting",
1310
+ /** InternetRouting */
1311
+ InternetRouting = "InternetRouting"
1312
+ }
1313
+ /**
1314
+ * Defines values for RoutingChoice. \
1315
+ * {@link KnownRoutingChoice} can be used interchangeably with RoutingChoice,
1316
+ * this enum contains the known values that the service supports.
1317
+ * ### Known values supported by the service
1318
+ * **MicrosoftRouting** \
1319
+ * **InternetRouting**
1320
+ */
1321
+ export type RoutingChoice = string;
1322
+ /** Known values of {@link MinimumTlsVersion} that the service accepts. */
1323
+ export declare enum KnownMinimumTlsVersion {
1324
+ /** TLS10 */
1325
+ TLS10 = "TLS1_0",
1326
+ /** TLS11 */
1327
+ TLS11 = "TLS1_1",
1328
+ /** TLS12 */
1329
+ TLS12 = "TLS1_2"
1330
+ }
1331
+ /**
1332
+ * Defines values for MinimumTlsVersion. \
1333
+ * {@link KnownMinimumTlsVersion} can be used interchangeably with MinimumTlsVersion,
1334
+ * this enum contains the known values that the service supports.
1335
+ * ### Known values supported by the service
1336
+ * **TLS1_0** \
1337
+ * **TLS1_1** \
1338
+ * **TLS1_2**
1339
+ */
1340
+ export type MinimumTlsVersion = string;
1341
+ /** Known values of {@link GeoReplicationStatus} that the service accepts. */
1342
+ export declare enum KnownGeoReplicationStatus {
1343
+ /** Live */
1344
+ Live = "Live",
1345
+ /** Bootstrap */
1346
+ Bootstrap = "Bootstrap",
1347
+ /** Unavailable */
1348
+ Unavailable = "Unavailable"
1349
+ }
1350
+ /**
1351
+ * Defines values for GeoReplicationStatus. \
1352
+ * {@link KnownGeoReplicationStatus} can be used interchangeably with GeoReplicationStatus,
1353
+ * this enum contains the known values that the service supports.
1354
+ * ### Known values supported by the service
1355
+ * **Live** \
1356
+ * **Bootstrap** \
1357
+ * **Unavailable**
1358
+ */
1359
+ export type GeoReplicationStatus = string;
1360
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1361
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
1362
+ /** Pending */
1363
+ Pending = "Pending",
1364
+ /** Approved */
1365
+ Approved = "Approved",
1366
+ /** Rejected */
1367
+ Rejected = "Rejected"
1368
+ }
1369
+ /**
1370
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
1371
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1372
+ * this enum contains the known values that the service supports.
1373
+ * ### Known values supported by the service
1374
+ * **Pending** \
1375
+ * **Approved** \
1376
+ * **Rejected**
1377
+ */
1378
+ export type PrivateEndpointServiceConnectionStatus = string;
1379
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1380
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
1381
+ /** Succeeded */
1382
+ Succeeded = "Succeeded",
1383
+ /** Creating */
1384
+ Creating = "Creating",
1385
+ /** Deleting */
1386
+ Deleting = "Deleting",
1387
+ /** Failed */
1388
+ Failed = "Failed"
1389
+ }
1390
+ /**
1391
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
1392
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1393
+ * this enum contains the known values that the service supports.
1394
+ * ### Known values supported by the service
1395
+ * **Succeeded** \
1396
+ * **Creating** \
1397
+ * **Deleting** \
1398
+ * **Failed**
1399
+ */
1400
+ export type PrivateEndpointConnectionProvisioningState = string;
1401
+ /** Known values of {@link BlobRestoreProgressStatus} that the service accepts. */
1402
+ export declare enum KnownBlobRestoreProgressStatus {
1403
+ /** InProgress */
1404
+ InProgress = "InProgress",
1405
+ /** Complete */
1406
+ Complete = "Complete",
1407
+ /** Failed */
1408
+ Failed = "Failed"
1409
+ }
1410
+ /**
1411
+ * Defines values for BlobRestoreProgressStatus. \
1412
+ * {@link KnownBlobRestoreProgressStatus} can be used interchangeably with BlobRestoreProgressStatus,
1413
+ * this enum contains the known values that the service supports.
1414
+ * ### Known values supported by the service
1415
+ * **InProgress** \
1416
+ * **Complete** \
1417
+ * **Failed**
1418
+ */
1419
+ export type BlobRestoreProgressStatus = string;
1420
+ /** Known values of {@link Services} that the service accepts. */
1421
+ export declare enum KnownServices {
1422
+ /** B */
1423
+ B = "b",
1424
+ /** Q */
1425
+ Q = "q",
1426
+ /** T */
1427
+ T = "t",
1428
+ /** F */
1429
+ F = "f"
1430
+ }
1431
+ /**
1432
+ * Defines values for Services. \
1433
+ * {@link KnownServices} can be used interchangeably with Services,
1434
+ * this enum contains the known values that the service supports.
1435
+ * ### Known values supported by the service
1436
+ * **b** \
1437
+ * **q** \
1438
+ * **t** \
1439
+ * **f**
1440
+ */
1441
+ export type Services = string;
1442
+ /** Known values of {@link SignedResourceTypes} that the service accepts. */
1443
+ export declare enum KnownSignedResourceTypes {
1444
+ /** S */
1445
+ S = "s",
1446
+ /** C */
1447
+ C = "c",
1448
+ /** O */
1449
+ O = "o"
1450
+ }
1451
+ /**
1452
+ * Defines values for SignedResourceTypes. \
1453
+ * {@link KnownSignedResourceTypes} can be used interchangeably with SignedResourceTypes,
1454
+ * this enum contains the known values that the service supports.
1455
+ * ### Known values supported by the service
1456
+ * **s** \
1457
+ * **c** \
1458
+ * **o**
1459
+ */
1460
+ export type SignedResourceTypes = string;
1461
+ /** Known values of {@link Permissions} that the service accepts. */
1462
+ export declare enum KnownPermissions {
1463
+ /** R */
1464
+ R = "r",
1465
+ /** D */
1466
+ D = "d",
1467
+ /** W */
1468
+ W = "w",
1469
+ /** L */
1470
+ L = "l",
1471
+ /** A */
1472
+ A = "a",
1473
+ /** C */
1474
+ C = "c",
1475
+ /** U */
1476
+ U = "u",
1477
+ /** P */
1478
+ P = "p"
1479
+ }
1480
+ /**
1481
+ * Defines values for Permissions. \
1482
+ * {@link KnownPermissions} can be used interchangeably with Permissions,
1483
+ * this enum contains the known values that the service supports.
1484
+ * ### Known values supported by the service
1485
+ * **r** \
1486
+ * **d** \
1487
+ * **w** \
1488
+ * **l** \
1489
+ * **a** \
1490
+ * **c** \
1491
+ * **u** \
1492
+ * **p**
1493
+ */
1494
+ export type Permissions = string;
1495
+ /** Known values of {@link SignedResource} that the service accepts. */
1496
+ export declare enum KnownSignedResource {
1497
+ /** B */
1498
+ B = "b",
1499
+ /** C */
1500
+ C = "c",
1501
+ /** F */
1502
+ F = "f",
1503
+ /** S */
1504
+ S = "s"
1505
+ }
1506
+ /**
1507
+ * Defines values for SignedResource. \
1508
+ * {@link KnownSignedResource} can be used interchangeably with SignedResource,
1509
+ * this enum contains the known values that the service supports.
1510
+ * ### Known values supported by the service
1511
+ * **b** \
1512
+ * **c** \
1513
+ * **f** \
1514
+ * **s**
1515
+ */
1516
+ export type SignedResource = string;
1517
+ /** Known values of {@link ManagementPolicyName} that the service accepts. */
1518
+ export declare enum KnownManagementPolicyName {
1519
+ /** Default */
1520
+ Default = "default"
1521
+ }
1522
+ /**
1523
+ * Defines values for ManagementPolicyName. \
1524
+ * {@link KnownManagementPolicyName} can be used interchangeably with ManagementPolicyName,
1525
+ * this enum contains the known values that the service supports.
1526
+ * ### Known values supported by the service
1527
+ * **default**
1528
+ */
1529
+ export type ManagementPolicyName = string;
1530
+ /** Known values of {@link RuleType} that the service accepts. */
1531
+ export declare enum KnownRuleType {
1532
+ /** Lifecycle */
1533
+ Lifecycle = "Lifecycle"
1534
+ }
1535
+ /**
1536
+ * Defines values for RuleType. \
1537
+ * {@link KnownRuleType} can be used interchangeably with RuleType,
1538
+ * this enum contains the known values that the service supports.
1539
+ * ### Known values supported by the service
1540
+ * **Lifecycle**
1541
+ */
1542
+ export type RuleType = string;
1543
+ /** Known values of {@link BlobInventoryPolicyName} that the service accepts. */
1544
+ export declare enum KnownBlobInventoryPolicyName {
1545
+ /** Default */
1546
+ Default = "default"
1547
+ }
1548
+ /**
1549
+ * Defines values for BlobInventoryPolicyName. \
1550
+ * {@link KnownBlobInventoryPolicyName} can be used interchangeably with BlobInventoryPolicyName,
1551
+ * this enum contains the known values that the service supports.
1552
+ * ### Known values supported by the service
1553
+ * **default**
1554
+ */
1555
+ export type BlobInventoryPolicyName = string;
1556
+ /** Known values of {@link InventoryRuleType} that the service accepts. */
1557
+ export declare enum KnownInventoryRuleType {
1558
+ /** Inventory */
1559
+ Inventory = "Inventory"
1560
+ }
1561
+ /**
1562
+ * Defines values for InventoryRuleType. \
1563
+ * {@link KnownInventoryRuleType} can be used interchangeably with InventoryRuleType,
1564
+ * this enum contains the known values that the service supports.
1565
+ * ### Known values supported by the service
1566
+ * **Inventory**
1567
+ */
1568
+ export type InventoryRuleType = string;
1569
+ /** Known values of {@link CreatedByType} that the service accepts. */
1570
+ export declare enum KnownCreatedByType {
1571
+ /** User */
1572
+ User = "User",
1573
+ /** Application */
1574
+ Application = "Application",
1575
+ /** ManagedIdentity */
1576
+ ManagedIdentity = "ManagedIdentity",
1577
+ /** Key */
1578
+ Key = "Key"
1579
+ }
1580
+ /**
1581
+ * Defines values for CreatedByType. \
1582
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1583
+ * this enum contains the known values that the service supports.
1584
+ * ### Known values supported by the service
1585
+ * **User** \
1586
+ * **Application** \
1587
+ * **ManagedIdentity** \
1588
+ * **Key**
1589
+ */
1590
+ export type CreatedByType = string;
1591
+ /** Known values of {@link EncryptionScopeSource} that the service accepts. */
1592
+ export declare enum KnownEncryptionScopeSource {
1593
+ /** MicrosoftStorage */
1594
+ MicrosoftStorage = "Microsoft.Storage",
1595
+ /** MicrosoftKeyVault */
1596
+ MicrosoftKeyVault = "Microsoft.KeyVault"
1597
+ }
1598
+ /**
1599
+ * Defines values for EncryptionScopeSource. \
1600
+ * {@link KnownEncryptionScopeSource} can be used interchangeably with EncryptionScopeSource,
1601
+ * this enum contains the known values that the service supports.
1602
+ * ### Known values supported by the service
1603
+ * **Microsoft.Storage** \
1604
+ * **Microsoft.KeyVault**
1605
+ */
1606
+ export type EncryptionScopeSource = string;
1607
+ /** Known values of {@link EncryptionScopeState} that the service accepts. */
1608
+ export declare enum KnownEncryptionScopeState {
1609
+ /** Enabled */
1610
+ Enabled = "Enabled",
1611
+ /** Disabled */
1612
+ Disabled = "Disabled"
1613
+ }
1614
+ /**
1615
+ * Defines values for EncryptionScopeState. \
1616
+ * {@link KnownEncryptionScopeState} can be used interchangeably with EncryptionScopeState,
1617
+ * this enum contains the known values that the service supports.
1618
+ * ### Known values supported by the service
1619
+ * **Enabled** \
1620
+ * **Disabled**
1621
+ */
1622
+ export type EncryptionScopeState = string;
1623
+ /** Defines values for SkuTier. */
1624
+ export type SkuTier = "Standard" | "Premium";
1625
+ /** Defines values for Reason. */
1626
+ export type Reason = "AccountNameInvalid" | "AlreadyExists";
1627
+ /** Defines values for State. */
1628
+ export type State = "provisioning" | "deprovisioning" | "succeeded" | "failed" | "networkSourceDeleted";
1629
+ /** Defines values for DefaultAction. */
1630
+ export type DefaultAction = "Allow" | "Deny";
1631
+ /** Defines values for AccessTier. */
1632
+ export type AccessTier = "Hot" | "Cool";
1633
+ /** Defines values for ProvisioningState. */
1634
+ export type ProvisioningState = "Creating" | "ResolvingDNS" | "Succeeded";
1635
+ /** Defines values for AccountStatus. */
1636
+ export type AccountStatus = "available" | "unavailable";
1637
+ /** Defines values for StorageAccountExpand. */
1638
+ export type StorageAccountExpand = "geoReplicationStats" | "blobRestoreStatus";
1639
+ /** Defines values for KeyPermission. */
1640
+ export type KeyPermission = "Read" | "Full";
1641
+ /** Defines values for UsageUnit. */
1642
+ export type UsageUnit = "Count" | "Bytes" | "Seconds" | "Percent" | "CountsPerSecond" | "BytesPerSecond";
1643
+ /** Defines values for HttpProtocol. */
1644
+ export type HttpProtocol = "https,http" | "https";
1645
+ /** Optional parameters. */
1646
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1647
+ }
1648
+ /** Contains response data for the list operation. */
1649
+ export type OperationsListResponse = OperationListResult;
1650
+ /** Optional parameters. */
1651
+ export interface SkusListOptionalParams extends coreClient.OperationOptions {
1652
+ }
1653
+ /** Contains response data for the list operation. */
1654
+ export type SkusListResponse = StorageSkuListResult;
1655
+ /** Optional parameters. */
1656
+ export interface StorageAccountsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1657
+ }
1658
+ /** Contains response data for the checkNameAvailability operation. */
1659
+ export type StorageAccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
1660
+ /** Optional parameters. */
1661
+ export interface StorageAccountsCreateOptionalParams extends coreClient.OperationOptions {
1662
+ /** Delay to wait until next poll, in milliseconds. */
1663
+ updateIntervalInMs?: number;
1664
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1665
+ resumeFrom?: string;
1666
+ }
1667
+ /** Contains response data for the create operation. */
1668
+ export type StorageAccountsCreateResponse = StorageAccount;
1669
+ /** Optional parameters. */
1670
+ export interface StorageAccountsDeleteOptionalParams extends coreClient.OperationOptions {
1671
+ }
1672
+ /** Optional parameters. */
1673
+ export interface StorageAccountsGetPropertiesOptionalParams extends coreClient.OperationOptions {
1674
+ /** May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. */
1675
+ expand?: StorageAccountExpand;
1676
+ }
1677
+ /** Contains response data for the getProperties operation. */
1678
+ export type StorageAccountsGetPropertiesResponse = StorageAccount;
1679
+ /** Optional parameters. */
1680
+ export interface StorageAccountsUpdateOptionalParams extends coreClient.OperationOptions {
1681
+ }
1682
+ /** Contains response data for the update operation. */
1683
+ export type StorageAccountsUpdateResponse = StorageAccount;
1684
+ /** Optional parameters. */
1685
+ export interface StorageAccountsListOptionalParams extends coreClient.OperationOptions {
1686
+ }
1687
+ /** Contains response data for the list operation. */
1688
+ export type StorageAccountsListResponse = StorageAccountListResult;
1689
+ /** Optional parameters. */
1690
+ export interface StorageAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1691
+ }
1692
+ /** Contains response data for the listByResourceGroup operation. */
1693
+ export type StorageAccountsListByResourceGroupResponse = StorageAccountListResult;
1694
+ /** Optional parameters. */
1695
+ export interface StorageAccountsListKeysOptionalParams extends coreClient.OperationOptions {
1696
+ }
1697
+ /** Contains response data for the listKeys operation. */
1698
+ export type StorageAccountsListKeysResponse = StorageAccountListKeysResult;
1699
+ /** Optional parameters. */
1700
+ export interface StorageAccountsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
1701
+ }
1702
+ /** Contains response data for the regenerateKey operation. */
1703
+ export type StorageAccountsRegenerateKeyResponse = StorageAccountListKeysResult;
1704
+ /** Optional parameters. */
1705
+ export interface StorageAccountsListAccountSASOptionalParams extends coreClient.OperationOptions {
1706
+ }
1707
+ /** Contains response data for the listAccountSAS operation. */
1708
+ export type StorageAccountsListAccountSASResponse = ListAccountSasResponse;
1709
+ /** Optional parameters. */
1710
+ export interface StorageAccountsListServiceSASOptionalParams extends coreClient.OperationOptions {
1711
+ }
1712
+ /** Contains response data for the listServiceSAS operation. */
1713
+ export type StorageAccountsListServiceSASResponse = ListServiceSasResponse;
1714
+ /** Optional parameters. */
1715
+ export interface StorageAccountsFailoverOptionalParams extends coreClient.OperationOptions {
1716
+ /** Delay to wait until next poll, in milliseconds. */
1717
+ updateIntervalInMs?: number;
1718
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1719
+ resumeFrom?: string;
1720
+ }
1721
+ /** Optional parameters. */
1722
+ export interface StorageAccountsRestoreBlobRangesOptionalParams extends coreClient.OperationOptions {
1723
+ /** Delay to wait until next poll, in milliseconds. */
1724
+ updateIntervalInMs?: number;
1725
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1726
+ resumeFrom?: string;
1727
+ }
1728
+ /** Contains response data for the restoreBlobRanges operation. */
1729
+ export type StorageAccountsRestoreBlobRangesResponse = BlobRestoreStatus;
1730
+ /** Optional parameters. */
1731
+ export interface StorageAccountsRevokeUserDelegationKeysOptionalParams extends coreClient.OperationOptions {
1732
+ }
1733
+ /** Optional parameters. */
1734
+ export interface StorageAccountsListNextOptionalParams extends coreClient.OperationOptions {
1735
+ }
1736
+ /** Contains response data for the listNext operation. */
1737
+ export type StorageAccountsListNextResponse = StorageAccountListResult;
1738
+ /** Optional parameters. */
1739
+ export interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
1740
+ }
1741
+ /** Contains response data for the listByLocation operation. */
1742
+ export type UsagesListByLocationResponse = UsageListResult;
1743
+ /** Optional parameters. */
1744
+ export interface ManagementPoliciesGetOptionalParams extends coreClient.OperationOptions {
1745
+ }
1746
+ /** Contains response data for the get operation. */
1747
+ export type ManagementPoliciesGetResponse = ManagementPolicy;
1748
+ /** Optional parameters. */
1749
+ export interface ManagementPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1750
+ }
1751
+ /** Contains response data for the createOrUpdate operation. */
1752
+ export type ManagementPoliciesCreateOrUpdateResponse = ManagementPolicy;
1753
+ /** Optional parameters. */
1754
+ export interface ManagementPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
1755
+ }
1756
+ /** Optional parameters. */
1757
+ export interface BlobInventoryPoliciesGetOptionalParams extends coreClient.OperationOptions {
1758
+ }
1759
+ /** Contains response data for the get operation. */
1760
+ export type BlobInventoryPoliciesGetResponse = BlobInventoryPolicy;
1761
+ /** Optional parameters. */
1762
+ export interface BlobInventoryPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1763
+ }
1764
+ /** Contains response data for the createOrUpdate operation. */
1765
+ export type BlobInventoryPoliciesCreateOrUpdateResponse = BlobInventoryPolicy;
1766
+ /** Optional parameters. */
1767
+ export interface BlobInventoryPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
1768
+ }
1769
+ /** Optional parameters. */
1770
+ export interface BlobInventoryPoliciesListOptionalParams extends coreClient.OperationOptions {
1771
+ }
1772
+ /** Contains response data for the list operation. */
1773
+ export type BlobInventoryPoliciesListResponse = ListBlobInventoryPolicy;
1774
+ /** Optional parameters. */
1775
+ export interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
1776
+ }
1777
+ /** Contains response data for the list operation. */
1778
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
1779
+ /** Optional parameters. */
1780
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1781
+ }
1782
+ /** Contains response data for the get operation. */
1783
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1784
+ /** Optional parameters. */
1785
+ export interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
1786
+ }
1787
+ /** Contains response data for the put operation. */
1788
+ export type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection;
1789
+ /** Optional parameters. */
1790
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1791
+ }
1792
+ /** Optional parameters. */
1793
+ export interface PrivateLinkResourcesListByStorageAccountOptionalParams extends coreClient.OperationOptions {
1794
+ }
1795
+ /** Contains response data for the listByStorageAccount operation. */
1796
+ export type PrivateLinkResourcesListByStorageAccountResponse = PrivateLinkResourceListResult;
1797
+ /** Optional parameters. */
1798
+ export interface ObjectReplicationPoliciesListOptionalParams extends coreClient.OperationOptions {
1799
+ }
1800
+ /** Contains response data for the list operation. */
1801
+ export type ObjectReplicationPoliciesListResponse = ObjectReplicationPolicies;
1802
+ /** Optional parameters. */
1803
+ export interface ObjectReplicationPoliciesGetOptionalParams extends coreClient.OperationOptions {
1804
+ }
1805
+ /** Contains response data for the get operation. */
1806
+ export type ObjectReplicationPoliciesGetResponse = ObjectReplicationPolicy;
1807
+ /** Optional parameters. */
1808
+ export interface ObjectReplicationPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1809
+ }
1810
+ /** Contains response data for the createOrUpdate operation. */
1811
+ export type ObjectReplicationPoliciesCreateOrUpdateResponse = ObjectReplicationPolicy;
1812
+ /** Optional parameters. */
1813
+ export interface ObjectReplicationPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
1814
+ }
1815
+ /** Optional parameters. */
1816
+ export interface EncryptionScopesPutOptionalParams extends coreClient.OperationOptions {
1817
+ }
1818
+ /** Contains response data for the put operation. */
1819
+ export type EncryptionScopesPutResponse = EncryptionScope;
1820
+ /** Optional parameters. */
1821
+ export interface EncryptionScopesPatchOptionalParams extends coreClient.OperationOptions {
1822
+ }
1823
+ /** Contains response data for the patch operation. */
1824
+ export type EncryptionScopesPatchResponse = EncryptionScope;
1825
+ /** Optional parameters. */
1826
+ export interface EncryptionScopesGetOptionalParams extends coreClient.OperationOptions {
1827
+ }
1828
+ /** Contains response data for the get operation. */
1829
+ export type EncryptionScopesGetResponse = EncryptionScope;
1830
+ /** Optional parameters. */
1831
+ export interface EncryptionScopesListOptionalParams extends coreClient.OperationOptions {
1832
+ }
1833
+ /** Contains response data for the list operation. */
1834
+ export type EncryptionScopesListResponse = EncryptionScopeListResult;
1835
+ /** Optional parameters. */
1836
+ export interface EncryptionScopesListNextOptionalParams extends coreClient.OperationOptions {
1837
+ }
1838
+ /** Contains response data for the listNext operation. */
1839
+ export type EncryptionScopesListNextResponse = EncryptionScopeListResult;
1840
+ /** Optional parameters. */
1841
+ export interface StorageManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1842
+ /** server parameter */
1843
+ $host?: string;
1844
+ /** Api Version */
1845
+ apiVersion?: string;
1846
+ /** Overrides client endpoint. */
1847
+ endpoint?: string;
1848
+ }
1849
+ //# sourceMappingURL=index.d.ts.map