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, Literal, 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["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
51
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
51
52
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
52
53
  accept = _headers.pop("Accept", "application/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", min_length=1),
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["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
82
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
82
83
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
83
84
  accept = _headers.pop("Accept", "application/json")
84
85
 
@@ -95,7 +96,7 @@ def build_create_request(
95
96
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
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["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
117
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
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", min_length=1),
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")
@@ -146,7 +147,7 @@ def build_get_properties_request(
146
147
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
147
148
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
148
149
 
149
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
150
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
150
151
  accept = _headers.pop("Accept", "application/json")
151
152
 
152
153
  # Construct URL
@@ -162,7 +163,7 @@ def build_get_properties_request(
162
163
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
163
164
  }
164
165
 
165
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
166
+ _url: str = _url.format(**path_format_arguments) # type: ignore
166
167
 
167
168
  # Construct parameters
168
169
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -181,7 +182,7 @@ def build_update_request(
181
182
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
182
183
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
183
184
 
184
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
185
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
185
186
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
186
187
  accept = _headers.pop("Accept", "application/json")
187
188
 
@@ -198,7 +199,7 @@ def build_update_request(
198
199
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
199
200
  }
200
201
 
201
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
202
+ _url: str = _url.format(**path_format_arguments) # type: ignore
202
203
 
203
204
  # Construct parameters
204
205
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -215,7 +216,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
215
216
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
216
217
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
217
218
 
218
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
219
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
219
220
  accept = _headers.pop("Accept", "application/json")
220
221
 
221
222
  # Construct URL
@@ -224,7 +225,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
224
225
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
225
226
  }
226
227
 
227
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
228
+ _url: str = _url.format(**path_format_arguments) # type: ignore
228
229
 
229
230
  # Construct parameters
230
231
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -239,7 +240,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
239
240
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
240
241
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
241
242
 
242
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
243
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
243
244
  accept = _headers.pop("Accept", "application/json")
244
245
 
245
246
  # Construct URL
@@ -254,7 +255,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
254
255
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
255
256
  }
256
257
 
257
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
258
+ _url: str = _url.format(**path_format_arguments) # type: ignore
258
259
 
259
260
  # Construct parameters
260
261
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -276,7 +277,7 @@ def build_list_keys_request(
276
277
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
277
278
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
278
279
 
279
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
280
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
280
281
  accept = _headers.pop("Accept", "application/json")
281
282
 
282
283
  # Construct URL
@@ -292,7 +293,7 @@ def build_list_keys_request(
292
293
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
293
294
  }
294
295
 
295
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
296
+ _url: str = _url.format(**path_format_arguments) # type: ignore
296
297
 
297
298
  # Construct parameters
298
299
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -311,7 +312,7 @@ def build_regenerate_key_request(
311
312
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
312
313
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
313
314
 
314
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
315
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
315
316
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
316
317
  accept = _headers.pop("Accept", "application/json")
317
318
 
@@ -328,7 +329,7 @@ def build_regenerate_key_request(
328
329
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
329
330
  }
330
331
 
331
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
332
+ _url: str = _url.format(**path_format_arguments) # type: ignore
332
333
 
333
334
  # Construct parameters
334
335
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -347,7 +348,7 @@ def build_list_account_sas_request(
347
348
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
348
349
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
349
350
 
350
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
351
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
351
352
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
352
353
  accept = _headers.pop("Accept", "application/json")
353
354
 
@@ -364,7 +365,7 @@ def build_list_account_sas_request(
364
365
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
365
366
  }
366
367
 
367
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
368
+ _url: str = _url.format(**path_format_arguments) # type: ignore
368
369
 
369
370
  # Construct parameters
370
371
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -383,7 +384,7 @@ def build_list_service_sas_request(
383
384
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
384
385
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
385
386
 
386
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
387
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
387
388
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
388
389
  accept = _headers.pop("Accept", "application/json")
389
390
 
@@ -400,7 +401,7 @@ def build_list_service_sas_request(
400
401
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
401
402
  }
402
403
 
403
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
404
+ _url: str = _url.format(**path_format_arguments) # type: ignore
404
405
 
405
406
  # Construct parameters
406
407
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -418,7 +419,7 @@ def build_failover_request(
418
419
  ) -> HttpRequest:
419
420
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
420
421
 
421
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
422
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
422
423
  # Construct URL
423
424
  _url = kwargs.pop(
424
425
  "template_url",
@@ -432,7 +433,7 @@ def build_failover_request(
432
433
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
433
434
  }
434
435
 
435
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
436
+ _url: str = _url.format(**path_format_arguments) # type: ignore
436
437
 
437
438
  # Construct parameters
438
439
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -440,12 +441,12 @@ def build_failover_request(
440
441
  return HttpRequest(method="POST", url=_url, params=_params, **kwargs)
441
442
 
442
443
 
443
- def build_revoke_user_delegation_keys_request(
444
+ def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
444
445
  resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
445
446
  ) -> HttpRequest:
446
447
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
447
448
 
448
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
449
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
449
450
  # Construct URL
450
451
  _url = kwargs.pop(
451
452
  "template_url",
@@ -459,7 +460,7 @@ def build_revoke_user_delegation_keys_request(
459
460
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
460
461
  }
461
462
 
462
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
463
+ _url: str = _url.format(**path_format_arguments) # type: ignore
463
464
 
464
465
  # Construct parameters
465
466
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -485,6 +486,7 @@ class StorageAccountsOperations:
485
486
  self._config = input_args.pop(0) if input_args else kwargs.pop("config")
486
487
  self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
487
488
  self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
489
+ self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
488
490
 
489
491
  @overload
490
492
  def check_name_availability(
@@ -504,7 +506,6 @@ class StorageAccountsOperations:
504
506
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
505
507
  Default value is "application/json".
506
508
  :paramtype content_type: str
507
- :keyword callable cls: A custom type or function that will be passed the direct response
508
509
  :return: CheckNameAvailabilityResult or the result of cls(response)
509
510
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
510
511
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -512,18 +513,17 @@ class StorageAccountsOperations:
512
513
 
513
514
  @overload
514
515
  def check_name_availability(
515
- self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
516
+ self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
516
517
  ) -> _models.CheckNameAvailabilityResult:
517
518
  """Checks that the storage account name is valid and is not already in use.
518
519
 
519
520
  :param account_name: The name of the storage account within the specified resource group.
520
521
  Storage account names must be between 3 and 24 characters in length and use numbers and
521
522
  lower-case letters only. Required.
522
- :type account_name: IO
523
+ :type account_name: IO[bytes]
523
524
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
524
525
  Default value is "application/json".
525
526
  :paramtype content_type: str
526
- :keyword callable cls: A custom type or function that will be passed the direct response
527
527
  :return: CheckNameAvailabilityResult or the result of cls(response)
528
528
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
529
529
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -531,25 +531,22 @@ class StorageAccountsOperations:
531
531
 
532
532
  @distributed_trace
533
533
  def check_name_availability(
534
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
534
+ self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
535
535
  ) -> _models.CheckNameAvailabilityResult:
536
536
  """Checks that the storage account name is valid and is not already in use.
537
537
 
538
538
  :param account_name: The name of the storage account within the specified resource group.
539
539
  Storage account names must be between 3 and 24 characters in length and use numbers and
540
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a IO
541
- type. Required.
540
+ lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
541
+ IO[bytes] type. Required.
542
542
  :type account_name:
543
- ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCheckNameAvailabilityParameters or IO
544
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
545
- Default value is None.
546
- :paramtype content_type: str
547
- :keyword callable cls: A custom type or function that will be passed the direct response
543
+ ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCheckNameAvailabilityParameters or
544
+ IO[bytes]
548
545
  :return: CheckNameAvailabilityResult or the result of cls(response)
549
546
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.CheckNameAvailabilityResult
550
547
  :raises ~azure.core.exceptions.HttpResponseError:
551
548
  """
552
- error_map = {
549
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
553
550
  401: ClientAuthenticationError,
554
551
  404: ResourceNotFoundError,
555
552
  409: ResourceExistsError,
@@ -560,33 +557,33 @@ class StorageAccountsOperations:
560
557
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
561
558
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
562
559
 
563
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
560
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
564
561
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
565
562
  cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
566
563
 
567
564
  content_type = content_type or "application/json"
568
565
  _json = None
569
566
  _content = None
570
- if isinstance(account_name, (IO, bytes)):
567
+ if isinstance(account_name, (IOBase, bytes)):
571
568
  _content = account_name
572
569
  else:
573
570
  _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
574
571
 
575
- request = build_check_name_availability_request(
572
+ _request = build_check_name_availability_request(
576
573
  subscription_id=self._config.subscription_id,
577
574
  api_version=api_version,
578
575
  content_type=content_type,
579
576
  json=_json,
580
577
  content=_content,
581
- template_url=self.check_name_availability.metadata["url"],
582
578
  headers=_headers,
583
579
  params=_params,
584
580
  )
585
- request = _convert_request(request)
586
- request.url = self._client.format_url(request.url)
581
+ _request = _convert_request(_request)
582
+ _request.url = self._client.format_url(_request.url)
587
583
 
584
+ _stream = False
588
585
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
589
- request, stream=False, **kwargs
586
+ _request, stream=_stream, **kwargs
590
587
  )
591
588
 
592
589
  response = pipeline_response.http_response
@@ -598,22 +595,18 @@ class StorageAccountsOperations:
598
595
  deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
599
596
 
600
597
  if cls:
601
- return cls(pipeline_response, deserialized, {})
602
-
603
- return deserialized
598
+ return cls(pipeline_response, deserialized, {}) # type: ignore
604
599
 
605
- check_name_availability.metadata = {
606
- "url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
607
- }
600
+ return deserialized # type: ignore
608
601
 
609
602
  def _create_initial(
610
603
  self,
611
604
  resource_group_name: str,
612
605
  account_name: str,
613
- parameters: Union[_models.StorageAccountCreateParameters, IO],
606
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
614
607
  **kwargs: Any
615
608
  ) -> Optional[_models.StorageAccount]:
616
- error_map = {
609
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
617
610
  401: ClientAuthenticationError,
618
611
  404: ResourceNotFoundError,
619
612
  409: ResourceExistsError,
@@ -624,19 +617,19 @@ class StorageAccountsOperations:
624
617
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
625
618
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
626
619
 
627
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
620
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
628
621
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
629
622
  cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
630
623
 
631
624
  content_type = content_type or "application/json"
632
625
  _json = None
633
626
  _content = None
634
- if isinstance(parameters, (IO, bytes)):
627
+ if isinstance(parameters, (IOBase, bytes)):
635
628
  _content = parameters
636
629
  else:
637
630
  _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
638
631
 
639
- request = build_create_request(
632
+ _request = build_create_request(
640
633
  resource_group_name=resource_group_name,
641
634
  account_name=account_name,
642
635
  subscription_id=self._config.subscription_id,
@@ -644,15 +637,15 @@ class StorageAccountsOperations:
644
637
  content_type=content_type,
645
638
  json=_json,
646
639
  content=_content,
647
- template_url=self._create_initial.metadata["url"],
648
640
  headers=_headers,
649
641
  params=_params,
650
642
  )
651
- request = _convert_request(request)
652
- request.url = self._client.format_url(request.url)
643
+ _request = _convert_request(_request)
644
+ _request.url = self._client.format_url(_request.url)
653
645
 
646
+ _stream = False
654
647
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
655
- request, stream=False, **kwargs
648
+ _request, stream=_stream, **kwargs
656
649
  )
657
650
 
658
651
  response = pipeline_response.http_response
@@ -666,13 +659,9 @@ class StorageAccountsOperations:
666
659
  deserialized = self._deserialize("StorageAccount", pipeline_response)
667
660
 
668
661
  if cls:
669
- return cls(pipeline_response, deserialized, {})
662
+ return cls(pipeline_response, deserialized, {}) # type: ignore
670
663
 
671
- return deserialized
672
-
673
- _create_initial.metadata = {
674
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
675
- }
664
+ return deserialized # type: ignore
676
665
 
677
666
  @overload
678
667
  def begin_create(
@@ -701,14 +690,6 @@ class StorageAccountsOperations:
701
690
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
702
691
  Default value is "application/json".
703
692
  :paramtype content_type: str
704
- :keyword callable cls: A custom type or function that will be passed the direct response
705
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
706
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
707
- operation to not poll, or pass in your own initialized polling object for a personal polling
708
- strategy.
709
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
710
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
711
- Retry-After header is present.
712
693
  :return: An instance of LROPoller that returns either StorageAccount or the result of
713
694
  cls(response)
714
695
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
@@ -720,7 +701,7 @@ class StorageAccountsOperations:
720
701
  self,
721
702
  resource_group_name: str,
722
703
  account_name: str,
723
- parameters: IO,
704
+ parameters: IO[bytes],
724
705
  *,
725
706
  content_type: str = "application/json",
726
707
  **kwargs: Any
@@ -738,18 +719,10 @@ class StorageAccountsOperations:
738
719
  lower-case letters only. Required.
739
720
  :type account_name: str
740
721
  :param parameters: The parameters to provide for the created account. Required.
741
- :type parameters: IO
722
+ :type parameters: IO[bytes]
742
723
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
743
724
  Default value is "application/json".
744
725
  :paramtype content_type: str
745
- :keyword callable cls: A custom type or function that will be passed the direct response
746
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
747
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
748
- operation to not poll, or pass in your own initialized polling object for a personal polling
749
- strategy.
750
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
751
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
752
- Retry-After header is present.
753
726
  :return: An instance of LROPoller that returns either StorageAccount or the result of
754
727
  cls(response)
755
728
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
@@ -761,7 +734,7 @@ class StorageAccountsOperations:
761
734
  self,
762
735
  resource_group_name: str,
763
736
  account_name: str,
764
- parameters: Union[_models.StorageAccountCreateParameters, IO],
737
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
765
738
  **kwargs: Any
766
739
  ) -> LROPoller[_models.StorageAccount]:
767
740
  """Asynchronously creates a new storage account with the specified parameters. If an account is
@@ -777,19 +750,9 @@ class StorageAccountsOperations:
777
750
  lower-case letters only. Required.
778
751
  :type account_name: str
779
752
  :param parameters: The parameters to provide for the created account. Is either a
780
- StorageAccountCreateParameters type or a IO type. Required.
781
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters or IO
782
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
783
- Default value is None.
784
- :paramtype content_type: str
785
- :keyword callable cls: A custom type or function that will be passed the direct response
786
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
787
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
788
- operation to not poll, or pass in your own initialized polling object for a personal polling
789
- strategy.
790
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
791
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
792
- Retry-After header is present.
753
+ StorageAccountCreateParameters type or a IO[bytes] type. Required.
754
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountCreateParameters or
755
+ IO[bytes]
793
756
  :return: An instance of LROPoller that returns either StorageAccount or the result of
794
757
  cls(response)
795
758
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
@@ -798,7 +761,7 @@ class StorageAccountsOperations:
798
761
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
799
762
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
800
763
 
801
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
764
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
802
765
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
803
766
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
804
767
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
@@ -821,7 +784,7 @@ class StorageAccountsOperations:
821
784
  def get_long_running_output(pipeline_response):
822
785
  deserialized = self._deserialize("StorageAccount", pipeline_response)
823
786
  if cls:
824
- return cls(pipeline_response, deserialized, {})
787
+ return cls(pipeline_response, deserialized, {}) # type: ignore
825
788
  return deserialized
826
789
 
827
790
  if polling is True:
@@ -831,17 +794,15 @@ class StorageAccountsOperations:
831
794
  else:
832
795
  polling_method = polling
833
796
  if cont_token:
834
- return LROPoller.from_continuation_token(
797
+ return LROPoller[_models.StorageAccount].from_continuation_token(
835
798
  polling_method=polling_method,
836
799
  continuation_token=cont_token,
837
800
  client=self._client,
838
801
  deserialization_callback=get_long_running_output,
839
802
  )
840
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
841
-
842
- begin_create.metadata = {
843
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
844
- }
803
+ return LROPoller[_models.StorageAccount](
804
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
805
+ )
845
806
 
846
807
  @distributed_trace
847
808
  def delete( # pylint: disable=inconsistent-return-statements
@@ -856,12 +817,11 @@ class StorageAccountsOperations:
856
817
  Storage account names must be between 3 and 24 characters in length and use numbers and
857
818
  lower-case letters only. Required.
858
819
  :type account_name: str
859
- :keyword callable cls: A custom type or function that will be passed the direct response
860
820
  :return: None or the result of cls(response)
861
821
  :rtype: None
862
822
  :raises ~azure.core.exceptions.HttpResponseError:
863
823
  """
864
- error_map = {
824
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
865
825
  401: ClientAuthenticationError,
866
826
  404: ResourceNotFoundError,
867
827
  409: ResourceExistsError,
@@ -872,23 +832,23 @@ class StorageAccountsOperations:
872
832
  _headers = kwargs.pop("headers", {}) or {}
873
833
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
874
834
 
875
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
835
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
876
836
  cls: ClsType[None] = kwargs.pop("cls", None)
877
837
 
878
- request = build_delete_request(
838
+ _request = build_delete_request(
879
839
  resource_group_name=resource_group_name,
880
840
  account_name=account_name,
881
841
  subscription_id=self._config.subscription_id,
882
842
  api_version=api_version,
883
- template_url=self.delete.metadata["url"],
884
843
  headers=_headers,
885
844
  params=_params,
886
845
  )
887
- request = _convert_request(request)
888
- request.url = self._client.format_url(request.url)
846
+ _request = _convert_request(_request)
847
+ _request.url = self._client.format_url(_request.url)
889
848
 
849
+ _stream = False
890
850
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
891
- request, stream=False, **kwargs
851
+ _request, stream=_stream, **kwargs
892
852
  )
893
853
 
894
854
  response = pipeline_response.http_response
@@ -898,11 +858,7 @@ class StorageAccountsOperations:
898
858
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
899
859
 
900
860
  if cls:
901
- return cls(pipeline_response, None, {})
902
-
903
- delete.metadata = {
904
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
905
- }
861
+ return cls(pipeline_response, None, {}) # type: ignore
906
862
 
907
863
  @distributed_trace
908
864
  def get_properties(
@@ -927,12 +883,11 @@ class StorageAccountsOperations:
927
883
  data is not included when fetching properties. Currently we only support geoReplicationStats.
928
884
  Known values are "geoReplicationStats" and None. Default value is "geoReplicationStats".
929
885
  :type expand: str
930
- :keyword callable cls: A custom type or function that will be passed the direct response
931
886
  :return: StorageAccount or the result of cls(response)
932
887
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
933
888
  :raises ~azure.core.exceptions.HttpResponseError:
934
889
  """
935
- error_map = {
890
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
936
891
  401: ClientAuthenticationError,
937
892
  404: ResourceNotFoundError,
938
893
  409: ResourceExistsError,
@@ -943,24 +898,24 @@ class StorageAccountsOperations:
943
898
  _headers = kwargs.pop("headers", {}) or {}
944
899
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
945
900
 
946
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
901
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
947
902
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
948
903
 
949
- request = build_get_properties_request(
904
+ _request = build_get_properties_request(
950
905
  resource_group_name=resource_group_name,
951
906
  account_name=account_name,
952
907
  subscription_id=self._config.subscription_id,
953
908
  expand=expand,
954
909
  api_version=api_version,
955
- template_url=self.get_properties.metadata["url"],
956
910
  headers=_headers,
957
911
  params=_params,
958
912
  )
959
- request = _convert_request(request)
960
- request.url = self._client.format_url(request.url)
913
+ _request = _convert_request(_request)
914
+ _request.url = self._client.format_url(_request.url)
961
915
 
916
+ _stream = False
962
917
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
963
- request, stream=False, **kwargs
918
+ _request, stream=_stream, **kwargs
964
919
  )
965
920
 
966
921
  response = pipeline_response.http_response
@@ -972,13 +927,9 @@ class StorageAccountsOperations:
972
927
  deserialized = self._deserialize("StorageAccount", pipeline_response)
973
928
 
974
929
  if cls:
975
- return cls(pipeline_response, deserialized, {})
976
-
977
- return deserialized
930
+ return cls(pipeline_response, deserialized, {}) # type: ignore
978
931
 
979
- get_properties.metadata = {
980
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
981
- }
932
+ return deserialized # type: ignore
982
933
 
983
934
  @overload
984
935
  def update(
@@ -1011,7 +962,6 @@ class StorageAccountsOperations:
1011
962
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1012
963
  Default value is "application/json".
1013
964
  :paramtype content_type: str
1014
- :keyword callable cls: A custom type or function that will be passed the direct response
1015
965
  :return: StorageAccount or the result of cls(response)
1016
966
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
1017
967
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1022,7 +972,7 @@ class StorageAccountsOperations:
1022
972
  self,
1023
973
  resource_group_name: str,
1024
974
  account_name: str,
1025
- parameters: IO,
975
+ parameters: IO[bytes],
1026
976
  *,
1027
977
  content_type: str = "application/json",
1028
978
  **kwargs: Any
@@ -1044,11 +994,10 @@ class StorageAccountsOperations:
1044
994
  lower-case letters only. Required.
1045
995
  :type account_name: str
1046
996
  :param parameters: The parameters to provide for the updated account. Required.
1047
- :type parameters: IO
997
+ :type parameters: IO[bytes]
1048
998
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1049
999
  Default value is "application/json".
1050
1000
  :paramtype content_type: str
1051
- :keyword callable cls: A custom type or function that will be passed the direct response
1052
1001
  :return: StorageAccount or the result of cls(response)
1053
1002
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
1054
1003
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1059,7 +1008,7 @@ class StorageAccountsOperations:
1059
1008
  self,
1060
1009
  resource_group_name: str,
1061
1010
  account_name: str,
1062
- parameters: Union[_models.StorageAccountUpdateParameters, IO],
1011
+ parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
1063
1012
  **kwargs: Any
1064
1013
  ) -> _models.StorageAccount:
1065
1014
  """The update operation can be used to update the SKU, encryption, access tier, or tags for a
@@ -1079,17 +1028,14 @@ class StorageAccountsOperations:
1079
1028
  lower-case letters only. Required.
1080
1029
  :type account_name: str
1081
1030
  :param parameters: The parameters to provide for the updated account. Is either a
1082
- StorageAccountUpdateParameters type or a IO type. Required.
1083
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountUpdateParameters or IO
1084
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1085
- Default value is None.
1086
- :paramtype content_type: str
1087
- :keyword callable cls: A custom type or function that will be passed the direct response
1031
+ StorageAccountUpdateParameters type or a IO[bytes] type. Required.
1032
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountUpdateParameters or
1033
+ IO[bytes]
1088
1034
  :return: StorageAccount or the result of cls(response)
1089
1035
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount
1090
1036
  :raises ~azure.core.exceptions.HttpResponseError:
1091
1037
  """
1092
- error_map = {
1038
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1093
1039
  401: ClientAuthenticationError,
1094
1040
  404: ResourceNotFoundError,
1095
1041
  409: ResourceExistsError,
@@ -1100,19 +1046,19 @@ class StorageAccountsOperations:
1100
1046
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1101
1047
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1102
1048
 
1103
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1049
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1104
1050
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1105
1051
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
1106
1052
 
1107
1053
  content_type = content_type or "application/json"
1108
1054
  _json = None
1109
1055
  _content = None
1110
- if isinstance(parameters, (IO, bytes)):
1056
+ if isinstance(parameters, (IOBase, bytes)):
1111
1057
  _content = parameters
1112
1058
  else:
1113
1059
  _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
1114
1060
 
1115
- request = build_update_request(
1061
+ _request = build_update_request(
1116
1062
  resource_group_name=resource_group_name,
1117
1063
  account_name=account_name,
1118
1064
  subscription_id=self._config.subscription_id,
@@ -1120,15 +1066,15 @@ class StorageAccountsOperations:
1120
1066
  content_type=content_type,
1121
1067
  json=_json,
1122
1068
  content=_content,
1123
- template_url=self.update.metadata["url"],
1124
1069
  headers=_headers,
1125
1070
  params=_params,
1126
1071
  )
1127
- request = _convert_request(request)
1128
- request.url = self._client.format_url(request.url)
1072
+ _request = _convert_request(_request)
1073
+ _request.url = self._client.format_url(_request.url)
1129
1074
 
1075
+ _stream = False
1130
1076
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1131
- request, stream=False, **kwargs
1077
+ _request, stream=_stream, **kwargs
1132
1078
  )
1133
1079
 
1134
1080
  response = pipeline_response.http_response
@@ -1140,20 +1086,15 @@ class StorageAccountsOperations:
1140
1086
  deserialized = self._deserialize("StorageAccount", pipeline_response)
1141
1087
 
1142
1088
  if cls:
1143
- return cls(pipeline_response, deserialized, {})
1089
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1144
1090
 
1145
- return deserialized
1146
-
1147
- update.metadata = {
1148
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
1149
- }
1091
+ return deserialized # type: ignore
1150
1092
 
1151
1093
  @distributed_trace
1152
1094
  def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1153
1095
  """Lists all the storage accounts available under the subscription. Note that storage keys are not
1154
1096
  returned; use the ListKeys operation for this.
1155
1097
 
1156
- :keyword callable cls: A custom type or function that will be passed the direct response
1157
1098
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1158
1099
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
1159
1100
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1161,10 +1102,10 @@ class StorageAccountsOperations:
1161
1102
  _headers = kwargs.pop("headers", {}) or {}
1162
1103
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1163
1104
 
1164
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1105
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1165
1106
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1166
1107
 
1167
- error_map = {
1108
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1168
1109
  401: ClientAuthenticationError,
1169
1110
  404: ResourceNotFoundError,
1170
1111
  409: ResourceExistsError,
@@ -1175,15 +1116,14 @@ class StorageAccountsOperations:
1175
1116
  def prepare_request(next_link=None):
1176
1117
  if not next_link:
1177
1118
 
1178
- request = build_list_request(
1119
+ _request = build_list_request(
1179
1120
  subscription_id=self._config.subscription_id,
1180
1121
  api_version=api_version,
1181
- template_url=self.list.metadata["url"],
1182
1122
  headers=_headers,
1183
1123
  params=_params,
1184
1124
  )
1185
- request = _convert_request(request)
1186
- request.url = self._client.format_url(request.url)
1125
+ _request = _convert_request(_request)
1126
+ _request.url = self._client.format_url(_request.url)
1187
1127
 
1188
1128
  else:
1189
1129
  # make call to next link with the client's api-version
@@ -1194,14 +1134,14 @@ class StorageAccountsOperations:
1194
1134
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1195
1135
  }
1196
1136
  )
1197
- _next_request_params["api-version"] = self._config.api_version
1198
- request = HttpRequest(
1137
+ _next_request_params["api-version"] = self._api_version
1138
+ _request = HttpRequest(
1199
1139
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1200
1140
  )
1201
- request = _convert_request(request)
1202
- request.url = self._client.format_url(request.url)
1203
- request.method = "GET"
1204
- return request
1141
+ _request = _convert_request(_request)
1142
+ _request.url = self._client.format_url(_request.url)
1143
+ _request.method = "GET"
1144
+ return _request
1205
1145
 
1206
1146
  def extract_data(pipeline_response):
1207
1147
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1211,10 +1151,11 @@ class StorageAccountsOperations:
1211
1151
  return deserialized.next_link or None, iter(list_of_elem)
1212
1152
 
1213
1153
  def get_next(next_link=None):
1214
- request = prepare_request(next_link)
1154
+ _request = prepare_request(next_link)
1215
1155
 
1156
+ _stream = False
1216
1157
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1217
- request, stream=False, **kwargs
1158
+ _request, stream=_stream, **kwargs
1218
1159
  )
1219
1160
  response = pipeline_response.http_response
1220
1161
 
@@ -1226,8 +1167,6 @@ class StorageAccountsOperations:
1226
1167
 
1227
1168
  return ItemPaged(get_next, extract_data)
1228
1169
 
1229
- list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
1230
-
1231
1170
  @distributed_trace
1232
1171
  def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1233
1172
  """Lists all the storage accounts available under the given resource group. Note that storage keys
@@ -1236,7 +1175,6 @@ class StorageAccountsOperations:
1236
1175
  :param resource_group_name: The name of the resource group within the user's subscription. The
1237
1176
  name is case insensitive. Required.
1238
1177
  :type resource_group_name: str
1239
- :keyword callable cls: A custom type or function that will be passed the direct response
1240
1178
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1241
1179
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.StorageAccount]
1242
1180
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1244,10 +1182,10 @@ class StorageAccountsOperations:
1244
1182
  _headers = kwargs.pop("headers", {}) or {}
1245
1183
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1246
1184
 
1247
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1185
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1248
1186
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1249
1187
 
1250
- error_map = {
1188
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1251
1189
  401: ClientAuthenticationError,
1252
1190
  404: ResourceNotFoundError,
1253
1191
  409: ResourceExistsError,
@@ -1258,16 +1196,15 @@ class StorageAccountsOperations:
1258
1196
  def prepare_request(next_link=None):
1259
1197
  if not next_link:
1260
1198
 
1261
- request = build_list_by_resource_group_request(
1199
+ _request = build_list_by_resource_group_request(
1262
1200
  resource_group_name=resource_group_name,
1263
1201
  subscription_id=self._config.subscription_id,
1264
1202
  api_version=api_version,
1265
- template_url=self.list_by_resource_group.metadata["url"],
1266
1203
  headers=_headers,
1267
1204
  params=_params,
1268
1205
  )
1269
- request = _convert_request(request)
1270
- request.url = self._client.format_url(request.url)
1206
+ _request = _convert_request(_request)
1207
+ _request.url = self._client.format_url(_request.url)
1271
1208
 
1272
1209
  else:
1273
1210
  # make call to next link with the client's api-version
@@ -1278,14 +1215,14 @@ class StorageAccountsOperations:
1278
1215
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1279
1216
  }
1280
1217
  )
1281
- _next_request_params["api-version"] = self._config.api_version
1282
- request = HttpRequest(
1218
+ _next_request_params["api-version"] = self._api_version
1219
+ _request = HttpRequest(
1283
1220
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1284
1221
  )
1285
- request = _convert_request(request)
1286
- request.url = self._client.format_url(request.url)
1287
- request.method = "GET"
1288
- return request
1222
+ _request = _convert_request(_request)
1223
+ _request.url = self._client.format_url(_request.url)
1224
+ _request.method = "GET"
1225
+ return _request
1289
1226
 
1290
1227
  def extract_data(pipeline_response):
1291
1228
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1295,10 +1232,11 @@ class StorageAccountsOperations:
1295
1232
  return None, iter(list_of_elem)
1296
1233
 
1297
1234
  def get_next(next_link=None):
1298
- request = prepare_request(next_link)
1235
+ _request = prepare_request(next_link)
1299
1236
 
1237
+ _stream = False
1300
1238
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1301
- request, stream=False, **kwargs
1239
+ _request, stream=_stream, **kwargs
1302
1240
  )
1303
1241
  response = pipeline_response.http_response
1304
1242
 
@@ -1310,10 +1248,6 @@ class StorageAccountsOperations:
1310
1248
 
1311
1249
  return ItemPaged(get_next, extract_data)
1312
1250
 
1313
- list_by_resource_group.metadata = {
1314
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
1315
- }
1316
-
1317
1251
  @distributed_trace
1318
1252
  def list_keys(
1319
1253
  self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
@@ -1331,12 +1265,11 @@ class StorageAccountsOperations:
1331
1265
  :param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
1332
1266
  "kerb" and None. Default value is "kerb".
1333
1267
  :type expand: str
1334
- :keyword callable cls: A custom type or function that will be passed the direct response
1335
1268
  :return: StorageAccountListKeysResult or the result of cls(response)
1336
1269
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
1337
1270
  :raises ~azure.core.exceptions.HttpResponseError:
1338
1271
  """
1339
- error_map = {
1272
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1340
1273
  401: ClientAuthenticationError,
1341
1274
  404: ResourceNotFoundError,
1342
1275
  409: ResourceExistsError,
@@ -1347,24 +1280,24 @@ class StorageAccountsOperations:
1347
1280
  _headers = kwargs.pop("headers", {}) or {}
1348
1281
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1349
1282
 
1350
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1283
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1351
1284
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1352
1285
 
1353
- request = build_list_keys_request(
1286
+ _request = build_list_keys_request(
1354
1287
  resource_group_name=resource_group_name,
1355
1288
  account_name=account_name,
1356
1289
  subscription_id=self._config.subscription_id,
1357
1290
  expand=expand,
1358
1291
  api_version=api_version,
1359
- template_url=self.list_keys.metadata["url"],
1360
1292
  headers=_headers,
1361
1293
  params=_params,
1362
1294
  )
1363
- request = _convert_request(request)
1364
- request.url = self._client.format_url(request.url)
1295
+ _request = _convert_request(_request)
1296
+ _request.url = self._client.format_url(_request.url)
1365
1297
 
1298
+ _stream = False
1366
1299
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1367
- request, stream=False, **kwargs
1300
+ _request, stream=_stream, **kwargs
1368
1301
  )
1369
1302
 
1370
1303
  response = pipeline_response.http_response
@@ -1376,13 +1309,9 @@ class StorageAccountsOperations:
1376
1309
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1377
1310
 
1378
1311
  if cls:
1379
- return cls(pipeline_response, deserialized, {})
1312
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1380
1313
 
1381
- return deserialized
1382
-
1383
- list_keys.metadata = {
1384
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
1385
- }
1314
+ return deserialized # type: ignore
1386
1315
 
1387
1316
  @overload
1388
1317
  def regenerate_key(
@@ -1410,7 +1339,6 @@ class StorageAccountsOperations:
1410
1339
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1411
1340
  Default value is "application/json".
1412
1341
  :paramtype content_type: str
1413
- :keyword callable cls: A custom type or function that will be passed the direct response
1414
1342
  :return: StorageAccountListKeysResult or the result of cls(response)
1415
1343
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
1416
1344
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1421,7 +1349,7 @@ class StorageAccountsOperations:
1421
1349
  self,
1422
1350
  resource_group_name: str,
1423
1351
  account_name: str,
1424
- regenerate_key: IO,
1352
+ regenerate_key: IO[bytes],
1425
1353
  *,
1426
1354
  content_type: str = "application/json",
1427
1355
  **kwargs: Any
@@ -1437,11 +1365,10 @@ class StorageAccountsOperations:
1437
1365
  :type account_name: str
1438
1366
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1439
1367
  kerb1, kerb2. Required.
1440
- :type regenerate_key: IO
1368
+ :type regenerate_key: IO[bytes]
1441
1369
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1442
1370
  Default value is "application/json".
1443
1371
  :paramtype content_type: str
1444
- :keyword callable cls: A custom type or function that will be passed the direct response
1445
1372
  :return: StorageAccountListKeysResult or the result of cls(response)
1446
1373
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
1447
1374
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1452,7 +1379,7 @@ class StorageAccountsOperations:
1452
1379
  self,
1453
1380
  resource_group_name: str,
1454
1381
  account_name: str,
1455
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
1382
+ regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
1456
1383
  **kwargs: Any
1457
1384
  ) -> _models.StorageAccountListKeysResult:
1458
1385
  """Regenerates one of the access keys or Kerberos keys for the specified storage account.
@@ -1465,18 +1392,15 @@ class StorageAccountsOperations:
1465
1392
  lower-case letters only. Required.
1466
1393
  :type account_name: str
1467
1394
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1468
- kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
1395
+ kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
1396
+ Required.
1469
1397
  :type regenerate_key:
1470
- ~azure.mgmt.storage.v2019_04_01.models.StorageAccountRegenerateKeyParameters or IO
1471
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1472
- Default value is None.
1473
- :paramtype content_type: str
1474
- :keyword callable cls: A custom type or function that will be passed the direct response
1398
+ ~azure.mgmt.storage.v2019_04_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1475
1399
  :return: StorageAccountListKeysResult or the result of cls(response)
1476
1400
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccountListKeysResult
1477
1401
  :raises ~azure.core.exceptions.HttpResponseError:
1478
1402
  """
1479
- error_map = {
1403
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1480
1404
  401: ClientAuthenticationError,
1481
1405
  404: ResourceNotFoundError,
1482
1406
  409: ResourceExistsError,
@@ -1487,19 +1411,19 @@ class StorageAccountsOperations:
1487
1411
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1488
1412
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1489
1413
 
1490
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1414
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1491
1415
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1492
1416
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1493
1417
 
1494
1418
  content_type = content_type or "application/json"
1495
1419
  _json = None
1496
1420
  _content = None
1497
- if isinstance(regenerate_key, (IO, bytes)):
1421
+ if isinstance(regenerate_key, (IOBase, bytes)):
1498
1422
  _content = regenerate_key
1499
1423
  else:
1500
1424
  _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1501
1425
 
1502
- request = build_regenerate_key_request(
1426
+ _request = build_regenerate_key_request(
1503
1427
  resource_group_name=resource_group_name,
1504
1428
  account_name=account_name,
1505
1429
  subscription_id=self._config.subscription_id,
@@ -1507,15 +1431,15 @@ class StorageAccountsOperations:
1507
1431
  content_type=content_type,
1508
1432
  json=_json,
1509
1433
  content=_content,
1510
- template_url=self.regenerate_key.metadata["url"],
1511
1434
  headers=_headers,
1512
1435
  params=_params,
1513
1436
  )
1514
- request = _convert_request(request)
1515
- request.url = self._client.format_url(request.url)
1437
+ _request = _convert_request(_request)
1438
+ _request.url = self._client.format_url(_request.url)
1516
1439
 
1440
+ _stream = False
1517
1441
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1518
- request, stream=False, **kwargs
1442
+ _request, stream=_stream, **kwargs
1519
1443
  )
1520
1444
 
1521
1445
  response = pipeline_response.http_response
@@ -1527,13 +1451,9 @@ class StorageAccountsOperations:
1527
1451
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1528
1452
 
1529
1453
  if cls:
1530
- return cls(pipeline_response, deserialized, {})
1454
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1531
1455
 
1532
- return deserialized
1533
-
1534
- regenerate_key.metadata = {
1535
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
1536
- }
1456
+ return deserialized # type: ignore
1537
1457
 
1538
1458
  @overload
1539
1459
  def list_account_sas(
@@ -1560,7 +1480,6 @@ class StorageAccountsOperations:
1560
1480
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1561
1481
  Default value is "application/json".
1562
1482
  :paramtype content_type: str
1563
- :keyword callable cls: A custom type or function that will be passed the direct response
1564
1483
  :return: ListAccountSasResponse or the result of cls(response)
1565
1484
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
1566
1485
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1571,7 +1490,7 @@ class StorageAccountsOperations:
1571
1490
  self,
1572
1491
  resource_group_name: str,
1573
1492
  account_name: str,
1574
- parameters: IO,
1493
+ parameters: IO[bytes],
1575
1494
  *,
1576
1495
  content_type: str = "application/json",
1577
1496
  **kwargs: Any
@@ -1587,11 +1506,10 @@ class StorageAccountsOperations:
1587
1506
  :type account_name: str
1588
1507
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1589
1508
  Required.
1590
- :type parameters: IO
1509
+ :type parameters: IO[bytes]
1591
1510
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1592
1511
  Default value is "application/json".
1593
1512
  :paramtype content_type: str
1594
- :keyword callable cls: A custom type or function that will be passed the direct response
1595
1513
  :return: ListAccountSasResponse or the result of cls(response)
1596
1514
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
1597
1515
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1602,7 +1520,7 @@ class StorageAccountsOperations:
1602
1520
  self,
1603
1521
  resource_group_name: str,
1604
1522
  account_name: str,
1605
- parameters: Union[_models.AccountSasParameters, IO],
1523
+ parameters: Union[_models.AccountSasParameters, IO[bytes]],
1606
1524
  **kwargs: Any
1607
1525
  ) -> _models.ListAccountSasResponse:
1608
1526
  """List SAS credentials of a storage account.
@@ -1615,17 +1533,13 @@ class StorageAccountsOperations:
1615
1533
  lower-case letters only. Required.
1616
1534
  :type account_name: str
1617
1535
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1618
- Is either a AccountSasParameters type or a IO type. Required.
1619
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.AccountSasParameters or IO
1620
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1621
- Default value is None.
1622
- :paramtype content_type: str
1623
- :keyword callable cls: A custom type or function that will be passed the direct response
1536
+ Is either a AccountSasParameters type or a IO[bytes] type. Required.
1537
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.AccountSasParameters or IO[bytes]
1624
1538
  :return: ListAccountSasResponse or the result of cls(response)
1625
1539
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ListAccountSasResponse
1626
1540
  :raises ~azure.core.exceptions.HttpResponseError:
1627
1541
  """
1628
- error_map = {
1542
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1629
1543
  401: ClientAuthenticationError,
1630
1544
  404: ResourceNotFoundError,
1631
1545
  409: ResourceExistsError,
@@ -1636,19 +1550,19 @@ class StorageAccountsOperations:
1636
1550
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1637
1551
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1638
1552
 
1639
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1553
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1640
1554
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1641
1555
  cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
1642
1556
 
1643
1557
  content_type = content_type or "application/json"
1644
1558
  _json = None
1645
1559
  _content = None
1646
- if isinstance(parameters, (IO, bytes)):
1560
+ if isinstance(parameters, (IOBase, bytes)):
1647
1561
  _content = parameters
1648
1562
  else:
1649
1563
  _json = self._serialize.body(parameters, "AccountSasParameters")
1650
1564
 
1651
- request = build_list_account_sas_request(
1565
+ _request = build_list_account_sas_request(
1652
1566
  resource_group_name=resource_group_name,
1653
1567
  account_name=account_name,
1654
1568
  subscription_id=self._config.subscription_id,
@@ -1656,15 +1570,15 @@ class StorageAccountsOperations:
1656
1570
  content_type=content_type,
1657
1571
  json=_json,
1658
1572
  content=_content,
1659
- template_url=self.list_account_sas.metadata["url"],
1660
1573
  headers=_headers,
1661
1574
  params=_params,
1662
1575
  )
1663
- request = _convert_request(request)
1664
- request.url = self._client.format_url(request.url)
1576
+ _request = _convert_request(_request)
1577
+ _request.url = self._client.format_url(_request.url)
1665
1578
 
1579
+ _stream = False
1666
1580
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1667
- request, stream=False, **kwargs
1581
+ _request, stream=_stream, **kwargs
1668
1582
  )
1669
1583
 
1670
1584
  response = pipeline_response.http_response
@@ -1676,13 +1590,9 @@ class StorageAccountsOperations:
1676
1590
  deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
1677
1591
 
1678
1592
  if cls:
1679
- return cls(pipeline_response, deserialized, {})
1593
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1680
1594
 
1681
- return deserialized
1682
-
1683
- list_account_sas.metadata = {
1684
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
1685
- }
1595
+ return deserialized # type: ignore
1686
1596
 
1687
1597
  @overload
1688
1598
  def list_service_sas(
@@ -1708,7 +1618,6 @@ class StorageAccountsOperations:
1708
1618
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1709
1619
  Default value is "application/json".
1710
1620
  :paramtype content_type: str
1711
- :keyword callable cls: A custom type or function that will be passed the direct response
1712
1621
  :return: ListServiceSasResponse or the result of cls(response)
1713
1622
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
1714
1623
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1719,7 +1628,7 @@ class StorageAccountsOperations:
1719
1628
  self,
1720
1629
  resource_group_name: str,
1721
1630
  account_name: str,
1722
- parameters: IO,
1631
+ parameters: IO[bytes],
1723
1632
  *,
1724
1633
  content_type: str = "application/json",
1725
1634
  **kwargs: Any
@@ -1734,11 +1643,10 @@ class StorageAccountsOperations:
1734
1643
  lower-case letters only. Required.
1735
1644
  :type account_name: str
1736
1645
  :param parameters: The parameters to provide to list service SAS credentials. Required.
1737
- :type parameters: IO
1646
+ :type parameters: IO[bytes]
1738
1647
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1739
1648
  Default value is "application/json".
1740
1649
  :paramtype content_type: str
1741
- :keyword callable cls: A custom type or function that will be passed the direct response
1742
1650
  :return: ListServiceSasResponse or the result of cls(response)
1743
1651
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
1744
1652
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1749,7 +1657,7 @@ class StorageAccountsOperations:
1749
1657
  self,
1750
1658
  resource_group_name: str,
1751
1659
  account_name: str,
1752
- parameters: Union[_models.ServiceSasParameters, IO],
1660
+ parameters: Union[_models.ServiceSasParameters, IO[bytes]],
1753
1661
  **kwargs: Any
1754
1662
  ) -> _models.ListServiceSasResponse:
1755
1663
  """List service SAS credentials of a specific resource.
@@ -1762,17 +1670,13 @@ class StorageAccountsOperations:
1762
1670
  lower-case letters only. Required.
1763
1671
  :type account_name: str
1764
1672
  :param parameters: The parameters to provide to list service SAS credentials. Is either a
1765
- ServiceSasParameters type or a IO type. Required.
1766
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ServiceSasParameters or IO
1767
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1768
- Default value is None.
1769
- :paramtype content_type: str
1770
- :keyword callable cls: A custom type or function that will be passed the direct response
1673
+ ServiceSasParameters type or a IO[bytes] type. Required.
1674
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ServiceSasParameters or IO[bytes]
1771
1675
  :return: ListServiceSasResponse or the result of cls(response)
1772
1676
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ListServiceSasResponse
1773
1677
  :raises ~azure.core.exceptions.HttpResponseError:
1774
1678
  """
1775
- error_map = {
1679
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1776
1680
  401: ClientAuthenticationError,
1777
1681
  404: ResourceNotFoundError,
1778
1682
  409: ResourceExistsError,
@@ -1783,19 +1687,19 @@ class StorageAccountsOperations:
1783
1687
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1784
1688
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1785
1689
 
1786
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1690
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1787
1691
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1788
1692
  cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
1789
1693
 
1790
1694
  content_type = content_type or "application/json"
1791
1695
  _json = None
1792
1696
  _content = None
1793
- if isinstance(parameters, (IO, bytes)):
1697
+ if isinstance(parameters, (IOBase, bytes)):
1794
1698
  _content = parameters
1795
1699
  else:
1796
1700
  _json = self._serialize.body(parameters, "ServiceSasParameters")
1797
1701
 
1798
- request = build_list_service_sas_request(
1702
+ _request = build_list_service_sas_request(
1799
1703
  resource_group_name=resource_group_name,
1800
1704
  account_name=account_name,
1801
1705
  subscription_id=self._config.subscription_id,
@@ -1803,15 +1707,15 @@ class StorageAccountsOperations:
1803
1707
  content_type=content_type,
1804
1708
  json=_json,
1805
1709
  content=_content,
1806
- template_url=self.list_service_sas.metadata["url"],
1807
1710
  headers=_headers,
1808
1711
  params=_params,
1809
1712
  )
1810
- request = _convert_request(request)
1811
- request.url = self._client.format_url(request.url)
1713
+ _request = _convert_request(_request)
1714
+ _request.url = self._client.format_url(_request.url)
1812
1715
 
1716
+ _stream = False
1813
1717
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1814
- request, stream=False, **kwargs
1718
+ _request, stream=_stream, **kwargs
1815
1719
  )
1816
1720
 
1817
1721
  response = pipeline_response.http_response
@@ -1823,18 +1727,14 @@ class StorageAccountsOperations:
1823
1727
  deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
1824
1728
 
1825
1729
  if cls:
1826
- return cls(pipeline_response, deserialized, {})
1827
-
1828
- return deserialized
1730
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1829
1731
 
1830
- list_service_sas.metadata = {
1831
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
1832
- }
1732
+ return deserialized # type: ignore
1833
1733
 
1834
1734
  def _failover_initial( # pylint: disable=inconsistent-return-statements
1835
1735
  self, resource_group_name: str, account_name: str, **kwargs: Any
1836
1736
  ) -> None:
1837
- error_map = {
1737
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1838
1738
  401: ClientAuthenticationError,
1839
1739
  404: ResourceNotFoundError,
1840
1740
  409: ResourceExistsError,
@@ -1845,23 +1745,23 @@ class StorageAccountsOperations:
1845
1745
  _headers = kwargs.pop("headers", {}) or {}
1846
1746
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1847
1747
 
1848
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1748
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1849
1749
  cls: ClsType[None] = kwargs.pop("cls", None)
1850
1750
 
1851
- request = build_failover_request(
1751
+ _request = build_failover_request(
1852
1752
  resource_group_name=resource_group_name,
1853
1753
  account_name=account_name,
1854
1754
  subscription_id=self._config.subscription_id,
1855
1755
  api_version=api_version,
1856
- template_url=self._failover_initial.metadata["url"],
1857
1756
  headers=_headers,
1858
1757
  params=_params,
1859
1758
  )
1860
- request = _convert_request(request)
1861
- request.url = self._client.format_url(request.url)
1759
+ _request = _convert_request(_request)
1760
+ _request.url = self._client.format_url(_request.url)
1862
1761
 
1762
+ _stream = False
1863
1763
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1864
- request, stream=False, **kwargs
1764
+ _request, stream=_stream, **kwargs
1865
1765
  )
1866
1766
 
1867
1767
  response = pipeline_response.http_response
@@ -1871,11 +1771,7 @@ class StorageAccountsOperations:
1871
1771
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1872
1772
 
1873
1773
  if cls:
1874
- return cls(pipeline_response, None, {})
1875
-
1876
- _failover_initial.metadata = {
1877
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1878
- }
1774
+ return cls(pipeline_response, None, {}) # type: ignore
1879
1775
 
1880
1776
  @distributed_trace
1881
1777
  def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
@@ -1890,14 +1786,6 @@ class StorageAccountsOperations:
1890
1786
  Storage account names must be between 3 and 24 characters in length and use numbers and
1891
1787
  lower-case letters only. Required.
1892
1788
  :type account_name: str
1893
- :keyword callable cls: A custom type or function that will be passed the direct response
1894
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1895
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
1896
- operation to not poll, or pass in your own initialized polling object for a personal polling
1897
- strategy.
1898
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
1899
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1900
- Retry-After header is present.
1901
1789
  :return: An instance of LROPoller that returns either None or the result of cls(response)
1902
1790
  :rtype: ~azure.core.polling.LROPoller[None]
1903
1791
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1905,7 +1793,7 @@ class StorageAccountsOperations:
1905
1793
  _headers = kwargs.pop("headers", {}) or {}
1906
1794
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1907
1795
 
1908
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1796
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1909
1797
  cls: ClsType[None] = kwargs.pop("cls", None)
1910
1798
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
1911
1799
  lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
@@ -1924,7 +1812,7 @@ class StorageAccountsOperations:
1924
1812
 
1925
1813
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1926
1814
  if cls:
1927
- return cls(pipeline_response, None, {})
1815
+ return cls(pipeline_response, None, {}) # type: ignore
1928
1816
 
1929
1817
  if polling is True:
1930
1818
  polling_method: PollingMethod = cast(
@@ -1935,17 +1823,13 @@ class StorageAccountsOperations:
1935
1823
  else:
1936
1824
  polling_method = polling
1937
1825
  if cont_token:
1938
- return LROPoller.from_continuation_token(
1826
+ return LROPoller[None].from_continuation_token(
1939
1827
  polling_method=polling_method,
1940
1828
  continuation_token=cont_token,
1941
1829
  client=self._client,
1942
1830
  deserialization_callback=get_long_running_output,
1943
1831
  )
1944
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1945
-
1946
- begin_failover.metadata = {
1947
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1948
- }
1832
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1949
1833
 
1950
1834
  @distributed_trace
1951
1835
  def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
@@ -1960,12 +1844,11 @@ class StorageAccountsOperations:
1960
1844
  Storage account names must be between 3 and 24 characters in length and use numbers and
1961
1845
  lower-case letters only. Required.
1962
1846
  :type account_name: str
1963
- :keyword callable cls: A custom type or function that will be passed the direct response
1964
1847
  :return: None or the result of cls(response)
1965
1848
  :rtype: None
1966
1849
  :raises ~azure.core.exceptions.HttpResponseError:
1967
1850
  """
1968
- error_map = {
1851
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1969
1852
  401: ClientAuthenticationError,
1970
1853
  404: ResourceNotFoundError,
1971
1854
  409: ResourceExistsError,
@@ -1976,23 +1859,23 @@ class StorageAccountsOperations:
1976
1859
  _headers = kwargs.pop("headers", {}) or {}
1977
1860
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1978
1861
 
1979
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1862
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1980
1863
  cls: ClsType[None] = kwargs.pop("cls", None)
1981
1864
 
1982
- request = build_revoke_user_delegation_keys_request(
1865
+ _request = build_revoke_user_delegation_keys_request(
1983
1866
  resource_group_name=resource_group_name,
1984
1867
  account_name=account_name,
1985
1868
  subscription_id=self._config.subscription_id,
1986
1869
  api_version=api_version,
1987
- template_url=self.revoke_user_delegation_keys.metadata["url"],
1988
1870
  headers=_headers,
1989
1871
  params=_params,
1990
1872
  )
1991
- request = _convert_request(request)
1992
- request.url = self._client.format_url(request.url)
1873
+ _request = _convert_request(_request)
1874
+ _request.url = self._client.format_url(_request.url)
1993
1875
 
1876
+ _stream = False
1994
1877
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1995
- request, stream=False, **kwargs
1878
+ _request, stream=_stream, **kwargs
1996
1879
  )
1997
1880
 
1998
1881
  response = pipeline_response.http_response
@@ -2002,8 +1885,4 @@ class StorageAccountsOperations:
2002
1885
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2003
1886
 
2004
1887
  if cls:
2005
- return cls(pipeline_response, None, {})
2006
-
2007
- revoke_user_delegation_keys.metadata = {
2008
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
2009
- }
1888
+ return cls(pipeline_response, None, {}) # type: ignore