azure-mgmt-storage 21.1.0b1__py3-none-any.whl → 21.2.0__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 +65 -59
  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.0.dist-info}/METADATA +44 -13
  809. azure_mgmt_storage-21.2.0.dist-info/RECORD +979 -0
  810. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.0.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.0.dist-info}/LICENSE +0 -0
  813. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.0.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["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
51
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
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["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
82
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
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
 
@@ -95,7 +96,7 @@ def build_create_request(
95
96
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
96
97
  }
97
98
 
98
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
99
+ _url: str = _url.format(**path_format_arguments) # type: ignore
99
100
 
100
101
  # Construct parameters
101
102
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -113,7 +114,7 @@ def build_delete_request(
113
114
  ) -> HttpRequest:
114
115
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
115
116
 
116
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
117
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
117
118
  # Construct URL
118
119
  _url = kwargs.pop(
119
120
  "template_url",
@@ -127,7 +128,7 @@ def build_delete_request(
127
128
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
128
129
  }
129
130
 
130
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
131
+ _url: str = _url.format(**path_format_arguments) # type: ignore
131
132
 
132
133
  # Construct parameters
133
134
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -141,7 +142,7 @@ def build_get_properties_request(
141
142
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
142
143
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
143
144
 
144
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
145
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
145
146
  accept = _headers.pop("Accept", "application/json, text/json")
146
147
 
147
148
  # Construct URL
@@ -157,7 +158,7 @@ def build_get_properties_request(
157
158
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
158
159
  }
159
160
 
160
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
161
+ _url: str = _url.format(**path_format_arguments) # type: ignore
161
162
 
162
163
  # Construct parameters
163
164
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -174,7 +175,7 @@ def build_update_request(
174
175
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
175
176
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
176
177
 
177
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
178
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
178
179
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
179
180
  accept = _headers.pop("Accept", "application/json, text/json")
180
181
 
@@ -191,7 +192,7 @@ def build_update_request(
191
192
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
192
193
  }
193
194
 
194
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
195
+ _url: str = _url.format(**path_format_arguments) # type: ignore
195
196
 
196
197
  # Construct parameters
197
198
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -208,7 +209,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
208
209
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
209
210
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
210
211
 
211
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
212
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
212
213
  accept = _headers.pop("Accept", "application/json, text/json")
213
214
 
214
215
  # Construct URL
@@ -217,7 +218,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
217
218
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
218
219
  }
219
220
 
220
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
221
+ _url: str = _url.format(**path_format_arguments) # type: ignore
221
222
 
222
223
  # Construct parameters
223
224
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -232,7 +233,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
232
233
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
233
234
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
234
235
 
235
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
236
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
236
237
  accept = _headers.pop("Accept", "application/json, text/json")
237
238
 
238
239
  # Construct URL
@@ -247,7 +248,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
247
248
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
248
249
  }
249
250
 
250
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
251
+ _url: str = _url.format(**path_format_arguments) # type: ignore
251
252
 
252
253
  # Construct parameters
253
254
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -264,7 +265,7 @@ def build_list_keys_request(
264
265
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
265
266
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
266
267
 
267
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
268
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
268
269
  accept = _headers.pop("Accept", "application/json, text/json")
269
270
 
270
271
  # Construct URL
@@ -280,7 +281,7 @@ def build_list_keys_request(
280
281
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
281
282
  }
282
283
 
283
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
284
+ _url: str = _url.format(**path_format_arguments) # type: ignore
284
285
 
285
286
  # Construct parameters
286
287
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -297,7 +298,7 @@ def build_regenerate_key_request(
297
298
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
298
299
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
299
300
 
300
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
301
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
301
302
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
302
303
  accept = _headers.pop("Accept", "application/json, text/json")
303
304
 
@@ -314,7 +315,7 @@ def build_regenerate_key_request(
314
315
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"),
315
316
  }
316
317
 
317
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
318
+ _url: str = _url.format(**path_format_arguments) # type: ignore
318
319
 
319
320
  # Construct parameters
320
321
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -345,6 +346,7 @@ class StorageAccountsOperations:
345
346
  self._config = input_args.pop(0) if input_args else kwargs.pop("config")
346
347
  self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
347
348
  self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
349
+ self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
348
350
 
349
351
  @overload
350
352
  def check_name_availability(
@@ -364,7 +366,6 @@ class StorageAccountsOperations:
364
366
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
365
367
  Default value is "application/json".
366
368
  :paramtype content_type: str
367
- :keyword callable cls: A custom type or function that will be passed the direct response
368
369
  :return: CheckNameAvailabilityResult or the result of cls(response)
369
370
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.CheckNameAvailabilityResult
370
371
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -372,18 +373,17 @@ class StorageAccountsOperations:
372
373
 
373
374
  @overload
374
375
  def check_name_availability(
375
- self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
376
+ self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
376
377
  ) -> _models.CheckNameAvailabilityResult:
377
378
  """Checks that the storage account name is valid and is not already in use.
378
379
 
379
380
  :param account_name: The name of the storage account within the specified resource group.
380
381
  Storage account names must be between 3 and 24 characters in length and use numbers and
381
382
  lower-case letters only. Required.
382
- :type account_name: IO
383
+ :type account_name: IO[bytes]
383
384
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
384
385
  Known values are: 'application/json', 'text/json'. Default value is "application/json".
385
386
  :paramtype content_type: str
386
- :keyword callable cls: A custom type or function that will be passed the direct response
387
387
  :return: CheckNameAvailabilityResult or the result of cls(response)
388
388
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.CheckNameAvailabilityResult
389
389
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -391,25 +391,22 @@ class StorageAccountsOperations:
391
391
 
392
392
  @distributed_trace
393
393
  def check_name_availability(
394
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
394
+ self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
395
395
  ) -> _models.CheckNameAvailabilityResult:
396
396
  """Checks that the storage account name is valid and is not already in use.
397
397
 
398
398
  :param account_name: The name of the storage account within the specified resource group.
399
399
  Storage account names must be between 3 and 24 characters in length and use numbers and
400
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a IO
401
- type. Required.
400
+ lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
401
+ IO[bytes] type. Required.
402
402
  :type account_name:
403
- ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCheckNameAvailabilityParameters or IO
404
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json',
405
- 'text/json'. Default value is None.
406
- :paramtype content_type: str
407
- :keyword callable cls: A custom type or function that will be passed the direct response
403
+ ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCheckNameAvailabilityParameters or
404
+ IO[bytes]
408
405
  :return: CheckNameAvailabilityResult or the result of cls(response)
409
406
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.CheckNameAvailabilityResult
410
407
  :raises ~azure.core.exceptions.HttpResponseError:
411
408
  """
412
- error_map = {
409
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
413
410
  401: ClientAuthenticationError,
414
411
  404: ResourceNotFoundError,
415
412
  409: ResourceExistsError,
@@ -420,33 +417,33 @@ class StorageAccountsOperations:
420
417
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
421
418
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
422
419
 
423
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
420
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
424
421
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
425
422
  cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
426
423
 
427
424
  content_type = content_type or "application/json"
428
425
  _json = None
429
426
  _content = None
430
- if isinstance(account_name, (IO, bytes)):
427
+ if isinstance(account_name, (IOBase, bytes)):
431
428
  _content = account_name
432
429
  else:
433
430
  _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
434
431
 
435
- request = build_check_name_availability_request(
432
+ _request = build_check_name_availability_request(
436
433
  subscription_id=self._config.subscription_id,
437
434
  api_version=api_version,
438
435
  content_type=content_type,
439
436
  json=_json,
440
437
  content=_content,
441
- template_url=self.check_name_availability.metadata["url"],
442
438
  headers=_headers,
443
439
  params=_params,
444
440
  )
445
- request = _convert_request(request)
446
- request.url = self._client.format_url(request.url)
441
+ _request = _convert_request(_request)
442
+ _request.url = self._client.format_url(_request.url)
447
443
 
444
+ _stream = False
448
445
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
449
- request, stream=False, **kwargs
446
+ _request, stream=_stream, **kwargs
450
447
  )
451
448
 
452
449
  response = pipeline_response.http_response
@@ -458,22 +455,18 @@ class StorageAccountsOperations:
458
455
  deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
459
456
 
460
457
  if cls:
461
- return cls(pipeline_response, deserialized, {})
462
-
463
- return deserialized
458
+ return cls(pipeline_response, deserialized, {}) # type: ignore
464
459
 
465
- check_name_availability.metadata = {
466
- "url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
467
- }
460
+ return deserialized # type: ignore
468
461
 
469
462
  def _create_initial(
470
463
  self,
471
464
  resource_group_name: str,
472
465
  account_name: str,
473
- parameters: Union[_models.StorageAccountCreateParameters, IO],
466
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
474
467
  **kwargs: Any
475
468
  ) -> Optional[_models.StorageAccount]:
476
- error_map = {
469
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
477
470
  401: ClientAuthenticationError,
478
471
  404: ResourceNotFoundError,
479
472
  409: ResourceExistsError,
@@ -484,19 +477,19 @@ class StorageAccountsOperations:
484
477
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
485
478
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
486
479
 
487
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
480
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
488
481
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
489
482
  cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
490
483
 
491
484
  content_type = content_type or "application/json"
492
485
  _json = None
493
486
  _content = None
494
- if isinstance(parameters, (IO, bytes)):
487
+ if isinstance(parameters, (IOBase, bytes)):
495
488
  _content = parameters
496
489
  else:
497
490
  _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
498
491
 
499
- request = build_create_request(
492
+ _request = build_create_request(
500
493
  resource_group_name=resource_group_name,
501
494
  account_name=account_name,
502
495
  subscription_id=self._config.subscription_id,
@@ -504,15 +497,15 @@ class StorageAccountsOperations:
504
497
  content_type=content_type,
505
498
  json=_json,
506
499
  content=_content,
507
- template_url=self._create_initial.metadata["url"],
508
500
  headers=_headers,
509
501
  params=_params,
510
502
  )
511
- request = _convert_request(request)
512
- request.url = self._client.format_url(request.url)
503
+ _request = _convert_request(_request)
504
+ _request.url = self._client.format_url(_request.url)
513
505
 
506
+ _stream = False
514
507
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
515
- request, stream=False, **kwargs
508
+ _request, stream=_stream, **kwargs
516
509
  )
517
510
 
518
511
  response = pipeline_response.http_response
@@ -526,13 +519,9 @@ class StorageAccountsOperations:
526
519
  deserialized = self._deserialize("StorageAccount", pipeline_response)
527
520
 
528
521
  if cls:
529
- return cls(pipeline_response, deserialized, {})
522
+ return cls(pipeline_response, deserialized, {}) # type: ignore
530
523
 
531
- return deserialized
532
-
533
- _create_initial.metadata = {
534
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
535
- }
524
+ return deserialized # type: ignore
536
525
 
537
526
  @overload
538
527
  def begin_create(
@@ -561,14 +550,6 @@ class StorageAccountsOperations:
561
550
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
562
551
  Default value is "application/json".
563
552
  :paramtype content_type: str
564
- :keyword callable cls: A custom type or function that will be passed the direct response
565
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
566
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
567
- operation to not poll, or pass in your own initialized polling object for a personal polling
568
- strategy.
569
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
570
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
571
- Retry-After header is present.
572
553
  :return: An instance of LROPoller that returns either StorageAccount or the result of
573
554
  cls(response)
574
555
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2015_06_15.models.StorageAccount]
@@ -580,7 +561,7 @@ class StorageAccountsOperations:
580
561
  self,
581
562
  resource_group_name: str,
582
563
  account_name: str,
583
- parameters: IO,
564
+ parameters: IO[bytes],
584
565
  *,
585
566
  content_type: str = "application/json",
586
567
  **kwargs: Any
@@ -598,18 +579,10 @@ class StorageAccountsOperations:
598
579
  lower-case letters only. Required.
599
580
  :type account_name: str
600
581
  :param parameters: The parameters to provide for the created account. Required.
601
- :type parameters: IO
582
+ :type parameters: IO[bytes]
602
583
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
603
584
  Known values are: 'application/json', 'text/json'. Default value is "application/json".
604
585
  :paramtype content_type: str
605
- :keyword callable cls: A custom type or function that will be passed the direct response
606
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
607
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
608
- operation to not poll, or pass in your own initialized polling object for a personal polling
609
- strategy.
610
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
611
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
612
- Retry-After header is present.
613
586
  :return: An instance of LROPoller that returns either StorageAccount or the result of
614
587
  cls(response)
615
588
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2015_06_15.models.StorageAccount]
@@ -621,7 +594,7 @@ class StorageAccountsOperations:
621
594
  self,
622
595
  resource_group_name: str,
623
596
  account_name: str,
624
- parameters: Union[_models.StorageAccountCreateParameters, IO],
597
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
625
598
  **kwargs: Any
626
599
  ) -> LROPoller[_models.StorageAccount]:
627
600
  """Asynchronously creates a new storage account with the specified parameters. If an account is
@@ -637,19 +610,9 @@ class StorageAccountsOperations:
637
610
  lower-case letters only. Required.
638
611
  :type account_name: str
639
612
  :param parameters: The parameters to provide for the created account. Is either a
640
- StorageAccountCreateParameters type or a IO type. Required.
641
- :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters or IO
642
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json',
643
- 'text/json'. Default value is None.
644
- :paramtype content_type: str
645
- :keyword callable cls: A custom type or function that will be passed the direct response
646
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
647
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
648
- operation to not poll, or pass in your own initialized polling object for a personal polling
649
- strategy.
650
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
651
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
652
- Retry-After header is present.
613
+ StorageAccountCreateParameters type or a IO[bytes] type. Required.
614
+ :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountCreateParameters or
615
+ IO[bytes]
653
616
  :return: An instance of LROPoller that returns either StorageAccount or the result of
654
617
  cls(response)
655
618
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2015_06_15.models.StorageAccount]
@@ -658,7 +621,7 @@ class StorageAccountsOperations:
658
621
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
659
622
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
660
623
 
661
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
624
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
662
625
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
663
626
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
664
627
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
@@ -681,7 +644,7 @@ class StorageAccountsOperations:
681
644
  def get_long_running_output(pipeline_response):
682
645
  deserialized = self._deserialize("StorageAccount", pipeline_response)
683
646
  if cls:
684
- return cls(pipeline_response, deserialized, {})
647
+ return cls(pipeline_response, deserialized, {}) # type: ignore
685
648
  return deserialized
686
649
 
687
650
  if polling is True:
@@ -691,17 +654,15 @@ class StorageAccountsOperations:
691
654
  else:
692
655
  polling_method = polling
693
656
  if cont_token:
694
- return LROPoller.from_continuation_token(
657
+ return LROPoller[_models.StorageAccount].from_continuation_token(
695
658
  polling_method=polling_method,
696
659
  continuation_token=cont_token,
697
660
  client=self._client,
698
661
  deserialization_callback=get_long_running_output,
699
662
  )
700
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
701
-
702
- begin_create.metadata = {
703
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
704
- }
663
+ return LROPoller[_models.StorageAccount](
664
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
665
+ )
705
666
 
706
667
  @distributed_trace
707
668
  def delete( # pylint: disable=inconsistent-return-statements
@@ -716,12 +677,11 @@ class StorageAccountsOperations:
716
677
  Storage account names must be between 3 and 24 characters in length and use numbers and
717
678
  lower-case letters only. Required.
718
679
  :type account_name: str
719
- :keyword callable cls: A custom type or function that will be passed the direct response
720
680
  :return: None or the result of cls(response)
721
681
  :rtype: None
722
682
  :raises ~azure.core.exceptions.HttpResponseError:
723
683
  """
724
- error_map = {
684
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
725
685
  401: ClientAuthenticationError,
726
686
  404: ResourceNotFoundError,
727
687
  409: ResourceExistsError,
@@ -732,23 +692,23 @@ class StorageAccountsOperations:
732
692
  _headers = kwargs.pop("headers", {}) or {}
733
693
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
734
694
 
735
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
695
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
736
696
  cls: ClsType[None] = kwargs.pop("cls", None)
737
697
 
738
- request = build_delete_request(
698
+ _request = build_delete_request(
739
699
  resource_group_name=resource_group_name,
740
700
  account_name=account_name,
741
701
  subscription_id=self._config.subscription_id,
742
702
  api_version=api_version,
743
- template_url=self.delete.metadata["url"],
744
703
  headers=_headers,
745
704
  params=_params,
746
705
  )
747
- request = _convert_request(request)
748
- request.url = self._client.format_url(request.url)
706
+ _request = _convert_request(_request)
707
+ _request.url = self._client.format_url(_request.url)
749
708
 
709
+ _stream = False
750
710
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
751
- request, stream=False, **kwargs
711
+ _request, stream=_stream, **kwargs
752
712
  )
753
713
 
754
714
  response = pipeline_response.http_response
@@ -758,11 +718,7 @@ class StorageAccountsOperations:
758
718
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
759
719
 
760
720
  if cls:
761
- return cls(pipeline_response, None, {})
762
-
763
- delete.metadata = {
764
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
765
- }
721
+ return cls(pipeline_response, None, {}) # type: ignore
766
722
 
767
723
  @distributed_trace
768
724
  def get_properties(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.StorageAccount:
@@ -777,12 +733,11 @@ class StorageAccountsOperations:
777
733
  Storage account names must be between 3 and 24 characters in length and use numbers and
778
734
  lower-case letters only. Required.
779
735
  :type account_name: str
780
- :keyword callable cls: A custom type or function that will be passed the direct response
781
736
  :return: StorageAccount or the result of cls(response)
782
737
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccount
783
738
  :raises ~azure.core.exceptions.HttpResponseError:
784
739
  """
785
- error_map = {
740
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
786
741
  401: ClientAuthenticationError,
787
742
  404: ResourceNotFoundError,
788
743
  409: ResourceExistsError,
@@ -793,23 +748,23 @@ class StorageAccountsOperations:
793
748
  _headers = kwargs.pop("headers", {}) or {}
794
749
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
795
750
 
796
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
751
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
797
752
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
798
753
 
799
- request = build_get_properties_request(
754
+ _request = build_get_properties_request(
800
755
  resource_group_name=resource_group_name,
801
756
  account_name=account_name,
802
757
  subscription_id=self._config.subscription_id,
803
758
  api_version=api_version,
804
- template_url=self.get_properties.metadata["url"],
805
759
  headers=_headers,
806
760
  params=_params,
807
761
  )
808
- request = _convert_request(request)
809
- request.url = self._client.format_url(request.url)
762
+ _request = _convert_request(_request)
763
+ _request.url = self._client.format_url(_request.url)
810
764
 
765
+ _stream = False
811
766
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
812
- request, stream=False, **kwargs
767
+ _request, stream=_stream, **kwargs
813
768
  )
814
769
 
815
770
  response = pipeline_response.http_response
@@ -821,13 +776,9 @@ class StorageAccountsOperations:
821
776
  deserialized = self._deserialize("StorageAccount", pipeline_response)
822
777
 
823
778
  if cls:
824
- return cls(pipeline_response, deserialized, {})
825
-
826
- return deserialized
779
+ return cls(pipeline_response, deserialized, {}) # type: ignore
827
780
 
828
- get_properties.metadata = {
829
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
830
- }
781
+ return deserialized # type: ignore
831
782
 
832
783
  @overload
833
784
  def update(
@@ -860,7 +811,6 @@ class StorageAccountsOperations:
860
811
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
861
812
  Default value is "application/json".
862
813
  :paramtype content_type: str
863
- :keyword callable cls: A custom type or function that will be passed the direct response
864
814
  :return: StorageAccount or the result of cls(response)
865
815
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccount
866
816
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -871,7 +821,7 @@ class StorageAccountsOperations:
871
821
  self,
872
822
  resource_group_name: str,
873
823
  account_name: str,
874
- parameters: IO,
824
+ parameters: IO[bytes],
875
825
  *,
876
826
  content_type: str = "application/json",
877
827
  **kwargs: Any
@@ -893,11 +843,10 @@ class StorageAccountsOperations:
893
843
  lower-case letters only. Required.
894
844
  :type account_name: str
895
845
  :param parameters: The parameters to provide for the updated account. Required.
896
- :type parameters: IO
846
+ :type parameters: IO[bytes]
897
847
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
898
848
  Known values are: 'application/json', 'text/json'. Default value is "application/json".
899
849
  :paramtype content_type: str
900
- :keyword callable cls: A custom type or function that will be passed the direct response
901
850
  :return: StorageAccount or the result of cls(response)
902
851
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccount
903
852
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -908,7 +857,7 @@ class StorageAccountsOperations:
908
857
  self,
909
858
  resource_group_name: str,
910
859
  account_name: str,
911
- parameters: Union[_models.StorageAccountUpdateParameters, IO],
860
+ parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
912
861
  **kwargs: Any
913
862
  ) -> _models.StorageAccount:
914
863
  """The update operation can be used to update the SKU, encryption, access tier, or tags for a
@@ -928,17 +877,14 @@ class StorageAccountsOperations:
928
877
  lower-case letters only. Required.
929
878
  :type account_name: str
930
879
  :param parameters: The parameters to provide for the updated account. Is either a
931
- StorageAccountUpdateParameters type or a IO type. Required.
932
- :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountUpdateParameters or IO
933
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json',
934
- 'text/json'. Default value is None.
935
- :paramtype content_type: str
936
- :keyword callable cls: A custom type or function that will be passed the direct response
880
+ StorageAccountUpdateParameters type or a IO[bytes] type. Required.
881
+ :type parameters: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountUpdateParameters or
882
+ IO[bytes]
937
883
  :return: StorageAccount or the result of cls(response)
938
884
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccount
939
885
  :raises ~azure.core.exceptions.HttpResponseError:
940
886
  """
941
- error_map = {
887
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
942
888
  401: ClientAuthenticationError,
943
889
  404: ResourceNotFoundError,
944
890
  409: ResourceExistsError,
@@ -949,19 +895,19 @@ class StorageAccountsOperations:
949
895
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
950
896
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
951
897
 
952
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
898
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
953
899
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
954
900
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
955
901
 
956
902
  content_type = content_type or "application/json"
957
903
  _json = None
958
904
  _content = None
959
- if isinstance(parameters, (IO, bytes)):
905
+ if isinstance(parameters, (IOBase, bytes)):
960
906
  _content = parameters
961
907
  else:
962
908
  _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
963
909
 
964
- request = build_update_request(
910
+ _request = build_update_request(
965
911
  resource_group_name=resource_group_name,
966
912
  account_name=account_name,
967
913
  subscription_id=self._config.subscription_id,
@@ -969,15 +915,15 @@ class StorageAccountsOperations:
969
915
  content_type=content_type,
970
916
  json=_json,
971
917
  content=_content,
972
- template_url=self.update.metadata["url"],
973
918
  headers=_headers,
974
919
  params=_params,
975
920
  )
976
- request = _convert_request(request)
977
- request.url = self._client.format_url(request.url)
921
+ _request = _convert_request(_request)
922
+ _request.url = self._client.format_url(_request.url)
978
923
 
924
+ _stream = False
979
925
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
980
- request, stream=False, **kwargs
926
+ _request, stream=_stream, **kwargs
981
927
  )
982
928
 
983
929
  response = pipeline_response.http_response
@@ -989,20 +935,15 @@ class StorageAccountsOperations:
989
935
  deserialized = self._deserialize("StorageAccount", pipeline_response)
990
936
 
991
937
  if cls:
992
- return cls(pipeline_response, deserialized, {})
993
-
994
- return deserialized
938
+ return cls(pipeline_response, deserialized, {}) # type: ignore
995
939
 
996
- update.metadata = {
997
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
998
- }
940
+ return deserialized # type: ignore
999
941
 
1000
942
  @distributed_trace
1001
943
  def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1002
944
  """Lists all the storage accounts available under the subscription. Note that storage keys are not
1003
945
  returned; use the ListKeys operation for this.
1004
946
 
1005
- :keyword callable cls: A custom type or function that will be passed the direct response
1006
947
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1007
948
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2015_06_15.models.StorageAccount]
1008
949
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1010,10 +951,10 @@ class StorageAccountsOperations:
1010
951
  _headers = kwargs.pop("headers", {}) or {}
1011
952
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1012
953
 
1013
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
954
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
1014
955
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1015
956
 
1016
- error_map = {
957
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1017
958
  401: ClientAuthenticationError,
1018
959
  404: ResourceNotFoundError,
1019
960
  409: ResourceExistsError,
@@ -1024,15 +965,14 @@ class StorageAccountsOperations:
1024
965
  def prepare_request(next_link=None):
1025
966
  if not next_link:
1026
967
 
1027
- request = build_list_request(
968
+ _request = build_list_request(
1028
969
  subscription_id=self._config.subscription_id,
1029
970
  api_version=api_version,
1030
- template_url=self.list.metadata["url"],
1031
971
  headers=_headers,
1032
972
  params=_params,
1033
973
  )
1034
- request = _convert_request(request)
1035
- request.url = self._client.format_url(request.url)
974
+ _request = _convert_request(_request)
975
+ _request.url = self._client.format_url(_request.url)
1036
976
 
1037
977
  else:
1038
978
  # make call to next link with the client's api-version
@@ -1043,14 +983,14 @@ class StorageAccountsOperations:
1043
983
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1044
984
  }
1045
985
  )
1046
- _next_request_params["api-version"] = self._config.api_version
1047
- request = HttpRequest(
986
+ _next_request_params["api-version"] = self._api_version
987
+ _request = HttpRequest(
1048
988
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1049
989
  )
1050
- request = _convert_request(request)
1051
- request.url = self._client.format_url(request.url)
1052
- request.method = "GET"
1053
- return request
990
+ _request = _convert_request(_request)
991
+ _request.url = self._client.format_url(_request.url)
992
+ _request.method = "GET"
993
+ return _request
1054
994
 
1055
995
  def extract_data(pipeline_response):
1056
996
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1060,10 +1000,11 @@ class StorageAccountsOperations:
1060
1000
  return None, iter(list_of_elem)
1061
1001
 
1062
1002
  def get_next(next_link=None):
1063
- request = prepare_request(next_link)
1003
+ _request = prepare_request(next_link)
1064
1004
 
1005
+ _stream = False
1065
1006
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1066
- request, stream=False, **kwargs
1007
+ _request, stream=_stream, **kwargs
1067
1008
  )
1068
1009
  response = pipeline_response.http_response
1069
1010
 
@@ -1075,8 +1016,6 @@ class StorageAccountsOperations:
1075
1016
 
1076
1017
  return ItemPaged(get_next, extract_data)
1077
1018
 
1078
- list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
1079
-
1080
1019
  @distributed_trace
1081
1020
  def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1082
1021
  """Lists all the storage accounts available under the given resource group. Note that storage keys
@@ -1085,7 +1024,6 @@ class StorageAccountsOperations:
1085
1024
  :param resource_group_name: The name of the resource group within the user's subscription. The
1086
1025
  name is case insensitive. Required.
1087
1026
  :type resource_group_name: str
1088
- :keyword callable cls: A custom type or function that will be passed the direct response
1089
1027
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1090
1028
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2015_06_15.models.StorageAccount]
1091
1029
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1093,10 +1031,10 @@ class StorageAccountsOperations:
1093
1031
  _headers = kwargs.pop("headers", {}) or {}
1094
1032
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1095
1033
 
1096
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
1034
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
1097
1035
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1098
1036
 
1099
- error_map = {
1037
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1100
1038
  401: ClientAuthenticationError,
1101
1039
  404: ResourceNotFoundError,
1102
1040
  409: ResourceExistsError,
@@ -1107,16 +1045,15 @@ class StorageAccountsOperations:
1107
1045
  def prepare_request(next_link=None):
1108
1046
  if not next_link:
1109
1047
 
1110
- request = build_list_by_resource_group_request(
1048
+ _request = build_list_by_resource_group_request(
1111
1049
  resource_group_name=resource_group_name,
1112
1050
  subscription_id=self._config.subscription_id,
1113
1051
  api_version=api_version,
1114
- template_url=self.list_by_resource_group.metadata["url"],
1115
1052
  headers=_headers,
1116
1053
  params=_params,
1117
1054
  )
1118
- request = _convert_request(request)
1119
- request.url = self._client.format_url(request.url)
1055
+ _request = _convert_request(_request)
1056
+ _request.url = self._client.format_url(_request.url)
1120
1057
 
1121
1058
  else:
1122
1059
  # make call to next link with the client's api-version
@@ -1127,14 +1064,14 @@ class StorageAccountsOperations:
1127
1064
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1128
1065
  }
1129
1066
  )
1130
- _next_request_params["api-version"] = self._config.api_version
1131
- request = HttpRequest(
1067
+ _next_request_params["api-version"] = self._api_version
1068
+ _request = HttpRequest(
1132
1069
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1133
1070
  )
1134
- request = _convert_request(request)
1135
- request.url = self._client.format_url(request.url)
1136
- request.method = "GET"
1137
- return request
1071
+ _request = _convert_request(_request)
1072
+ _request.url = self._client.format_url(_request.url)
1073
+ _request.method = "GET"
1074
+ return _request
1138
1075
 
1139
1076
  def extract_data(pipeline_response):
1140
1077
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1144,10 +1081,11 @@ class StorageAccountsOperations:
1144
1081
  return None, iter(list_of_elem)
1145
1082
 
1146
1083
  def get_next(next_link=None):
1147
- request = prepare_request(next_link)
1084
+ _request = prepare_request(next_link)
1148
1085
 
1086
+ _stream = False
1149
1087
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1150
- request, stream=False, **kwargs
1088
+ _request, stream=_stream, **kwargs
1151
1089
  )
1152
1090
  response = pipeline_response.http_response
1153
1091
 
@@ -1159,10 +1097,6 @@ class StorageAccountsOperations:
1159
1097
 
1160
1098
  return ItemPaged(get_next, extract_data)
1161
1099
 
1162
- list_by_resource_group.metadata = {
1163
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
1164
- }
1165
-
1166
1100
  @distributed_trace
1167
1101
  def list_keys(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.StorageAccountKeys:
1168
1102
  """Lists the access keys for the specified storage account.
@@ -1174,12 +1108,11 @@ class StorageAccountsOperations:
1174
1108
  Storage account names must be between 3 and 24 characters in length and use numbers and
1175
1109
  lower-case letters only. Required.
1176
1110
  :type account_name: str
1177
- :keyword callable cls: A custom type or function that will be passed the direct response
1178
1111
  :return: StorageAccountKeys or the result of cls(response)
1179
1112
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountKeys
1180
1113
  :raises ~azure.core.exceptions.HttpResponseError:
1181
1114
  """
1182
- error_map = {
1115
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1183
1116
  401: ClientAuthenticationError,
1184
1117
  404: ResourceNotFoundError,
1185
1118
  409: ResourceExistsError,
@@ -1190,23 +1123,23 @@ class StorageAccountsOperations:
1190
1123
  _headers = kwargs.pop("headers", {}) or {}
1191
1124
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1192
1125
 
1193
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
1126
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
1194
1127
  cls: ClsType[_models.StorageAccountKeys] = kwargs.pop("cls", None)
1195
1128
 
1196
- request = build_list_keys_request(
1129
+ _request = build_list_keys_request(
1197
1130
  resource_group_name=resource_group_name,
1198
1131
  account_name=account_name,
1199
1132
  subscription_id=self._config.subscription_id,
1200
1133
  api_version=api_version,
1201
- template_url=self.list_keys.metadata["url"],
1202
1134
  headers=_headers,
1203
1135
  params=_params,
1204
1136
  )
1205
- request = _convert_request(request)
1206
- request.url = self._client.format_url(request.url)
1137
+ _request = _convert_request(_request)
1138
+ _request.url = self._client.format_url(_request.url)
1207
1139
 
1140
+ _stream = False
1208
1141
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1209
- request, stream=False, **kwargs
1142
+ _request, stream=_stream, **kwargs
1210
1143
  )
1211
1144
 
1212
1145
  response = pipeline_response.http_response
@@ -1218,13 +1151,9 @@ class StorageAccountsOperations:
1218
1151
  deserialized = self._deserialize("StorageAccountKeys", pipeline_response)
1219
1152
 
1220
1153
  if cls:
1221
- return cls(pipeline_response, deserialized, {})
1222
-
1223
- return deserialized
1154
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1224
1155
 
1225
- list_keys.metadata = {
1226
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
1227
- }
1156
+ return deserialized # type: ignore
1228
1157
 
1229
1158
  @overload
1230
1159
  def regenerate_key(
@@ -1252,7 +1181,6 @@ class StorageAccountsOperations:
1252
1181
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1253
1182
  Default value is "application/json".
1254
1183
  :paramtype content_type: str
1255
- :keyword callable cls: A custom type or function that will be passed the direct response
1256
1184
  :return: StorageAccountKeys or the result of cls(response)
1257
1185
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountKeys
1258
1186
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1263,7 +1191,7 @@ class StorageAccountsOperations:
1263
1191
  self,
1264
1192
  resource_group_name: str,
1265
1193
  account_name: str,
1266
- regenerate_key: IO,
1194
+ regenerate_key: IO[bytes],
1267
1195
  *,
1268
1196
  content_type: str = "application/json",
1269
1197
  **kwargs: Any
@@ -1279,11 +1207,10 @@ class StorageAccountsOperations:
1279
1207
  :type account_name: str
1280
1208
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
1281
1209
  Required.
1282
- :type regenerate_key: IO
1210
+ :type regenerate_key: IO[bytes]
1283
1211
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1284
1212
  Known values are: 'application/json', 'text/json'. Default value is "application/json".
1285
1213
  :paramtype content_type: str
1286
- :keyword callable cls: A custom type or function that will be passed the direct response
1287
1214
  :return: StorageAccountKeys or the result of cls(response)
1288
1215
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountKeys
1289
1216
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1294,7 +1221,7 @@ class StorageAccountsOperations:
1294
1221
  self,
1295
1222
  resource_group_name: str,
1296
1223
  account_name: str,
1297
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
1224
+ regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
1298
1225
  **kwargs: Any
1299
1226
  ) -> _models.StorageAccountKeys:
1300
1227
  """Regenerates one of the access keys for the specified storage account.
@@ -1307,18 +1234,14 @@ class StorageAccountsOperations:
1307
1234
  lower-case letters only. Required.
1308
1235
  :type account_name: str
1309
1236
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
1310
- Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
1237
+ Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
1311
1238
  :type regenerate_key:
1312
- ~azure.mgmt.storage.v2015_06_15.models.StorageAccountRegenerateKeyParameters or IO
1313
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json',
1314
- 'text/json'. Default value is None.
1315
- :paramtype content_type: str
1316
- :keyword callable cls: A custom type or function that will be passed the direct response
1239
+ ~azure.mgmt.storage.v2015_06_15.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1317
1240
  :return: StorageAccountKeys or the result of cls(response)
1318
1241
  :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccountKeys
1319
1242
  :raises ~azure.core.exceptions.HttpResponseError:
1320
1243
  """
1321
- error_map = {
1244
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1322
1245
  401: ClientAuthenticationError,
1323
1246
  404: ResourceNotFoundError,
1324
1247
  409: ResourceExistsError,
@@ -1329,19 +1252,19 @@ class StorageAccountsOperations:
1329
1252
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1330
1253
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1331
1254
 
1332
- api_version: Literal["2015-06-15"] = kwargs.pop("api_version", _params.pop("api-version", "2015-06-15"))
1255
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2015-06-15"))
1333
1256
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1334
1257
  cls: ClsType[_models.StorageAccountKeys] = kwargs.pop("cls", None)
1335
1258
 
1336
1259
  content_type = content_type or "application/json"
1337
1260
  _json = None
1338
1261
  _content = None
1339
- if isinstance(regenerate_key, (IO, bytes)):
1262
+ if isinstance(regenerate_key, (IOBase, bytes)):
1340
1263
  _content = regenerate_key
1341
1264
  else:
1342
1265
  _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1343
1266
 
1344
- request = build_regenerate_key_request(
1267
+ _request = build_regenerate_key_request(
1345
1268
  resource_group_name=resource_group_name,
1346
1269
  account_name=account_name,
1347
1270
  subscription_id=self._config.subscription_id,
@@ -1349,15 +1272,15 @@ class StorageAccountsOperations:
1349
1272
  content_type=content_type,
1350
1273
  json=_json,
1351
1274
  content=_content,
1352
- template_url=self.regenerate_key.metadata["url"],
1353
1275
  headers=_headers,
1354
1276
  params=_params,
1355
1277
  )
1356
- request = _convert_request(request)
1357
- request.url = self._client.format_url(request.url)
1278
+ _request = _convert_request(_request)
1279
+ _request.url = self._client.format_url(_request.url)
1358
1280
 
1281
+ _stream = False
1359
1282
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1360
- request, stream=False, **kwargs
1283
+ _request, stream=_stream, **kwargs
1361
1284
  )
1362
1285
 
1363
1286
  response = pipeline_response.http_response
@@ -1369,10 +1292,6 @@ class StorageAccountsOperations:
1369
1292
  deserialized = self._deserialize("StorageAccountKeys", pipeline_response)
1370
1293
 
1371
1294
  if cls:
1372
- return cls(pipeline_response, deserialized, {})
1373
-
1374
- return deserialized
1295
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1375
1296
 
1376
- regenerate_key.metadata = {
1377
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
1378
- }
1297
+ return deserialized # type: ignore