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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (813) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +66 -60
  3. azure/mgmt/storage/_storage_management_client.py +232 -26
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +232 -26
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +4 -11
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +25 -5
  11. azure/mgmt/storage/v2015_06_15/_vendor.py +0 -14
  12. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  13. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +4 -11
  14. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  15. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +27 -5
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +132 -213
  17. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +20 -22
  18. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  19. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +151 -232
  20. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +23 -25
  21. azure/mgmt/storage/v2016_01_01/_configuration.py +4 -11
  22. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  23. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +25 -5
  24. azure/mgmt/storage/v2016_01_01/_vendor.py +0 -14
  25. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  26. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +4 -11
  27. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  28. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +27 -5
  29. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +132 -213
  30. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +20 -22
  31. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  32. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +151 -232
  33. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +23 -25
  34. azure/mgmt/storage/v2016_12_01/_configuration.py +4 -11
  35. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  36. azure/mgmt/storage/v2016_12_01/_storage_management.py +25 -5
  37. azure/mgmt/storage/v2016_12_01/_vendor.py +0 -14
  38. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  39. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +4 -11
  40. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  41. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +27 -5
  42. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +162 -263
  43. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +20 -22
  44. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  45. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +185 -286
  46. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +23 -25
  47. azure/mgmt/storage/v2017_06_01/_configuration.py +4 -11
  48. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  49. azure/mgmt/storage/v2017_06_01/_storage_management.py +27 -7
  50. azure/mgmt/storage/v2017_06_01/_vendor.py +0 -14
  51. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  52. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +4 -11
  53. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  54. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +29 -7
  55. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +20 -22
  56. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +20 -22
  57. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +162 -263
  58. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +20 -22
  59. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  60. azure/mgmt/storage/v2017_06_01/operations/_operations.py +21 -23
  61. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +23 -25
  62. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +185 -286
  63. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +23 -25
  64. azure/mgmt/storage/v2017_10_01/_configuration.py +4 -11
  65. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/_storage_management.py +27 -7
  67. azure/mgmt/storage/v2017_10_01/_vendor.py +0 -14
  68. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  69. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +4 -11
  70. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  71. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +29 -7
  72. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +20 -22
  73. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +20 -22
  74. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +162 -263
  75. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +20 -22
  76. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  77. azure/mgmt/storage/v2017_10_01/operations/_operations.py +21 -23
  78. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +23 -25
  79. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +185 -286
  80. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +23 -25
  81. azure/mgmt/storage/v2018_02_01/_configuration.py +4 -11
  82. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  83. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +30 -8
  84. azure/mgmt/storage/v2018_02_01/_vendor.py +0 -14
  85. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  86. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +4 -11
  87. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  88. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +32 -8
  89. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +166 -264
  90. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +20 -22
  91. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +20 -22
  92. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +162 -263
  93. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +34 -41
  94. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +28 -34
  95. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +1 -1
  96. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +194 -292
  97. azure/mgmt/storage/v2018_02_01/operations/_operations.py +21 -23
  98. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +23 -25
  99. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +185 -286
  100. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +39 -46
  101. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +4 -11
  102. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  103. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +41 -8
  104. azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -14
  105. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  106. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +4 -11
  107. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  108. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +43 -8
  109. azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +2 -0
  110. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +182 -277
  111. azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/aio/operations/_management_policies_operations.py +55 -72
  112. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +21 -23
  113. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +21 -23
  114. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +209 -330
  115. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +36 -43
  116. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +30 -34
  117. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +1 -1
  118. azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +2 -0
  119. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +210 -331
  120. azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/operations/_management_policies_operations.py +62 -85
  121. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +22 -26
  122. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +24 -28
  123. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +239 -388
  124. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +41 -52
  125. azure/mgmt/storage/v2018_07_01/_configuration.py +9 -4
  126. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  127. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +36 -16
  128. azure/mgmt/storage/v2018_07_01/_vendor.py +0 -14
  129. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  130. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +9 -4
  131. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  132. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +38 -16
  133. azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -2
  134. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +166 -264
  135. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +31 -44
  136. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +31 -21
  137. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +31 -21
  138. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +195 -289
  139. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +31 -23
  140. azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -10
  141. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +30 -164
  142. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +1 -7
  143. azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -2
  144. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +194 -292
  145. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +36 -49
  146. azure/mgmt/storage/v2018_07_01/operations/_operations.py +32 -22
  147. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +34 -24
  148. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +220 -314
  149. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +34 -26
  150. azure/mgmt/storage/v2018_11_01/_configuration.py +4 -11
  151. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  152. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +34 -10
  153. azure/mgmt/storage/v2018_11_01/_vendor.py +0 -14
  154. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  155. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +4 -11
  156. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  157. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +36 -10
  158. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +164 -262
  159. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +31 -44
  160. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +39 -57
  161. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +20 -22
  162. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +20 -22
  163. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +182 -304
  164. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +20 -24
  165. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +37 -43
  166. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +1 -1
  167. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +192 -290
  168. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +36 -49
  169. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +46 -64
  170. azure/mgmt/storage/v2018_11_01/operations/_operations.py +21 -23
  171. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +23 -25
  172. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +210 -332
  173. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +23 -27
  174. azure/mgmt/storage/v2019_04_01/_configuration.py +4 -11
  175. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  176. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +40 -12
  177. azure/mgmt/storage/v2019_04_01/_vendor.py +0 -14
  178. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  179. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +4 -11
  180. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  181. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +42 -12
  182. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +169 -267
  183. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +45 -63
  184. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +41 -59
  185. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +68 -101
  186. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +39 -57
  187. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +20 -22
  188. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +20 -22
  189. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +183 -304
  190. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +20 -24
  191. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +42 -48
  192. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +1 -1
  193. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +197 -295
  194. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +52 -70
  195. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +48 -66
  196. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +79 -112
  197. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +46 -64
  198. azure/mgmt/storage/v2019_04_01/operations/_operations.py +21 -23
  199. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +23 -25
  200. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +211 -332
  201. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +23 -27
  202. azure/mgmt/storage/v2019_06_01/_configuration.py +4 -11
  203. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  204. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +54 -22
  205. azure/mgmt/storage/v2019_06_01/_vendor.py +0 -14
  206. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  207. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +4 -11
  208. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  209. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +56 -22
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +169 -267
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  212. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +45 -63
  213. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
  214. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +41 -59
  215. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +82 -125
  216. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +39 -57
  217. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
  218. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +20 -22
  219. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  220. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +15 -19
  221. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +68 -101
  222. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +40 -58
  223. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +20 -22
  224. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +203 -357
  225. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +55 -79
  226. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +40 -58
  227. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +20 -24
  228. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +62 -68
  229. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -1
  230. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +197 -295
  231. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +62 -85
  232. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +52 -70
  233. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +67 -95
  234. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +48 -66
  235. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +95 -138
  236. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +46 -64
  237. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +63 -85
  238. azure/mgmt/storage/v2019_06_01/operations/_operations.py +21 -23
  239. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +62 -85
  240. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +18 -22
  241. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +79 -112
  242. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +47 -65
  243. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +23 -25
  244. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +233 -387
  245. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +66 -90
  246. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +47 -65
  247. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +23 -27
  248. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +4 -11
  249. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  250. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +64 -24
  251. azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -14
  252. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  253. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +4 -11
  254. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  255. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +66 -24
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +185 -280
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +58 -80
  258. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +49 -66
  259. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +31 -38
  260. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +64 -90
  261. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +45 -62
  262. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +88 -131
  263. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +42 -60
  264. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +59 -80
  265. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +21 -23
  266. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +57 -80
  267. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +16 -20
  268. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +73 -106
  269. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +44 -61
  270. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +21 -23
  271. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +221 -374
  272. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +60 -84
  273. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +44 -61
  274. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +21 -25
  275. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +64 -86
  276. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +1 -1
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +213 -334
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +67 -97
  279. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +56 -79
  280. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +36 -47
  281. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +73 -107
  282. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +52 -75
  283. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +101 -156
  284. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +49 -73
  285. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +68 -97
  286. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +22 -26
  287. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +66 -97
  288. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +19 -25
  289. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +84 -127
  290. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +51 -74
  291. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +24 -28
  292. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +251 -432
  293. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +71 -105
  294. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +51 -74
  295. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +24 -30
  296. azure/mgmt/storage/v2021_01_01/_configuration.py +4 -11
  297. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  298. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +55 -23
  299. azure/mgmt/storage/v2021_01_01/_vendor.py +0 -14
  300. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  301. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +4 -11
  302. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  303. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +57 -23
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +169 -267
  305. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  306. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +45 -63
  307. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +29 -36
  308. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +58 -86
  309. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +41 -59
  310. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +82 -125
  311. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +39 -57
  312. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +54 -76
  313. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +20 -22
  314. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  315. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +15 -19
  316. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +68 -101
  317. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +40 -58
  318. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +20 -22
  319. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +203 -357
  320. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +55 -79
  321. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +40 -58
  322. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +20 -24
  323. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +64 -86
  324. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +1 -1
  325. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +197 -295
  326. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +62 -85
  327. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +52 -70
  328. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +34 -41
  329. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +67 -95
  330. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +48 -66
  331. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +95 -138
  332. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +46 -64
  333. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +63 -85
  334. azure/mgmt/storage/v2021_01_01/operations/_operations.py +21 -23
  335. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +62 -85
  336. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +18 -22
  337. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +79 -112
  338. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +47 -65
  339. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +23 -25
  340. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +233 -387
  341. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +66 -90
  342. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +47 -65
  343. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +23 -27
  344. azure/mgmt/storage/v2021_02_01/_configuration.py +4 -11
  345. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  346. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +55 -23
  347. azure/mgmt/storage/v2021_02_01/_vendor.py +0 -14
  348. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  349. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +4 -11
  350. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  351. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +57 -23
  352. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +169 -267
  353. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  354. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +45 -63
  355. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +29 -36
  356. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +58 -86
  357. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +41 -59
  358. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +82 -125
  359. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +39 -57
  360. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +54 -76
  361. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +20 -22
  362. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  363. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +15 -19
  364. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +68 -101
  365. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +40 -58
  366. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +20 -22
  367. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +203 -357
  368. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +55 -79
  369. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +40 -58
  370. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +20 -24
  371. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +66 -88
  372. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +1 -1
  373. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +197 -295
  374. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +62 -85
  375. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +52 -70
  376. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +34 -41
  377. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +67 -95
  378. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +48 -66
  379. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +95 -138
  380. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +46 -64
  381. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +63 -85
  382. azure/mgmt/storage/v2021_02_01/operations/_operations.py +21 -23
  383. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +62 -85
  384. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +18 -22
  385. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +79 -112
  386. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +47 -65
  387. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +23 -25
  388. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +233 -387
  389. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +66 -90
  390. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +47 -65
  391. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +23 -27
  392. azure/mgmt/storage/v2021_04_01/_configuration.py +4 -11
  393. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  394. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +55 -23
  395. azure/mgmt/storage/v2021_04_01/_vendor.py +0 -14
  396. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  397. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +4 -11
  398. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  399. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +57 -23
  400. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +181 -295
  401. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  402. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +45 -63
  403. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +29 -36
  404. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +58 -86
  405. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +41 -59
  406. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +98 -151
  407. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +39 -57
  408. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +54 -76
  409. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +20 -22
  410. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  411. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +15 -19
  412. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +68 -101
  413. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +40 -58
  414. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +20 -22
  415. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +203 -357
  416. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +55 -79
  417. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +40 -58
  418. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +20 -24
  419. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +66 -88
  420. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +2 -2
  421. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +211 -325
  422. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +62 -85
  423. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +52 -70
  424. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +34 -41
  425. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +67 -95
  426. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +48 -66
  427. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +113 -166
  428. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +46 -64
  429. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +63 -85
  430. azure/mgmt/storage/v2021_04_01/operations/_operations.py +21 -23
  431. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +62 -85
  432. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +18 -22
  433. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +79 -112
  434. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +47 -65
  435. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +23 -25
  436. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +233 -387
  437. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +66 -90
  438. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +47 -65
  439. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +23 -27
  440. azure/mgmt/storage/v2021_06_01/_configuration.py +4 -11
  441. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  442. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +55 -23
  443. azure/mgmt/storage/v2021_06_01/_vendor.py +0 -14
  444. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  445. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +4 -11
  446. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  447. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +57 -23
  448. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +181 -315
  449. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  450. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +45 -79
  451. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +29 -36
  452. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
  453. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +41 -75
  454. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +98 -151
  455. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +39 -57
  456. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
  457. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +20 -22
  458. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  459. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +15 -19
  460. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +68 -101
  461. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +40 -74
  462. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +20 -22
  463. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +230 -416
  464. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +55 -79
  465. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +40 -74
  466. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +20 -24
  467. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +66 -88
  468. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +2 -2
  469. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +211 -345
  470. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +62 -85
  471. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +52 -86
  472. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +34 -41
  473. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +67 -95
  474. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +48 -82
  475. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +113 -166
  476. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +46 -64
  477. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +63 -85
  478. azure/mgmt/storage/v2021_06_01/operations/_operations.py +21 -23
  479. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +62 -85
  480. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +18 -22
  481. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +79 -112
  482. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +47 -81
  483. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +23 -25
  484. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +266 -452
  485. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +66 -90
  486. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +47 -81
  487. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +23 -27
  488. azure/mgmt/storage/v2021_08_01/_configuration.py +4 -11
  489. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  490. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +59 -25
  491. azure/mgmt/storage/v2021_08_01/_vendor.py +0 -14
  492. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  493. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +4 -11
  494. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  495. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +61 -25
  496. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +181 -315
  497. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  498. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +45 -79
  499. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +29 -36
  500. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +58 -86
  501. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +41 -75
  502. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +98 -151
  503. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +71 -104
  504. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +39 -57
  505. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +54 -76
  506. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +20 -22
  507. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  508. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +15 -19
  509. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +68 -101
  510. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +40 -74
  511. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +20 -22
  512. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +230 -416
  513. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +55 -79
  514. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +40 -74
  515. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +20 -24
  516. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +68 -90
  517. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +2 -2
  518. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +211 -345
  519. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +62 -85
  520. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +52 -86
  521. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +34 -41
  522. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +67 -95
  523. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +48 -82
  524. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +113 -166
  525. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +84 -117
  526. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +46 -64
  527. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +63 -85
  528. azure/mgmt/storage/v2021_08_01/operations/_operations.py +21 -23
  529. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +62 -85
  530. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +18 -22
  531. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +79 -112
  532. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +47 -81
  533. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +23 -25
  534. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +266 -452
  535. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +66 -90
  536. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +47 -81
  537. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +23 -27
  538. azure/mgmt/storage/v2021_09_01/_configuration.py +4 -11
  539. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  540. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +59 -25
  541. azure/mgmt/storage/v2021_09_01/_vendor.py +0 -14
  542. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  543. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +4 -11
  544. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  545. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +61 -25
  546. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +181 -315
  547. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  548. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +45 -79
  549. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
  550. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
  551. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +41 -75
  552. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +98 -151
  553. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +71 -104
  554. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +39 -57
  555. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
  556. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +20 -22
  557. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  558. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +15 -19
  559. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +68 -101
  560. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +40 -74
  561. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +20 -22
  562. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +230 -416
  563. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +70 -103
  564. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +40 -74
  565. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +20 -24
  566. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +70 -92
  567. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +2 -2
  568. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +211 -345
  569. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +62 -85
  570. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +52 -86
  571. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +34 -41
  572. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +67 -95
  573. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +48 -82
  574. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +113 -166
  575. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +84 -117
  576. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +46 -64
  577. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +63 -85
  578. azure/mgmt/storage/v2021_09_01/operations/_operations.py +21 -23
  579. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +62 -85
  580. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +18 -22
  581. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +79 -112
  582. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +47 -81
  583. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +23 -25
  584. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +266 -452
  585. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +81 -114
  586. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +47 -81
  587. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +23 -27
  588. azure/mgmt/storage/v2022_05_01/_configuration.py +4 -11
  589. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +59 -25
  590. azure/mgmt/storage/v2022_05_01/_vendor.py +0 -14
  591. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  592. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +4 -11
  593. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +61 -25
  594. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +181 -315
  595. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  596. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +45 -79
  597. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +29 -36
  598. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +58 -86
  599. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +41 -75
  600. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +98 -151
  601. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +71 -104
  602. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +39 -57
  603. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +54 -76
  604. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +20 -22
  605. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  606. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +15 -19
  607. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +68 -101
  608. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +40 -74
  609. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +20 -22
  610. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +230 -416
  611. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +70 -103
  612. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +40 -74
  613. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +20 -24
  614. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +69 -91
  615. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +2 -2
  616. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +211 -345
  617. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +62 -85
  618. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +52 -86
  619. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +34 -41
  620. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +67 -95
  621. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +48 -82
  622. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +113 -166
  623. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +84 -117
  624. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +46 -64
  625. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +63 -85
  626. azure/mgmt/storage/v2022_05_01/operations/_operations.py +21 -23
  627. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +62 -85
  628. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +18 -22
  629. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +79 -112
  630. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +47 -81
  631. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +23 -25
  632. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +266 -452
  633. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +81 -114
  634. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +47 -81
  635. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +23 -27
  636. azure/mgmt/storage/v2022_09_01/_configuration.py +4 -11
  637. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +59 -25
  638. azure/mgmt/storage/v2022_09_01/_vendor.py +0 -14
  639. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  640. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +4 -11
  641. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +61 -25
  642. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +181 -315
  643. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  644. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +45 -79
  645. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
  646. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
  647. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +41 -75
  648. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +98 -151
  649. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +71 -104
  650. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +39 -57
  651. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
  652. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +20 -22
  653. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  654. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +15 -19
  655. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +68 -101
  656. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +40 -74
  657. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +20 -22
  658. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +230 -416
  659. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +70 -103
  660. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +40 -74
  661. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +20 -24
  662. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +69 -91
  663. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +2 -2
  664. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +211 -345
  665. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +62 -85
  666. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +52 -86
  667. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +34 -41
  668. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +67 -95
  669. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +48 -82
  670. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +113 -166
  671. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +84 -117
  672. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +46 -64
  673. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +63 -85
  674. azure/mgmt/storage/v2022_09_01/operations/_operations.py +21 -23
  675. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +62 -85
  676. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +18 -22
  677. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +79 -112
  678. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +47 -81
  679. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +23 -25
  680. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +266 -452
  681. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +81 -114
  682. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +47 -81
  683. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +23 -27
  684. azure/mgmt/storage/v2023_01_01/__init__.py +26 -0
  685. azure/mgmt/storage/v2023_01_01/_configuration.py +65 -0
  686. azure/mgmt/storage/v2023_01_01/_patch.py +20 -0
  687. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +225 -0
  688. azure/mgmt/storage/v2023_01_01/_vendor.py +16 -0
  689. azure/mgmt/storage/v2023_01_01/_version.py +9 -0
  690. azure/mgmt/storage/v2023_01_01/aio/__init__.py +23 -0
  691. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +65 -0
  692. azure/mgmt/storage/v2023_01_01/aio/_patch.py +20 -0
  693. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +230 -0
  694. azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +57 -0
  695. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +1838 -0
  696. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  697. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +362 -0
  698. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +194 -0
  699. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +568 -0
  700. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +328 -0
  701. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +1003 -0
  702. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +560 -0
  703. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +349 -0
  704. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +446 -0
  705. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +135 -0
  706. azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +20 -0
  707. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  708. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +117 -0
  709. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +608 -0
  710. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +328 -0
  711. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +136 -0
  712. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +2187 -0
  713. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +588 -0
  714. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +328 -0
  715. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +139 -0
  716. azure/mgmt/storage/v2023_01_01/models/__init__.py +461 -0
  717. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +8338 -0
  718. azure/mgmt/storage/v2023_01_01/models/_patch.py +20 -0
  719. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +626 -0
  720. azure/mgmt/storage/v2023_01_01/operations/__init__.py +57 -0
  721. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +2398 -0
  722. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +595 -0
  723. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +470 -0
  724. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +250 -0
  725. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +732 -0
  726. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +437 -0
  727. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +1310 -0
  728. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +770 -0
  729. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +465 -0
  730. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +593 -0
  731. azure/mgmt/storage/v2023_01_01/operations/_operations.py +156 -0
  732. azure/mgmt/storage/v2023_01_01/operations/_patch.py +20 -0
  733. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +591 -0
  734. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +155 -0
  735. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +824 -0
  736. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +437 -0
  737. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +162 -0
  738. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +2796 -0
  739. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +775 -0
  740. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +437 -0
  741. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +169 -0
  742. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  743. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  744. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  746. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  747. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  748. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  749. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  750. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  751. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  752. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  753. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  754. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  755. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  756. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  757. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  758. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  759. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  760. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  761. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  762. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  763. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  764. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  765. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  766. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  767. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  768. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  769. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  770. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  771. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  772. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  773. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  774. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  775. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  776. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  777. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  778. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  779. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  780. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  781. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  782. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  783. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  784. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  785. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  786. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  787. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  788. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  789. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  790. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  791. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  792. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  793. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  794. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  795. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  796. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  797. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  798. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  799. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  800. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  801. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  802. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  803. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  804. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  805. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  806. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  807. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  808. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/METADATA +52 -13
  809. azure_mgmt_storage-21.2.1.dist-info/RECORD +979 -0
  810. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/WHEEL +1 -1
  811. azure_mgmt_storage-21.1.0b1.dist-info/RECORD +0 -855
  812. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/LICENSE +0 -0
  813. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6,8 +6,9 @@
6
6
  # Code generated by Microsoft (R) AutoRest Code Generator.
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
+ from io import IOBase
9
10
  import sys
10
- from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
11
+ from typing import Any, Callable, Dict, IO, Iterable, 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["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
51
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-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["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
82
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-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["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
117
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-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["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
150
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-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["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
185
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-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["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
219
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-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["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
243
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-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")
@@ -271,7 +272,7 @@ def build_list_keys_request(
271
272
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
272
273
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
273
274
 
274
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
275
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
275
276
  accept = _headers.pop("Accept", "application/json")
276
277
 
277
278
  # Construct URL
@@ -287,7 +288,7 @@ def build_list_keys_request(
287
288
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
288
289
  }
289
290
 
290
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
291
+ _url: str = _url.format(**path_format_arguments) # type: ignore
291
292
 
292
293
  # Construct parameters
293
294
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -304,7 +305,7 @@ def build_regenerate_key_request(
304
305
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
305
306
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
306
307
 
307
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
308
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
308
309
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
309
310
  accept = _headers.pop("Accept", "application/json")
310
311
 
@@ -321,7 +322,7 @@ def build_regenerate_key_request(
321
322
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
322
323
  }
323
324
 
324
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
325
+ _url: str = _url.format(**path_format_arguments) # type: ignore
325
326
 
326
327
  # Construct parameters
327
328
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -340,7 +341,7 @@ def build_list_account_sas_request(
340
341
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
341
342
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
342
343
 
343
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
344
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
344
345
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
345
346
  accept = _headers.pop("Accept", "application/json")
346
347
 
@@ -357,7 +358,7 @@ def build_list_account_sas_request(
357
358
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
358
359
  }
359
360
 
360
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
361
+ _url: str = _url.format(**path_format_arguments) # type: ignore
361
362
 
362
363
  # Construct parameters
363
364
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -376,7 +377,7 @@ def build_list_service_sas_request(
376
377
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
377
378
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
378
379
 
379
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
380
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
380
381
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
381
382
  accept = _headers.pop("Accept", "application/json")
382
383
 
@@ -393,7 +394,7 @@ def build_list_service_sas_request(
393
394
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
394
395
  }
395
396
 
396
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
397
+ _url: str = _url.format(**path_format_arguments) # type: ignore
397
398
 
398
399
  # Construct parameters
399
400
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -411,7 +412,7 @@ def build_failover_request(
411
412
  ) -> HttpRequest:
412
413
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
413
414
 
414
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
415
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
415
416
  # Construct URL
416
417
  _url = kwargs.pop(
417
418
  "template_url",
@@ -425,7 +426,7 @@ def build_failover_request(
425
426
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
426
427
  }
427
428
 
428
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
429
+ _url: str = _url.format(**path_format_arguments) # type: ignore
429
430
 
430
431
  # Construct parameters
431
432
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -433,12 +434,12 @@ def build_failover_request(
433
434
  return HttpRequest(method="POST", url=_url, params=_params, **kwargs)
434
435
 
435
436
 
436
- def build_revoke_user_delegation_keys_request(
437
+ def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
437
438
  resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
438
439
  ) -> HttpRequest:
439
440
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
440
441
 
441
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
442
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
442
443
  # Construct URL
443
444
  _url = kwargs.pop(
444
445
  "template_url",
@@ -452,7 +453,7 @@ def build_revoke_user_delegation_keys_request(
452
453
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
453
454
  }
454
455
 
455
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
456
+ _url: str = _url.format(**path_format_arguments) # type: ignore
456
457
 
457
458
  # Construct parameters
458
459
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -478,6 +479,7 @@ class StorageAccountsOperations:
478
479
  self._config = input_args.pop(0) if input_args else kwargs.pop("config")
479
480
  self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
480
481
  self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
482
+ self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
481
483
 
482
484
  @overload
483
485
  def check_name_availability(
@@ -497,7 +499,6 @@ class StorageAccountsOperations:
497
499
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
498
500
  Default value is "application/json".
499
501
  :paramtype content_type: str
500
- :keyword callable cls: A custom type or function that will be passed the direct response
501
502
  :return: CheckNameAvailabilityResult or the result of cls(response)
502
503
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
503
504
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -505,18 +506,17 @@ class StorageAccountsOperations:
505
506
 
506
507
  @overload
507
508
  def check_name_availability(
508
- self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
509
+ self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
509
510
  ) -> _models.CheckNameAvailabilityResult:
510
511
  """Checks that the storage account name is valid and is not already in use.
511
512
 
512
513
  :param account_name: The name of the storage account within the specified resource group.
513
514
  Storage account names must be between 3 and 24 characters in length and use numbers and
514
515
  lower-case letters only. Required.
515
- :type account_name: IO
516
+ :type account_name: IO[bytes]
516
517
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
517
518
  Default value is "application/json".
518
519
  :paramtype content_type: str
519
- :keyword callable cls: A custom type or function that will be passed the direct response
520
520
  :return: CheckNameAvailabilityResult or the result of cls(response)
521
521
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
522
522
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -524,25 +524,22 @@ class StorageAccountsOperations:
524
524
 
525
525
  @distributed_trace
526
526
  def check_name_availability(
527
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
527
+ self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
528
528
  ) -> _models.CheckNameAvailabilityResult:
529
529
  """Checks that the storage account name is valid and is not already in use.
530
530
 
531
531
  :param account_name: The name of the storage account within the specified resource group.
532
532
  Storage account names must be between 3 and 24 characters in length and use numbers and
533
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a IO
534
- type. Required.
533
+ lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
534
+ IO[bytes] type. Required.
535
535
  :type account_name:
536
- ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCheckNameAvailabilityParameters or IO
537
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
538
- Default value is None.
539
- :paramtype content_type: str
540
- :keyword callable cls: A custom type or function that will be passed the direct response
536
+ ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCheckNameAvailabilityParameters or
537
+ IO[bytes]
541
538
  :return: CheckNameAvailabilityResult or the result of cls(response)
542
539
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.CheckNameAvailabilityResult
543
540
  :raises ~azure.core.exceptions.HttpResponseError:
544
541
  """
545
- error_map = {
542
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
546
543
  401: ClientAuthenticationError,
547
544
  404: ResourceNotFoundError,
548
545
  409: ResourceExistsError,
@@ -553,33 +550,33 @@ class StorageAccountsOperations:
553
550
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
554
551
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
555
552
 
556
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
553
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
557
554
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
558
555
  cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
559
556
 
560
557
  content_type = content_type or "application/json"
561
558
  _json = None
562
559
  _content = None
563
- if isinstance(account_name, (IO, bytes)):
560
+ if isinstance(account_name, (IOBase, bytes)):
564
561
  _content = account_name
565
562
  else:
566
563
  _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
567
564
 
568
- request = build_check_name_availability_request(
565
+ _request = build_check_name_availability_request(
569
566
  subscription_id=self._config.subscription_id,
570
567
  api_version=api_version,
571
568
  content_type=content_type,
572
569
  json=_json,
573
570
  content=_content,
574
- template_url=self.check_name_availability.metadata["url"],
575
571
  headers=_headers,
576
572
  params=_params,
577
573
  )
578
- request = _convert_request(request)
579
- request.url = self._client.format_url(request.url)
574
+ _request = _convert_request(_request)
575
+ _request.url = self._client.format_url(_request.url)
580
576
 
577
+ _stream = False
581
578
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
582
- request, stream=False, **kwargs
579
+ _request, stream=_stream, **kwargs
583
580
  )
584
581
 
585
582
  response = pipeline_response.http_response
@@ -591,22 +588,18 @@ class StorageAccountsOperations:
591
588
  deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
592
589
 
593
590
  if cls:
594
- return cls(pipeline_response, deserialized, {})
595
-
596
- return deserialized
591
+ return cls(pipeline_response, deserialized, {}) # type: ignore
597
592
 
598
- check_name_availability.metadata = {
599
- "url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
600
- }
593
+ return deserialized # type: ignore
601
594
 
602
595
  def _create_initial(
603
596
  self,
604
597
  resource_group_name: str,
605
598
  account_name: str,
606
- parameters: Union[_models.StorageAccountCreateParameters, IO],
599
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
607
600
  **kwargs: Any
608
601
  ) -> Optional[_models.StorageAccount]:
609
- error_map = {
602
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
610
603
  401: ClientAuthenticationError,
611
604
  404: ResourceNotFoundError,
612
605
  409: ResourceExistsError,
@@ -617,19 +610,19 @@ class StorageAccountsOperations:
617
610
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
618
611
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
619
612
 
620
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
613
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
621
614
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
622
615
  cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
623
616
 
624
617
  content_type = content_type or "application/json"
625
618
  _json = None
626
619
  _content = None
627
- if isinstance(parameters, (IO, bytes)):
620
+ if isinstance(parameters, (IOBase, bytes)):
628
621
  _content = parameters
629
622
  else:
630
623
  _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
631
624
 
632
- request = build_create_request(
625
+ _request = build_create_request(
633
626
  resource_group_name=resource_group_name,
634
627
  account_name=account_name,
635
628
  subscription_id=self._config.subscription_id,
@@ -637,15 +630,15 @@ class StorageAccountsOperations:
637
630
  content_type=content_type,
638
631
  json=_json,
639
632
  content=_content,
640
- template_url=self._create_initial.metadata["url"],
641
633
  headers=_headers,
642
634
  params=_params,
643
635
  )
644
- request = _convert_request(request)
645
- request.url = self._client.format_url(request.url)
636
+ _request = _convert_request(_request)
637
+ _request.url = self._client.format_url(_request.url)
646
638
 
639
+ _stream = False
647
640
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
648
- request, stream=False, **kwargs
641
+ _request, stream=_stream, **kwargs
649
642
  )
650
643
 
651
644
  response = pipeline_response.http_response
@@ -659,13 +652,9 @@ class StorageAccountsOperations:
659
652
  deserialized = self._deserialize("StorageAccount", pipeline_response)
660
653
 
661
654
  if cls:
662
- return cls(pipeline_response, deserialized, {})
655
+ return cls(pipeline_response, deserialized, {}) # type: ignore
663
656
 
664
- return deserialized
665
-
666
- _create_initial.metadata = {
667
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
668
- }
657
+ return deserialized # type: ignore
669
658
 
670
659
  @overload
671
660
  def begin_create(
@@ -694,14 +683,6 @@ class StorageAccountsOperations:
694
683
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
695
684
  Default value is "application/json".
696
685
  :paramtype content_type: str
697
- :keyword callable cls: A custom type or function that will be passed the direct response
698
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
699
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
700
- operation to not poll, or pass in your own initialized polling object for a personal polling
701
- strategy.
702
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
703
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
704
- Retry-After header is present.
705
686
  :return: An instance of LROPoller that returns either StorageAccount or the result of
706
687
  cls(response)
707
688
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
@@ -713,7 +694,7 @@ class StorageAccountsOperations:
713
694
  self,
714
695
  resource_group_name: str,
715
696
  account_name: str,
716
- parameters: IO,
697
+ parameters: IO[bytes],
717
698
  *,
718
699
  content_type: str = "application/json",
719
700
  **kwargs: Any
@@ -731,18 +712,10 @@ class StorageAccountsOperations:
731
712
  lower-case letters only. Required.
732
713
  :type account_name: str
733
714
  :param parameters: The parameters to provide for the created account. Required.
734
- :type parameters: IO
715
+ :type parameters: IO[bytes]
735
716
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
736
717
  Default value is "application/json".
737
718
  :paramtype content_type: str
738
- :keyword callable cls: A custom type or function that will be passed the direct response
739
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
740
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
741
- operation to not poll, or pass in your own initialized polling object for a personal polling
742
- strategy.
743
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
744
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
745
- Retry-After header is present.
746
719
  :return: An instance of LROPoller that returns either StorageAccount or the result of
747
720
  cls(response)
748
721
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
@@ -754,7 +727,7 @@ class StorageAccountsOperations:
754
727
  self,
755
728
  resource_group_name: str,
756
729
  account_name: str,
757
- parameters: Union[_models.StorageAccountCreateParameters, IO],
730
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
758
731
  **kwargs: Any
759
732
  ) -> LROPoller[_models.StorageAccount]:
760
733
  """Asynchronously creates a new storage account with the specified parameters. If an account is
@@ -770,19 +743,9 @@ class StorageAccountsOperations:
770
743
  lower-case letters only. Required.
771
744
  :type account_name: str
772
745
  :param parameters: The parameters to provide for the created account. Is either a
773
- StorageAccountCreateParameters type or a IO type. Required.
774
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters or IO
775
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
776
- Default value is None.
777
- :paramtype content_type: str
778
- :keyword callable cls: A custom type or function that will be passed the direct response
779
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
780
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
781
- operation to not poll, or pass in your own initialized polling object for a personal polling
782
- strategy.
783
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
784
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
785
- Retry-After header is present.
746
+ StorageAccountCreateParameters type or a IO[bytes] type. Required.
747
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountCreateParameters or
748
+ IO[bytes]
786
749
  :return: An instance of LROPoller that returns either StorageAccount or the result of
787
750
  cls(response)
788
751
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
@@ -791,7 +754,7 @@ class StorageAccountsOperations:
791
754
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
792
755
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
793
756
 
794
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
757
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
795
758
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
796
759
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
797
760
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
@@ -814,7 +777,7 @@ class StorageAccountsOperations:
814
777
  def get_long_running_output(pipeline_response):
815
778
  deserialized = self._deserialize("StorageAccount", pipeline_response)
816
779
  if cls:
817
- return cls(pipeline_response, deserialized, {})
780
+ return cls(pipeline_response, deserialized, {}) # type: ignore
818
781
  return deserialized
819
782
 
820
783
  if polling is True:
@@ -824,17 +787,15 @@ class StorageAccountsOperations:
824
787
  else:
825
788
  polling_method = polling
826
789
  if cont_token:
827
- return LROPoller.from_continuation_token(
790
+ return LROPoller[_models.StorageAccount].from_continuation_token(
828
791
  polling_method=polling_method,
829
792
  continuation_token=cont_token,
830
793
  client=self._client,
831
794
  deserialization_callback=get_long_running_output,
832
795
  )
833
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
834
-
835
- begin_create.metadata = {
836
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
837
- }
796
+ return LROPoller[_models.StorageAccount](
797
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
798
+ )
838
799
 
839
800
  @distributed_trace
840
801
  def delete( # pylint: disable=inconsistent-return-statements
@@ -849,12 +810,11 @@ class StorageAccountsOperations:
849
810
  Storage account names must be between 3 and 24 characters in length and use numbers and
850
811
  lower-case letters only. Required.
851
812
  :type account_name: str
852
- :keyword callable cls: A custom type or function that will be passed the direct response
853
813
  :return: None or the result of cls(response)
854
814
  :rtype: None
855
815
  :raises ~azure.core.exceptions.HttpResponseError:
856
816
  """
857
- error_map = {
817
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
858
818
  401: ClientAuthenticationError,
859
819
  404: ResourceNotFoundError,
860
820
  409: ResourceExistsError,
@@ -865,23 +825,23 @@ class StorageAccountsOperations:
865
825
  _headers = kwargs.pop("headers", {}) or {}
866
826
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
867
827
 
868
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
828
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
869
829
  cls: ClsType[None] = kwargs.pop("cls", None)
870
830
 
871
- request = build_delete_request(
831
+ _request = build_delete_request(
872
832
  resource_group_name=resource_group_name,
873
833
  account_name=account_name,
874
834
  subscription_id=self._config.subscription_id,
875
835
  api_version=api_version,
876
- template_url=self.delete.metadata["url"],
877
836
  headers=_headers,
878
837
  params=_params,
879
838
  )
880
- request = _convert_request(request)
881
- request.url = self._client.format_url(request.url)
839
+ _request = _convert_request(_request)
840
+ _request.url = self._client.format_url(_request.url)
882
841
 
842
+ _stream = False
883
843
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
884
- request, stream=False, **kwargs
844
+ _request, stream=_stream, **kwargs
885
845
  )
886
846
 
887
847
  response = pipeline_response.http_response
@@ -891,11 +851,7 @@ class StorageAccountsOperations:
891
851
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
892
852
 
893
853
  if cls:
894
- return cls(pipeline_response, None, {})
895
-
896
- delete.metadata = {
897
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
898
- }
854
+ return cls(pipeline_response, None, {}) # type: ignore
899
855
 
900
856
  @distributed_trace
901
857
  def get_properties(
@@ -920,12 +876,11 @@ class StorageAccountsOperations:
920
876
  data is not included when fetching properties. Currently we only support geoReplicationStats.
921
877
  Known values are "geoReplicationStats" and None. Default value is "geoReplicationStats".
922
878
  :type expand: str
923
- :keyword callable cls: A custom type or function that will be passed the direct response
924
879
  :return: StorageAccount or the result of cls(response)
925
880
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
926
881
  :raises ~azure.core.exceptions.HttpResponseError:
927
882
  """
928
- error_map = {
883
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
929
884
  401: ClientAuthenticationError,
930
885
  404: ResourceNotFoundError,
931
886
  409: ResourceExistsError,
@@ -936,24 +891,24 @@ class StorageAccountsOperations:
936
891
  _headers = kwargs.pop("headers", {}) or {}
937
892
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
938
893
 
939
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
894
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
940
895
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
941
896
 
942
- request = build_get_properties_request(
897
+ _request = build_get_properties_request(
943
898
  resource_group_name=resource_group_name,
944
899
  account_name=account_name,
945
900
  subscription_id=self._config.subscription_id,
946
901
  expand=expand,
947
902
  api_version=api_version,
948
- template_url=self.get_properties.metadata["url"],
949
903
  headers=_headers,
950
904
  params=_params,
951
905
  )
952
- request = _convert_request(request)
953
- request.url = self._client.format_url(request.url)
906
+ _request = _convert_request(_request)
907
+ _request.url = self._client.format_url(_request.url)
954
908
 
909
+ _stream = False
955
910
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
956
- request, stream=False, **kwargs
911
+ _request, stream=_stream, **kwargs
957
912
  )
958
913
 
959
914
  response = pipeline_response.http_response
@@ -965,13 +920,9 @@ class StorageAccountsOperations:
965
920
  deserialized = self._deserialize("StorageAccount", pipeline_response)
966
921
 
967
922
  if cls:
968
- return cls(pipeline_response, deserialized, {})
923
+ return cls(pipeline_response, deserialized, {}) # type: ignore
969
924
 
970
- return deserialized
971
-
972
- get_properties.metadata = {
973
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
974
- }
925
+ return deserialized # type: ignore
975
926
 
976
927
  @overload
977
928
  def update(
@@ -1004,7 +955,6 @@ class StorageAccountsOperations:
1004
955
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1005
956
  Default value is "application/json".
1006
957
  :paramtype content_type: str
1007
- :keyword callable cls: A custom type or function that will be passed the direct response
1008
958
  :return: StorageAccount or the result of cls(response)
1009
959
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
1010
960
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1015,7 +965,7 @@ class StorageAccountsOperations:
1015
965
  self,
1016
966
  resource_group_name: str,
1017
967
  account_name: str,
1018
- parameters: IO,
968
+ parameters: IO[bytes],
1019
969
  *,
1020
970
  content_type: str = "application/json",
1021
971
  **kwargs: Any
@@ -1037,11 +987,10 @@ class StorageAccountsOperations:
1037
987
  lower-case letters only. Required.
1038
988
  :type account_name: str
1039
989
  :param parameters: The parameters to provide for the updated account. Required.
1040
- :type parameters: IO
990
+ :type parameters: IO[bytes]
1041
991
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1042
992
  Default value is "application/json".
1043
993
  :paramtype content_type: str
1044
- :keyword callable cls: A custom type or function that will be passed the direct response
1045
994
  :return: StorageAccount or the result of cls(response)
1046
995
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
1047
996
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1052,7 +1001,7 @@ class StorageAccountsOperations:
1052
1001
  self,
1053
1002
  resource_group_name: str,
1054
1003
  account_name: str,
1055
- parameters: Union[_models.StorageAccountUpdateParameters, IO],
1004
+ parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
1056
1005
  **kwargs: Any
1057
1006
  ) -> _models.StorageAccount:
1058
1007
  """The update operation can be used to update the SKU, encryption, access tier, or tags for a
@@ -1072,17 +1021,14 @@ class StorageAccountsOperations:
1072
1021
  lower-case letters only. Required.
1073
1022
  :type account_name: str
1074
1023
  :param parameters: The parameters to provide for the updated account. Is either a
1075
- StorageAccountUpdateParameters type or a IO type. Required.
1076
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountUpdateParameters or IO
1077
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1078
- Default value is None.
1079
- :paramtype content_type: str
1080
- :keyword callable cls: A custom type or function that will be passed the direct response
1024
+ StorageAccountUpdateParameters type or a IO[bytes] type. Required.
1025
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountUpdateParameters or
1026
+ IO[bytes]
1081
1027
  :return: StorageAccount or the result of cls(response)
1082
1028
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount
1083
1029
  :raises ~azure.core.exceptions.HttpResponseError:
1084
1030
  """
1085
- error_map = {
1031
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1086
1032
  401: ClientAuthenticationError,
1087
1033
  404: ResourceNotFoundError,
1088
1034
  409: ResourceExistsError,
@@ -1093,19 +1039,19 @@ class StorageAccountsOperations:
1093
1039
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1094
1040
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1095
1041
 
1096
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1042
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1097
1043
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1098
1044
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
1099
1045
 
1100
1046
  content_type = content_type or "application/json"
1101
1047
  _json = None
1102
1048
  _content = None
1103
- if isinstance(parameters, (IO, bytes)):
1049
+ if isinstance(parameters, (IOBase, bytes)):
1104
1050
  _content = parameters
1105
1051
  else:
1106
1052
  _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
1107
1053
 
1108
- request = build_update_request(
1054
+ _request = build_update_request(
1109
1055
  resource_group_name=resource_group_name,
1110
1056
  account_name=account_name,
1111
1057
  subscription_id=self._config.subscription_id,
@@ -1113,15 +1059,15 @@ class StorageAccountsOperations:
1113
1059
  content_type=content_type,
1114
1060
  json=_json,
1115
1061
  content=_content,
1116
- template_url=self.update.metadata["url"],
1117
1062
  headers=_headers,
1118
1063
  params=_params,
1119
1064
  )
1120
- request = _convert_request(request)
1121
- request.url = self._client.format_url(request.url)
1065
+ _request = _convert_request(_request)
1066
+ _request.url = self._client.format_url(_request.url)
1122
1067
 
1068
+ _stream = False
1123
1069
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1124
- request, stream=False, **kwargs
1070
+ _request, stream=_stream, **kwargs
1125
1071
  )
1126
1072
 
1127
1073
  response = pipeline_response.http_response
@@ -1133,20 +1079,15 @@ class StorageAccountsOperations:
1133
1079
  deserialized = self._deserialize("StorageAccount", pipeline_response)
1134
1080
 
1135
1081
  if cls:
1136
- return cls(pipeline_response, deserialized, {})
1082
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1137
1083
 
1138
- return deserialized
1139
-
1140
- update.metadata = {
1141
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
1142
- }
1084
+ return deserialized # type: ignore
1143
1085
 
1144
1086
  @distributed_trace
1145
1087
  def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1146
1088
  """Lists all the storage accounts available under the subscription. Note that storage keys are not
1147
1089
  returned; use the ListKeys operation for this.
1148
1090
 
1149
- :keyword callable cls: A custom type or function that will be passed the direct response
1150
1091
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1151
1092
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
1152
1093
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1154,10 +1095,10 @@ class StorageAccountsOperations:
1154
1095
  _headers = kwargs.pop("headers", {}) or {}
1155
1096
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1156
1097
 
1157
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1098
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1158
1099
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1159
1100
 
1160
- error_map = {
1101
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1161
1102
  401: ClientAuthenticationError,
1162
1103
  404: ResourceNotFoundError,
1163
1104
  409: ResourceExistsError,
@@ -1168,15 +1109,14 @@ class StorageAccountsOperations:
1168
1109
  def prepare_request(next_link=None):
1169
1110
  if not next_link:
1170
1111
 
1171
- request = build_list_request(
1112
+ _request = build_list_request(
1172
1113
  subscription_id=self._config.subscription_id,
1173
1114
  api_version=api_version,
1174
- template_url=self.list.metadata["url"],
1175
1115
  headers=_headers,
1176
1116
  params=_params,
1177
1117
  )
1178
- request = _convert_request(request)
1179
- request.url = self._client.format_url(request.url)
1118
+ _request = _convert_request(_request)
1119
+ _request.url = self._client.format_url(_request.url)
1180
1120
 
1181
1121
  else:
1182
1122
  # make call to next link with the client's api-version
@@ -1187,14 +1127,14 @@ class StorageAccountsOperations:
1187
1127
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1188
1128
  }
1189
1129
  )
1190
- _next_request_params["api-version"] = self._config.api_version
1191
- request = HttpRequest(
1130
+ _next_request_params["api-version"] = self._api_version
1131
+ _request = HttpRequest(
1192
1132
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1193
1133
  )
1194
- request = _convert_request(request)
1195
- request.url = self._client.format_url(request.url)
1196
- request.method = "GET"
1197
- return request
1134
+ _request = _convert_request(_request)
1135
+ _request.url = self._client.format_url(_request.url)
1136
+ _request.method = "GET"
1137
+ return _request
1198
1138
 
1199
1139
  def extract_data(pipeline_response):
1200
1140
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1204,10 +1144,11 @@ class StorageAccountsOperations:
1204
1144
  return None, iter(list_of_elem)
1205
1145
 
1206
1146
  def get_next(next_link=None):
1207
- request = prepare_request(next_link)
1147
+ _request = prepare_request(next_link)
1208
1148
 
1149
+ _stream = False
1209
1150
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1210
- request, stream=False, **kwargs
1151
+ _request, stream=_stream, **kwargs
1211
1152
  )
1212
1153
  response = pipeline_response.http_response
1213
1154
 
@@ -1219,8 +1160,6 @@ class StorageAccountsOperations:
1219
1160
 
1220
1161
  return ItemPaged(get_next, extract_data)
1221
1162
 
1222
- list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
1223
-
1224
1163
  @distributed_trace
1225
1164
  def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1226
1165
  """Lists all the storage accounts available under the given resource group. Note that storage keys
@@ -1229,7 +1168,6 @@ class StorageAccountsOperations:
1229
1168
  :param resource_group_name: The name of the resource group within the user's subscription. The
1230
1169
  name is case insensitive. Required.
1231
1170
  :type resource_group_name: str
1232
- :keyword callable cls: A custom type or function that will be passed the direct response
1233
1171
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1234
1172
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2018_11_01.models.StorageAccount]
1235
1173
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1237,10 +1175,10 @@ class StorageAccountsOperations:
1237
1175
  _headers = kwargs.pop("headers", {}) or {}
1238
1176
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1239
1177
 
1240
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1178
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1241
1179
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1242
1180
 
1243
- error_map = {
1181
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1244
1182
  401: ClientAuthenticationError,
1245
1183
  404: ResourceNotFoundError,
1246
1184
  409: ResourceExistsError,
@@ -1251,16 +1189,15 @@ class StorageAccountsOperations:
1251
1189
  def prepare_request(next_link=None):
1252
1190
  if not next_link:
1253
1191
 
1254
- request = build_list_by_resource_group_request(
1192
+ _request = build_list_by_resource_group_request(
1255
1193
  resource_group_name=resource_group_name,
1256
1194
  subscription_id=self._config.subscription_id,
1257
1195
  api_version=api_version,
1258
- template_url=self.list_by_resource_group.metadata["url"],
1259
1196
  headers=_headers,
1260
1197
  params=_params,
1261
1198
  )
1262
- request = _convert_request(request)
1263
- request.url = self._client.format_url(request.url)
1199
+ _request = _convert_request(_request)
1200
+ _request.url = self._client.format_url(_request.url)
1264
1201
 
1265
1202
  else:
1266
1203
  # make call to next link with the client's api-version
@@ -1271,14 +1208,14 @@ class StorageAccountsOperations:
1271
1208
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1272
1209
  }
1273
1210
  )
1274
- _next_request_params["api-version"] = self._config.api_version
1275
- request = HttpRequest(
1211
+ _next_request_params["api-version"] = self._api_version
1212
+ _request = HttpRequest(
1276
1213
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1277
1214
  )
1278
- request = _convert_request(request)
1279
- request.url = self._client.format_url(request.url)
1280
- request.method = "GET"
1281
- return request
1215
+ _request = _convert_request(_request)
1216
+ _request.url = self._client.format_url(_request.url)
1217
+ _request.method = "GET"
1218
+ return _request
1282
1219
 
1283
1220
  def extract_data(pipeline_response):
1284
1221
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1288,10 +1225,11 @@ class StorageAccountsOperations:
1288
1225
  return None, iter(list_of_elem)
1289
1226
 
1290
1227
  def get_next(next_link=None):
1291
- request = prepare_request(next_link)
1228
+ _request = prepare_request(next_link)
1292
1229
 
1230
+ _stream = False
1293
1231
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1294
- request, stream=False, **kwargs
1232
+ _request, stream=_stream, **kwargs
1295
1233
  )
1296
1234
  response = pipeline_response.http_response
1297
1235
 
@@ -1303,10 +1241,6 @@ class StorageAccountsOperations:
1303
1241
 
1304
1242
  return ItemPaged(get_next, extract_data)
1305
1243
 
1306
- list_by_resource_group.metadata = {
1307
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
1308
- }
1309
-
1310
1244
  @distributed_trace
1311
1245
  def list_keys(
1312
1246
  self, resource_group_name: str, account_name: str, **kwargs: Any
@@ -1320,12 +1254,11 @@ class StorageAccountsOperations:
1320
1254
  Storage account names must be between 3 and 24 characters in length and use numbers and
1321
1255
  lower-case letters only. Required.
1322
1256
  :type account_name: str
1323
- :keyword callable cls: A custom type or function that will be passed the direct response
1324
1257
  :return: StorageAccountListKeysResult or the result of cls(response)
1325
1258
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
1326
1259
  :raises ~azure.core.exceptions.HttpResponseError:
1327
1260
  """
1328
- error_map = {
1261
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1329
1262
  401: ClientAuthenticationError,
1330
1263
  404: ResourceNotFoundError,
1331
1264
  409: ResourceExistsError,
@@ -1336,23 +1269,23 @@ class StorageAccountsOperations:
1336
1269
  _headers = kwargs.pop("headers", {}) or {}
1337
1270
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1338
1271
 
1339
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1272
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1340
1273
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1341
1274
 
1342
- request = build_list_keys_request(
1275
+ _request = build_list_keys_request(
1343
1276
  resource_group_name=resource_group_name,
1344
1277
  account_name=account_name,
1345
1278
  subscription_id=self._config.subscription_id,
1346
1279
  api_version=api_version,
1347
- template_url=self.list_keys.metadata["url"],
1348
1280
  headers=_headers,
1349
1281
  params=_params,
1350
1282
  )
1351
- request = _convert_request(request)
1352
- request.url = self._client.format_url(request.url)
1283
+ _request = _convert_request(_request)
1284
+ _request.url = self._client.format_url(_request.url)
1353
1285
 
1286
+ _stream = False
1354
1287
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1355
- request, stream=False, **kwargs
1288
+ _request, stream=_stream, **kwargs
1356
1289
  )
1357
1290
 
1358
1291
  response = pipeline_response.http_response
@@ -1364,13 +1297,9 @@ class StorageAccountsOperations:
1364
1297
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1365
1298
 
1366
1299
  if cls:
1367
- return cls(pipeline_response, deserialized, {})
1368
-
1369
- return deserialized
1300
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1370
1301
 
1371
- list_keys.metadata = {
1372
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
1373
- }
1302
+ return deserialized # type: ignore
1374
1303
 
1375
1304
  @overload
1376
1305
  def regenerate_key(
@@ -1398,7 +1327,6 @@ class StorageAccountsOperations:
1398
1327
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1399
1328
  Default value is "application/json".
1400
1329
  :paramtype content_type: str
1401
- :keyword callable cls: A custom type or function that will be passed the direct response
1402
1330
  :return: StorageAccountListKeysResult or the result of cls(response)
1403
1331
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
1404
1332
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1409,7 +1337,7 @@ class StorageAccountsOperations:
1409
1337
  self,
1410
1338
  resource_group_name: str,
1411
1339
  account_name: str,
1412
- regenerate_key: IO,
1340
+ regenerate_key: IO[bytes],
1413
1341
  *,
1414
1342
  content_type: str = "application/json",
1415
1343
  **kwargs: Any
@@ -1425,11 +1353,10 @@ class StorageAccountsOperations:
1425
1353
  :type account_name: str
1426
1354
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
1427
1355
  Required.
1428
- :type regenerate_key: IO
1356
+ :type regenerate_key: IO[bytes]
1429
1357
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1430
1358
  Default value is "application/json".
1431
1359
  :paramtype content_type: str
1432
- :keyword callable cls: A custom type or function that will be passed the direct response
1433
1360
  :return: StorageAccountListKeysResult or the result of cls(response)
1434
1361
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
1435
1362
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1440,7 +1367,7 @@ class StorageAccountsOperations:
1440
1367
  self,
1441
1368
  resource_group_name: str,
1442
1369
  account_name: str,
1443
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
1370
+ regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
1444
1371
  **kwargs: Any
1445
1372
  ) -> _models.StorageAccountListKeysResult:
1446
1373
  """Regenerates one of the access keys for the specified storage account.
@@ -1453,18 +1380,14 @@ class StorageAccountsOperations:
1453
1380
  lower-case letters only. Required.
1454
1381
  :type account_name: str
1455
1382
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1 or key2.
1456
- Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
1383
+ Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type. Required.
1457
1384
  :type regenerate_key:
1458
- ~azure.mgmt.storage.v2018_11_01.models.StorageAccountRegenerateKeyParameters or IO
1459
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1460
- Default value is None.
1461
- :paramtype content_type: str
1462
- :keyword callable cls: A custom type or function that will be passed the direct response
1385
+ ~azure.mgmt.storage.v2018_11_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1463
1386
  :return: StorageAccountListKeysResult or the result of cls(response)
1464
1387
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccountListKeysResult
1465
1388
  :raises ~azure.core.exceptions.HttpResponseError:
1466
1389
  """
1467
- error_map = {
1390
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1468
1391
  401: ClientAuthenticationError,
1469
1392
  404: ResourceNotFoundError,
1470
1393
  409: ResourceExistsError,
@@ -1475,19 +1398,19 @@ class StorageAccountsOperations:
1475
1398
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1476
1399
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1477
1400
 
1478
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1401
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1479
1402
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1480
1403
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1481
1404
 
1482
1405
  content_type = content_type or "application/json"
1483
1406
  _json = None
1484
1407
  _content = None
1485
- if isinstance(regenerate_key, (IO, bytes)):
1408
+ if isinstance(regenerate_key, (IOBase, bytes)):
1486
1409
  _content = regenerate_key
1487
1410
  else:
1488
1411
  _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1489
1412
 
1490
- request = build_regenerate_key_request(
1413
+ _request = build_regenerate_key_request(
1491
1414
  resource_group_name=resource_group_name,
1492
1415
  account_name=account_name,
1493
1416
  subscription_id=self._config.subscription_id,
@@ -1495,15 +1418,15 @@ class StorageAccountsOperations:
1495
1418
  content_type=content_type,
1496
1419
  json=_json,
1497
1420
  content=_content,
1498
- template_url=self.regenerate_key.metadata["url"],
1499
1421
  headers=_headers,
1500
1422
  params=_params,
1501
1423
  )
1502
- request = _convert_request(request)
1503
- request.url = self._client.format_url(request.url)
1424
+ _request = _convert_request(_request)
1425
+ _request.url = self._client.format_url(_request.url)
1504
1426
 
1427
+ _stream = False
1505
1428
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1506
- request, stream=False, **kwargs
1429
+ _request, stream=_stream, **kwargs
1507
1430
  )
1508
1431
 
1509
1432
  response = pipeline_response.http_response
@@ -1515,13 +1438,9 @@ class StorageAccountsOperations:
1515
1438
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1516
1439
 
1517
1440
  if cls:
1518
- return cls(pipeline_response, deserialized, {})
1441
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1519
1442
 
1520
- return deserialized
1521
-
1522
- regenerate_key.metadata = {
1523
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
1524
- }
1443
+ return deserialized # type: ignore
1525
1444
 
1526
1445
  @overload
1527
1446
  def list_account_sas(
@@ -1548,7 +1467,6 @@ class StorageAccountsOperations:
1548
1467
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1549
1468
  Default value is "application/json".
1550
1469
  :paramtype content_type: str
1551
- :keyword callable cls: A custom type or function that will be passed the direct response
1552
1470
  :return: ListAccountSasResponse or the result of cls(response)
1553
1471
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
1554
1472
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1559,7 +1477,7 @@ class StorageAccountsOperations:
1559
1477
  self,
1560
1478
  resource_group_name: str,
1561
1479
  account_name: str,
1562
- parameters: IO,
1480
+ parameters: IO[bytes],
1563
1481
  *,
1564
1482
  content_type: str = "application/json",
1565
1483
  **kwargs: Any
@@ -1575,11 +1493,10 @@ class StorageAccountsOperations:
1575
1493
  :type account_name: str
1576
1494
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1577
1495
  Required.
1578
- :type parameters: IO
1496
+ :type parameters: IO[bytes]
1579
1497
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1580
1498
  Default value is "application/json".
1581
1499
  :paramtype content_type: str
1582
- :keyword callable cls: A custom type or function that will be passed the direct response
1583
1500
  :return: ListAccountSasResponse or the result of cls(response)
1584
1501
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
1585
1502
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1590,7 +1507,7 @@ class StorageAccountsOperations:
1590
1507
  self,
1591
1508
  resource_group_name: str,
1592
1509
  account_name: str,
1593
- parameters: Union[_models.AccountSasParameters, IO],
1510
+ parameters: Union[_models.AccountSasParameters, IO[bytes]],
1594
1511
  **kwargs: Any
1595
1512
  ) -> _models.ListAccountSasResponse:
1596
1513
  """List SAS credentials of a storage account.
@@ -1603,17 +1520,13 @@ class StorageAccountsOperations:
1603
1520
  lower-case letters only. Required.
1604
1521
  :type account_name: str
1605
1522
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1606
- Is either a AccountSasParameters type or a IO type. Required.
1607
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.AccountSasParameters or IO
1608
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1609
- Default value is None.
1610
- :paramtype content_type: str
1611
- :keyword callable cls: A custom type or function that will be passed the direct response
1523
+ Is either a AccountSasParameters type or a IO[bytes] type. Required.
1524
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.AccountSasParameters or IO[bytes]
1612
1525
  :return: ListAccountSasResponse or the result of cls(response)
1613
1526
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ListAccountSasResponse
1614
1527
  :raises ~azure.core.exceptions.HttpResponseError:
1615
1528
  """
1616
- error_map = {
1529
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1617
1530
  401: ClientAuthenticationError,
1618
1531
  404: ResourceNotFoundError,
1619
1532
  409: ResourceExistsError,
@@ -1624,19 +1537,19 @@ class StorageAccountsOperations:
1624
1537
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1625
1538
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1626
1539
 
1627
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1540
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1628
1541
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1629
1542
  cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
1630
1543
 
1631
1544
  content_type = content_type or "application/json"
1632
1545
  _json = None
1633
1546
  _content = None
1634
- if isinstance(parameters, (IO, bytes)):
1547
+ if isinstance(parameters, (IOBase, bytes)):
1635
1548
  _content = parameters
1636
1549
  else:
1637
1550
  _json = self._serialize.body(parameters, "AccountSasParameters")
1638
1551
 
1639
- request = build_list_account_sas_request(
1552
+ _request = build_list_account_sas_request(
1640
1553
  resource_group_name=resource_group_name,
1641
1554
  account_name=account_name,
1642
1555
  subscription_id=self._config.subscription_id,
@@ -1644,15 +1557,15 @@ class StorageAccountsOperations:
1644
1557
  content_type=content_type,
1645
1558
  json=_json,
1646
1559
  content=_content,
1647
- template_url=self.list_account_sas.metadata["url"],
1648
1560
  headers=_headers,
1649
1561
  params=_params,
1650
1562
  )
1651
- request = _convert_request(request)
1652
- request.url = self._client.format_url(request.url)
1563
+ _request = _convert_request(_request)
1564
+ _request.url = self._client.format_url(_request.url)
1653
1565
 
1566
+ _stream = False
1654
1567
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1655
- request, stream=False, **kwargs
1568
+ _request, stream=_stream, **kwargs
1656
1569
  )
1657
1570
 
1658
1571
  response = pipeline_response.http_response
@@ -1664,13 +1577,9 @@ class StorageAccountsOperations:
1664
1577
  deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
1665
1578
 
1666
1579
  if cls:
1667
- return cls(pipeline_response, deserialized, {})
1580
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1668
1581
 
1669
- return deserialized
1670
-
1671
- list_account_sas.metadata = {
1672
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
1673
- }
1582
+ return deserialized # type: ignore
1674
1583
 
1675
1584
  @overload
1676
1585
  def list_service_sas(
@@ -1696,7 +1605,6 @@ class StorageAccountsOperations:
1696
1605
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1697
1606
  Default value is "application/json".
1698
1607
  :paramtype content_type: str
1699
- :keyword callable cls: A custom type or function that will be passed the direct response
1700
1608
  :return: ListServiceSasResponse or the result of cls(response)
1701
1609
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
1702
1610
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1707,7 +1615,7 @@ class StorageAccountsOperations:
1707
1615
  self,
1708
1616
  resource_group_name: str,
1709
1617
  account_name: str,
1710
- parameters: IO,
1618
+ parameters: IO[bytes],
1711
1619
  *,
1712
1620
  content_type: str = "application/json",
1713
1621
  **kwargs: Any
@@ -1722,11 +1630,10 @@ class StorageAccountsOperations:
1722
1630
  lower-case letters only. Required.
1723
1631
  :type account_name: str
1724
1632
  :param parameters: The parameters to provide to list service SAS credentials. Required.
1725
- :type parameters: IO
1633
+ :type parameters: IO[bytes]
1726
1634
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1727
1635
  Default value is "application/json".
1728
1636
  :paramtype content_type: str
1729
- :keyword callable cls: A custom type or function that will be passed the direct response
1730
1637
  :return: ListServiceSasResponse or the result of cls(response)
1731
1638
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
1732
1639
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1737,7 +1644,7 @@ class StorageAccountsOperations:
1737
1644
  self,
1738
1645
  resource_group_name: str,
1739
1646
  account_name: str,
1740
- parameters: Union[_models.ServiceSasParameters, IO],
1647
+ parameters: Union[_models.ServiceSasParameters, IO[bytes]],
1741
1648
  **kwargs: Any
1742
1649
  ) -> _models.ListServiceSasResponse:
1743
1650
  """List service SAS credentials of a specific resource.
@@ -1750,17 +1657,13 @@ class StorageAccountsOperations:
1750
1657
  lower-case letters only. Required.
1751
1658
  :type account_name: str
1752
1659
  :param parameters: The parameters to provide to list service SAS credentials. Is either a
1753
- ServiceSasParameters type or a IO type. Required.
1754
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ServiceSasParameters or IO
1755
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1756
- Default value is None.
1757
- :paramtype content_type: str
1758
- :keyword callable cls: A custom type or function that will be passed the direct response
1660
+ ServiceSasParameters type or a IO[bytes] type. Required.
1661
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ServiceSasParameters or IO[bytes]
1759
1662
  :return: ListServiceSasResponse or the result of cls(response)
1760
1663
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ListServiceSasResponse
1761
1664
  :raises ~azure.core.exceptions.HttpResponseError:
1762
1665
  """
1763
- error_map = {
1666
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1764
1667
  401: ClientAuthenticationError,
1765
1668
  404: ResourceNotFoundError,
1766
1669
  409: ResourceExistsError,
@@ -1771,19 +1674,19 @@ class StorageAccountsOperations:
1771
1674
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1772
1675
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1773
1676
 
1774
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1677
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1775
1678
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1776
1679
  cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
1777
1680
 
1778
1681
  content_type = content_type or "application/json"
1779
1682
  _json = None
1780
1683
  _content = None
1781
- if isinstance(parameters, (IO, bytes)):
1684
+ if isinstance(parameters, (IOBase, bytes)):
1782
1685
  _content = parameters
1783
1686
  else:
1784
1687
  _json = self._serialize.body(parameters, "ServiceSasParameters")
1785
1688
 
1786
- request = build_list_service_sas_request(
1689
+ _request = build_list_service_sas_request(
1787
1690
  resource_group_name=resource_group_name,
1788
1691
  account_name=account_name,
1789
1692
  subscription_id=self._config.subscription_id,
@@ -1791,15 +1694,15 @@ class StorageAccountsOperations:
1791
1694
  content_type=content_type,
1792
1695
  json=_json,
1793
1696
  content=_content,
1794
- template_url=self.list_service_sas.metadata["url"],
1795
1697
  headers=_headers,
1796
1698
  params=_params,
1797
1699
  )
1798
- request = _convert_request(request)
1799
- request.url = self._client.format_url(request.url)
1700
+ _request = _convert_request(_request)
1701
+ _request.url = self._client.format_url(_request.url)
1800
1702
 
1703
+ _stream = False
1801
1704
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1802
- request, stream=False, **kwargs
1705
+ _request, stream=_stream, **kwargs
1803
1706
  )
1804
1707
 
1805
1708
  response = pipeline_response.http_response
@@ -1811,18 +1714,14 @@ class StorageAccountsOperations:
1811
1714
  deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
1812
1715
 
1813
1716
  if cls:
1814
- return cls(pipeline_response, deserialized, {})
1815
-
1816
- return deserialized
1717
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1817
1718
 
1818
- list_service_sas.metadata = {
1819
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
1820
- }
1719
+ return deserialized # type: ignore
1821
1720
 
1822
1721
  def _failover_initial( # pylint: disable=inconsistent-return-statements
1823
1722
  self, resource_group_name: str, account_name: str, **kwargs: Any
1824
1723
  ) -> None:
1825
- error_map = {
1724
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1826
1725
  401: ClientAuthenticationError,
1827
1726
  404: ResourceNotFoundError,
1828
1727
  409: ResourceExistsError,
@@ -1833,23 +1732,23 @@ class StorageAccountsOperations:
1833
1732
  _headers = kwargs.pop("headers", {}) or {}
1834
1733
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1835
1734
 
1836
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1735
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1837
1736
  cls: ClsType[None] = kwargs.pop("cls", None)
1838
1737
 
1839
- request = build_failover_request(
1738
+ _request = build_failover_request(
1840
1739
  resource_group_name=resource_group_name,
1841
1740
  account_name=account_name,
1842
1741
  subscription_id=self._config.subscription_id,
1843
1742
  api_version=api_version,
1844
- template_url=self._failover_initial.metadata["url"],
1845
1743
  headers=_headers,
1846
1744
  params=_params,
1847
1745
  )
1848
- request = _convert_request(request)
1849
- request.url = self._client.format_url(request.url)
1746
+ _request = _convert_request(_request)
1747
+ _request.url = self._client.format_url(_request.url)
1850
1748
 
1749
+ _stream = False
1851
1750
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1852
- request, stream=False, **kwargs
1751
+ _request, stream=_stream, **kwargs
1853
1752
  )
1854
1753
 
1855
1754
  response = pipeline_response.http_response
@@ -1859,11 +1758,7 @@ class StorageAccountsOperations:
1859
1758
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1860
1759
 
1861
1760
  if cls:
1862
- return cls(pipeline_response, None, {})
1863
-
1864
- _failover_initial.metadata = {
1865
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1866
- }
1761
+ return cls(pipeline_response, None, {}) # type: ignore
1867
1762
 
1868
1763
  @distributed_trace
1869
1764
  def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
@@ -1878,14 +1773,6 @@ class StorageAccountsOperations:
1878
1773
  Storage account names must be between 3 and 24 characters in length and use numbers and
1879
1774
  lower-case letters only. Required.
1880
1775
  :type account_name: str
1881
- :keyword callable cls: A custom type or function that will be passed the direct response
1882
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1883
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
1884
- operation to not poll, or pass in your own initialized polling object for a personal polling
1885
- strategy.
1886
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
1887
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1888
- Retry-After header is present.
1889
1776
  :return: An instance of LROPoller that returns either None or the result of cls(response)
1890
1777
  :rtype: ~azure.core.polling.LROPoller[None]
1891
1778
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1893,7 +1780,7 @@ class StorageAccountsOperations:
1893
1780
  _headers = kwargs.pop("headers", {}) or {}
1894
1781
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1895
1782
 
1896
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1783
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1897
1784
  cls: ClsType[None] = kwargs.pop("cls", None)
1898
1785
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
1899
1786
  lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
@@ -1912,7 +1799,7 @@ class StorageAccountsOperations:
1912
1799
 
1913
1800
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1914
1801
  if cls:
1915
- return cls(pipeline_response, None, {})
1802
+ return cls(pipeline_response, None, {}) # type: ignore
1916
1803
 
1917
1804
  if polling is True:
1918
1805
  polling_method: PollingMethod = cast(
@@ -1923,17 +1810,13 @@ class StorageAccountsOperations:
1923
1810
  else:
1924
1811
  polling_method = polling
1925
1812
  if cont_token:
1926
- return LROPoller.from_continuation_token(
1813
+ return LROPoller[None].from_continuation_token(
1927
1814
  polling_method=polling_method,
1928
1815
  continuation_token=cont_token,
1929
1816
  client=self._client,
1930
1817
  deserialization_callback=get_long_running_output,
1931
1818
  )
1932
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1933
-
1934
- begin_failover.metadata = {
1935
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1936
- }
1819
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1937
1820
 
1938
1821
  @distributed_trace
1939
1822
  def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
@@ -1948,12 +1831,11 @@ class StorageAccountsOperations:
1948
1831
  Storage account names must be between 3 and 24 characters in length and use numbers and
1949
1832
  lower-case letters only. Required.
1950
1833
  :type account_name: str
1951
- :keyword callable cls: A custom type or function that will be passed the direct response
1952
1834
  :return: None or the result of cls(response)
1953
1835
  :rtype: None
1954
1836
  :raises ~azure.core.exceptions.HttpResponseError:
1955
1837
  """
1956
- error_map = {
1838
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1957
1839
  401: ClientAuthenticationError,
1958
1840
  404: ResourceNotFoundError,
1959
1841
  409: ResourceExistsError,
@@ -1964,23 +1846,23 @@ class StorageAccountsOperations:
1964
1846
  _headers = kwargs.pop("headers", {}) or {}
1965
1847
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1966
1848
 
1967
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1849
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1968
1850
  cls: ClsType[None] = kwargs.pop("cls", None)
1969
1851
 
1970
- request = build_revoke_user_delegation_keys_request(
1852
+ _request = build_revoke_user_delegation_keys_request(
1971
1853
  resource_group_name=resource_group_name,
1972
1854
  account_name=account_name,
1973
1855
  subscription_id=self._config.subscription_id,
1974
1856
  api_version=api_version,
1975
- template_url=self.revoke_user_delegation_keys.metadata["url"],
1976
1857
  headers=_headers,
1977
1858
  params=_params,
1978
1859
  )
1979
- request = _convert_request(request)
1980
- request.url = self._client.format_url(request.url)
1860
+ _request = _convert_request(_request)
1861
+ _request.url = self._client.format_url(_request.url)
1981
1862
 
1863
+ _stream = False
1982
1864
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1983
- request, stream=False, **kwargs
1865
+ _request, stream=_stream, **kwargs
1984
1866
  )
1985
1867
 
1986
1868
  response = pipeline_response.http_response
@@ -1990,8 +1872,4 @@ class StorageAccountsOperations:
1990
1872
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1991
1873
 
1992
1874
  if cls:
1993
- return cls(pipeline_response, None, {})
1994
-
1995
- revoke_user_delegation_keys.metadata = {
1996
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
1997
- }
1875
+ return cls(pipeline_response, None, {}) # type: ignore