azure-mgmt-storage 21.1.0b1__py3-none-any.whl → 21.2.1__py3-none-any.whl

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 (813) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +66 -60
  3. azure/mgmt/storage/_storage_management_client.py +232 -26
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +232 -26
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +4 -11
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +25 -5
  11. azure/mgmt/storage/v2015_06_15/_vendor.py +0 -14
  12. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  13. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +4 -11
  14. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  15. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +27 -5
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +132 -213
  17. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +20 -22
  18. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  19. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +151 -232
  20. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +23 -25
  21. azure/mgmt/storage/v2016_01_01/_configuration.py +4 -11
  22. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  23. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +25 -5
  24. azure/mgmt/storage/v2016_01_01/_vendor.py +0 -14
  25. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  26. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +4 -11
  27. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  28. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +27 -5
  29. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +132 -213
  30. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +20 -22
  31. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  32. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +151 -232
  33. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +23 -25
  34. azure/mgmt/storage/v2016_12_01/_configuration.py +4 -11
  35. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  36. azure/mgmt/storage/v2016_12_01/_storage_management.py +25 -5
  37. azure/mgmt/storage/v2016_12_01/_vendor.py +0 -14
  38. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  39. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +4 -11
  40. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  41. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +27 -5
  42. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +162 -263
  43. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +20 -22
  44. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  45. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +185 -286
  46. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +23 -25
  47. azure/mgmt/storage/v2017_06_01/_configuration.py +4 -11
  48. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  49. azure/mgmt/storage/v2017_06_01/_storage_management.py +27 -7
  50. azure/mgmt/storage/v2017_06_01/_vendor.py +0 -14
  51. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  52. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +4 -11
  53. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  54. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +29 -7
  55. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +20 -22
  56. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +20 -22
  57. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +162 -263
  58. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +20 -22
  59. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  60. azure/mgmt/storage/v2017_06_01/operations/_operations.py +21 -23
  61. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +23 -25
  62. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +185 -286
  63. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +23 -25
  64. azure/mgmt/storage/v2017_10_01/_configuration.py +4 -11
  65. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/_storage_management.py +27 -7
  67. azure/mgmt/storage/v2017_10_01/_vendor.py +0 -14
  68. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  69. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +4 -11
  70. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  71. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +29 -7
  72. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +20 -22
  73. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +20 -22
  74. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +162 -263
  75. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +20 -22
  76. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  77. azure/mgmt/storage/v2017_10_01/operations/_operations.py +21 -23
  78. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +23 -25
  79. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +185 -286
  80. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +23 -25
  81. azure/mgmt/storage/v2018_02_01/_configuration.py +4 -11
  82. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  83. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +30 -8
  84. azure/mgmt/storage/v2018_02_01/_vendor.py +0 -14
  85. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  86. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +4 -11
  87. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  88. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +32 -8
  89. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +166 -264
  90. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +20 -22
  91. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +20 -22
  92. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +162 -263
  93. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +34 -41
  94. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +28 -34
  95. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +1 -1
  96. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +194 -292
  97. azure/mgmt/storage/v2018_02_01/operations/_operations.py +21 -23
  98. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +23 -25
  99. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +185 -286
  100. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +39 -46
  101. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +4 -11
  102. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  103. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +41 -8
  104. azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -14
  105. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  106. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +4 -11
  107. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  108. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +43 -8
  109. azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +2 -0
  110. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +182 -277
  111. azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/aio/operations/_management_policies_operations.py +55 -72
  112. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +21 -23
  113. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +21 -23
  114. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +209 -330
  115. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +36 -43
  116. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +30 -34
  117. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +1 -1
  118. azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +2 -0
  119. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +210 -331
  120. azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/operations/_management_policies_operations.py +62 -85
  121. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +22 -26
  122. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +24 -28
  123. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +239 -388
  124. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +41 -52
  125. azure/mgmt/storage/v2018_07_01/_configuration.py +9 -4
  126. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  127. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +36 -16
  128. azure/mgmt/storage/v2018_07_01/_vendor.py +0 -14
  129. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  130. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +9 -4
  131. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  132. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +38 -16
  133. azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -2
  134. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +166 -264
  135. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +31 -44
  136. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +31 -21
  137. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +31 -21
  138. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +195 -289
  139. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +31 -23
  140. azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -10
  141. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +30 -164
  142. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +1 -7
  143. azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -2
  144. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +194 -292
  145. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +36 -49
  146. azure/mgmt/storage/v2018_07_01/operations/_operations.py +32 -22
  147. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +34 -24
  148. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +220 -314
  149. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +34 -26
  150. azure/mgmt/storage/v2018_11_01/_configuration.py +4 -11
  151. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  152. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +34 -10
  153. azure/mgmt/storage/v2018_11_01/_vendor.py +0 -14
  154. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  155. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +4 -11
  156. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  157. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +36 -10
  158. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +164 -262
  159. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +31 -44
  160. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +39 -57
  161. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +20 -22
  162. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +20 -22
  163. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +182 -304
  164. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +20 -24
  165. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +37 -43
  166. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +1 -1
  167. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +192 -290
  168. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +36 -49
  169. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +46 -64
  170. azure/mgmt/storage/v2018_11_01/operations/_operations.py +21 -23
  171. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +23 -25
  172. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +210 -332
  173. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +23 -27
  174. azure/mgmt/storage/v2019_04_01/_configuration.py +4 -11
  175. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  176. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +40 -12
  177. azure/mgmt/storage/v2019_04_01/_vendor.py +0 -14
  178. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  179. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +4 -11
  180. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  181. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +42 -12
  182. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +169 -267
  183. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +45 -63
  184. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +41 -59
  185. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +68 -101
  186. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +39 -57
  187. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +20 -22
  188. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +20 -22
  189. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +183 -304
  190. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +20 -24
  191. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +42 -48
  192. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +1 -1
  193. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +197 -295
  194. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +52 -70
  195. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +48 -66
  196. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +79 -112
  197. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +46 -64
  198. azure/mgmt/storage/v2019_04_01/operations/_operations.py +21 -23
  199. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +23 -25
  200. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +211 -332
  201. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +23 -27
  202. azure/mgmt/storage/v2019_06_01/_configuration.py +4 -11
  203. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  204. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +54 -22
  205. azure/mgmt/storage/v2019_06_01/_vendor.py +0 -14
  206. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  207. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +4 -11
  208. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  209. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +56 -22
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +169 -267
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  212. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +45 -63
  213. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
  214. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +41 -59
  215. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +82 -125
  216. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +39 -57
  217. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
  218. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +20 -22
  219. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  220. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +15 -19
  221. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +68 -101
  222. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +40 -58
  223. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +20 -22
  224. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +203 -357
  225. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +55 -79
  226. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +40 -58
  227. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +20 -24
  228. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +62 -68
  229. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -1
  230. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +197 -295
  231. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +62 -85
  232. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +52 -70
  233. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +67 -95
  234. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +48 -66
  235. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +95 -138
  236. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +46 -64
  237. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +63 -85
  238. azure/mgmt/storage/v2019_06_01/operations/_operations.py +21 -23
  239. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +62 -85
  240. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +18 -22
  241. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +79 -112
  242. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +47 -65
  243. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +23 -25
  244. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +233 -387
  245. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +66 -90
  246. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +47 -65
  247. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +23 -27
  248. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +4 -11
  249. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  250. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +64 -24
  251. azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -14
  252. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  253. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +4 -11
  254. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  255. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +66 -24
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +185 -280
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +58 -80
  258. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +49 -66
  259. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +31 -38
  260. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +64 -90
  261. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +45 -62
  262. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +88 -131
  263. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +42 -60
  264. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +59 -80
  265. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +21 -23
  266. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +57 -80
  267. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +16 -20
  268. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +73 -106
  269. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +44 -61
  270. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +21 -23
  271. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +221 -374
  272. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +60 -84
  273. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +44 -61
  274. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +21 -25
  275. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +64 -86
  276. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +1 -1
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +213 -334
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +67 -97
  279. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +56 -79
  280. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +36 -47
  281. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +73 -107
  282. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +52 -75
  283. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +101 -156
  284. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +49 -73
  285. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +68 -97
  286. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +22 -26
  287. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +66 -97
  288. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +19 -25
  289. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +84 -127
  290. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +51 -74
  291. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +24 -28
  292. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +251 -432
  293. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +71 -105
  294. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +51 -74
  295. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +24 -30
  296. azure/mgmt/storage/v2021_01_01/_configuration.py +4 -11
  297. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  298. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +55 -23
  299. azure/mgmt/storage/v2021_01_01/_vendor.py +0 -14
  300. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  301. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +4 -11
  302. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  303. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +57 -23
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +169 -267
  305. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  306. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +45 -63
  307. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +29 -36
  308. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +58 -86
  309. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +41 -59
  310. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +82 -125
  311. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +39 -57
  312. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +54 -76
  313. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +20 -22
  314. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  315. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +15 -19
  316. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +68 -101
  317. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +40 -58
  318. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +20 -22
  319. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +203 -357
  320. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +55 -79
  321. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +40 -58
  322. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +20 -24
  323. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +64 -86
  324. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +1 -1
  325. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +197 -295
  326. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +62 -85
  327. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +52 -70
  328. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +34 -41
  329. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +67 -95
  330. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +48 -66
  331. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +95 -138
  332. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +46 -64
  333. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +63 -85
  334. azure/mgmt/storage/v2021_01_01/operations/_operations.py +21 -23
  335. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +62 -85
  336. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +18 -22
  337. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +79 -112
  338. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +47 -65
  339. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +23 -25
  340. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +233 -387
  341. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +66 -90
  342. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +47 -65
  343. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +23 -27
  344. azure/mgmt/storage/v2021_02_01/_configuration.py +4 -11
  345. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  346. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +55 -23
  347. azure/mgmt/storage/v2021_02_01/_vendor.py +0 -14
  348. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  349. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +4 -11
  350. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  351. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +57 -23
  352. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +169 -267
  353. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  354. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +45 -63
  355. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +29 -36
  356. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +58 -86
  357. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +41 -59
  358. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +82 -125
  359. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +39 -57
  360. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +54 -76
  361. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +20 -22
  362. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  363. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +15 -19
  364. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +68 -101
  365. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +40 -58
  366. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +20 -22
  367. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +203 -357
  368. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +55 -79
  369. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +40 -58
  370. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +20 -24
  371. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +66 -88
  372. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +1 -1
  373. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +197 -295
  374. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +62 -85
  375. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +52 -70
  376. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +34 -41
  377. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +67 -95
  378. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +48 -66
  379. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +95 -138
  380. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +46 -64
  381. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +63 -85
  382. azure/mgmt/storage/v2021_02_01/operations/_operations.py +21 -23
  383. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +62 -85
  384. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +18 -22
  385. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +79 -112
  386. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +47 -65
  387. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +23 -25
  388. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +233 -387
  389. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +66 -90
  390. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +47 -65
  391. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +23 -27
  392. azure/mgmt/storage/v2021_04_01/_configuration.py +4 -11
  393. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  394. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +55 -23
  395. azure/mgmt/storage/v2021_04_01/_vendor.py +0 -14
  396. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  397. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +4 -11
  398. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  399. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +57 -23
  400. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +181 -295
  401. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  402. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +45 -63
  403. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +29 -36
  404. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +58 -86
  405. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +41 -59
  406. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +98 -151
  407. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +39 -57
  408. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +54 -76
  409. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +20 -22
  410. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  411. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +15 -19
  412. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +68 -101
  413. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +40 -58
  414. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +20 -22
  415. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +203 -357
  416. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +55 -79
  417. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +40 -58
  418. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +20 -24
  419. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +66 -88
  420. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +2 -2
  421. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +211 -325
  422. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +62 -85
  423. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +52 -70
  424. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +34 -41
  425. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +67 -95
  426. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +48 -66
  427. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +113 -166
  428. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +46 -64
  429. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +63 -85
  430. azure/mgmt/storage/v2021_04_01/operations/_operations.py +21 -23
  431. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +62 -85
  432. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +18 -22
  433. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +79 -112
  434. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +47 -65
  435. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +23 -25
  436. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +233 -387
  437. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +66 -90
  438. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +47 -65
  439. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +23 -27
  440. azure/mgmt/storage/v2021_06_01/_configuration.py +4 -11
  441. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  442. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +55 -23
  443. azure/mgmt/storage/v2021_06_01/_vendor.py +0 -14
  444. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  445. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +4 -11
  446. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  447. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +57 -23
  448. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +181 -315
  449. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  450. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +45 -79
  451. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +29 -36
  452. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
  453. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +41 -75
  454. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +98 -151
  455. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +39 -57
  456. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
  457. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +20 -22
  458. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  459. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +15 -19
  460. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +68 -101
  461. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +40 -74
  462. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +20 -22
  463. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +230 -416
  464. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +55 -79
  465. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +40 -74
  466. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +20 -24
  467. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +66 -88
  468. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +2 -2
  469. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +211 -345
  470. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +62 -85
  471. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +52 -86
  472. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +34 -41
  473. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +67 -95
  474. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +48 -82
  475. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +113 -166
  476. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +46 -64
  477. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +63 -85
  478. azure/mgmt/storage/v2021_06_01/operations/_operations.py +21 -23
  479. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +62 -85
  480. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +18 -22
  481. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +79 -112
  482. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +47 -81
  483. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +23 -25
  484. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +266 -452
  485. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +66 -90
  486. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +47 -81
  487. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +23 -27
  488. azure/mgmt/storage/v2021_08_01/_configuration.py +4 -11
  489. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  490. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +59 -25
  491. azure/mgmt/storage/v2021_08_01/_vendor.py +0 -14
  492. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  493. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +4 -11
  494. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  495. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +61 -25
  496. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +181 -315
  497. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  498. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +45 -79
  499. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +29 -36
  500. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +58 -86
  501. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +41 -75
  502. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +98 -151
  503. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +71 -104
  504. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +39 -57
  505. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +54 -76
  506. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +20 -22
  507. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  508. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +15 -19
  509. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +68 -101
  510. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +40 -74
  511. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +20 -22
  512. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +230 -416
  513. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +55 -79
  514. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +40 -74
  515. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +20 -24
  516. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +68 -90
  517. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +2 -2
  518. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +211 -345
  519. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +62 -85
  520. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +52 -86
  521. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +34 -41
  522. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +67 -95
  523. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +48 -82
  524. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +113 -166
  525. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +84 -117
  526. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +46 -64
  527. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +63 -85
  528. azure/mgmt/storage/v2021_08_01/operations/_operations.py +21 -23
  529. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +62 -85
  530. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +18 -22
  531. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +79 -112
  532. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +47 -81
  533. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +23 -25
  534. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +266 -452
  535. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +66 -90
  536. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +47 -81
  537. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +23 -27
  538. azure/mgmt/storage/v2021_09_01/_configuration.py +4 -11
  539. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  540. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +59 -25
  541. azure/mgmt/storage/v2021_09_01/_vendor.py +0 -14
  542. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  543. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +4 -11
  544. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  545. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +61 -25
  546. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +181 -315
  547. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  548. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +45 -79
  549. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
  550. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
  551. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +41 -75
  552. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +98 -151
  553. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +71 -104
  554. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +39 -57
  555. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
  556. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +20 -22
  557. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  558. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +15 -19
  559. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +68 -101
  560. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +40 -74
  561. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +20 -22
  562. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +230 -416
  563. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +70 -103
  564. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +40 -74
  565. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +20 -24
  566. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +70 -92
  567. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +2 -2
  568. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +211 -345
  569. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +62 -85
  570. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +52 -86
  571. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +34 -41
  572. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +67 -95
  573. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +48 -82
  574. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +113 -166
  575. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +84 -117
  576. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +46 -64
  577. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +63 -85
  578. azure/mgmt/storage/v2021_09_01/operations/_operations.py +21 -23
  579. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +62 -85
  580. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +18 -22
  581. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +79 -112
  582. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +47 -81
  583. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +23 -25
  584. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +266 -452
  585. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +81 -114
  586. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +47 -81
  587. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +23 -27
  588. azure/mgmt/storage/v2022_05_01/_configuration.py +4 -11
  589. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +59 -25
  590. azure/mgmt/storage/v2022_05_01/_vendor.py +0 -14
  591. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  592. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +4 -11
  593. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +61 -25
  594. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +181 -315
  595. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  596. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +45 -79
  597. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +29 -36
  598. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +58 -86
  599. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +41 -75
  600. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +98 -151
  601. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +71 -104
  602. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +39 -57
  603. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +54 -76
  604. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +20 -22
  605. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  606. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +15 -19
  607. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +68 -101
  608. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +40 -74
  609. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +20 -22
  610. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +230 -416
  611. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +70 -103
  612. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +40 -74
  613. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +20 -24
  614. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +69 -91
  615. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +2 -2
  616. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +211 -345
  617. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +62 -85
  618. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +52 -86
  619. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +34 -41
  620. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +67 -95
  621. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +48 -82
  622. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +113 -166
  623. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +84 -117
  624. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +46 -64
  625. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +63 -85
  626. azure/mgmt/storage/v2022_05_01/operations/_operations.py +21 -23
  627. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +62 -85
  628. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +18 -22
  629. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +79 -112
  630. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +47 -81
  631. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +23 -25
  632. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +266 -452
  633. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +81 -114
  634. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +47 -81
  635. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +23 -27
  636. azure/mgmt/storage/v2022_09_01/_configuration.py +4 -11
  637. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +59 -25
  638. azure/mgmt/storage/v2022_09_01/_vendor.py +0 -14
  639. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  640. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +4 -11
  641. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +61 -25
  642. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +181 -315
  643. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  644. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +45 -79
  645. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
  646. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
  647. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +41 -75
  648. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +98 -151
  649. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +71 -104
  650. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +39 -57
  651. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
  652. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +20 -22
  653. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  654. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +15 -19
  655. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +68 -101
  656. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +40 -74
  657. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +20 -22
  658. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +230 -416
  659. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +70 -103
  660. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +40 -74
  661. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +20 -24
  662. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +69 -91
  663. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +2 -2
  664. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +211 -345
  665. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +62 -85
  666. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +52 -86
  667. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +34 -41
  668. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +67 -95
  669. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +48 -82
  670. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +113 -166
  671. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +84 -117
  672. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +46 -64
  673. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +63 -85
  674. azure/mgmt/storage/v2022_09_01/operations/_operations.py +21 -23
  675. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +62 -85
  676. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +18 -22
  677. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +79 -112
  678. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +47 -81
  679. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +23 -25
  680. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +266 -452
  681. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +81 -114
  682. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +47 -81
  683. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +23 -27
  684. azure/mgmt/storage/v2023_01_01/__init__.py +26 -0
  685. azure/mgmt/storage/v2023_01_01/_configuration.py +65 -0
  686. azure/mgmt/storage/v2023_01_01/_patch.py +20 -0
  687. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +225 -0
  688. azure/mgmt/storage/v2023_01_01/_vendor.py +16 -0
  689. azure/mgmt/storage/v2023_01_01/_version.py +9 -0
  690. azure/mgmt/storage/v2023_01_01/aio/__init__.py +23 -0
  691. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +65 -0
  692. azure/mgmt/storage/v2023_01_01/aio/_patch.py +20 -0
  693. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +230 -0
  694. azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +57 -0
  695. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +1838 -0
  696. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  697. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +362 -0
  698. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +194 -0
  699. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +568 -0
  700. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +328 -0
  701. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +1003 -0
  702. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +560 -0
  703. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +349 -0
  704. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +446 -0
  705. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +135 -0
  706. azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +20 -0
  707. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  708. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +117 -0
  709. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +608 -0
  710. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +328 -0
  711. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +136 -0
  712. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +2187 -0
  713. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +588 -0
  714. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +328 -0
  715. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +139 -0
  716. azure/mgmt/storage/v2023_01_01/models/__init__.py +461 -0
  717. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +8338 -0
  718. azure/mgmt/storage/v2023_01_01/models/_patch.py +20 -0
  719. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +626 -0
  720. azure/mgmt/storage/v2023_01_01/operations/__init__.py +57 -0
  721. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +2398 -0
  722. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +595 -0
  723. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +470 -0
  724. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +250 -0
  725. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +732 -0
  726. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +437 -0
  727. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +1310 -0
  728. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +770 -0
  729. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +465 -0
  730. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +593 -0
  731. azure/mgmt/storage/v2023_01_01/operations/_operations.py +156 -0
  732. azure/mgmt/storage/v2023_01_01/operations/_patch.py +20 -0
  733. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +591 -0
  734. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +155 -0
  735. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +824 -0
  736. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +437 -0
  737. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +162 -0
  738. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +2796 -0
  739. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +775 -0
  740. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +437 -0
  741. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +169 -0
  742. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  743. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  744. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  746. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  747. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  748. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  749. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  750. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  751. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  752. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  753. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  754. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  755. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  756. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  757. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  758. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  759. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  760. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  761. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  762. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  763. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  764. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  765. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  766. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  767. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  768. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  769. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  770. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  771. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  772. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  773. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  774. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  775. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  776. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  777. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  778. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  779. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  780. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  781. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  782. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  783. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  784. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  785. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  786. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  787. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  788. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  789. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  790. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  791. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  792. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  793. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  794. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  795. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  796. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  797. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  798. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  799. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  800. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  801. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  802. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  803. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  804. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  805. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  806. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  807. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  808. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/METADATA +52 -13
  809. azure_mgmt_storage-21.2.1.dist-info/RECORD +979 -0
  810. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/WHEEL +1 -1
  811. azure_mgmt_storage-21.1.0b1.dist-info/RECORD +0 -855
  812. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/LICENSE +0 -0
  813. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6,8 +6,9 @@
6
6
  # Code generated by Microsoft (R) AutoRest Code Generator.
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
+ from io import IOBase
9
10
  import sys
10
- from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
11
+ from typing import Any, Callable, Dict, IO, Iterable, Optional, Type, TypeVar, Union, cast, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.exceptions import (
@@ -30,12 +31,12 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
30
31
 
31
32
  from .. import models as _models
32
33
  from ..._serialization import Serializer
33
- from .._vendor import _convert_request, _format_url_section
34
+ from .._vendor import _convert_request
34
35
 
35
- if sys.version_info >= (3, 8):
36
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
36
+ if sys.version_info >= (3, 9):
37
+ from collections.abc import MutableMapping
37
38
  else:
38
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
39
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
39
40
  T = TypeVar("T")
40
41
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
41
42
 
@@ -47,7 +48,7 @@ def build_check_name_availability_request(subscription_id: str, **kwargs: Any) -
47
48
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
48
49
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
49
50
 
50
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
51
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
51
52
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
52
53
  accept = _headers.pop("Accept", "application/json, text/json")
53
54
 
@@ -59,7 +60,7 @@ def build_check_name_availability_request(subscription_id: str, **kwargs: Any) -
59
60
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
60
61
  }
61
62
 
62
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
63
+ _url: str = _url.format(**path_format_arguments) # type: ignore
63
64
 
64
65
  # Construct parameters
65
66
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -78,7 +79,7 @@ def build_create_request(
78
79
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
79
80
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
80
81
 
81
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
82
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
82
83
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
83
84
  accept = _headers.pop("Accept", "application/json, text/json")
84
85
 
@@ -93,7 +94,7 @@ def build_create_request(
93
94
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
94
95
  }
95
96
 
96
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
97
+ _url: str = _url.format(**path_format_arguments) # type: ignore
97
98
 
98
99
  # Construct parameters
99
100
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -111,7 +112,7 @@ def build_delete_request(
111
112
  ) -> HttpRequest:
112
113
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
113
114
 
114
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
115
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
115
116
  # Construct URL
116
117
  _url = kwargs.pop(
117
118
  "template_url",
@@ -123,7 +124,7 @@ def build_delete_request(
123
124
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
124
125
  }
125
126
 
126
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
127
+ _url: str = _url.format(**path_format_arguments) # type: ignore
127
128
 
128
129
  # Construct parameters
129
130
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -137,7 +138,7 @@ def build_get_properties_request(
137
138
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
138
139
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
139
140
 
140
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
141
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
141
142
  accept = _headers.pop("Accept", "application/json, text/json")
142
143
 
143
144
  # Construct URL
@@ -151,7 +152,7 @@ def build_get_properties_request(
151
152
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
152
153
  }
153
154
 
154
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
155
+ _url: str = _url.format(**path_format_arguments) # type: ignore
155
156
 
156
157
  # Construct parameters
157
158
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -168,7 +169,7 @@ def build_update_request(
168
169
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
169
170
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
170
171
 
171
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
172
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
172
173
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
173
174
  accept = _headers.pop("Accept", "application/json, text/json")
174
175
 
@@ -183,7 +184,7 @@ def build_update_request(
183
184
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
184
185
  }
185
186
 
186
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
187
+ _url: str = _url.format(**path_format_arguments) # type: ignore
187
188
 
188
189
  # Construct parameters
189
190
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -200,7 +201,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
200
201
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
201
202
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
202
203
 
203
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
204
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
204
205
  accept = _headers.pop("Accept", "application/json, text/json")
205
206
 
206
207
  # Construct URL
@@ -209,7 +210,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
209
210
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
210
211
  }
211
212
 
212
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
213
+ _url: str = _url.format(**path_format_arguments) # type: ignore
213
214
 
214
215
  # Construct parameters
215
216
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -224,7 +225,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
224
225
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
225
226
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
226
227
 
227
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
228
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
228
229
  accept = _headers.pop("Accept", "application/json, text/json")
229
230
 
230
231
  # Construct URL
@@ -237,7 +238,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
237
238
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
238
239
  }
239
240
 
240
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
241
+ _url: str = _url.format(**path_format_arguments) # type: ignore
241
242
 
242
243
  # Construct parameters
243
244
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -254,7 +255,7 @@ def build_list_keys_request(
254
255
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
255
256
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
256
257
 
257
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
258
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
258
259
  accept = _headers.pop("Accept", "application/json, text/json")
259
260
 
260
261
  # Construct URL
@@ -268,7 +269,7 @@ def build_list_keys_request(
268
269
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
269
270
  }
270
271
 
271
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
272
+ _url: str = _url.format(**path_format_arguments) # type: ignore
272
273
 
273
274
  # Construct parameters
274
275
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -285,7 +286,7 @@ def build_regenerate_key_request(
285
286
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
286
287
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
287
288
 
288
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
289
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
289
290
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
290
291
  accept = _headers.pop("Accept", "application/json, text/json")
291
292
 
@@ -300,7 +301,7 @@ def build_regenerate_key_request(
300
301
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
301
302
  }
302
303
 
303
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
304
+ _url: str = _url.format(**path_format_arguments) # type: ignore
304
305
 
305
306
  # Construct parameters
306
307
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -331,6 +332,7 @@ class StorageAccountsOperations:
331
332
  self._config = input_args.pop(0) if input_args else kwargs.pop("config")
332
333
  self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
333
334
  self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
335
+ self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
334
336
 
335
337
  @overload
336
338
  def check_name_availability(
@@ -350,7 +352,6 @@ class StorageAccountsOperations:
350
352
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
351
353
  Default value is "application/json".
352
354
  :paramtype content_type: str
353
- :keyword callable cls: A custom type or function that will be passed the direct response
354
355
  :return: CheckNameAvailabilityResult or the result of cls(response)
355
356
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.CheckNameAvailabilityResult
356
357
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -358,18 +359,17 @@ class StorageAccountsOperations:
358
359
 
359
360
  @overload
360
361
  def check_name_availability(
361
- self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
362
+ self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
362
363
  ) -> _models.CheckNameAvailabilityResult:
363
364
  """Checks that the storage account name is valid and is not already in use.
364
365
 
365
366
  :param account_name: The name of the storage account within the specified resource group.
366
367
  Storage account names must be between 3 and 24 characters in length and use numbers and
367
368
  lower-case letters only. Required.
368
- :type account_name: IO
369
+ :type account_name: IO[bytes]
369
370
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
370
371
  Known values are: 'application/json', 'text/json'. Default value is "application/json".
371
372
  :paramtype content_type: str
372
- :keyword callable cls: A custom type or function that will be passed the direct response
373
373
  :return: CheckNameAvailabilityResult or the result of cls(response)
374
374
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.CheckNameAvailabilityResult
375
375
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -377,25 +377,22 @@ class StorageAccountsOperations:
377
377
 
378
378
  @distributed_trace
379
379
  def check_name_availability(
380
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
380
+ self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
381
381
  ) -> _models.CheckNameAvailabilityResult:
382
382
  """Checks that the storage account name is valid and is not already in use.
383
383
 
384
384
  :param account_name: The name of the storage account within the specified resource group.
385
385
  Storage account names must be between 3 and 24 characters in length and use numbers and
386
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a IO
387
- type. Required.
386
+ lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
387
+ IO[bytes] type. Required.
388
388
  :type account_name:
389
- ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCheckNameAvailabilityParameters or IO
390
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json',
391
- 'text/json'. Default value is None.
392
- :paramtype content_type: str
393
- :keyword callable cls: A custom type or function that will be passed the direct response
389
+ ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCheckNameAvailabilityParameters or
390
+ IO[bytes]
394
391
  :return: CheckNameAvailabilityResult or the result of cls(response)
395
392
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.CheckNameAvailabilityResult
396
393
  :raises ~azure.core.exceptions.HttpResponseError:
397
394
  """
398
- error_map = {
395
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
399
396
  401: ClientAuthenticationError,
400
397
  404: ResourceNotFoundError,
401
398
  409: ResourceExistsError,
@@ -406,33 +403,33 @@ class StorageAccountsOperations:
406
403
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
407
404
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
408
405
 
409
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
406
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
410
407
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
411
408
  cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
412
409
 
413
410
  content_type = content_type or "application/json"
414
411
  _json = None
415
412
  _content = None
416
- if isinstance(account_name, (IO, bytes)):
413
+ if isinstance(account_name, (IOBase, bytes)):
417
414
  _content = account_name
418
415
  else:
419
416
  _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
420
417
 
421
- request = build_check_name_availability_request(
418
+ _request = build_check_name_availability_request(
422
419
  subscription_id=self._config.subscription_id,
423
420
  api_version=api_version,
424
421
  content_type=content_type,
425
422
  json=_json,
426
423
  content=_content,
427
- template_url=self.check_name_availability.metadata["url"],
428
424
  headers=_headers,
429
425
  params=_params,
430
426
  )
431
- request = _convert_request(request)
432
- request.url = self._client.format_url(request.url)
427
+ _request = _convert_request(_request)
428
+ _request.url = self._client.format_url(_request.url)
433
429
 
430
+ _stream = False
434
431
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
435
- request, stream=False, **kwargs
432
+ _request, stream=_stream, **kwargs
436
433
  )
437
434
 
438
435
  response = pipeline_response.http_response
@@ -444,22 +441,18 @@ class StorageAccountsOperations:
444
441
  deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
445
442
 
446
443
  if cls:
447
- return cls(pipeline_response, deserialized, {})
448
-
449
- return deserialized
444
+ return cls(pipeline_response, deserialized, {}) # type: ignore
450
445
 
451
- check_name_availability.metadata = {
452
- "url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
453
- }
446
+ return deserialized # type: ignore
454
447
 
455
448
  def _create_initial(
456
449
  self,
457
450
  resource_group_name: str,
458
451
  account_name: str,
459
- parameters: Union[_models.StorageAccountCreateParameters, IO],
452
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
460
453
  **kwargs: Any
461
454
  ) -> Optional[_models.StorageAccount]:
462
- error_map = {
455
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
463
456
  401: ClientAuthenticationError,
464
457
  404: ResourceNotFoundError,
465
458
  409: ResourceExistsError,
@@ -470,19 +463,19 @@ class StorageAccountsOperations:
470
463
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
471
464
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
472
465
 
473
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
466
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
474
467
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
475
468
  cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
476
469
 
477
470
  content_type = content_type or "application/json"
478
471
  _json = None
479
472
  _content = None
480
- if isinstance(parameters, (IO, bytes)):
473
+ if isinstance(parameters, (IOBase, bytes)):
481
474
  _content = parameters
482
475
  else:
483
476
  _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
484
477
 
485
- request = build_create_request(
478
+ _request = build_create_request(
486
479
  resource_group_name=resource_group_name,
487
480
  account_name=account_name,
488
481
  subscription_id=self._config.subscription_id,
@@ -490,15 +483,15 @@ class StorageAccountsOperations:
490
483
  content_type=content_type,
491
484
  json=_json,
492
485
  content=_content,
493
- template_url=self._create_initial.metadata["url"],
494
486
  headers=_headers,
495
487
  params=_params,
496
488
  )
497
- request = _convert_request(request)
498
- request.url = self._client.format_url(request.url)
489
+ _request = _convert_request(_request)
490
+ _request.url = self._client.format_url(_request.url)
499
491
 
492
+ _stream = False
500
493
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
501
- request, stream=False, **kwargs
494
+ _request, stream=_stream, **kwargs
502
495
  )
503
496
 
504
497
  response = pipeline_response.http_response
@@ -512,13 +505,9 @@ class StorageAccountsOperations:
512
505
  deserialized = self._deserialize("StorageAccount", pipeline_response)
513
506
 
514
507
  if cls:
515
- return cls(pipeline_response, deserialized, {})
508
+ return cls(pipeline_response, deserialized, {}) # type: ignore
516
509
 
517
- return deserialized
518
-
519
- _create_initial.metadata = {
520
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
521
- }
510
+ return deserialized # type: ignore
522
511
 
523
512
  @overload
524
513
  def begin_create(
@@ -547,14 +536,6 @@ class StorageAccountsOperations:
547
536
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
548
537
  Default value is "application/json".
549
538
  :paramtype content_type: str
550
- :keyword callable cls: A custom type or function that will be passed the direct response
551
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
552
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
553
- operation to not poll, or pass in your own initialized polling object for a personal polling
554
- strategy.
555
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
556
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
557
- Retry-After header is present.
558
539
  :return: An instance of LROPoller that returns either StorageAccount or the result of
559
540
  cls(response)
560
541
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2016_01_01.models.StorageAccount]
@@ -566,7 +547,7 @@ class StorageAccountsOperations:
566
547
  self,
567
548
  resource_group_name: str,
568
549
  account_name: str,
569
- parameters: IO,
550
+ parameters: IO[bytes],
570
551
  *,
571
552
  content_type: str = "application/json",
572
553
  **kwargs: Any
@@ -584,18 +565,10 @@ class StorageAccountsOperations:
584
565
  lower-case letters only. Required.
585
566
  :type account_name: str
586
567
  :param parameters: The parameters to provide for the created account. Required.
587
- :type parameters: IO
568
+ :type parameters: IO[bytes]
588
569
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
589
570
  Known values are: 'application/json', 'text/json'. Default value is "application/json".
590
571
  :paramtype content_type: str
591
- :keyword callable cls: A custom type or function that will be passed the direct response
592
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
593
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
594
- operation to not poll, or pass in your own initialized polling object for a personal polling
595
- strategy.
596
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
597
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
598
- Retry-After header is present.
599
572
  :return: An instance of LROPoller that returns either StorageAccount or the result of
600
573
  cls(response)
601
574
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2016_01_01.models.StorageAccount]
@@ -607,7 +580,7 @@ class StorageAccountsOperations:
607
580
  self,
608
581
  resource_group_name: str,
609
582
  account_name: str,
610
- parameters: Union[_models.StorageAccountCreateParameters, IO],
583
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
611
584
  **kwargs: Any
612
585
  ) -> LROPoller[_models.StorageAccount]:
613
586
  """Asynchronously creates a new storage account with the specified parameters. If an account is
@@ -623,19 +596,9 @@ class StorageAccountsOperations:
623
596
  lower-case letters only. Required.
624
597
  :type account_name: str
625
598
  :param parameters: The parameters to provide for the created account. Is either a
626
- StorageAccountCreateParameters type or a IO type. Required.
627
- :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCreateParameters or IO
628
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json',
629
- 'text/json'. Default value is None.
630
- :paramtype content_type: str
631
- :keyword callable cls: A custom type or function that will be passed the direct response
632
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
633
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
634
- operation to not poll, or pass in your own initialized polling object for a personal polling
635
- strategy.
636
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
637
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
638
- Retry-After header is present.
599
+ StorageAccountCreateParameters type or a IO[bytes] type. Required.
600
+ :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountCreateParameters or
601
+ IO[bytes]
639
602
  :return: An instance of LROPoller that returns either StorageAccount or the result of
640
603
  cls(response)
641
604
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2016_01_01.models.StorageAccount]
@@ -644,7 +607,7 @@ class StorageAccountsOperations:
644
607
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
645
608
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
646
609
 
647
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
610
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
648
611
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
649
612
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
650
613
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
@@ -667,7 +630,7 @@ class StorageAccountsOperations:
667
630
  def get_long_running_output(pipeline_response):
668
631
  deserialized = self._deserialize("StorageAccount", pipeline_response)
669
632
  if cls:
670
- return cls(pipeline_response, deserialized, {})
633
+ return cls(pipeline_response, deserialized, {}) # type: ignore
671
634
  return deserialized
672
635
 
673
636
  if polling is True:
@@ -677,17 +640,15 @@ class StorageAccountsOperations:
677
640
  else:
678
641
  polling_method = polling
679
642
  if cont_token:
680
- return LROPoller.from_continuation_token(
643
+ return LROPoller[_models.StorageAccount].from_continuation_token(
681
644
  polling_method=polling_method,
682
645
  continuation_token=cont_token,
683
646
  client=self._client,
684
647
  deserialization_callback=get_long_running_output,
685
648
  )
686
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
687
-
688
- begin_create.metadata = {
689
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
690
- }
649
+ return LROPoller[_models.StorageAccount](
650
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
651
+ )
691
652
 
692
653
  @distributed_trace
693
654
  def delete( # pylint: disable=inconsistent-return-statements
@@ -702,12 +663,11 @@ class StorageAccountsOperations:
702
663
  Storage account names must be between 3 and 24 characters in length and use numbers and
703
664
  lower-case letters only. Required.
704
665
  :type account_name: str
705
- :keyword callable cls: A custom type or function that will be passed the direct response
706
666
  :return: None or the result of cls(response)
707
667
  :rtype: None
708
668
  :raises ~azure.core.exceptions.HttpResponseError:
709
669
  """
710
- error_map = {
670
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
711
671
  401: ClientAuthenticationError,
712
672
  404: ResourceNotFoundError,
713
673
  409: ResourceExistsError,
@@ -718,23 +678,23 @@ class StorageAccountsOperations:
718
678
  _headers = kwargs.pop("headers", {}) or {}
719
679
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
720
680
 
721
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
681
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
722
682
  cls: ClsType[None] = kwargs.pop("cls", None)
723
683
 
724
- request = build_delete_request(
684
+ _request = build_delete_request(
725
685
  resource_group_name=resource_group_name,
726
686
  account_name=account_name,
727
687
  subscription_id=self._config.subscription_id,
728
688
  api_version=api_version,
729
- template_url=self.delete.metadata["url"],
730
689
  headers=_headers,
731
690
  params=_params,
732
691
  )
733
- request = _convert_request(request)
734
- request.url = self._client.format_url(request.url)
692
+ _request = _convert_request(_request)
693
+ _request.url = self._client.format_url(_request.url)
735
694
 
695
+ _stream = False
736
696
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
737
- request, stream=False, **kwargs
697
+ _request, stream=_stream, **kwargs
738
698
  )
739
699
 
740
700
  response = pipeline_response.http_response
@@ -744,11 +704,7 @@ class StorageAccountsOperations:
744
704
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
745
705
 
746
706
  if cls:
747
- return cls(pipeline_response, None, {})
748
-
749
- delete.metadata = {
750
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
751
- }
707
+ return cls(pipeline_response, None, {}) # type: ignore
752
708
 
753
709
  @distributed_trace
754
710
  def get_properties(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.StorageAccount:
@@ -763,12 +719,11 @@ class StorageAccountsOperations:
763
719
  Storage account names must be between 3 and 24 characters in length and use numbers and
764
720
  lower-case letters only. Required.
765
721
  :type account_name: str
766
- :keyword callable cls: A custom type or function that will be passed the direct response
767
722
  :return: StorageAccount or the result of cls(response)
768
723
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccount
769
724
  :raises ~azure.core.exceptions.HttpResponseError:
770
725
  """
771
- error_map = {
726
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
772
727
  401: ClientAuthenticationError,
773
728
  404: ResourceNotFoundError,
774
729
  409: ResourceExistsError,
@@ -779,23 +734,23 @@ class StorageAccountsOperations:
779
734
  _headers = kwargs.pop("headers", {}) or {}
780
735
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
781
736
 
782
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
737
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
783
738
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
784
739
 
785
- request = build_get_properties_request(
740
+ _request = build_get_properties_request(
786
741
  resource_group_name=resource_group_name,
787
742
  account_name=account_name,
788
743
  subscription_id=self._config.subscription_id,
789
744
  api_version=api_version,
790
- template_url=self.get_properties.metadata["url"],
791
745
  headers=_headers,
792
746
  params=_params,
793
747
  )
794
- request = _convert_request(request)
795
- request.url = self._client.format_url(request.url)
748
+ _request = _convert_request(_request)
749
+ _request.url = self._client.format_url(_request.url)
796
750
 
751
+ _stream = False
797
752
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
798
- request, stream=False, **kwargs
753
+ _request, stream=_stream, **kwargs
799
754
  )
800
755
 
801
756
  response = pipeline_response.http_response
@@ -807,13 +762,9 @@ class StorageAccountsOperations:
807
762
  deserialized = self._deserialize("StorageAccount", pipeline_response)
808
763
 
809
764
  if cls:
810
- return cls(pipeline_response, deserialized, {})
811
-
812
- return deserialized
765
+ return cls(pipeline_response, deserialized, {}) # type: ignore
813
766
 
814
- get_properties.metadata = {
815
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
816
- }
767
+ return deserialized # type: ignore
817
768
 
818
769
  @overload
819
770
  def update(
@@ -846,7 +797,6 @@ class StorageAccountsOperations:
846
797
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
847
798
  Default value is "application/json".
848
799
  :paramtype content_type: str
849
- :keyword callable cls: A custom type or function that will be passed the direct response
850
800
  :return: StorageAccount or the result of cls(response)
851
801
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccount
852
802
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -857,7 +807,7 @@ class StorageAccountsOperations:
857
807
  self,
858
808
  resource_group_name: str,
859
809
  account_name: str,
860
- parameters: IO,
810
+ parameters: IO[bytes],
861
811
  *,
862
812
  content_type: str = "application/json",
863
813
  **kwargs: Any
@@ -879,11 +829,10 @@ class StorageAccountsOperations:
879
829
  lower-case letters only. Required.
880
830
  :type account_name: str
881
831
  :param parameters: The parameters to provide for the updated account. Required.
882
- :type parameters: IO
832
+ :type parameters: IO[bytes]
883
833
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
884
834
  Known values are: 'application/json', 'text/json'. Default value is "application/json".
885
835
  :paramtype content_type: str
886
- :keyword callable cls: A custom type or function that will be passed the direct response
887
836
  :return: StorageAccount or the result of cls(response)
888
837
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccount
889
838
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -894,7 +843,7 @@ class StorageAccountsOperations:
894
843
  self,
895
844
  resource_group_name: str,
896
845
  account_name: str,
897
- parameters: Union[_models.StorageAccountUpdateParameters, IO],
846
+ parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
898
847
  **kwargs: Any
899
848
  ) -> _models.StorageAccount:
900
849
  """The update operation can be used to update the SKU, encryption, access tier, or tags for a
@@ -914,17 +863,14 @@ class StorageAccountsOperations:
914
863
  lower-case letters only. Required.
915
864
  :type account_name: str
916
865
  :param parameters: The parameters to provide for the updated account. Is either a
917
- StorageAccountUpdateParameters type or a IO type. Required.
918
- :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountUpdateParameters or IO
919
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json',
920
- 'text/json'. Default value is None.
921
- :paramtype content_type: str
922
- :keyword callable cls: A custom type or function that will be passed the direct response
866
+ StorageAccountUpdateParameters type or a IO[bytes] type. Required.
867
+ :type parameters: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountUpdateParameters or
868
+ IO[bytes]
923
869
  :return: StorageAccount or the result of cls(response)
924
870
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccount
925
871
  :raises ~azure.core.exceptions.HttpResponseError:
926
872
  """
927
- error_map = {
873
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
928
874
  401: ClientAuthenticationError,
929
875
  404: ResourceNotFoundError,
930
876
  409: ResourceExistsError,
@@ -935,19 +881,19 @@ class StorageAccountsOperations:
935
881
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
936
882
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
937
883
 
938
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
884
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
939
885
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
940
886
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
941
887
 
942
888
  content_type = content_type or "application/json"
943
889
  _json = None
944
890
  _content = None
945
- if isinstance(parameters, (IO, bytes)):
891
+ if isinstance(parameters, (IOBase, bytes)):
946
892
  _content = parameters
947
893
  else:
948
894
  _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
949
895
 
950
- request = build_update_request(
896
+ _request = build_update_request(
951
897
  resource_group_name=resource_group_name,
952
898
  account_name=account_name,
953
899
  subscription_id=self._config.subscription_id,
@@ -955,15 +901,15 @@ class StorageAccountsOperations:
955
901
  content_type=content_type,
956
902
  json=_json,
957
903
  content=_content,
958
- template_url=self.update.metadata["url"],
959
904
  headers=_headers,
960
905
  params=_params,
961
906
  )
962
- request = _convert_request(request)
963
- request.url = self._client.format_url(request.url)
907
+ _request = _convert_request(_request)
908
+ _request.url = self._client.format_url(_request.url)
964
909
 
910
+ _stream = False
965
911
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
966
- request, stream=False, **kwargs
912
+ _request, stream=_stream, **kwargs
967
913
  )
968
914
 
969
915
  response = pipeline_response.http_response
@@ -975,20 +921,15 @@ class StorageAccountsOperations:
975
921
  deserialized = self._deserialize("StorageAccount", pipeline_response)
976
922
 
977
923
  if cls:
978
- return cls(pipeline_response, deserialized, {})
979
-
980
- return deserialized
924
+ return cls(pipeline_response, deserialized, {}) # type: ignore
981
925
 
982
- update.metadata = {
983
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
984
- }
926
+ return deserialized # type: ignore
985
927
 
986
928
  @distributed_trace
987
929
  def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
988
930
  """Lists all the storage accounts available under the subscription. Note that storage keys are not
989
931
  returned; use the ListKeys operation for this.
990
932
 
991
- :keyword callable cls: A custom type or function that will be passed the direct response
992
933
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
993
934
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2016_01_01.models.StorageAccount]
994
935
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -996,10 +937,10 @@ class StorageAccountsOperations:
996
937
  _headers = kwargs.pop("headers", {}) or {}
997
938
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
998
939
 
999
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
940
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
1000
941
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1001
942
 
1002
- error_map = {
943
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1003
944
  401: ClientAuthenticationError,
1004
945
  404: ResourceNotFoundError,
1005
946
  409: ResourceExistsError,
@@ -1010,15 +951,14 @@ class StorageAccountsOperations:
1010
951
  def prepare_request(next_link=None):
1011
952
  if not next_link:
1012
953
 
1013
- request = build_list_request(
954
+ _request = build_list_request(
1014
955
  subscription_id=self._config.subscription_id,
1015
956
  api_version=api_version,
1016
- template_url=self.list.metadata["url"],
1017
957
  headers=_headers,
1018
958
  params=_params,
1019
959
  )
1020
- request = _convert_request(request)
1021
- request.url = self._client.format_url(request.url)
960
+ _request = _convert_request(_request)
961
+ _request.url = self._client.format_url(_request.url)
1022
962
 
1023
963
  else:
1024
964
  # make call to next link with the client's api-version
@@ -1029,14 +969,14 @@ class StorageAccountsOperations:
1029
969
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1030
970
  }
1031
971
  )
1032
- _next_request_params["api-version"] = self._config.api_version
1033
- request = HttpRequest(
972
+ _next_request_params["api-version"] = self._api_version
973
+ _request = HttpRequest(
1034
974
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1035
975
  )
1036
- request = _convert_request(request)
1037
- request.url = self._client.format_url(request.url)
1038
- request.method = "GET"
1039
- return request
976
+ _request = _convert_request(_request)
977
+ _request.url = self._client.format_url(_request.url)
978
+ _request.method = "GET"
979
+ return _request
1040
980
 
1041
981
  def extract_data(pipeline_response):
1042
982
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1046,10 +986,11 @@ class StorageAccountsOperations:
1046
986
  return None, iter(list_of_elem)
1047
987
 
1048
988
  def get_next(next_link=None):
1049
- request = prepare_request(next_link)
989
+ _request = prepare_request(next_link)
1050
990
 
991
+ _stream = False
1051
992
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1052
- request, stream=False, **kwargs
993
+ _request, stream=_stream, **kwargs
1053
994
  )
1054
995
  response = pipeline_response.http_response
1055
996
 
@@ -1061,8 +1002,6 @@ class StorageAccountsOperations:
1061
1002
 
1062
1003
  return ItemPaged(get_next, extract_data)
1063
1004
 
1064
- list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
1065
-
1066
1005
  @distributed_trace
1067
1006
  def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1068
1007
  """Lists all the storage accounts available under the given resource group. Note that storage keys
@@ -1071,7 +1010,6 @@ class StorageAccountsOperations:
1071
1010
  :param resource_group_name: The name of the resource group within the user's subscription.
1072
1011
  Required.
1073
1012
  :type resource_group_name: str
1074
- :keyword callable cls: A custom type or function that will be passed the direct response
1075
1013
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1076
1014
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2016_01_01.models.StorageAccount]
1077
1015
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1079,10 +1017,10 @@ class StorageAccountsOperations:
1079
1017
  _headers = kwargs.pop("headers", {}) or {}
1080
1018
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1081
1019
 
1082
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
1020
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
1083
1021
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1084
1022
 
1085
- error_map = {
1023
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1086
1024
  401: ClientAuthenticationError,
1087
1025
  404: ResourceNotFoundError,
1088
1026
  409: ResourceExistsError,
@@ -1093,16 +1031,15 @@ class StorageAccountsOperations:
1093
1031
  def prepare_request(next_link=None):
1094
1032
  if not next_link:
1095
1033
 
1096
- request = build_list_by_resource_group_request(
1034
+ _request = build_list_by_resource_group_request(
1097
1035
  resource_group_name=resource_group_name,
1098
1036
  subscription_id=self._config.subscription_id,
1099
1037
  api_version=api_version,
1100
- template_url=self.list_by_resource_group.metadata["url"],
1101
1038
  headers=_headers,
1102
1039
  params=_params,
1103
1040
  )
1104
- request = _convert_request(request)
1105
- request.url = self._client.format_url(request.url)
1041
+ _request = _convert_request(_request)
1042
+ _request.url = self._client.format_url(_request.url)
1106
1043
 
1107
1044
  else:
1108
1045
  # make call to next link with the client's api-version
@@ -1113,14 +1050,14 @@ class StorageAccountsOperations:
1113
1050
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1114
1051
  }
1115
1052
  )
1116
- _next_request_params["api-version"] = self._config.api_version
1117
- request = HttpRequest(
1053
+ _next_request_params["api-version"] = self._api_version
1054
+ _request = HttpRequest(
1118
1055
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1119
1056
  )
1120
- request = _convert_request(request)
1121
- request.url = self._client.format_url(request.url)
1122
- request.method = "GET"
1123
- return request
1057
+ _request = _convert_request(_request)
1058
+ _request.url = self._client.format_url(_request.url)
1059
+ _request.method = "GET"
1060
+ return _request
1124
1061
 
1125
1062
  def extract_data(pipeline_response):
1126
1063
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1130,10 +1067,11 @@ class StorageAccountsOperations:
1130
1067
  return None, iter(list_of_elem)
1131
1068
 
1132
1069
  def get_next(next_link=None):
1133
- request = prepare_request(next_link)
1070
+ _request = prepare_request(next_link)
1134
1071
 
1072
+ _stream = False
1135
1073
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1136
- request, stream=False, **kwargs
1074
+ _request, stream=_stream, **kwargs
1137
1075
  )
1138
1076
  response = pipeline_response.http_response
1139
1077
 
@@ -1145,10 +1083,6 @@ class StorageAccountsOperations:
1145
1083
 
1146
1084
  return ItemPaged(get_next, extract_data)
1147
1085
 
1148
- list_by_resource_group.metadata = {
1149
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
1150
- }
1151
-
1152
1086
  @distributed_trace
1153
1087
  def list_keys(
1154
1088
  self, resource_group_name: str, account_name: str, **kwargs: Any
@@ -1162,12 +1096,11 @@ class StorageAccountsOperations:
1162
1096
  Storage account names must be between 3 and 24 characters in length and use numbers and
1163
1097
  lower-case letters only. Required.
1164
1098
  :type account_name: str
1165
- :keyword callable cls: A custom type or function that will be passed the direct response
1166
1099
  :return: StorageAccountListKeysResult or the result of cls(response)
1167
1100
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountListKeysResult
1168
1101
  :raises ~azure.core.exceptions.HttpResponseError:
1169
1102
  """
1170
- error_map = {
1103
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1171
1104
  401: ClientAuthenticationError,
1172
1105
  404: ResourceNotFoundError,
1173
1106
  409: ResourceExistsError,
@@ -1178,23 +1111,23 @@ class StorageAccountsOperations:
1178
1111
  _headers = kwargs.pop("headers", {}) or {}
1179
1112
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1180
1113
 
1181
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
1114
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
1182
1115
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1183
1116
 
1184
- request = build_list_keys_request(
1117
+ _request = build_list_keys_request(
1185
1118
  resource_group_name=resource_group_name,
1186
1119
  account_name=account_name,
1187
1120
  subscription_id=self._config.subscription_id,
1188
1121
  api_version=api_version,
1189
- template_url=self.list_keys.metadata["url"],
1190
1122
  headers=_headers,
1191
1123
  params=_params,
1192
1124
  )
1193
- request = _convert_request(request)
1194
- request.url = self._client.format_url(request.url)
1125
+ _request = _convert_request(_request)
1126
+ _request.url = self._client.format_url(_request.url)
1195
1127
 
1128
+ _stream = False
1196
1129
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1197
- request, stream=False, **kwargs
1130
+ _request, stream=_stream, **kwargs
1198
1131
  )
1199
1132
 
1200
1133
  response = pipeline_response.http_response
@@ -1206,13 +1139,9 @@ class StorageAccountsOperations:
1206
1139
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1207
1140
 
1208
1141
  if cls:
1209
- return cls(pipeline_response, deserialized, {})
1210
-
1211
- return deserialized
1142
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1212
1143
 
1213
- list_keys.metadata = {
1214
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
1215
- }
1144
+ return deserialized # type: ignore
1216
1145
 
1217
1146
  @overload
1218
1147
  def regenerate_key(
@@ -1240,7 +1169,6 @@ class StorageAccountsOperations:
1240
1169
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1241
1170
  Default value is "application/json".
1242
1171
  :paramtype content_type: str
1243
- :keyword callable cls: A custom type or function that will be passed the direct response
1244
1172
  :return: StorageAccountListKeysResult or the result of cls(response)
1245
1173
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountListKeysResult
1246
1174
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1251,7 +1179,7 @@ class StorageAccountsOperations:
1251
1179
  self,
1252
1180
  resource_group_name: str,
1253
1181
  account_name: str,
1254
- regenerate_key: IO,
1182
+ regenerate_key: IO[bytes],
1255
1183
  *,
1256
1184
  content_type: str = "application/json",
1257
1185
  **kwargs: Any
@@ -1267,11 +1195,10 @@ class StorageAccountsOperations:
1267
1195
  :type account_name: str
1268
1196
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
1269
1197
  Required.
1270
- :type regenerate_key: IO
1198
+ :type regenerate_key: IO[bytes]
1271
1199
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1272
1200
  Known values are: 'application/json', 'text/json'. Default value is "application/json".
1273
1201
  :paramtype content_type: str
1274
- :keyword callable cls: A custom type or function that will be passed the direct response
1275
1202
  :return: StorageAccountListKeysResult or the result of cls(response)
1276
1203
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountListKeysResult
1277
1204
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1282,7 +1209,7 @@ class StorageAccountsOperations:
1282
1209
  self,
1283
1210
  resource_group_name: str,
1284
1211
  account_name: str,
1285
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
1212
+ regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
1286
1213
  **kwargs: Any
1287
1214
  ) -> _models.StorageAccountListKeysResult:
1288
1215
  """Regenerates one of the access keys for the specified storage account.
@@ -1295,18 +1222,14 @@ class StorageAccountsOperations:
1295
1222
  lower-case letters only. Required.
1296
1223
  :type account_name: str
1297
1224
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
1298
- Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
1225
+ Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
1299
1226
  :type regenerate_key:
1300
- ~azure.mgmt.storage.v2016_01_01.models.StorageAccountRegenerateKeyParameters or IO
1301
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json',
1302
- 'text/json'. Default value is None.
1303
- :paramtype content_type: str
1304
- :keyword callable cls: A custom type or function that will be passed the direct response
1227
+ ~azure.mgmt.storage.v2016_01_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1305
1228
  :return: StorageAccountListKeysResult or the result of cls(response)
1306
1229
  :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccountListKeysResult
1307
1230
  :raises ~azure.core.exceptions.HttpResponseError:
1308
1231
  """
1309
- error_map = {
1232
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1310
1233
  401: ClientAuthenticationError,
1311
1234
  404: ResourceNotFoundError,
1312
1235
  409: ResourceExistsError,
@@ -1317,19 +1240,19 @@ class StorageAccountsOperations:
1317
1240
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1318
1241
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1319
1242
 
1320
- api_version: Literal["2016-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2016-01-01"))
1243
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2016-01-01"))
1321
1244
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1322
1245
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1323
1246
 
1324
1247
  content_type = content_type or "application/json"
1325
1248
  _json = None
1326
1249
  _content = None
1327
- if isinstance(regenerate_key, (IO, bytes)):
1250
+ if isinstance(regenerate_key, (IOBase, bytes)):
1328
1251
  _content = regenerate_key
1329
1252
  else:
1330
1253
  _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1331
1254
 
1332
- request = build_regenerate_key_request(
1255
+ _request = build_regenerate_key_request(
1333
1256
  resource_group_name=resource_group_name,
1334
1257
  account_name=account_name,
1335
1258
  subscription_id=self._config.subscription_id,
@@ -1337,15 +1260,15 @@ class StorageAccountsOperations:
1337
1260
  content_type=content_type,
1338
1261
  json=_json,
1339
1262
  content=_content,
1340
- template_url=self.regenerate_key.metadata["url"],
1341
1263
  headers=_headers,
1342
1264
  params=_params,
1343
1265
  )
1344
- request = _convert_request(request)
1345
- request.url = self._client.format_url(request.url)
1266
+ _request = _convert_request(_request)
1267
+ _request.url = self._client.format_url(_request.url)
1346
1268
 
1269
+ _stream = False
1347
1270
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1348
- request, stream=False, **kwargs
1271
+ _request, stream=_stream, **kwargs
1349
1272
  )
1350
1273
 
1351
1274
  response = pipeline_response.http_response
@@ -1357,10 +1280,6 @@ class StorageAccountsOperations:
1357
1280
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1358
1281
 
1359
1282
  if cls:
1360
- return cls(pipeline_response, deserialized, {})
1361
-
1362
- return deserialized
1283
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1363
1284
 
1364
- regenerate_key.metadata = {
1365
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
1366
- }
1285
+ return deserialized # type: ignore