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.v2021_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.v2021_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.v2021_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.v2021_09_01.models.StorageAccountCheckNameAvailabilityParameters or
135
+ IO[bytes]
141
136
  :return: CheckNameAvailabilityResult or the result of cls(response)
142
137
  :rtype: ~azure.mgmt.storage.v2021_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.v2021_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.v2021_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 "2021-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.v2021_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.v2021_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 "2021-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.v2021_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.v2021_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.v2021_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.v2021_09_01.models.StorageAccountUpdateParameters or
628
+ IO[bytes]
689
629
  :return: StorageAccount or the result of cls(response)
690
630
  :rtype: ~azure.mgmt.storage.v2021_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.v2021_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 "2021-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.v2021_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 "2021-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.v2021_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 "2021-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.v2021_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.v2021_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.v2021_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.v2021_09_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1084
998
  :return: StorageAccountListKeysResult or the result of cls(response)
1085
999
  :rtype: ~azure.mgmt.storage.v2021_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.v2021_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.v2021_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.v2021_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.v2021_09_01.models.AccountSasParameters or IO[bytes]
1234
1137
  :return: ListAccountSasResponse or the result of cls(response)
1235
1138
  :rtype: ~azure.mgmt.storage.v2021_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.v2021_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.v2021_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.v2021_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.v2021_09_01.models.ServiceSasParameters or IO[bytes]
1382
1274
  :return: ListServiceSasResponse or the result of cls(response)
1383
1275
  :rtype: ~azure.mgmt.storage.v2021_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, **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,21 +1347,20 @@ 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 "2021-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
  api_version=api_version,
1468
- template_url=self._failover_initial.metadata["url"],
1469
1355
  headers=_headers,
1470
1356
  params=_params,
1471
1357
  )
1472
- request = _convert_request(request)
1473
- request.url = self._client.format_url(request.url)
1358
+ _request = _convert_request(_request)
1359
+ _request.url = self._client.format_url(_request.url)
1474
1360
 
1475
1361
  _stream = False
1476
1362
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1477
- request, stream=_stream, **kwargs
1363
+ _request, stream=_stream, **kwargs
1478
1364
  )
1479
1365
 
1480
1366
  response = pipeline_response.http_response
@@ -1484,11 +1370,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1484
1370
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1485
1371
 
1486
1372
  if cls:
1487
- return cls(pipeline_response, None, {})
1488
-
1489
- _failover_initial.metadata = {
1490
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1491
- }
1373
+ return cls(pipeline_response, None, {}) # type: ignore
1492
1374
 
1493
1375
  @distributed_trace_async
1494
1376
  async def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncLROPoller[None]:
@@ -1503,14 +1385,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1503
1385
  Storage account names must be between 3 and 24 characters in length and use numbers and
1504
1386
  lower-case letters only. Required.
1505
1387
  :type account_name: str
1506
- :keyword callable cls: A custom type or function that will be passed the direct response
1507
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1508
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1509
- this operation to not poll, or pass in your own initialized polling object for a personal
1510
- polling strategy.
1511
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1512
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1513
- Retry-After header is present.
1514
1388
  :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
1515
1389
  :rtype: ~azure.core.polling.AsyncLROPoller[None]
1516
1390
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1537,7 +1411,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1537
1411
 
1538
1412
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1539
1413
  if cls:
1540
- return cls(pipeline_response, None, {})
1414
+ return cls(pipeline_response, None, {}) # type: ignore
1541
1415
 
1542
1416
  if polling is True:
1543
1417
  polling_method: AsyncPollingMethod = cast(
@@ -1548,22 +1422,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1548
1422
  else:
1549
1423
  polling_method = polling
1550
1424
  if cont_token:
1551
- return AsyncLROPoller.from_continuation_token(
1425
+ return AsyncLROPoller[None].from_continuation_token(
1552
1426
  polling_method=polling_method,
1553
1427
  continuation_token=cont_token,
1554
1428
  client=self._client,
1555
1429
  deserialization_callback=get_long_running_output,
1556
1430
  )
1557
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1558
-
1559
- begin_failover.metadata = {
1560
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1561
- }
1431
+ return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1562
1432
 
1563
- async def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements
1433
+ async def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
1564
1434
  self, resource_group_name: str, account_name: str, request_type: str, **kwargs: Any
1565
1435
  ) -> None:
1566
- error_map = {
1436
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1567
1437
  401: ClientAuthenticationError,
1568
1438
  404: ResourceNotFoundError,
1569
1439
  409: ResourceExistsError,
@@ -1577,22 +1447,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1577
1447
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
1578
1448
  cls: ClsType[None] = kwargs.pop("cls", None)
1579
1449
 
1580
- request = build_hierarchical_namespace_migration_request(
1450
+ _request = build_hierarchical_namespace_migration_request(
1581
1451
  resource_group_name=resource_group_name,
1582
1452
  account_name=account_name,
1583
1453
  subscription_id=self._config.subscription_id,
1584
1454
  request_type=request_type,
1585
1455
  api_version=api_version,
1586
- template_url=self._hierarchical_namespace_migration_initial.metadata["url"],
1587
1456
  headers=_headers,
1588
1457
  params=_params,
1589
1458
  )
1590
- request = _convert_request(request)
1591
- request.url = self._client.format_url(request.url)
1459
+ _request = _convert_request(_request)
1460
+ _request.url = self._client.format_url(_request.url)
1592
1461
 
1593
1462
  _stream = False
1594
1463
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1595
- request, stream=_stream, **kwargs
1464
+ _request, stream=_stream, **kwargs
1596
1465
  )
1597
1466
 
1598
1467
  response = pipeline_response.http_response
@@ -1603,11 +1472,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1603
1472
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
1604
1473
 
1605
1474
  if cls:
1606
- return cls(pipeline_response, None, {})
1607
-
1608
- _hierarchical_namespace_migration_initial.metadata = {
1609
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration"
1610
- }
1475
+ return cls(pipeline_response, None, {}) # type: ignore
1611
1476
 
1612
1477
  @distributed_trace_async
1613
1478
  async def begin_hierarchical_namespace_migration(
@@ -1627,14 +1492,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1627
1492
  'HnsOnHydrationRequest'. The validation request will validate the migration whereas the
1628
1493
  hydration request will migrate the account. Required.
1629
1494
  :type request_type: str
1630
- :keyword callable cls: A custom type or function that will be passed the direct response
1631
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1632
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1633
- this operation to not poll, or pass in your own initialized polling object for a personal
1634
- polling strategy.
1635
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1636
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1637
- Retry-After header is present.
1638
1495
  :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
1639
1496
  :rtype: ~azure.core.polling.AsyncLROPoller[None]
1640
1497
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1662,7 +1519,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1662
1519
 
1663
1520
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1664
1521
  if cls:
1665
- return cls(pipeline_response, None, {})
1522
+ return cls(pipeline_response, None, {}) # type: ignore
1666
1523
 
1667
1524
  if polling is True:
1668
1525
  polling_method: AsyncPollingMethod = cast(
@@ -1673,22 +1530,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1673
1530
  else:
1674
1531
  polling_method = polling
1675
1532
  if cont_token:
1676
- return AsyncLROPoller.from_continuation_token(
1533
+ return AsyncLROPoller[None].from_continuation_token(
1677
1534
  polling_method=polling_method,
1678
1535
  continuation_token=cont_token,
1679
1536
  client=self._client,
1680
1537
  deserialization_callback=get_long_running_output,
1681
1538
  )
1682
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1539
+ return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1683
1540
 
1684
- begin_hierarchical_namespace_migration.metadata = {
1685
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration"
1686
- }
1687
-
1688
- async def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements
1541
+ async def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
1689
1542
  self, resource_group_name: str, account_name: str, **kwargs: Any
1690
1543
  ) -> None:
1691
- error_map = {
1544
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1692
1545
  401: ClientAuthenticationError,
1693
1546
  404: ResourceNotFoundError,
1694
1547
  409: ResourceExistsError,
@@ -1702,21 +1555,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1702
1555
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
1703
1556
  cls: ClsType[None] = kwargs.pop("cls", None)
1704
1557
 
1705
- request = build_abort_hierarchical_namespace_migration_request(
1558
+ _request = build_abort_hierarchical_namespace_migration_request(
1706
1559
  resource_group_name=resource_group_name,
1707
1560
  account_name=account_name,
1708
1561
  subscription_id=self._config.subscription_id,
1709
1562
  api_version=api_version,
1710
- template_url=self._abort_hierarchical_namespace_migration_initial.metadata["url"],
1711
1563
  headers=_headers,
1712
1564
  params=_params,
1713
1565
  )
1714
- request = _convert_request(request)
1715
- request.url = self._client.format_url(request.url)
1566
+ _request = _convert_request(_request)
1567
+ _request.url = self._client.format_url(_request.url)
1716
1568
 
1717
1569
  _stream = False
1718
1570
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1719
- request, stream=_stream, **kwargs
1571
+ _request, stream=_stream, **kwargs
1720
1572
  )
1721
1573
 
1722
1574
  response = pipeline_response.http_response
@@ -1727,14 +1579,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1727
1579
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
1728
1580
 
1729
1581
  if cls:
1730
- return cls(pipeline_response, None, {})
1731
-
1732
- _abort_hierarchical_namespace_migration_initial.metadata = {
1733
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration"
1734
- }
1582
+ return cls(pipeline_response, None, {}) # type: ignore
1735
1583
 
1736
1584
  @distributed_trace_async
1737
- async def begin_abort_hierarchical_namespace_migration(
1585
+ async def begin_abort_hierarchical_namespace_migration( # pylint: disable=name-too-long
1738
1586
  self, resource_group_name: str, account_name: str, **kwargs: Any
1739
1587
  ) -> AsyncLROPoller[None]:
1740
1588
  """Abort live Migration of storage account to enable Hns.
@@ -1746,14 +1594,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1746
1594
  Storage account names must be between 3 and 24 characters in length and use numbers and
1747
1595
  lower-case letters only. Required.
1748
1596
  :type account_name: str
1749
- :keyword callable cls: A custom type or function that will be passed the direct response
1750
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1751
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1752
- this operation to not poll, or pass in your own initialized polling object for a personal
1753
- polling strategy.
1754
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1755
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1756
- Retry-After header is present.
1757
1597
  :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
1758
1598
  :rtype: ~azure.core.polling.AsyncLROPoller[None]
1759
1599
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1780,7 +1620,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1780
1620
 
1781
1621
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1782
1622
  if cls:
1783
- return cls(pipeline_response, None, {})
1623
+ return cls(pipeline_response, None, {}) # type: ignore
1784
1624
 
1785
1625
  if polling is True:
1786
1626
  polling_method: AsyncPollingMethod = cast(
@@ -1791,26 +1631,22 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1791
1631
  else:
1792
1632
  polling_method = polling
1793
1633
  if cont_token:
1794
- return AsyncLROPoller.from_continuation_token(
1634
+ return AsyncLROPoller[None].from_continuation_token(
1795
1635
  polling_method=polling_method,
1796
1636
  continuation_token=cont_token,
1797
1637
  client=self._client,
1798
1638
  deserialization_callback=get_long_running_output,
1799
1639
  )
1800
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1801
-
1802
- begin_abort_hierarchical_namespace_migration.metadata = {
1803
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration"
1804
- }
1640
+ return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1805
1641
 
1806
1642
  async def _restore_blob_ranges_initial(
1807
1643
  self,
1808
1644
  resource_group_name: str,
1809
1645
  account_name: str,
1810
- parameters: Union[_models.BlobRestoreParameters, IO],
1646
+ parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
1811
1647
  **kwargs: Any
1812
1648
  ) -> _models.BlobRestoreStatus:
1813
- error_map = {
1649
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1814
1650
  401: ClientAuthenticationError,
1815
1651
  404: ResourceNotFoundError,
1816
1652
  409: ResourceExistsError,
@@ -1833,7 +1669,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1833
1669
  else:
1834
1670
  _json = self._serialize.body(parameters, "BlobRestoreParameters")
1835
1671
 
1836
- request = build_restore_blob_ranges_request(
1672
+ _request = build_restore_blob_ranges_request(
1837
1673
  resource_group_name=resource_group_name,
1838
1674
  account_name=account_name,
1839
1675
  subscription_id=self._config.subscription_id,
@@ -1841,16 +1677,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1841
1677
  content_type=content_type,
1842
1678
  json=_json,
1843
1679
  content=_content,
1844
- template_url=self._restore_blob_ranges_initial.metadata["url"],
1845
1680
  headers=_headers,
1846
1681
  params=_params,
1847
1682
  )
1848
- request = _convert_request(request)
1849
- request.url = self._client.format_url(request.url)
1683
+ _request = _convert_request(_request)
1684
+ _request.url = self._client.format_url(_request.url)
1850
1685
 
1851
1686
  _stream = False
1852
1687
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1853
- request, stream=_stream, **kwargs
1688
+ _request, stream=_stream, **kwargs
1854
1689
  )
1855
1690
 
1856
1691
  response = pipeline_response.http_response
@@ -1870,10 +1705,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1870
1705
 
1871
1706
  return deserialized # type: ignore
1872
1707
 
1873
- _restore_blob_ranges_initial.metadata = {
1874
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
1875
- }
1876
-
1877
1708
  @overload
1878
1709
  async def begin_restore_blob_ranges(
1879
1710
  self,
@@ -1898,14 +1729,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1898
1729
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1899
1730
  Default value is "application/json".
1900
1731
  :paramtype content_type: str
1901
- :keyword callable cls: A custom type or function that will be passed the direct response
1902
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1903
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1904
- this operation to not poll, or pass in your own initialized polling object for a personal
1905
- polling strategy.
1906
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1907
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1908
- Retry-After header is present.
1909
1732
  :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1910
1733
  cls(response)
1911
1734
  :rtype:
@@ -1918,7 +1741,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1918
1741
  self,
1919
1742
  resource_group_name: str,
1920
1743
  account_name: str,
1921
- parameters: IO,
1744
+ parameters: IO[bytes],
1922
1745
  *,
1923
1746
  content_type: str = "application/json",
1924
1747
  **kwargs: Any
@@ -1933,18 +1756,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1933
1756
  lower-case letters only. Required.
1934
1757
  :type account_name: str
1935
1758
  :param parameters: The parameters to provide for restore blob ranges. Required.
1936
- :type parameters: IO
1759
+ :type parameters: IO[bytes]
1937
1760
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1938
1761
  Default value is "application/json".
1939
1762
  :paramtype content_type: str
1940
- :keyword callable cls: A custom type or function that will be passed the direct response
1941
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1942
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1943
- this operation to not poll, or pass in your own initialized polling object for a personal
1944
- polling strategy.
1945
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1946
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1947
- Retry-After header is present.
1948
1763
  :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1949
1764
  cls(response)
1950
1765
  :rtype:
@@ -1957,7 +1772,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1957
1772
  self,
1958
1773
  resource_group_name: str,
1959
1774
  account_name: str,
1960
- parameters: Union[_models.BlobRestoreParameters, IO],
1775
+ parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
1961
1776
  **kwargs: Any
1962
1777
  ) -> AsyncLROPoller[_models.BlobRestoreStatus]:
1963
1778
  """Restore blobs in the specified blob ranges.
@@ -1970,19 +1785,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1970
1785
  lower-case letters only. Required.
1971
1786
  :type account_name: str
1972
1787
  :param parameters: The parameters to provide for restore blob ranges. Is either a
1973
- BlobRestoreParameters type or a IO type. Required.
1974
- :type parameters: ~azure.mgmt.storage.v2021_09_01.models.BlobRestoreParameters or IO
1975
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1976
- Default value is None.
1977
- :paramtype content_type: str
1978
- :keyword callable cls: A custom type or function that will be passed the direct response
1979
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1980
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1981
- this operation to not poll, or pass in your own initialized polling object for a personal
1982
- polling strategy.
1983
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1984
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1985
- Retry-After header is present.
1788
+ BlobRestoreParameters type or a IO[bytes] type. Required.
1789
+ :type parameters: ~azure.mgmt.storage.v2021_09_01.models.BlobRestoreParameters or IO[bytes]
1986
1790
  :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1987
1791
  cls(response)
1988
1792
  :rtype:
@@ -2015,7 +1819,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2015
1819
  def get_long_running_output(pipeline_response):
2016
1820
  deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
2017
1821
  if cls:
2018
- return cls(pipeline_response, deserialized, {})
1822
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2019
1823
  return deserialized
2020
1824
 
2021
1825
  if polling is True:
@@ -2027,17 +1831,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2027
1831
  else:
2028
1832
  polling_method = polling
2029
1833
  if cont_token:
2030
- return AsyncLROPoller.from_continuation_token(
1834
+ return AsyncLROPoller[_models.BlobRestoreStatus].from_continuation_token(
2031
1835
  polling_method=polling_method,
2032
1836
  continuation_token=cont_token,
2033
1837
  client=self._client,
2034
1838
  deserialization_callback=get_long_running_output,
2035
1839
  )
2036
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2037
-
2038
- begin_restore_blob_ranges.metadata = {
2039
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
2040
- }
1840
+ return AsyncLROPoller[_models.BlobRestoreStatus](
1841
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
1842
+ )
2041
1843
 
2042
1844
  @distributed_trace_async
2043
1845
  async def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
@@ -2052,12 +1854,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2052
1854
  Storage account names must be between 3 and 24 characters in length and use numbers and
2053
1855
  lower-case letters only. Required.
2054
1856
  :type account_name: str
2055
- :keyword callable cls: A custom type or function that will be passed the direct response
2056
1857
  :return: None or the result of cls(response)
2057
1858
  :rtype: None
2058
1859
  :raises ~azure.core.exceptions.HttpResponseError:
2059
1860
  """
2060
- error_map = {
1861
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2061
1862
  401: ClientAuthenticationError,
2062
1863
  404: ResourceNotFoundError,
2063
1864
  409: ResourceExistsError,
@@ -2071,21 +1872,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2071
1872
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-09-01"))
2072
1873
  cls: ClsType[None] = kwargs.pop("cls", None)
2073
1874
 
2074
- request = build_revoke_user_delegation_keys_request(
1875
+ _request = build_revoke_user_delegation_keys_request(
2075
1876
  resource_group_name=resource_group_name,
2076
1877
  account_name=account_name,
2077
1878
  subscription_id=self._config.subscription_id,
2078
1879
  api_version=api_version,
2079
- template_url=self.revoke_user_delegation_keys.metadata["url"],
2080
1880
  headers=_headers,
2081
1881
  params=_params,
2082
1882
  )
2083
- request = _convert_request(request)
2084
- request.url = self._client.format_url(request.url)
1883
+ _request = _convert_request(_request)
1884
+ _request.url = self._client.format_url(_request.url)
2085
1885
 
2086
1886
  _stream = False
2087
1887
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
2088
- request, stream=_stream, **kwargs
1888
+ _request, stream=_stream, **kwargs
2089
1889
  )
2090
1890
 
2091
1891
  response = pipeline_response.http_response
@@ -2095,8 +1895,4 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2095
1895
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2096
1896
 
2097
1897
  if cls:
2098
- return cls(pipeline_response, None, {})
2099
-
2100
- revoke_user_delegation_keys.metadata = {
2101
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
2102
- }
1898
+ return cls(pipeline_response, None, {}) # type: ignore