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, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
11
+ from typing import Any, Callable, Dict, IO, Iterable, Literal, Optional, Type, TypeVar, Union, cast, overload
12
12
  import urllib.parse
13
13
 
14
14
  from azure.core.exceptions import (
@@ -33,10 +33,10 @@ from .. import models as _models
33
33
  from ..._serialization import Serializer
34
34
  from .._vendor import _convert_request
35
35
 
36
- if sys.version_info >= (3, 8):
37
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
36
+ if sys.version_info >= (3, 9):
37
+ from collections.abc import MutableMapping
38
38
  else:
39
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
39
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
40
40
  T = TypeVar("T")
41
41
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
42
42
 
@@ -448,7 +448,7 @@ def build_failover_request(
448
448
  return HttpRequest(method="POST", url=_url, params=_params, **kwargs)
449
449
 
450
450
 
451
- def build_hierarchical_namespace_migration_request(
451
+ def build_hierarchical_namespace_migration_request( # pylint: disable=name-too-long
452
452
  resource_group_name: str, account_name: str, subscription_id: str, *, request_type: str, **kwargs: Any
453
453
  ) -> HttpRequest:
454
454
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -482,7 +482,7 @@ def build_hierarchical_namespace_migration_request(
482
482
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
483
483
 
484
484
 
485
- def build_abort_hierarchical_namespace_migration_request(
485
+ def build_abort_hierarchical_namespace_migration_request( # pylint: disable=name-too-long
486
486
  resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
487
487
  ) -> HttpRequest:
488
488
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -551,7 +551,7 @@ def build_restore_blob_ranges_request(
551
551
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
552
552
 
553
553
 
554
- def build_revoke_user_delegation_keys_request(
554
+ def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
555
555
  resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
556
556
  ) -> HttpRequest:
557
557
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
@@ -616,7 +616,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
616
616
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
617
617
  Default value is "application/json".
618
618
  :paramtype content_type: str
619
- :keyword callable cls: A custom type or function that will be passed the direct response
620
619
  :return: CheckNameAvailabilityResult or the result of cls(response)
621
620
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.CheckNameAvailabilityResult
622
621
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -624,18 +623,17 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
624
623
 
625
624
  @overload
626
625
  def check_name_availability(
627
- self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
626
+ self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
628
627
  ) -> _models.CheckNameAvailabilityResult:
629
628
  """Checks that the storage account name is valid and is not already in use.
630
629
 
631
630
  :param account_name: The name of the storage account within the specified resource group.
632
631
  Storage account names must be between 3 and 24 characters in length and use numbers and
633
632
  lower-case letters only. Required.
634
- :type account_name: IO
633
+ :type account_name: IO[bytes]
635
634
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
636
635
  Default value is "application/json".
637
636
  :paramtype content_type: str
638
- :keyword callable cls: A custom type or function that will be passed the direct response
639
637
  :return: CheckNameAvailabilityResult or the result of cls(response)
640
638
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.CheckNameAvailabilityResult
641
639
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -643,25 +641,22 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
643
641
 
644
642
  @distributed_trace
645
643
  def check_name_availability(
646
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
644
+ self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
647
645
  ) -> _models.CheckNameAvailabilityResult:
648
646
  """Checks that the storage account name is valid and is not already in use.
649
647
 
650
648
  :param account_name: The name of the storage account within the specified resource group.
651
649
  Storage account names must be between 3 and 24 characters in length and use numbers and
652
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a IO
653
- type. Required.
650
+ lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
651
+ IO[bytes] type. Required.
654
652
  :type account_name:
655
- ~azure.mgmt.storage.v2022_09_01.models.StorageAccountCheckNameAvailabilityParameters or IO
656
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
657
- Default value is None.
658
- :paramtype content_type: str
659
- :keyword callable cls: A custom type or function that will be passed the direct response
653
+ ~azure.mgmt.storage.v2022_09_01.models.StorageAccountCheckNameAvailabilityParameters or
654
+ IO[bytes]
660
655
  :return: CheckNameAvailabilityResult or the result of cls(response)
661
656
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.CheckNameAvailabilityResult
662
657
  :raises ~azure.core.exceptions.HttpResponseError:
663
658
  """
664
- error_map = {
659
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
665
660
  401: ClientAuthenticationError,
666
661
  404: ResourceNotFoundError,
667
662
  409: ResourceExistsError,
@@ -684,22 +679,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
684
679
  else:
685
680
  _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
686
681
 
687
- request = build_check_name_availability_request(
682
+ _request = build_check_name_availability_request(
688
683
  subscription_id=self._config.subscription_id,
689
684
  api_version=api_version,
690
685
  content_type=content_type,
691
686
  json=_json,
692
687
  content=_content,
693
- template_url=self.check_name_availability.metadata["url"],
694
688
  headers=_headers,
695
689
  params=_params,
696
690
  )
697
- request = _convert_request(request)
698
- request.url = self._client.format_url(request.url)
691
+ _request = _convert_request(_request)
692
+ _request.url = self._client.format_url(_request.url)
699
693
 
700
694
  _stream = False
701
695
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
702
- request, stream=_stream, **kwargs
696
+ _request, stream=_stream, **kwargs
703
697
  )
704
698
 
705
699
  response = pipeline_response.http_response
@@ -711,22 +705,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
711
705
  deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
712
706
 
713
707
  if cls:
714
- return cls(pipeline_response, deserialized, {})
715
-
716
- return deserialized
708
+ return cls(pipeline_response, deserialized, {}) # type: ignore
717
709
 
718
- check_name_availability.metadata = {
719
- "url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
720
- }
710
+ return deserialized # type: ignore
721
711
 
722
712
  def _create_initial(
723
713
  self,
724
714
  resource_group_name: str,
725
715
  account_name: str,
726
- parameters: Union[_models.StorageAccountCreateParameters, IO],
716
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
727
717
  **kwargs: Any
728
718
  ) -> Optional[_models.StorageAccount]:
729
- error_map = {
719
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
730
720
  401: ClientAuthenticationError,
731
721
  404: ResourceNotFoundError,
732
722
  409: ResourceExistsError,
@@ -749,7 +739,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
749
739
  else:
750
740
  _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
751
741
 
752
- request = build_create_request(
742
+ _request = build_create_request(
753
743
  resource_group_name=resource_group_name,
754
744
  account_name=account_name,
755
745
  subscription_id=self._config.subscription_id,
@@ -757,16 +747,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
757
747
  content_type=content_type,
758
748
  json=_json,
759
749
  content=_content,
760
- template_url=self._create_initial.metadata["url"],
761
750
  headers=_headers,
762
751
  params=_params,
763
752
  )
764
- request = _convert_request(request)
765
- request.url = self._client.format_url(request.url)
753
+ _request = _convert_request(_request)
754
+ _request.url = self._client.format_url(_request.url)
766
755
 
767
756
  _stream = False
768
757
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
769
- request, stream=_stream, **kwargs
758
+ _request, stream=_stream, **kwargs
770
759
  )
771
760
 
772
761
  response = pipeline_response.http_response
@@ -780,13 +769,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
780
769
  deserialized = self._deserialize("StorageAccount", pipeline_response)
781
770
 
782
771
  if cls:
783
- return cls(pipeline_response, deserialized, {})
784
-
785
- return deserialized
772
+ return cls(pipeline_response, deserialized, {}) # type: ignore
786
773
 
787
- _create_initial.metadata = {
788
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
789
- }
774
+ return deserialized # type: ignore
790
775
 
791
776
  @overload
792
777
  def begin_create(
@@ -815,14 +800,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
815
800
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
816
801
  Default value is "application/json".
817
802
  :paramtype content_type: str
818
- :keyword callable cls: A custom type or function that will be passed the direct response
819
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
820
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
821
- operation to not poll, or pass in your own initialized polling object for a personal polling
822
- strategy.
823
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
824
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
825
- Retry-After header is present.
826
803
  :return: An instance of LROPoller that returns either StorageAccount or the result of
827
804
  cls(response)
828
805
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_09_01.models.StorageAccount]
@@ -834,7 +811,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
834
811
  self,
835
812
  resource_group_name: str,
836
813
  account_name: str,
837
- parameters: IO,
814
+ parameters: IO[bytes],
838
815
  *,
839
816
  content_type: str = "application/json",
840
817
  **kwargs: Any
@@ -852,18 +829,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
852
829
  lower-case letters only. Required.
853
830
  :type account_name: str
854
831
  :param parameters: The parameters to provide for the created account. Required.
855
- :type parameters: IO
832
+ :type parameters: IO[bytes]
856
833
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
857
834
  Default value is "application/json".
858
835
  :paramtype content_type: str
859
- :keyword callable cls: A custom type or function that will be passed the direct response
860
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
861
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
862
- operation to not poll, or pass in your own initialized polling object for a personal polling
863
- strategy.
864
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
865
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
866
- Retry-After header is present.
867
836
  :return: An instance of LROPoller that returns either StorageAccount or the result of
868
837
  cls(response)
869
838
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_09_01.models.StorageAccount]
@@ -875,7 +844,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
875
844
  self,
876
845
  resource_group_name: str,
877
846
  account_name: str,
878
- parameters: Union[_models.StorageAccountCreateParameters, IO],
847
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
879
848
  **kwargs: Any
880
849
  ) -> LROPoller[_models.StorageAccount]:
881
850
  """Asynchronously creates a new storage account with the specified parameters. If an account is
@@ -891,19 +860,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
891
860
  lower-case letters only. Required.
892
861
  :type account_name: str
893
862
  :param parameters: The parameters to provide for the created account. Is either a
894
- StorageAccountCreateParameters type or a IO type. Required.
895
- :type parameters: ~azure.mgmt.storage.v2022_09_01.models.StorageAccountCreateParameters or IO
896
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
897
- Default value is None.
898
- :paramtype content_type: str
899
- :keyword callable cls: A custom type or function that will be passed the direct response
900
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
901
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
902
- operation to not poll, or pass in your own initialized polling object for a personal polling
903
- strategy.
904
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
905
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
906
- Retry-After header is present.
863
+ StorageAccountCreateParameters type or a IO[bytes] type. Required.
864
+ :type parameters: ~azure.mgmt.storage.v2022_09_01.models.StorageAccountCreateParameters or
865
+ IO[bytes]
907
866
  :return: An instance of LROPoller that returns either StorageAccount or the result of
908
867
  cls(response)
909
868
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_09_01.models.StorageAccount]
@@ -935,7 +894,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
935
894
  def get_long_running_output(pipeline_response):
936
895
  deserialized = self._deserialize("StorageAccount", pipeline_response)
937
896
  if cls:
938
- return cls(pipeline_response, deserialized, {})
897
+ return cls(pipeline_response, deserialized, {}) # type: ignore
939
898
  return deserialized
940
899
 
941
900
  if polling is True:
@@ -945,17 +904,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
945
904
  else:
946
905
  polling_method = polling
947
906
  if cont_token:
948
- return LROPoller.from_continuation_token(
907
+ return LROPoller[_models.StorageAccount].from_continuation_token(
949
908
  polling_method=polling_method,
950
909
  continuation_token=cont_token,
951
910
  client=self._client,
952
911
  deserialization_callback=get_long_running_output,
953
912
  )
954
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
955
-
956
- begin_create.metadata = {
957
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
958
- }
913
+ return LROPoller[_models.StorageAccount](
914
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
915
+ )
959
916
 
960
917
  @distributed_trace
961
918
  def delete( # pylint: disable=inconsistent-return-statements
@@ -970,12 +927,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
970
927
  Storage account names must be between 3 and 24 characters in length and use numbers and
971
928
  lower-case letters only. Required.
972
929
  :type account_name: str
973
- :keyword callable cls: A custom type or function that will be passed the direct response
974
930
  :return: None or the result of cls(response)
975
931
  :rtype: None
976
932
  :raises ~azure.core.exceptions.HttpResponseError:
977
933
  """
978
- error_map = {
934
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
979
935
  401: ClientAuthenticationError,
980
936
  404: ResourceNotFoundError,
981
937
  409: ResourceExistsError,
@@ -989,21 +945,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
989
945
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
990
946
  cls: ClsType[None] = kwargs.pop("cls", None)
991
947
 
992
- request = build_delete_request(
948
+ _request = build_delete_request(
993
949
  resource_group_name=resource_group_name,
994
950
  account_name=account_name,
995
951
  subscription_id=self._config.subscription_id,
996
952
  api_version=api_version,
997
- template_url=self.delete.metadata["url"],
998
953
  headers=_headers,
999
954
  params=_params,
1000
955
  )
1001
- request = _convert_request(request)
1002
- request.url = self._client.format_url(request.url)
956
+ _request = _convert_request(_request)
957
+ _request.url = self._client.format_url(_request.url)
1003
958
 
1004
959
  _stream = False
1005
960
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1006
- request, stream=_stream, **kwargs
961
+ _request, stream=_stream, **kwargs
1007
962
  )
1008
963
 
1009
964
  response = pipeline_response.http_response
@@ -1013,11 +968,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1013
968
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1014
969
 
1015
970
  if cls:
1016
- return cls(pipeline_response, None, {})
1017
-
1018
- delete.metadata = {
1019
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
1020
- }
971
+ return cls(pipeline_response, None, {}) # type: ignore
1021
972
 
1022
973
  @distributed_trace
1023
974
  def get_properties(
@@ -1043,12 +994,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1043
994
  and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
1044
995
  value is None.
1045
996
  :type expand: str or ~azure.mgmt.storage.v2022_09_01.models.StorageAccountExpand
1046
- :keyword callable cls: A custom type or function that will be passed the direct response
1047
997
  :return: StorageAccount or the result of cls(response)
1048
998
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.StorageAccount
1049
999
  :raises ~azure.core.exceptions.HttpResponseError:
1050
1000
  """
1051
- error_map = {
1001
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1052
1002
  401: ClientAuthenticationError,
1053
1003
  404: ResourceNotFoundError,
1054
1004
  409: ResourceExistsError,
@@ -1062,22 +1012,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1062
1012
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
1063
1013
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
1064
1014
 
1065
- request = build_get_properties_request(
1015
+ _request = build_get_properties_request(
1066
1016
  resource_group_name=resource_group_name,
1067
1017
  account_name=account_name,
1068
1018
  subscription_id=self._config.subscription_id,
1069
1019
  expand=expand,
1070
1020
  api_version=api_version,
1071
- template_url=self.get_properties.metadata["url"],
1072
1021
  headers=_headers,
1073
1022
  params=_params,
1074
1023
  )
1075
- request = _convert_request(request)
1076
- request.url = self._client.format_url(request.url)
1024
+ _request = _convert_request(_request)
1025
+ _request.url = self._client.format_url(_request.url)
1077
1026
 
1078
1027
  _stream = False
1079
1028
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1080
- request, stream=_stream, **kwargs
1029
+ _request, stream=_stream, **kwargs
1081
1030
  )
1082
1031
 
1083
1032
  response = pipeline_response.http_response
@@ -1089,13 +1038,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1089
1038
  deserialized = self._deserialize("StorageAccount", pipeline_response)
1090
1039
 
1091
1040
  if cls:
1092
- return cls(pipeline_response, deserialized, {})
1093
-
1094
- return deserialized
1041
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1095
1042
 
1096
- get_properties.metadata = {
1097
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
1098
- }
1043
+ return deserialized # type: ignore
1099
1044
 
1100
1045
  @overload
1101
1046
  def update(
@@ -1128,7 +1073,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1128
1073
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1129
1074
  Default value is "application/json".
1130
1075
  :paramtype content_type: str
1131
- :keyword callable cls: A custom type or function that will be passed the direct response
1132
1076
  :return: StorageAccount or the result of cls(response)
1133
1077
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.StorageAccount
1134
1078
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1139,7 +1083,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1139
1083
  self,
1140
1084
  resource_group_name: str,
1141
1085
  account_name: str,
1142
- parameters: IO,
1086
+ parameters: IO[bytes],
1143
1087
  *,
1144
1088
  content_type: str = "application/json",
1145
1089
  **kwargs: Any
@@ -1161,11 +1105,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1161
1105
  lower-case letters only. Required.
1162
1106
  :type account_name: str
1163
1107
  :param parameters: The parameters to provide for the updated account. Required.
1164
- :type parameters: IO
1108
+ :type parameters: IO[bytes]
1165
1109
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1166
1110
  Default value is "application/json".
1167
1111
  :paramtype content_type: str
1168
- :keyword callable cls: A custom type or function that will be passed the direct response
1169
1112
  :return: StorageAccount or the result of cls(response)
1170
1113
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.StorageAccount
1171
1114
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1176,7 +1119,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1176
1119
  self,
1177
1120
  resource_group_name: str,
1178
1121
  account_name: str,
1179
- parameters: Union[_models.StorageAccountUpdateParameters, IO],
1122
+ parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
1180
1123
  **kwargs: Any
1181
1124
  ) -> _models.StorageAccount:
1182
1125
  """The update operation can be used to update the SKU, encryption, access tier, or tags for a
@@ -1196,17 +1139,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1196
1139
  lower-case letters only. Required.
1197
1140
  :type account_name: str
1198
1141
  :param parameters: The parameters to provide for the updated account. Is either a
1199
- StorageAccountUpdateParameters type or a IO type. Required.
1200
- :type parameters: ~azure.mgmt.storage.v2022_09_01.models.StorageAccountUpdateParameters or IO
1201
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1202
- Default value is None.
1203
- :paramtype content_type: str
1204
- :keyword callable cls: A custom type or function that will be passed the direct response
1142
+ StorageAccountUpdateParameters type or a IO[bytes] type. Required.
1143
+ :type parameters: ~azure.mgmt.storage.v2022_09_01.models.StorageAccountUpdateParameters or
1144
+ IO[bytes]
1205
1145
  :return: StorageAccount or the result of cls(response)
1206
1146
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.StorageAccount
1207
1147
  :raises ~azure.core.exceptions.HttpResponseError:
1208
1148
  """
1209
- error_map = {
1149
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1210
1150
  401: ClientAuthenticationError,
1211
1151
  404: ResourceNotFoundError,
1212
1152
  409: ResourceExistsError,
@@ -1229,7 +1169,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1229
1169
  else:
1230
1170
  _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
1231
1171
 
1232
- request = build_update_request(
1172
+ _request = build_update_request(
1233
1173
  resource_group_name=resource_group_name,
1234
1174
  account_name=account_name,
1235
1175
  subscription_id=self._config.subscription_id,
@@ -1237,16 +1177,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1237
1177
  content_type=content_type,
1238
1178
  json=_json,
1239
1179
  content=_content,
1240
- template_url=self.update.metadata["url"],
1241
1180
  headers=_headers,
1242
1181
  params=_params,
1243
1182
  )
1244
- request = _convert_request(request)
1245
- request.url = self._client.format_url(request.url)
1183
+ _request = _convert_request(_request)
1184
+ _request.url = self._client.format_url(_request.url)
1246
1185
 
1247
1186
  _stream = False
1248
1187
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1249
- request, stream=_stream, **kwargs
1188
+ _request, stream=_stream, **kwargs
1250
1189
  )
1251
1190
 
1252
1191
  response = pipeline_response.http_response
@@ -1258,20 +1197,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1258
1197
  deserialized = self._deserialize("StorageAccount", pipeline_response)
1259
1198
 
1260
1199
  if cls:
1261
- return cls(pipeline_response, deserialized, {})
1262
-
1263
- return deserialized
1200
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1264
1201
 
1265
- update.metadata = {
1266
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
1267
- }
1202
+ return deserialized # type: ignore
1268
1203
 
1269
1204
  @distributed_trace
1270
1205
  def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1271
1206
  """Lists all the storage accounts available under the subscription. Note that storage keys are not
1272
1207
  returned; use the ListKeys operation for this.
1273
1208
 
1274
- :keyword callable cls: A custom type or function that will be passed the direct response
1275
1209
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1276
1210
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2022_09_01.models.StorageAccount]
1277
1211
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1282,7 +1216,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1282
1216
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
1283
1217
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1284
1218
 
1285
- error_map = {
1219
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1286
1220
  401: ClientAuthenticationError,
1287
1221
  404: ResourceNotFoundError,
1288
1222
  409: ResourceExistsError,
@@ -1293,15 +1227,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1293
1227
  def prepare_request(next_link=None):
1294
1228
  if not next_link:
1295
1229
 
1296
- request = build_list_request(
1230
+ _request = build_list_request(
1297
1231
  subscription_id=self._config.subscription_id,
1298
1232
  api_version=api_version,
1299
- template_url=self.list.metadata["url"],
1300
1233
  headers=_headers,
1301
1234
  params=_params,
1302
1235
  )
1303
- request = _convert_request(request)
1304
- request.url = self._client.format_url(request.url)
1236
+ _request = _convert_request(_request)
1237
+ _request.url = self._client.format_url(_request.url)
1305
1238
 
1306
1239
  else:
1307
1240
  # make call to next link with the client's api-version
@@ -1312,14 +1245,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1312
1245
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1313
1246
  }
1314
1247
  )
1315
- _next_request_params["api-version"] = self._config.api_version
1316
- request = HttpRequest(
1248
+ _next_request_params["api-version"] = self._api_version
1249
+ _request = HttpRequest(
1317
1250
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1318
1251
  )
1319
- request = _convert_request(request)
1320
- request.url = self._client.format_url(request.url)
1321
- request.method = "GET"
1322
- return request
1252
+ _request = _convert_request(_request)
1253
+ _request.url = self._client.format_url(_request.url)
1254
+ _request.method = "GET"
1255
+ return _request
1323
1256
 
1324
1257
  def extract_data(pipeline_response):
1325
1258
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1329,11 +1262,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1329
1262
  return deserialized.next_link or None, iter(list_of_elem)
1330
1263
 
1331
1264
  def get_next(next_link=None):
1332
- request = prepare_request(next_link)
1265
+ _request = prepare_request(next_link)
1333
1266
 
1334
1267
  _stream = False
1335
1268
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1336
- request, stream=_stream, **kwargs
1269
+ _request, stream=_stream, **kwargs
1337
1270
  )
1338
1271
  response = pipeline_response.http_response
1339
1272
 
@@ -1345,8 +1278,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1345
1278
 
1346
1279
  return ItemPaged(get_next, extract_data)
1347
1280
 
1348
- list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
1349
-
1350
1281
  @distributed_trace
1351
1282
  def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1352
1283
  """Lists all the storage accounts available under the given resource group. Note that storage keys
@@ -1355,7 +1286,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1355
1286
  :param resource_group_name: The name of the resource group within the user's subscription. The
1356
1287
  name is case insensitive. Required.
1357
1288
  :type resource_group_name: str
1358
- :keyword callable cls: A custom type or function that will be passed the direct response
1359
1289
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1360
1290
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2022_09_01.models.StorageAccount]
1361
1291
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1366,7 +1296,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1366
1296
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
1367
1297
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1368
1298
 
1369
- error_map = {
1299
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1370
1300
  401: ClientAuthenticationError,
1371
1301
  404: ResourceNotFoundError,
1372
1302
  409: ResourceExistsError,
@@ -1377,16 +1307,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1377
1307
  def prepare_request(next_link=None):
1378
1308
  if not next_link:
1379
1309
 
1380
- request = build_list_by_resource_group_request(
1310
+ _request = build_list_by_resource_group_request(
1381
1311
  resource_group_name=resource_group_name,
1382
1312
  subscription_id=self._config.subscription_id,
1383
1313
  api_version=api_version,
1384
- template_url=self.list_by_resource_group.metadata["url"],
1385
1314
  headers=_headers,
1386
1315
  params=_params,
1387
1316
  )
1388
- request = _convert_request(request)
1389
- request.url = self._client.format_url(request.url)
1317
+ _request = _convert_request(_request)
1318
+ _request.url = self._client.format_url(_request.url)
1390
1319
 
1391
1320
  else:
1392
1321
  # make call to next link with the client's api-version
@@ -1397,14 +1326,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1397
1326
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1398
1327
  }
1399
1328
  )
1400
- _next_request_params["api-version"] = self._config.api_version
1401
- request = HttpRequest(
1329
+ _next_request_params["api-version"] = self._api_version
1330
+ _request = HttpRequest(
1402
1331
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1403
1332
  )
1404
- request = _convert_request(request)
1405
- request.url = self._client.format_url(request.url)
1406
- request.method = "GET"
1407
- return request
1333
+ _request = _convert_request(_request)
1334
+ _request.url = self._client.format_url(_request.url)
1335
+ _request.method = "GET"
1336
+ return _request
1408
1337
 
1409
1338
  def extract_data(pipeline_response):
1410
1339
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1414,11 +1343,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1414
1343
  return deserialized.next_link or None, iter(list_of_elem)
1415
1344
 
1416
1345
  def get_next(next_link=None):
1417
- request = prepare_request(next_link)
1346
+ _request = prepare_request(next_link)
1418
1347
 
1419
1348
  _stream = False
1420
1349
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1421
- request, stream=_stream, **kwargs
1350
+ _request, stream=_stream, **kwargs
1422
1351
  )
1423
1352
  response = pipeline_response.http_response
1424
1353
 
@@ -1430,10 +1359,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1430
1359
 
1431
1360
  return ItemPaged(get_next, extract_data)
1432
1361
 
1433
- list_by_resource_group.metadata = {
1434
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
1435
- }
1436
-
1437
1362
  @distributed_trace
1438
1363
  def list_keys(
1439
1364
  self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
@@ -1451,12 +1376,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1451
1376
  :param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
1452
1377
  "kerb" and None. Default value is "kerb".
1453
1378
  :type expand: str
1454
- :keyword callable cls: A custom type or function that will be passed the direct response
1455
1379
  :return: StorageAccountListKeysResult or the result of cls(response)
1456
1380
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.StorageAccountListKeysResult
1457
1381
  :raises ~azure.core.exceptions.HttpResponseError:
1458
1382
  """
1459
- error_map = {
1383
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1460
1384
  401: ClientAuthenticationError,
1461
1385
  404: ResourceNotFoundError,
1462
1386
  409: ResourceExistsError,
@@ -1470,22 +1394,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1470
1394
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
1471
1395
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1472
1396
 
1473
- request = build_list_keys_request(
1397
+ _request = build_list_keys_request(
1474
1398
  resource_group_name=resource_group_name,
1475
1399
  account_name=account_name,
1476
1400
  subscription_id=self._config.subscription_id,
1477
1401
  expand=expand,
1478
1402
  api_version=api_version,
1479
- template_url=self.list_keys.metadata["url"],
1480
1403
  headers=_headers,
1481
1404
  params=_params,
1482
1405
  )
1483
- request = _convert_request(request)
1484
- request.url = self._client.format_url(request.url)
1406
+ _request = _convert_request(_request)
1407
+ _request.url = self._client.format_url(_request.url)
1485
1408
 
1486
1409
  _stream = False
1487
1410
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1488
- request, stream=_stream, **kwargs
1411
+ _request, stream=_stream, **kwargs
1489
1412
  )
1490
1413
 
1491
1414
  response = pipeline_response.http_response
@@ -1497,13 +1420,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1497
1420
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1498
1421
 
1499
1422
  if cls:
1500
- return cls(pipeline_response, deserialized, {})
1501
-
1502
- return deserialized
1423
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1503
1424
 
1504
- list_keys.metadata = {
1505
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
1506
- }
1425
+ return deserialized # type: ignore
1507
1426
 
1508
1427
  @overload
1509
1428
  def regenerate_key(
@@ -1531,7 +1450,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1531
1450
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1532
1451
  Default value is "application/json".
1533
1452
  :paramtype content_type: str
1534
- :keyword callable cls: A custom type or function that will be passed the direct response
1535
1453
  :return: StorageAccountListKeysResult or the result of cls(response)
1536
1454
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.StorageAccountListKeysResult
1537
1455
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1542,7 +1460,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1542
1460
  self,
1543
1461
  resource_group_name: str,
1544
1462
  account_name: str,
1545
- regenerate_key: IO,
1463
+ regenerate_key: IO[bytes],
1546
1464
  *,
1547
1465
  content_type: str = "application/json",
1548
1466
  **kwargs: Any
@@ -1558,11 +1476,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1558
1476
  :type account_name: str
1559
1477
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1560
1478
  kerb1, kerb2. Required.
1561
- :type regenerate_key: IO
1479
+ :type regenerate_key: IO[bytes]
1562
1480
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1563
1481
  Default value is "application/json".
1564
1482
  :paramtype content_type: str
1565
- :keyword callable cls: A custom type or function that will be passed the direct response
1566
1483
  :return: StorageAccountListKeysResult or the result of cls(response)
1567
1484
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.StorageAccountListKeysResult
1568
1485
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1573,7 +1490,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1573
1490
  self,
1574
1491
  resource_group_name: str,
1575
1492
  account_name: str,
1576
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
1493
+ regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
1577
1494
  **kwargs: Any
1578
1495
  ) -> _models.StorageAccountListKeysResult:
1579
1496
  """Regenerates one of the access keys or Kerberos keys for the specified storage account.
@@ -1586,18 +1503,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1586
1503
  lower-case letters only. Required.
1587
1504
  :type account_name: str
1588
1505
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1589
- kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
1506
+ kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
1507
+ Required.
1590
1508
  :type regenerate_key:
1591
- ~azure.mgmt.storage.v2022_09_01.models.StorageAccountRegenerateKeyParameters or IO
1592
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1593
- Default value is None.
1594
- :paramtype content_type: str
1595
- :keyword callable cls: A custom type or function that will be passed the direct response
1509
+ ~azure.mgmt.storage.v2022_09_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1596
1510
  :return: StorageAccountListKeysResult or the result of cls(response)
1597
1511
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.StorageAccountListKeysResult
1598
1512
  :raises ~azure.core.exceptions.HttpResponseError:
1599
1513
  """
1600
- error_map = {
1514
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1601
1515
  401: ClientAuthenticationError,
1602
1516
  404: ResourceNotFoundError,
1603
1517
  409: ResourceExistsError,
@@ -1620,7 +1534,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1620
1534
  else:
1621
1535
  _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1622
1536
 
1623
- request = build_regenerate_key_request(
1537
+ _request = build_regenerate_key_request(
1624
1538
  resource_group_name=resource_group_name,
1625
1539
  account_name=account_name,
1626
1540
  subscription_id=self._config.subscription_id,
@@ -1628,16 +1542,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1628
1542
  content_type=content_type,
1629
1543
  json=_json,
1630
1544
  content=_content,
1631
- template_url=self.regenerate_key.metadata["url"],
1632
1545
  headers=_headers,
1633
1546
  params=_params,
1634
1547
  )
1635
- request = _convert_request(request)
1636
- request.url = self._client.format_url(request.url)
1548
+ _request = _convert_request(_request)
1549
+ _request.url = self._client.format_url(_request.url)
1637
1550
 
1638
1551
  _stream = False
1639
1552
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1640
- request, stream=_stream, **kwargs
1553
+ _request, stream=_stream, **kwargs
1641
1554
  )
1642
1555
 
1643
1556
  response = pipeline_response.http_response
@@ -1649,13 +1562,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1649
1562
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1650
1563
 
1651
1564
  if cls:
1652
- return cls(pipeline_response, deserialized, {})
1653
-
1654
- return deserialized
1565
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1655
1566
 
1656
- regenerate_key.metadata = {
1657
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
1658
- }
1567
+ return deserialized # type: ignore
1659
1568
 
1660
1569
  @overload
1661
1570
  def list_account_sas(
@@ -1682,7 +1591,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1682
1591
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1683
1592
  Default value is "application/json".
1684
1593
  :paramtype content_type: str
1685
- :keyword callable cls: A custom type or function that will be passed the direct response
1686
1594
  :return: ListAccountSasResponse or the result of cls(response)
1687
1595
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.ListAccountSasResponse
1688
1596
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1693,7 +1601,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1693
1601
  self,
1694
1602
  resource_group_name: str,
1695
1603
  account_name: str,
1696
- parameters: IO,
1604
+ parameters: IO[bytes],
1697
1605
  *,
1698
1606
  content_type: str = "application/json",
1699
1607
  **kwargs: Any
@@ -1709,11 +1617,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1709
1617
  :type account_name: str
1710
1618
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1711
1619
  Required.
1712
- :type parameters: IO
1620
+ :type parameters: IO[bytes]
1713
1621
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1714
1622
  Default value is "application/json".
1715
1623
  :paramtype content_type: str
1716
- :keyword callable cls: A custom type or function that will be passed the direct response
1717
1624
  :return: ListAccountSasResponse or the result of cls(response)
1718
1625
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.ListAccountSasResponse
1719
1626
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1724,7 +1631,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1724
1631
  self,
1725
1632
  resource_group_name: str,
1726
1633
  account_name: str,
1727
- parameters: Union[_models.AccountSasParameters, IO],
1634
+ parameters: Union[_models.AccountSasParameters, IO[bytes]],
1728
1635
  **kwargs: Any
1729
1636
  ) -> _models.ListAccountSasResponse:
1730
1637
  """List SAS credentials of a storage account.
@@ -1737,17 +1644,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1737
1644
  lower-case letters only. Required.
1738
1645
  :type account_name: str
1739
1646
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1740
- Is either a AccountSasParameters type or a IO type. Required.
1741
- :type parameters: ~azure.mgmt.storage.v2022_09_01.models.AccountSasParameters or IO
1742
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1743
- Default value is None.
1744
- :paramtype content_type: str
1745
- :keyword callable cls: A custom type or function that will be passed the direct response
1647
+ Is either a AccountSasParameters type or a IO[bytes] type. Required.
1648
+ :type parameters: ~azure.mgmt.storage.v2022_09_01.models.AccountSasParameters or IO[bytes]
1746
1649
  :return: ListAccountSasResponse or the result of cls(response)
1747
1650
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.ListAccountSasResponse
1748
1651
  :raises ~azure.core.exceptions.HttpResponseError:
1749
1652
  """
1750
- error_map = {
1653
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1751
1654
  401: ClientAuthenticationError,
1752
1655
  404: ResourceNotFoundError,
1753
1656
  409: ResourceExistsError,
@@ -1770,7 +1673,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1770
1673
  else:
1771
1674
  _json = self._serialize.body(parameters, "AccountSasParameters")
1772
1675
 
1773
- request = build_list_account_sas_request(
1676
+ _request = build_list_account_sas_request(
1774
1677
  resource_group_name=resource_group_name,
1775
1678
  account_name=account_name,
1776
1679
  subscription_id=self._config.subscription_id,
@@ -1778,16 +1681,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1778
1681
  content_type=content_type,
1779
1682
  json=_json,
1780
1683
  content=_content,
1781
- template_url=self.list_account_sas.metadata["url"],
1782
1684
  headers=_headers,
1783
1685
  params=_params,
1784
1686
  )
1785
- request = _convert_request(request)
1786
- request.url = self._client.format_url(request.url)
1687
+ _request = _convert_request(_request)
1688
+ _request.url = self._client.format_url(_request.url)
1787
1689
 
1788
1690
  _stream = False
1789
1691
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1790
- request, stream=_stream, **kwargs
1692
+ _request, stream=_stream, **kwargs
1791
1693
  )
1792
1694
 
1793
1695
  response = pipeline_response.http_response
@@ -1799,13 +1701,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1799
1701
  deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
1800
1702
 
1801
1703
  if cls:
1802
- return cls(pipeline_response, deserialized, {})
1803
-
1804
- return deserialized
1704
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1805
1705
 
1806
- list_account_sas.metadata = {
1807
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
1808
- }
1706
+ return deserialized # type: ignore
1809
1707
 
1810
1708
  @overload
1811
1709
  def list_service_sas(
@@ -1831,7 +1729,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1831
1729
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1832
1730
  Default value is "application/json".
1833
1731
  :paramtype content_type: str
1834
- :keyword callable cls: A custom type or function that will be passed the direct response
1835
1732
  :return: ListServiceSasResponse or the result of cls(response)
1836
1733
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.ListServiceSasResponse
1837
1734
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1842,7 +1739,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1842
1739
  self,
1843
1740
  resource_group_name: str,
1844
1741
  account_name: str,
1845
- parameters: IO,
1742
+ parameters: IO[bytes],
1846
1743
  *,
1847
1744
  content_type: str = "application/json",
1848
1745
  **kwargs: Any
@@ -1857,11 +1754,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1857
1754
  lower-case letters only. Required.
1858
1755
  :type account_name: str
1859
1756
  :param parameters: The parameters to provide to list service SAS credentials. Required.
1860
- :type parameters: IO
1757
+ :type parameters: IO[bytes]
1861
1758
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1862
1759
  Default value is "application/json".
1863
1760
  :paramtype content_type: str
1864
- :keyword callable cls: A custom type or function that will be passed the direct response
1865
1761
  :return: ListServiceSasResponse or the result of cls(response)
1866
1762
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.ListServiceSasResponse
1867
1763
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1872,7 +1768,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1872
1768
  self,
1873
1769
  resource_group_name: str,
1874
1770
  account_name: str,
1875
- parameters: Union[_models.ServiceSasParameters, IO],
1771
+ parameters: Union[_models.ServiceSasParameters, IO[bytes]],
1876
1772
  **kwargs: Any
1877
1773
  ) -> _models.ListServiceSasResponse:
1878
1774
  """List service SAS credentials of a specific resource.
@@ -1885,17 +1781,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1885
1781
  lower-case letters only. Required.
1886
1782
  :type account_name: str
1887
1783
  :param parameters: The parameters to provide to list service SAS credentials. Is either a
1888
- ServiceSasParameters type or a IO type. Required.
1889
- :type parameters: ~azure.mgmt.storage.v2022_09_01.models.ServiceSasParameters or IO
1890
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1891
- Default value is None.
1892
- :paramtype content_type: str
1893
- :keyword callable cls: A custom type or function that will be passed the direct response
1784
+ ServiceSasParameters type or a IO[bytes] type. Required.
1785
+ :type parameters: ~azure.mgmt.storage.v2022_09_01.models.ServiceSasParameters or IO[bytes]
1894
1786
  :return: ListServiceSasResponse or the result of cls(response)
1895
1787
  :rtype: ~azure.mgmt.storage.v2022_09_01.models.ListServiceSasResponse
1896
1788
  :raises ~azure.core.exceptions.HttpResponseError:
1897
1789
  """
1898
- error_map = {
1790
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1899
1791
  401: ClientAuthenticationError,
1900
1792
  404: ResourceNotFoundError,
1901
1793
  409: ResourceExistsError,
@@ -1918,7 +1810,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1918
1810
  else:
1919
1811
  _json = self._serialize.body(parameters, "ServiceSasParameters")
1920
1812
 
1921
- request = build_list_service_sas_request(
1813
+ _request = build_list_service_sas_request(
1922
1814
  resource_group_name=resource_group_name,
1923
1815
  account_name=account_name,
1924
1816
  subscription_id=self._config.subscription_id,
@@ -1926,16 +1818,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1926
1818
  content_type=content_type,
1927
1819
  json=_json,
1928
1820
  content=_content,
1929
- template_url=self.list_service_sas.metadata["url"],
1930
1821
  headers=_headers,
1931
1822
  params=_params,
1932
1823
  )
1933
- request = _convert_request(request)
1934
- request.url = self._client.format_url(request.url)
1824
+ _request = _convert_request(_request)
1825
+ _request.url = self._client.format_url(_request.url)
1935
1826
 
1936
1827
  _stream = False
1937
1828
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1938
- request, stream=_stream, **kwargs
1829
+ _request, stream=_stream, **kwargs
1939
1830
  )
1940
1831
 
1941
1832
  response = pipeline_response.http_response
@@ -1947,18 +1838,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1947
1838
  deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
1948
1839
 
1949
1840
  if cls:
1950
- return cls(pipeline_response, deserialized, {})
1951
-
1952
- return deserialized
1841
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1953
1842
 
1954
- list_service_sas.metadata = {
1955
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
1956
- }
1843
+ return deserialized # type: ignore
1957
1844
 
1958
1845
  def _failover_initial( # pylint: disable=inconsistent-return-statements
1959
1846
  self, resource_group_name: str, account_name: str, failover_type: Literal["Planned"] = "Planned", **kwargs: Any
1960
1847
  ) -> None:
1961
- error_map = {
1848
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1962
1849
  401: ClientAuthenticationError,
1963
1850
  404: ResourceNotFoundError,
1964
1851
  409: ResourceExistsError,
@@ -1972,22 +1859,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1972
1859
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
1973
1860
  cls: ClsType[None] = kwargs.pop("cls", None)
1974
1861
 
1975
- request = build_failover_request(
1862
+ _request = build_failover_request(
1976
1863
  resource_group_name=resource_group_name,
1977
1864
  account_name=account_name,
1978
1865
  subscription_id=self._config.subscription_id,
1979
1866
  failover_type=failover_type,
1980
1867
  api_version=api_version,
1981
- template_url=self._failover_initial.metadata["url"],
1982
1868
  headers=_headers,
1983
1869
  params=_params,
1984
1870
  )
1985
- request = _convert_request(request)
1986
- request.url = self._client.format_url(request.url)
1871
+ _request = _convert_request(_request)
1872
+ _request.url = self._client.format_url(_request.url)
1987
1873
 
1988
1874
  _stream = False
1989
1875
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1990
- request, stream=_stream, **kwargs
1876
+ _request, stream=_stream, **kwargs
1991
1877
  )
1992
1878
 
1993
1879
  response = pipeline_response.http_response
@@ -1997,11 +1883,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1997
1883
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1998
1884
 
1999
1885
  if cls:
2000
- return cls(pipeline_response, None, {})
2001
-
2002
- _failover_initial.metadata = {
2003
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
2004
- }
1886
+ return cls(pipeline_response, None, {}) # type: ignore
2005
1887
 
2006
1888
  @distributed_trace
2007
1889
  def begin_failover(
@@ -2029,14 +1911,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2029
1911
  :param failover_type: The parameter is set to 'Planned' to indicate whether a Planned failover
2030
1912
  is requested. Known values are "Planned" and None. Default value is "Planned".
2031
1913
  :type failover_type: str
2032
- :keyword callable cls: A custom type or function that will be passed the direct response
2033
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2034
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2035
- operation to not poll, or pass in your own initialized polling object for a personal polling
2036
- strategy.
2037
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2038
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2039
- Retry-After header is present.
2040
1914
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2041
1915
  :rtype: ~azure.core.polling.LROPoller[None]
2042
1916
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2064,7 +1938,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2064
1938
 
2065
1939
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2066
1940
  if cls:
2067
- return cls(pipeline_response, None, {})
1941
+ return cls(pipeline_response, None, {}) # type: ignore
2068
1942
 
2069
1943
  if polling is True:
2070
1944
  polling_method: PollingMethod = cast(
@@ -2075,22 +1949,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2075
1949
  else:
2076
1950
  polling_method = polling
2077
1951
  if cont_token:
2078
- return LROPoller.from_continuation_token(
1952
+ return LROPoller[None].from_continuation_token(
2079
1953
  polling_method=polling_method,
2080
1954
  continuation_token=cont_token,
2081
1955
  client=self._client,
2082
1956
  deserialization_callback=get_long_running_output,
2083
1957
  )
2084
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2085
-
2086
- begin_failover.metadata = {
2087
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
2088
- }
1958
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2089
1959
 
2090
- def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements
1960
+ def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
2091
1961
  self, resource_group_name: str, account_name: str, request_type: str, **kwargs: Any
2092
1962
  ) -> None:
2093
- error_map = {
1963
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2094
1964
  401: ClientAuthenticationError,
2095
1965
  404: ResourceNotFoundError,
2096
1966
  409: ResourceExistsError,
@@ -2104,22 +1974,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2104
1974
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
2105
1975
  cls: ClsType[None] = kwargs.pop("cls", None)
2106
1976
 
2107
- request = build_hierarchical_namespace_migration_request(
1977
+ _request = build_hierarchical_namespace_migration_request(
2108
1978
  resource_group_name=resource_group_name,
2109
1979
  account_name=account_name,
2110
1980
  subscription_id=self._config.subscription_id,
2111
1981
  request_type=request_type,
2112
1982
  api_version=api_version,
2113
- template_url=self._hierarchical_namespace_migration_initial.metadata["url"],
2114
1983
  headers=_headers,
2115
1984
  params=_params,
2116
1985
  )
2117
- request = _convert_request(request)
2118
- request.url = self._client.format_url(request.url)
1986
+ _request = _convert_request(_request)
1987
+ _request.url = self._client.format_url(_request.url)
2119
1988
 
2120
1989
  _stream = False
2121
1990
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2122
- request, stream=_stream, **kwargs
1991
+ _request, stream=_stream, **kwargs
2123
1992
  )
2124
1993
 
2125
1994
  response = pipeline_response.http_response
@@ -2130,11 +1999,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2130
1999
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2131
2000
 
2132
2001
  if cls:
2133
- return cls(pipeline_response, None, {})
2134
-
2135
- _hierarchical_namespace_migration_initial.metadata = {
2136
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration"
2137
- }
2002
+ return cls(pipeline_response, None, {}) # type: ignore
2138
2003
 
2139
2004
  @distributed_trace
2140
2005
  def begin_hierarchical_namespace_migration(
@@ -2154,14 +2019,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2154
2019
  'HnsOnHydrationRequest'. The validation request will validate the migration whereas the
2155
2020
  hydration request will migrate the account. Required.
2156
2021
  :type request_type: str
2157
- :keyword callable cls: A custom type or function that will be passed the direct response
2158
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2159
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2160
- operation to not poll, or pass in your own initialized polling object for a personal polling
2161
- strategy.
2162
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2163
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2164
- Retry-After header is present.
2165
2022
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2166
2023
  :rtype: ~azure.core.polling.LROPoller[None]
2167
2024
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2189,7 +2046,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2189
2046
 
2190
2047
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2191
2048
  if cls:
2192
- return cls(pipeline_response, None, {})
2049
+ return cls(pipeline_response, None, {}) # type: ignore
2193
2050
 
2194
2051
  if polling is True:
2195
2052
  polling_method: PollingMethod = cast(
@@ -2200,22 +2057,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2200
2057
  else:
2201
2058
  polling_method = polling
2202
2059
  if cont_token:
2203
- return LROPoller.from_continuation_token(
2060
+ return LROPoller[None].from_continuation_token(
2204
2061
  polling_method=polling_method,
2205
2062
  continuation_token=cont_token,
2206
2063
  client=self._client,
2207
2064
  deserialization_callback=get_long_running_output,
2208
2065
  )
2209
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2210
-
2211
- begin_hierarchical_namespace_migration.metadata = {
2212
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration"
2213
- }
2066
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2214
2067
 
2215
- def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements
2068
+ def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
2216
2069
  self, resource_group_name: str, account_name: str, **kwargs: Any
2217
2070
  ) -> None:
2218
- error_map = {
2071
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2219
2072
  401: ClientAuthenticationError,
2220
2073
  404: ResourceNotFoundError,
2221
2074
  409: ResourceExistsError,
@@ -2229,21 +2082,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2229
2082
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
2230
2083
  cls: ClsType[None] = kwargs.pop("cls", None)
2231
2084
 
2232
- request = build_abort_hierarchical_namespace_migration_request(
2085
+ _request = build_abort_hierarchical_namespace_migration_request(
2233
2086
  resource_group_name=resource_group_name,
2234
2087
  account_name=account_name,
2235
2088
  subscription_id=self._config.subscription_id,
2236
2089
  api_version=api_version,
2237
- template_url=self._abort_hierarchical_namespace_migration_initial.metadata["url"],
2238
2090
  headers=_headers,
2239
2091
  params=_params,
2240
2092
  )
2241
- request = _convert_request(request)
2242
- request.url = self._client.format_url(request.url)
2093
+ _request = _convert_request(_request)
2094
+ _request.url = self._client.format_url(_request.url)
2243
2095
 
2244
2096
  _stream = False
2245
2097
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2246
- request, stream=_stream, **kwargs
2098
+ _request, stream=_stream, **kwargs
2247
2099
  )
2248
2100
 
2249
2101
  response = pipeline_response.http_response
@@ -2254,14 +2106,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2254
2106
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2255
2107
 
2256
2108
  if cls:
2257
- return cls(pipeline_response, None, {})
2258
-
2259
- _abort_hierarchical_namespace_migration_initial.metadata = {
2260
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration"
2261
- }
2109
+ return cls(pipeline_response, None, {}) # type: ignore
2262
2110
 
2263
2111
  @distributed_trace
2264
- def begin_abort_hierarchical_namespace_migration(
2112
+ def begin_abort_hierarchical_namespace_migration( # pylint: disable=name-too-long
2265
2113
  self, resource_group_name: str, account_name: str, **kwargs: Any
2266
2114
  ) -> LROPoller[None]:
2267
2115
  """Abort live Migration of storage account to enable Hns.
@@ -2273,14 +2121,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2273
2121
  Storage account names must be between 3 and 24 characters in length and use numbers and
2274
2122
  lower-case letters only. Required.
2275
2123
  :type account_name: str
2276
- :keyword callable cls: A custom type or function that will be passed the direct response
2277
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2278
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2279
- operation to not poll, or pass in your own initialized polling object for a personal polling
2280
- strategy.
2281
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2282
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2283
- Retry-After header is present.
2284
2124
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2285
2125
  :rtype: ~azure.core.polling.LROPoller[None]
2286
2126
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2307,7 +2147,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2307
2147
 
2308
2148
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2309
2149
  if cls:
2310
- return cls(pipeline_response, None, {})
2150
+ return cls(pipeline_response, None, {}) # type: ignore
2311
2151
 
2312
2152
  if polling is True:
2313
2153
  polling_method: PollingMethod = cast(
@@ -2318,26 +2158,22 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2318
2158
  else:
2319
2159
  polling_method = polling
2320
2160
  if cont_token:
2321
- return LROPoller.from_continuation_token(
2161
+ return LROPoller[None].from_continuation_token(
2322
2162
  polling_method=polling_method,
2323
2163
  continuation_token=cont_token,
2324
2164
  client=self._client,
2325
2165
  deserialization_callback=get_long_running_output,
2326
2166
  )
2327
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2328
-
2329
- begin_abort_hierarchical_namespace_migration.metadata = {
2330
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration"
2331
- }
2167
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2332
2168
 
2333
2169
  def _restore_blob_ranges_initial(
2334
2170
  self,
2335
2171
  resource_group_name: str,
2336
2172
  account_name: str,
2337
- parameters: Union[_models.BlobRestoreParameters, IO],
2173
+ parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
2338
2174
  **kwargs: Any
2339
2175
  ) -> _models.BlobRestoreStatus:
2340
- error_map = {
2176
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2341
2177
  401: ClientAuthenticationError,
2342
2178
  404: ResourceNotFoundError,
2343
2179
  409: ResourceExistsError,
@@ -2360,7 +2196,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2360
2196
  else:
2361
2197
  _json = self._serialize.body(parameters, "BlobRestoreParameters")
2362
2198
 
2363
- request = build_restore_blob_ranges_request(
2199
+ _request = build_restore_blob_ranges_request(
2364
2200
  resource_group_name=resource_group_name,
2365
2201
  account_name=account_name,
2366
2202
  subscription_id=self._config.subscription_id,
@@ -2368,16 +2204,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2368
2204
  content_type=content_type,
2369
2205
  json=_json,
2370
2206
  content=_content,
2371
- template_url=self._restore_blob_ranges_initial.metadata["url"],
2372
2207
  headers=_headers,
2373
2208
  params=_params,
2374
2209
  )
2375
- request = _convert_request(request)
2376
- request.url = self._client.format_url(request.url)
2210
+ _request = _convert_request(_request)
2211
+ _request.url = self._client.format_url(_request.url)
2377
2212
 
2378
2213
  _stream = False
2379
2214
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2380
- request, stream=_stream, **kwargs
2215
+ _request, stream=_stream, **kwargs
2381
2216
  )
2382
2217
 
2383
2218
  response = pipeline_response.http_response
@@ -2397,10 +2232,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2397
2232
 
2398
2233
  return deserialized # type: ignore
2399
2234
 
2400
- _restore_blob_ranges_initial.metadata = {
2401
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
2402
- }
2403
-
2404
2235
  @overload
2405
2236
  def begin_restore_blob_ranges(
2406
2237
  self,
@@ -2425,14 +2256,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2425
2256
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2426
2257
  Default value is "application/json".
2427
2258
  :paramtype content_type: str
2428
- :keyword callable cls: A custom type or function that will be passed the direct response
2429
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2430
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2431
- operation to not poll, or pass in your own initialized polling object for a personal polling
2432
- strategy.
2433
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2434
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2435
- Retry-After header is present.
2436
2259
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2437
2260
  cls(response)
2438
2261
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_09_01.models.BlobRestoreStatus]
@@ -2444,7 +2267,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2444
2267
  self,
2445
2268
  resource_group_name: str,
2446
2269
  account_name: str,
2447
- parameters: IO,
2270
+ parameters: IO[bytes],
2448
2271
  *,
2449
2272
  content_type: str = "application/json",
2450
2273
  **kwargs: Any
@@ -2459,18 +2282,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2459
2282
  lower-case letters only. Required.
2460
2283
  :type account_name: str
2461
2284
  :param parameters: The parameters to provide for restore blob ranges. Required.
2462
- :type parameters: IO
2285
+ :type parameters: IO[bytes]
2463
2286
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2464
2287
  Default value is "application/json".
2465
2288
  :paramtype content_type: str
2466
- :keyword callable cls: A custom type or function that will be passed the direct response
2467
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2468
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2469
- operation to not poll, or pass in your own initialized polling object for a personal polling
2470
- strategy.
2471
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2472
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2473
- Retry-After header is present.
2474
2289
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2475
2290
  cls(response)
2476
2291
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_09_01.models.BlobRestoreStatus]
@@ -2482,7 +2297,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2482
2297
  self,
2483
2298
  resource_group_name: str,
2484
2299
  account_name: str,
2485
- parameters: Union[_models.BlobRestoreParameters, IO],
2300
+ parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
2486
2301
  **kwargs: Any
2487
2302
  ) -> LROPoller[_models.BlobRestoreStatus]:
2488
2303
  """Restore blobs in the specified blob ranges.
@@ -2495,19 +2310,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2495
2310
  lower-case letters only. Required.
2496
2311
  :type account_name: str
2497
2312
  :param parameters: The parameters to provide for restore blob ranges. Is either a
2498
- BlobRestoreParameters type or a IO type. Required.
2499
- :type parameters: ~azure.mgmt.storage.v2022_09_01.models.BlobRestoreParameters or IO
2500
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2501
- Default value is None.
2502
- :paramtype content_type: str
2503
- :keyword callable cls: A custom type or function that will be passed the direct response
2504
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2505
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2506
- operation to not poll, or pass in your own initialized polling object for a personal polling
2507
- strategy.
2508
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2509
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2510
- Retry-After header is present.
2313
+ BlobRestoreParameters type or a IO[bytes] type. Required.
2314
+ :type parameters: ~azure.mgmt.storage.v2022_09_01.models.BlobRestoreParameters or IO[bytes]
2511
2315
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2512
2316
  cls(response)
2513
2317
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_09_01.models.BlobRestoreStatus]
@@ -2539,7 +2343,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2539
2343
  def get_long_running_output(pipeline_response):
2540
2344
  deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
2541
2345
  if cls:
2542
- return cls(pipeline_response, deserialized, {})
2346
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2543
2347
  return deserialized
2544
2348
 
2545
2349
  if polling is True:
@@ -2551,17 +2355,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2551
2355
  else:
2552
2356
  polling_method = polling
2553
2357
  if cont_token:
2554
- return LROPoller.from_continuation_token(
2358
+ return LROPoller[_models.BlobRestoreStatus].from_continuation_token(
2555
2359
  polling_method=polling_method,
2556
2360
  continuation_token=cont_token,
2557
2361
  client=self._client,
2558
2362
  deserialization_callback=get_long_running_output,
2559
2363
  )
2560
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2561
-
2562
- begin_restore_blob_ranges.metadata = {
2563
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
2564
- }
2364
+ return LROPoller[_models.BlobRestoreStatus](
2365
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
2366
+ )
2565
2367
 
2566
2368
  @distributed_trace
2567
2369
  def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
@@ -2576,12 +2378,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2576
2378
  Storage account names must be between 3 and 24 characters in length and use numbers and
2577
2379
  lower-case letters only. Required.
2578
2380
  :type account_name: str
2579
- :keyword callable cls: A custom type or function that will be passed the direct response
2580
2381
  :return: None or the result of cls(response)
2581
2382
  :rtype: None
2582
2383
  :raises ~azure.core.exceptions.HttpResponseError:
2583
2384
  """
2584
- error_map = {
2385
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2585
2386
  401: ClientAuthenticationError,
2586
2387
  404: ResourceNotFoundError,
2587
2388
  409: ResourceExistsError,
@@ -2595,21 +2396,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2595
2396
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-09-01"))
2596
2397
  cls: ClsType[None] = kwargs.pop("cls", None)
2597
2398
 
2598
- request = build_revoke_user_delegation_keys_request(
2399
+ _request = build_revoke_user_delegation_keys_request(
2599
2400
  resource_group_name=resource_group_name,
2600
2401
  account_name=account_name,
2601
2402
  subscription_id=self._config.subscription_id,
2602
2403
  api_version=api_version,
2603
- template_url=self.revoke_user_delegation_keys.metadata["url"],
2604
2404
  headers=_headers,
2605
2405
  params=_params,
2606
2406
  )
2607
- request = _convert_request(request)
2608
- request.url = self._client.format_url(request.url)
2407
+ _request = _convert_request(_request)
2408
+ _request.url = self._client.format_url(_request.url)
2609
2409
 
2610
2410
  _stream = False
2611
2411
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2612
- request, stream=_stream, **kwargs
2412
+ _request, stream=_stream, **kwargs
2613
2413
  )
2614
2414
 
2615
2415
  response = pipeline_response.http_response
@@ -2619,8 +2419,4 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2619
2419
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2620
2420
 
2621
2421
  if cls:
2622
- return cls(pipeline_response, None, {})
2623
-
2624
- revoke_user_delegation_keys.metadata = {
2625
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
2626
- }
2422
+ return cls(pipeline_response, None, {}) # type: ignore