azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl

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