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
 
@@ -441,7 +441,7 @@ def build_failover_request(
441
441
  return HttpRequest(method="POST", url=_url, params=_params, **kwargs)
442
442
 
443
443
 
444
- def build_hierarchical_namespace_migration_request(
444
+ def build_hierarchical_namespace_migration_request( # pylint: disable=name-too-long
445
445
  resource_group_name: str, account_name: str, subscription_id: str, *, request_type: str, **kwargs: Any
446
446
  ) -> HttpRequest:
447
447
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -475,7 +475,7 @@ def build_hierarchical_namespace_migration_request(
475
475
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
476
476
 
477
477
 
478
- def build_abort_hierarchical_namespace_migration_request(
478
+ def build_abort_hierarchical_namespace_migration_request( # pylint: disable=name-too-long
479
479
  resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
480
480
  ) -> HttpRequest:
481
481
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
@@ -544,7 +544,7 @@ def build_restore_blob_ranges_request(
544
544
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
545
545
 
546
546
 
547
- def build_revoke_user_delegation_keys_request(
547
+ def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
548
548
  resource_group_name: str, account_name: str, subscription_id: str, **kwargs: Any
549
549
  ) -> HttpRequest:
550
550
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
@@ -609,7 +609,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
609
609
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
610
610
  Default value is "application/json".
611
611
  :paramtype content_type: str
612
- :keyword callable cls: A custom type or function that will be passed the direct response
613
612
  :return: CheckNameAvailabilityResult or the result of cls(response)
614
613
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
615
614
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -617,18 +616,17 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
617
616
 
618
617
  @overload
619
618
  def check_name_availability(
620
- self, account_name: IO, *, content_type: str = "application/json", **kwargs: Any
619
+ self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
621
620
  ) -> _models.CheckNameAvailabilityResult:
622
621
  """Checks that the storage account name is valid and is not already in use.
623
622
 
624
623
  :param account_name: The name of the storage account within the specified resource group.
625
624
  Storage account names must be between 3 and 24 characters in length and use numbers and
626
625
  lower-case letters only. Required.
627
- :type account_name: IO
626
+ :type account_name: IO[bytes]
628
627
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
629
628
  Default value is "application/json".
630
629
  :paramtype content_type: str
631
- :keyword callable cls: A custom type or function that will be passed the direct response
632
630
  :return: CheckNameAvailabilityResult or the result of cls(response)
633
631
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
634
632
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -636,25 +634,22 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
636
634
 
637
635
  @distributed_trace
638
636
  def check_name_availability(
639
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO], **kwargs: Any
637
+ self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
640
638
  ) -> _models.CheckNameAvailabilityResult:
641
639
  """Checks that the storage account name is valid and is not already in use.
642
640
 
643
641
  :param account_name: The name of the storage account within the specified resource group.
644
642
  Storage account names must be between 3 and 24 characters in length and use numbers and
645
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a IO
646
- type. Required.
643
+ lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
644
+ IO[bytes] type. Required.
647
645
  :type account_name:
648
- ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCheckNameAvailabilityParameters or IO
649
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
650
- Default value is None.
651
- :paramtype content_type: str
652
- :keyword callable cls: A custom type or function that will be passed the direct response
646
+ ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCheckNameAvailabilityParameters or
647
+ IO[bytes]
653
648
  :return: CheckNameAvailabilityResult or the result of cls(response)
654
649
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
655
650
  :raises ~azure.core.exceptions.HttpResponseError:
656
651
  """
657
- error_map = {
652
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
658
653
  401: ClientAuthenticationError,
659
654
  404: ResourceNotFoundError,
660
655
  409: ResourceExistsError,
@@ -677,22 +672,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
677
672
  else:
678
673
  _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
679
674
 
680
- request = build_check_name_availability_request(
675
+ _request = build_check_name_availability_request(
681
676
  subscription_id=self._config.subscription_id,
682
677
  api_version=api_version,
683
678
  content_type=content_type,
684
679
  json=_json,
685
680
  content=_content,
686
- template_url=self.check_name_availability.metadata["url"],
687
681
  headers=_headers,
688
682
  params=_params,
689
683
  )
690
- request = _convert_request(request)
691
- request.url = self._client.format_url(request.url)
684
+ _request = _convert_request(_request)
685
+ _request.url = self._client.format_url(_request.url)
692
686
 
693
687
  _stream = False
694
688
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
695
- request, stream=_stream, **kwargs
689
+ _request, stream=_stream, **kwargs
696
690
  )
697
691
 
698
692
  response = pipeline_response.http_response
@@ -704,22 +698,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
704
698
  deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
705
699
 
706
700
  if cls:
707
- return cls(pipeline_response, deserialized, {})
708
-
709
- return deserialized
701
+ return cls(pipeline_response, deserialized, {}) # type: ignore
710
702
 
711
- check_name_availability.metadata = {
712
- "url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability"
713
- }
703
+ return deserialized # type: ignore
714
704
 
715
705
  def _create_initial(
716
706
  self,
717
707
  resource_group_name: str,
718
708
  account_name: str,
719
- parameters: Union[_models.StorageAccountCreateParameters, IO],
709
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
720
710
  **kwargs: Any
721
711
  ) -> Optional[_models.StorageAccount]:
722
- error_map = {
712
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
723
713
  401: ClientAuthenticationError,
724
714
  404: ResourceNotFoundError,
725
715
  409: ResourceExistsError,
@@ -742,7 +732,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
742
732
  else:
743
733
  _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
744
734
 
745
- request = build_create_request(
735
+ _request = build_create_request(
746
736
  resource_group_name=resource_group_name,
747
737
  account_name=account_name,
748
738
  subscription_id=self._config.subscription_id,
@@ -750,16 +740,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
750
740
  content_type=content_type,
751
741
  json=_json,
752
742
  content=_content,
753
- template_url=self._create_initial.metadata["url"],
754
743
  headers=_headers,
755
744
  params=_params,
756
745
  )
757
- request = _convert_request(request)
758
- request.url = self._client.format_url(request.url)
746
+ _request = _convert_request(_request)
747
+ _request.url = self._client.format_url(_request.url)
759
748
 
760
749
  _stream = False
761
750
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
762
- request, stream=_stream, **kwargs
751
+ _request, stream=_stream, **kwargs
763
752
  )
764
753
 
765
754
  response = pipeline_response.http_response
@@ -773,13 +762,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
773
762
  deserialized = self._deserialize("StorageAccount", pipeline_response)
774
763
 
775
764
  if cls:
776
- return cls(pipeline_response, deserialized, {})
777
-
778
- return deserialized
765
+ return cls(pipeline_response, deserialized, {}) # type: ignore
779
766
 
780
- _create_initial.metadata = {
781
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
782
- }
767
+ return deserialized # type: ignore
783
768
 
784
769
  @overload
785
770
  def begin_create(
@@ -808,14 +793,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
808
793
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
809
794
  Default value is "application/json".
810
795
  :paramtype content_type: str
811
- :keyword callable cls: A custom type or function that will be passed the direct response
812
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
813
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
814
- operation to not poll, or pass in your own initialized polling object for a personal polling
815
- strategy.
816
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
817
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
818
- Retry-After header is present.
819
796
  :return: An instance of LROPoller that returns either StorageAccount or the result of
820
797
  cls(response)
821
798
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
@@ -827,7 +804,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
827
804
  self,
828
805
  resource_group_name: str,
829
806
  account_name: str,
830
- parameters: IO,
807
+ parameters: IO[bytes],
831
808
  *,
832
809
  content_type: str = "application/json",
833
810
  **kwargs: Any
@@ -845,18 +822,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
845
822
  lower-case letters only. Required.
846
823
  :type account_name: str
847
824
  :param parameters: The parameters to provide for the created account. Required.
848
- :type parameters: IO
825
+ :type parameters: IO[bytes]
849
826
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
850
827
  Default value is "application/json".
851
828
  :paramtype content_type: str
852
- :keyword callable cls: A custom type or function that will be passed the direct response
853
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
854
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
855
- operation to not poll, or pass in your own initialized polling object for a personal polling
856
- strategy.
857
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
858
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
859
- Retry-After header is present.
860
829
  :return: An instance of LROPoller that returns either StorageAccount or the result of
861
830
  cls(response)
862
831
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
@@ -868,7 +837,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
868
837
  self,
869
838
  resource_group_name: str,
870
839
  account_name: str,
871
- parameters: Union[_models.StorageAccountCreateParameters, IO],
840
+ parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
872
841
  **kwargs: Any
873
842
  ) -> LROPoller[_models.StorageAccount]:
874
843
  """Asynchronously creates a new storage account with the specified parameters. If an account is
@@ -884,19 +853,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
884
853
  lower-case letters only. Required.
885
854
  :type account_name: str
886
855
  :param parameters: The parameters to provide for the created account. Is either a
887
- StorageAccountCreateParameters type or a IO type. Required.
888
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters or IO
889
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
890
- Default value is None.
891
- :paramtype content_type: str
892
- :keyword callable cls: A custom type or function that will be passed the direct response
893
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
894
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
895
- operation to not poll, or pass in your own initialized polling object for a personal polling
896
- strategy.
897
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
898
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
899
- Retry-After header is present.
856
+ StorageAccountCreateParameters type or a IO[bytes] type. Required.
857
+ :type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters or
858
+ IO[bytes]
900
859
  :return: An instance of LROPoller that returns either StorageAccount or the result of
901
860
  cls(response)
902
861
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
@@ -928,7 +887,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
928
887
  def get_long_running_output(pipeline_response):
929
888
  deserialized = self._deserialize("StorageAccount", pipeline_response)
930
889
  if cls:
931
- return cls(pipeline_response, deserialized, {})
890
+ return cls(pipeline_response, deserialized, {}) # type: ignore
932
891
  return deserialized
933
892
 
934
893
  if polling is True:
@@ -938,17 +897,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
938
897
  else:
939
898
  polling_method = polling
940
899
  if cont_token:
941
- return LROPoller.from_continuation_token(
900
+ return LROPoller[_models.StorageAccount].from_continuation_token(
942
901
  polling_method=polling_method,
943
902
  continuation_token=cont_token,
944
903
  client=self._client,
945
904
  deserialization_callback=get_long_running_output,
946
905
  )
947
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
948
-
949
- begin_create.metadata = {
950
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
951
- }
906
+ return LROPoller[_models.StorageAccount](
907
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
908
+ )
952
909
 
953
910
  @distributed_trace
954
911
  def delete( # pylint: disable=inconsistent-return-statements
@@ -963,12 +920,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
963
920
  Storage account names must be between 3 and 24 characters in length and use numbers and
964
921
  lower-case letters only. Required.
965
922
  :type account_name: str
966
- :keyword callable cls: A custom type or function that will be passed the direct response
967
923
  :return: None or the result of cls(response)
968
924
  :rtype: None
969
925
  :raises ~azure.core.exceptions.HttpResponseError:
970
926
  """
971
- error_map = {
927
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
972
928
  401: ClientAuthenticationError,
973
929
  404: ResourceNotFoundError,
974
930
  409: ResourceExistsError,
@@ -982,21 +938,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
982
938
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
983
939
  cls: ClsType[None] = kwargs.pop("cls", None)
984
940
 
985
- request = build_delete_request(
941
+ _request = build_delete_request(
986
942
  resource_group_name=resource_group_name,
987
943
  account_name=account_name,
988
944
  subscription_id=self._config.subscription_id,
989
945
  api_version=api_version,
990
- template_url=self.delete.metadata["url"],
991
946
  headers=_headers,
992
947
  params=_params,
993
948
  )
994
- request = _convert_request(request)
995
- request.url = self._client.format_url(request.url)
949
+ _request = _convert_request(_request)
950
+ _request.url = self._client.format_url(_request.url)
996
951
 
997
952
  _stream = False
998
953
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
999
- request, stream=_stream, **kwargs
954
+ _request, stream=_stream, **kwargs
1000
955
  )
1001
956
 
1002
957
  response = pipeline_response.http_response
@@ -1006,11 +961,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1006
961
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1007
962
 
1008
963
  if cls:
1009
- return cls(pipeline_response, None, {})
1010
-
1011
- delete.metadata = {
1012
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
1013
- }
964
+ return cls(pipeline_response, None, {}) # type: ignore
1014
965
 
1015
966
  @distributed_trace
1016
967
  def get_properties(
@@ -1036,12 +987,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1036
987
  and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
1037
988
  value is None.
1038
989
  :type expand: str or ~azure.mgmt.storage.v2022_05_01.models.StorageAccountExpand
1039
- :keyword callable cls: A custom type or function that will be passed the direct response
1040
990
  :return: StorageAccount or the result of cls(response)
1041
991
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
1042
992
  :raises ~azure.core.exceptions.HttpResponseError:
1043
993
  """
1044
- error_map = {
994
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1045
995
  401: ClientAuthenticationError,
1046
996
  404: ResourceNotFoundError,
1047
997
  409: ResourceExistsError,
@@ -1055,22 +1005,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1055
1005
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1056
1006
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
1057
1007
 
1058
- request = build_get_properties_request(
1008
+ _request = build_get_properties_request(
1059
1009
  resource_group_name=resource_group_name,
1060
1010
  account_name=account_name,
1061
1011
  subscription_id=self._config.subscription_id,
1062
1012
  expand=expand,
1063
1013
  api_version=api_version,
1064
- template_url=self.get_properties.metadata["url"],
1065
1014
  headers=_headers,
1066
1015
  params=_params,
1067
1016
  )
1068
- request = _convert_request(request)
1069
- request.url = self._client.format_url(request.url)
1017
+ _request = _convert_request(_request)
1018
+ _request.url = self._client.format_url(_request.url)
1070
1019
 
1071
1020
  _stream = False
1072
1021
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1073
- request, stream=_stream, **kwargs
1022
+ _request, stream=_stream, **kwargs
1074
1023
  )
1075
1024
 
1076
1025
  response = pipeline_response.http_response
@@ -1082,13 +1031,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1082
1031
  deserialized = self._deserialize("StorageAccount", pipeline_response)
1083
1032
 
1084
1033
  if cls:
1085
- return cls(pipeline_response, deserialized, {})
1086
-
1087
- return deserialized
1034
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1088
1035
 
1089
- get_properties.metadata = {
1090
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
1091
- }
1036
+ return deserialized # type: ignore
1092
1037
 
1093
1038
  @overload
1094
1039
  def update(
@@ -1121,7 +1066,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1121
1066
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1122
1067
  Default value is "application/json".
1123
1068
  :paramtype content_type: str
1124
- :keyword callable cls: A custom type or function that will be passed the direct response
1125
1069
  :return: StorageAccount or the result of cls(response)
1126
1070
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
1127
1071
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1132,7 +1076,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1132
1076
  self,
1133
1077
  resource_group_name: str,
1134
1078
  account_name: str,
1135
- parameters: IO,
1079
+ parameters: IO[bytes],
1136
1080
  *,
1137
1081
  content_type: str = "application/json",
1138
1082
  **kwargs: Any
@@ -1154,11 +1098,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1154
1098
  lower-case letters only. Required.
1155
1099
  :type account_name: str
1156
1100
  :param parameters: The parameters to provide for the updated account. Required.
1157
- :type parameters: IO
1101
+ :type parameters: IO[bytes]
1158
1102
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1159
1103
  Default value is "application/json".
1160
1104
  :paramtype content_type: str
1161
- :keyword callable cls: A custom type or function that will be passed the direct response
1162
1105
  :return: StorageAccount or the result of cls(response)
1163
1106
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
1164
1107
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1169,7 +1112,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1169
1112
  self,
1170
1113
  resource_group_name: str,
1171
1114
  account_name: str,
1172
- parameters: Union[_models.StorageAccountUpdateParameters, IO],
1115
+ parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
1173
1116
  **kwargs: Any
1174
1117
  ) -> _models.StorageAccount:
1175
1118
  """The update operation can be used to update the SKU, encryption, access tier, or tags for a
@@ -1189,17 +1132,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1189
1132
  lower-case letters only. Required.
1190
1133
  :type account_name: str
1191
1134
  :param parameters: The parameters to provide for the updated account. Is either a
1192
- StorageAccountUpdateParameters type or a IO type. Required.
1193
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountUpdateParameters or IO
1194
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1195
- Default value is None.
1196
- :paramtype content_type: str
1197
- :keyword callable cls: A custom type or function that will be passed the direct response
1135
+ StorageAccountUpdateParameters type or a IO[bytes] type. Required.
1136
+ :type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountUpdateParameters or
1137
+ IO[bytes]
1198
1138
  :return: StorageAccount or the result of cls(response)
1199
1139
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
1200
1140
  :raises ~azure.core.exceptions.HttpResponseError:
1201
1141
  """
1202
- error_map = {
1142
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1203
1143
  401: ClientAuthenticationError,
1204
1144
  404: ResourceNotFoundError,
1205
1145
  409: ResourceExistsError,
@@ -1222,7 +1162,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1222
1162
  else:
1223
1163
  _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
1224
1164
 
1225
- request = build_update_request(
1165
+ _request = build_update_request(
1226
1166
  resource_group_name=resource_group_name,
1227
1167
  account_name=account_name,
1228
1168
  subscription_id=self._config.subscription_id,
@@ -1230,16 +1170,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1230
1170
  content_type=content_type,
1231
1171
  json=_json,
1232
1172
  content=_content,
1233
- template_url=self.update.metadata["url"],
1234
1173
  headers=_headers,
1235
1174
  params=_params,
1236
1175
  )
1237
- request = _convert_request(request)
1238
- request.url = self._client.format_url(request.url)
1176
+ _request = _convert_request(_request)
1177
+ _request.url = self._client.format_url(_request.url)
1239
1178
 
1240
1179
  _stream = False
1241
1180
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1242
- request, stream=_stream, **kwargs
1181
+ _request, stream=_stream, **kwargs
1243
1182
  )
1244
1183
 
1245
1184
  response = pipeline_response.http_response
@@ -1251,20 +1190,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1251
1190
  deserialized = self._deserialize("StorageAccount", pipeline_response)
1252
1191
 
1253
1192
  if cls:
1254
- return cls(pipeline_response, deserialized, {})
1255
-
1256
- return deserialized
1193
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1257
1194
 
1258
- update.metadata = {
1259
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"
1260
- }
1195
+ return deserialized # type: ignore
1261
1196
 
1262
1197
  @distributed_trace
1263
1198
  def list(self, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1264
1199
  """Lists all the storage accounts available under the subscription. Note that storage keys are not
1265
1200
  returned; use the ListKeys operation for this.
1266
1201
 
1267
- :keyword callable cls: A custom type or function that will be passed the direct response
1268
1202
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1269
1203
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
1270
1204
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1275,7 +1209,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1275
1209
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1276
1210
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1277
1211
 
1278
- error_map = {
1212
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1279
1213
  401: ClientAuthenticationError,
1280
1214
  404: ResourceNotFoundError,
1281
1215
  409: ResourceExistsError,
@@ -1286,15 +1220,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1286
1220
  def prepare_request(next_link=None):
1287
1221
  if not next_link:
1288
1222
 
1289
- request = build_list_request(
1223
+ _request = build_list_request(
1290
1224
  subscription_id=self._config.subscription_id,
1291
1225
  api_version=api_version,
1292
- template_url=self.list.metadata["url"],
1293
1226
  headers=_headers,
1294
1227
  params=_params,
1295
1228
  )
1296
- request = _convert_request(request)
1297
- request.url = self._client.format_url(request.url)
1229
+ _request = _convert_request(_request)
1230
+ _request.url = self._client.format_url(_request.url)
1298
1231
 
1299
1232
  else:
1300
1233
  # make call to next link with the client's api-version
@@ -1305,14 +1238,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1305
1238
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1306
1239
  }
1307
1240
  )
1308
- _next_request_params["api-version"] = self._config.api_version
1309
- request = HttpRequest(
1241
+ _next_request_params["api-version"] = self._api_version
1242
+ _request = HttpRequest(
1310
1243
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1311
1244
  )
1312
- request = _convert_request(request)
1313
- request.url = self._client.format_url(request.url)
1314
- request.method = "GET"
1315
- return request
1245
+ _request = _convert_request(_request)
1246
+ _request.url = self._client.format_url(_request.url)
1247
+ _request.method = "GET"
1248
+ return _request
1316
1249
 
1317
1250
  def extract_data(pipeline_response):
1318
1251
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1322,11 +1255,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1322
1255
  return deserialized.next_link or None, iter(list_of_elem)
1323
1256
 
1324
1257
  def get_next(next_link=None):
1325
- request = prepare_request(next_link)
1258
+ _request = prepare_request(next_link)
1326
1259
 
1327
1260
  _stream = False
1328
1261
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1329
- request, stream=_stream, **kwargs
1262
+ _request, stream=_stream, **kwargs
1330
1263
  )
1331
1264
  response = pipeline_response.http_response
1332
1265
 
@@ -1338,8 +1271,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1338
1271
 
1339
1272
  return ItemPaged(get_next, extract_data)
1340
1273
 
1341
- list.metadata = {"url": "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts"}
1342
-
1343
1274
  @distributed_trace
1344
1275
  def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Iterable["_models.StorageAccount"]:
1345
1276
  """Lists all the storage accounts available under the given resource group. Note that storage keys
@@ -1348,7 +1279,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1348
1279
  :param resource_group_name: The name of the resource group within the user's subscription. The
1349
1280
  name is case insensitive. Required.
1350
1281
  :type resource_group_name: str
1351
- :keyword callable cls: A custom type or function that will be passed the direct response
1352
1282
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1353
1283
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
1354
1284
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1359,7 +1289,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1359
1289
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1360
1290
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1361
1291
 
1362
- error_map = {
1292
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1363
1293
  401: ClientAuthenticationError,
1364
1294
  404: ResourceNotFoundError,
1365
1295
  409: ResourceExistsError,
@@ -1370,16 +1300,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1370
1300
  def prepare_request(next_link=None):
1371
1301
  if not next_link:
1372
1302
 
1373
- request = build_list_by_resource_group_request(
1303
+ _request = build_list_by_resource_group_request(
1374
1304
  resource_group_name=resource_group_name,
1375
1305
  subscription_id=self._config.subscription_id,
1376
1306
  api_version=api_version,
1377
- template_url=self.list_by_resource_group.metadata["url"],
1378
1307
  headers=_headers,
1379
1308
  params=_params,
1380
1309
  )
1381
- request = _convert_request(request)
1382
- request.url = self._client.format_url(request.url)
1310
+ _request = _convert_request(_request)
1311
+ _request.url = self._client.format_url(_request.url)
1383
1312
 
1384
1313
  else:
1385
1314
  # make call to next link with the client's api-version
@@ -1390,14 +1319,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1390
1319
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
1391
1320
  }
1392
1321
  )
1393
- _next_request_params["api-version"] = self._config.api_version
1394
- request = HttpRequest(
1322
+ _next_request_params["api-version"] = self._api_version
1323
+ _request = HttpRequest(
1395
1324
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1396
1325
  )
1397
- request = _convert_request(request)
1398
- request.url = self._client.format_url(request.url)
1399
- request.method = "GET"
1400
- return request
1326
+ _request = _convert_request(_request)
1327
+ _request.url = self._client.format_url(_request.url)
1328
+ _request.method = "GET"
1329
+ return _request
1401
1330
 
1402
1331
  def extract_data(pipeline_response):
1403
1332
  deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
@@ -1407,11 +1336,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1407
1336
  return deserialized.next_link or None, iter(list_of_elem)
1408
1337
 
1409
1338
  def get_next(next_link=None):
1410
- request = prepare_request(next_link)
1339
+ _request = prepare_request(next_link)
1411
1340
 
1412
1341
  _stream = False
1413
1342
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1414
- request, stream=_stream, **kwargs
1343
+ _request, stream=_stream, **kwargs
1415
1344
  )
1416
1345
  response = pipeline_response.http_response
1417
1346
 
@@ -1423,10 +1352,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1423
1352
 
1424
1353
  return ItemPaged(get_next, extract_data)
1425
1354
 
1426
- list_by_resource_group.metadata = {
1427
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts"
1428
- }
1429
-
1430
1355
  @distributed_trace
1431
1356
  def list_keys(
1432
1357
  self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
@@ -1444,12 +1369,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1444
1369
  :param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
1445
1370
  "kerb" and None. Default value is "kerb".
1446
1371
  :type expand: str
1447
- :keyword callable cls: A custom type or function that will be passed the direct response
1448
1372
  :return: StorageAccountListKeysResult or the result of cls(response)
1449
1373
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
1450
1374
  :raises ~azure.core.exceptions.HttpResponseError:
1451
1375
  """
1452
- error_map = {
1376
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1453
1377
  401: ClientAuthenticationError,
1454
1378
  404: ResourceNotFoundError,
1455
1379
  409: ResourceExistsError,
@@ -1463,22 +1387,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1463
1387
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1464
1388
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1465
1389
 
1466
- request = build_list_keys_request(
1390
+ _request = build_list_keys_request(
1467
1391
  resource_group_name=resource_group_name,
1468
1392
  account_name=account_name,
1469
1393
  subscription_id=self._config.subscription_id,
1470
1394
  expand=expand,
1471
1395
  api_version=api_version,
1472
- template_url=self.list_keys.metadata["url"],
1473
1396
  headers=_headers,
1474
1397
  params=_params,
1475
1398
  )
1476
- request = _convert_request(request)
1477
- request.url = self._client.format_url(request.url)
1399
+ _request = _convert_request(_request)
1400
+ _request.url = self._client.format_url(_request.url)
1478
1401
 
1479
1402
  _stream = False
1480
1403
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1481
- request, stream=_stream, **kwargs
1404
+ _request, stream=_stream, **kwargs
1482
1405
  )
1483
1406
 
1484
1407
  response = pipeline_response.http_response
@@ -1490,13 +1413,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1490
1413
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1491
1414
 
1492
1415
  if cls:
1493
- return cls(pipeline_response, deserialized, {})
1494
-
1495
- return deserialized
1416
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1496
1417
 
1497
- list_keys.metadata = {
1498
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys"
1499
- }
1418
+ return deserialized # type: ignore
1500
1419
 
1501
1420
  @overload
1502
1421
  def regenerate_key(
@@ -1524,7 +1443,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1524
1443
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1525
1444
  Default value is "application/json".
1526
1445
  :paramtype content_type: str
1527
- :keyword callable cls: A custom type or function that will be passed the direct response
1528
1446
  :return: StorageAccountListKeysResult or the result of cls(response)
1529
1447
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
1530
1448
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1535,7 +1453,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1535
1453
  self,
1536
1454
  resource_group_name: str,
1537
1455
  account_name: str,
1538
- regenerate_key: IO,
1456
+ regenerate_key: IO[bytes],
1539
1457
  *,
1540
1458
  content_type: str = "application/json",
1541
1459
  **kwargs: Any
@@ -1551,11 +1469,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1551
1469
  :type account_name: str
1552
1470
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1553
1471
  kerb1, kerb2. Required.
1554
- :type regenerate_key: IO
1472
+ :type regenerate_key: IO[bytes]
1555
1473
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1556
1474
  Default value is "application/json".
1557
1475
  :paramtype content_type: str
1558
- :keyword callable cls: A custom type or function that will be passed the direct response
1559
1476
  :return: StorageAccountListKeysResult or the result of cls(response)
1560
1477
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
1561
1478
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1566,7 +1483,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1566
1483
  self,
1567
1484
  resource_group_name: str,
1568
1485
  account_name: str,
1569
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO],
1486
+ regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
1570
1487
  **kwargs: Any
1571
1488
  ) -> _models.StorageAccountListKeysResult:
1572
1489
  """Regenerates one of the access keys or Kerberos keys for the specified storage account.
@@ -1579,18 +1496,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1579
1496
  lower-case letters only. Required.
1580
1497
  :type account_name: str
1581
1498
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1582
- kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO type. Required.
1499
+ kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
1500
+ Required.
1583
1501
  :type regenerate_key:
1584
- ~azure.mgmt.storage.v2022_05_01.models.StorageAccountRegenerateKeyParameters or IO
1585
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1586
- Default value is None.
1587
- :paramtype content_type: str
1588
- :keyword callable cls: A custom type or function that will be passed the direct response
1502
+ ~azure.mgmt.storage.v2022_05_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1589
1503
  :return: StorageAccountListKeysResult or the result of cls(response)
1590
1504
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
1591
1505
  :raises ~azure.core.exceptions.HttpResponseError:
1592
1506
  """
1593
- error_map = {
1507
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1594
1508
  401: ClientAuthenticationError,
1595
1509
  404: ResourceNotFoundError,
1596
1510
  409: ResourceExistsError,
@@ -1613,7 +1527,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1613
1527
  else:
1614
1528
  _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1615
1529
 
1616
- request = build_regenerate_key_request(
1530
+ _request = build_regenerate_key_request(
1617
1531
  resource_group_name=resource_group_name,
1618
1532
  account_name=account_name,
1619
1533
  subscription_id=self._config.subscription_id,
@@ -1621,16 +1535,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1621
1535
  content_type=content_type,
1622
1536
  json=_json,
1623
1537
  content=_content,
1624
- template_url=self.regenerate_key.metadata["url"],
1625
1538
  headers=_headers,
1626
1539
  params=_params,
1627
1540
  )
1628
- request = _convert_request(request)
1629
- request.url = self._client.format_url(request.url)
1541
+ _request = _convert_request(_request)
1542
+ _request.url = self._client.format_url(_request.url)
1630
1543
 
1631
1544
  _stream = False
1632
1545
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1633
- request, stream=_stream, **kwargs
1546
+ _request, stream=_stream, **kwargs
1634
1547
  )
1635
1548
 
1636
1549
  response = pipeline_response.http_response
@@ -1642,13 +1555,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1642
1555
  deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1643
1556
 
1644
1557
  if cls:
1645
- return cls(pipeline_response, deserialized, {})
1646
-
1647
- return deserialized
1558
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1648
1559
 
1649
- regenerate_key.metadata = {
1650
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"
1651
- }
1560
+ return deserialized # type: ignore
1652
1561
 
1653
1562
  @overload
1654
1563
  def list_account_sas(
@@ -1675,7 +1584,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1675
1584
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1676
1585
  Default value is "application/json".
1677
1586
  :paramtype content_type: str
1678
- :keyword callable cls: A custom type or function that will be passed the direct response
1679
1587
  :return: ListAccountSasResponse or the result of cls(response)
1680
1588
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
1681
1589
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1686,7 +1594,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1686
1594
  self,
1687
1595
  resource_group_name: str,
1688
1596
  account_name: str,
1689
- parameters: IO,
1597
+ parameters: IO[bytes],
1690
1598
  *,
1691
1599
  content_type: str = "application/json",
1692
1600
  **kwargs: Any
@@ -1702,11 +1610,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1702
1610
  :type account_name: str
1703
1611
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1704
1612
  Required.
1705
- :type parameters: IO
1613
+ :type parameters: IO[bytes]
1706
1614
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1707
1615
  Default value is "application/json".
1708
1616
  :paramtype content_type: str
1709
- :keyword callable cls: A custom type or function that will be passed the direct response
1710
1617
  :return: ListAccountSasResponse or the result of cls(response)
1711
1618
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
1712
1619
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1717,7 +1624,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1717
1624
  self,
1718
1625
  resource_group_name: str,
1719
1626
  account_name: str,
1720
- parameters: Union[_models.AccountSasParameters, IO],
1627
+ parameters: Union[_models.AccountSasParameters, IO[bytes]],
1721
1628
  **kwargs: Any
1722
1629
  ) -> _models.ListAccountSasResponse:
1723
1630
  """List SAS credentials of a storage account.
@@ -1730,17 +1637,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1730
1637
  lower-case letters only. Required.
1731
1638
  :type account_name: str
1732
1639
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1733
- Is either a AccountSasParameters type or a IO type. Required.
1734
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.AccountSasParameters or IO
1735
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1736
- Default value is None.
1737
- :paramtype content_type: str
1738
- :keyword callable cls: A custom type or function that will be passed the direct response
1640
+ Is either a AccountSasParameters type or a IO[bytes] type. Required.
1641
+ :type parameters: ~azure.mgmt.storage.v2022_05_01.models.AccountSasParameters or IO[bytes]
1739
1642
  :return: ListAccountSasResponse or the result of cls(response)
1740
1643
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
1741
1644
  :raises ~azure.core.exceptions.HttpResponseError:
1742
1645
  """
1743
- error_map = {
1646
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1744
1647
  401: ClientAuthenticationError,
1745
1648
  404: ResourceNotFoundError,
1746
1649
  409: ResourceExistsError,
@@ -1763,7 +1666,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1763
1666
  else:
1764
1667
  _json = self._serialize.body(parameters, "AccountSasParameters")
1765
1668
 
1766
- request = build_list_account_sas_request(
1669
+ _request = build_list_account_sas_request(
1767
1670
  resource_group_name=resource_group_name,
1768
1671
  account_name=account_name,
1769
1672
  subscription_id=self._config.subscription_id,
@@ -1771,16 +1674,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1771
1674
  content_type=content_type,
1772
1675
  json=_json,
1773
1676
  content=_content,
1774
- template_url=self.list_account_sas.metadata["url"],
1775
1677
  headers=_headers,
1776
1678
  params=_params,
1777
1679
  )
1778
- request = _convert_request(request)
1779
- request.url = self._client.format_url(request.url)
1680
+ _request = _convert_request(_request)
1681
+ _request.url = self._client.format_url(_request.url)
1780
1682
 
1781
1683
  _stream = False
1782
1684
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1783
- request, stream=_stream, **kwargs
1685
+ _request, stream=_stream, **kwargs
1784
1686
  )
1785
1687
 
1786
1688
  response = pipeline_response.http_response
@@ -1792,13 +1694,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1792
1694
  deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
1793
1695
 
1794
1696
  if cls:
1795
- return cls(pipeline_response, deserialized, {})
1796
-
1797
- return deserialized
1697
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1798
1698
 
1799
- list_account_sas.metadata = {
1800
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas"
1801
- }
1699
+ return deserialized # type: ignore
1802
1700
 
1803
1701
  @overload
1804
1702
  def list_service_sas(
@@ -1824,7 +1722,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1824
1722
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1825
1723
  Default value is "application/json".
1826
1724
  :paramtype content_type: str
1827
- :keyword callable cls: A custom type or function that will be passed the direct response
1828
1725
  :return: ListServiceSasResponse or the result of cls(response)
1829
1726
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
1830
1727
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1835,7 +1732,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1835
1732
  self,
1836
1733
  resource_group_name: str,
1837
1734
  account_name: str,
1838
- parameters: IO,
1735
+ parameters: IO[bytes],
1839
1736
  *,
1840
1737
  content_type: str = "application/json",
1841
1738
  **kwargs: Any
@@ -1850,11 +1747,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1850
1747
  lower-case letters only. Required.
1851
1748
  :type account_name: str
1852
1749
  :param parameters: The parameters to provide to list service SAS credentials. Required.
1853
- :type parameters: IO
1750
+ :type parameters: IO[bytes]
1854
1751
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1855
1752
  Default value is "application/json".
1856
1753
  :paramtype content_type: str
1857
- :keyword callable cls: A custom type or function that will be passed the direct response
1858
1754
  :return: ListServiceSasResponse or the result of cls(response)
1859
1755
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
1860
1756
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1865,7 +1761,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1865
1761
  self,
1866
1762
  resource_group_name: str,
1867
1763
  account_name: str,
1868
- parameters: Union[_models.ServiceSasParameters, IO],
1764
+ parameters: Union[_models.ServiceSasParameters, IO[bytes]],
1869
1765
  **kwargs: Any
1870
1766
  ) -> _models.ListServiceSasResponse:
1871
1767
  """List service SAS credentials of a specific resource.
@@ -1878,17 +1774,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1878
1774
  lower-case letters only. Required.
1879
1775
  :type account_name: str
1880
1776
  :param parameters: The parameters to provide to list service SAS credentials. Is either a
1881
- ServiceSasParameters type or a IO type. Required.
1882
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.ServiceSasParameters or IO
1883
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1884
- Default value is None.
1885
- :paramtype content_type: str
1886
- :keyword callable cls: A custom type or function that will be passed the direct response
1777
+ ServiceSasParameters type or a IO[bytes] type. Required.
1778
+ :type parameters: ~azure.mgmt.storage.v2022_05_01.models.ServiceSasParameters or IO[bytes]
1887
1779
  :return: ListServiceSasResponse or the result of cls(response)
1888
1780
  :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
1889
1781
  :raises ~azure.core.exceptions.HttpResponseError:
1890
1782
  """
1891
- error_map = {
1783
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1892
1784
  401: ClientAuthenticationError,
1893
1785
  404: ResourceNotFoundError,
1894
1786
  409: ResourceExistsError,
@@ -1911,7 +1803,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1911
1803
  else:
1912
1804
  _json = self._serialize.body(parameters, "ServiceSasParameters")
1913
1805
 
1914
- request = build_list_service_sas_request(
1806
+ _request = build_list_service_sas_request(
1915
1807
  resource_group_name=resource_group_name,
1916
1808
  account_name=account_name,
1917
1809
  subscription_id=self._config.subscription_id,
@@ -1919,16 +1811,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1919
1811
  content_type=content_type,
1920
1812
  json=_json,
1921
1813
  content=_content,
1922
- template_url=self.list_service_sas.metadata["url"],
1923
1814
  headers=_headers,
1924
1815
  params=_params,
1925
1816
  )
1926
- request = _convert_request(request)
1927
- request.url = self._client.format_url(request.url)
1817
+ _request = _convert_request(_request)
1818
+ _request.url = self._client.format_url(_request.url)
1928
1819
 
1929
1820
  _stream = False
1930
1821
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1931
- request, stream=_stream, **kwargs
1822
+ _request, stream=_stream, **kwargs
1932
1823
  )
1933
1824
 
1934
1825
  response = pipeline_response.http_response
@@ -1940,18 +1831,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1940
1831
  deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
1941
1832
 
1942
1833
  if cls:
1943
- return cls(pipeline_response, deserialized, {})
1944
-
1945
- return deserialized
1834
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1946
1835
 
1947
- list_service_sas.metadata = {
1948
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas"
1949
- }
1836
+ return deserialized # type: ignore
1950
1837
 
1951
1838
  def _failover_initial( # pylint: disable=inconsistent-return-statements
1952
1839
  self, resource_group_name: str, account_name: str, **kwargs: Any
1953
1840
  ) -> None:
1954
- error_map = {
1841
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1955
1842
  401: ClientAuthenticationError,
1956
1843
  404: ResourceNotFoundError,
1957
1844
  409: ResourceExistsError,
@@ -1965,21 +1852,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1965
1852
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1966
1853
  cls: ClsType[None] = kwargs.pop("cls", None)
1967
1854
 
1968
- request = build_failover_request(
1855
+ _request = build_failover_request(
1969
1856
  resource_group_name=resource_group_name,
1970
1857
  account_name=account_name,
1971
1858
  subscription_id=self._config.subscription_id,
1972
1859
  api_version=api_version,
1973
- template_url=self._failover_initial.metadata["url"],
1974
1860
  headers=_headers,
1975
1861
  params=_params,
1976
1862
  )
1977
- request = _convert_request(request)
1978
- request.url = self._client.format_url(request.url)
1863
+ _request = _convert_request(_request)
1864
+ _request.url = self._client.format_url(_request.url)
1979
1865
 
1980
1866
  _stream = False
1981
1867
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1982
- request, stream=_stream, **kwargs
1868
+ _request, stream=_stream, **kwargs
1983
1869
  )
1984
1870
 
1985
1871
  response = pipeline_response.http_response
@@ -1989,11 +1875,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1989
1875
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1990
1876
 
1991
1877
  if cls:
1992
- return cls(pipeline_response, None, {})
1993
-
1994
- _failover_initial.metadata = {
1995
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
1996
- }
1878
+ return cls(pipeline_response, None, {}) # type: ignore
1997
1879
 
1998
1880
  @distributed_trace
1999
1881
  def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]:
@@ -2008,14 +1890,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2008
1890
  Storage account names must be between 3 and 24 characters in length and use numbers and
2009
1891
  lower-case letters only. Required.
2010
1892
  :type account_name: str
2011
- :keyword callable cls: A custom type or function that will be passed the direct response
2012
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2013
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2014
- operation to not poll, or pass in your own initialized polling object for a personal polling
2015
- strategy.
2016
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2017
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2018
- Retry-After header is present.
2019
1893
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2020
1894
  :rtype: ~azure.core.polling.LROPoller[None]
2021
1895
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2042,7 +1916,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2042
1916
 
2043
1917
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2044
1918
  if cls:
2045
- return cls(pipeline_response, None, {})
1919
+ return cls(pipeline_response, None, {}) # type: ignore
2046
1920
 
2047
1921
  if polling is True:
2048
1922
  polling_method: PollingMethod = cast(
@@ -2053,22 +1927,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2053
1927
  else:
2054
1928
  polling_method = polling
2055
1929
  if cont_token:
2056
- return LROPoller.from_continuation_token(
1930
+ return LROPoller[None].from_continuation_token(
2057
1931
  polling_method=polling_method,
2058
1932
  continuation_token=cont_token,
2059
1933
  client=self._client,
2060
1934
  deserialization_callback=get_long_running_output,
2061
1935
  )
2062
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2063
-
2064
- begin_failover.metadata = {
2065
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover"
2066
- }
1936
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2067
1937
 
2068
- def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements
1938
+ def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
2069
1939
  self, resource_group_name: str, account_name: str, request_type: str, **kwargs: Any
2070
1940
  ) -> None:
2071
- error_map = {
1941
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2072
1942
  401: ClientAuthenticationError,
2073
1943
  404: ResourceNotFoundError,
2074
1944
  409: ResourceExistsError,
@@ -2082,22 +1952,21 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2082
1952
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
2083
1953
  cls: ClsType[None] = kwargs.pop("cls", None)
2084
1954
 
2085
- request = build_hierarchical_namespace_migration_request(
1955
+ _request = build_hierarchical_namespace_migration_request(
2086
1956
  resource_group_name=resource_group_name,
2087
1957
  account_name=account_name,
2088
1958
  subscription_id=self._config.subscription_id,
2089
1959
  request_type=request_type,
2090
1960
  api_version=api_version,
2091
- template_url=self._hierarchical_namespace_migration_initial.metadata["url"],
2092
1961
  headers=_headers,
2093
1962
  params=_params,
2094
1963
  )
2095
- request = _convert_request(request)
2096
- request.url = self._client.format_url(request.url)
1964
+ _request = _convert_request(_request)
1965
+ _request.url = self._client.format_url(_request.url)
2097
1966
 
2098
1967
  _stream = False
2099
1968
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2100
- request, stream=_stream, **kwargs
1969
+ _request, stream=_stream, **kwargs
2101
1970
  )
2102
1971
 
2103
1972
  response = pipeline_response.http_response
@@ -2108,11 +1977,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2108
1977
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2109
1978
 
2110
1979
  if cls:
2111
- return cls(pipeline_response, None, {})
2112
-
2113
- _hierarchical_namespace_migration_initial.metadata = {
2114
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration"
2115
- }
1980
+ return cls(pipeline_response, None, {}) # type: ignore
2116
1981
 
2117
1982
  @distributed_trace
2118
1983
  def begin_hierarchical_namespace_migration(
@@ -2132,14 +1997,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2132
1997
  'HnsOnHydrationRequest'. The validation request will validate the migration whereas the
2133
1998
  hydration request will migrate the account. Required.
2134
1999
  :type request_type: str
2135
- :keyword callable cls: A custom type or function that will be passed the direct response
2136
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2137
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2138
- operation to not poll, or pass in your own initialized polling object for a personal polling
2139
- strategy.
2140
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2141
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2142
- Retry-After header is present.
2143
2000
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2144
2001
  :rtype: ~azure.core.polling.LROPoller[None]
2145
2002
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2167,7 +2024,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2167
2024
 
2168
2025
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2169
2026
  if cls:
2170
- return cls(pipeline_response, None, {})
2027
+ return cls(pipeline_response, None, {}) # type: ignore
2171
2028
 
2172
2029
  if polling is True:
2173
2030
  polling_method: PollingMethod = cast(
@@ -2178,22 +2035,18 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2178
2035
  else:
2179
2036
  polling_method = polling
2180
2037
  if cont_token:
2181
- return LROPoller.from_continuation_token(
2038
+ return LROPoller[None].from_continuation_token(
2182
2039
  polling_method=polling_method,
2183
2040
  continuation_token=cont_token,
2184
2041
  client=self._client,
2185
2042
  deserialization_callback=get_long_running_output,
2186
2043
  )
2187
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2188
-
2189
- begin_hierarchical_namespace_migration.metadata = {
2190
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration"
2191
- }
2044
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2192
2045
 
2193
- def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements
2046
+ def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
2194
2047
  self, resource_group_name: str, account_name: str, **kwargs: Any
2195
2048
  ) -> None:
2196
- error_map = {
2049
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2197
2050
  401: ClientAuthenticationError,
2198
2051
  404: ResourceNotFoundError,
2199
2052
  409: ResourceExistsError,
@@ -2207,21 +2060,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2207
2060
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
2208
2061
  cls: ClsType[None] = kwargs.pop("cls", None)
2209
2062
 
2210
- request = build_abort_hierarchical_namespace_migration_request(
2063
+ _request = build_abort_hierarchical_namespace_migration_request(
2211
2064
  resource_group_name=resource_group_name,
2212
2065
  account_name=account_name,
2213
2066
  subscription_id=self._config.subscription_id,
2214
2067
  api_version=api_version,
2215
- template_url=self._abort_hierarchical_namespace_migration_initial.metadata["url"],
2216
2068
  headers=_headers,
2217
2069
  params=_params,
2218
2070
  )
2219
- request = _convert_request(request)
2220
- request.url = self._client.format_url(request.url)
2071
+ _request = _convert_request(_request)
2072
+ _request.url = self._client.format_url(_request.url)
2221
2073
 
2222
2074
  _stream = False
2223
2075
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2224
- request, stream=_stream, **kwargs
2076
+ _request, stream=_stream, **kwargs
2225
2077
  )
2226
2078
 
2227
2079
  response = pipeline_response.http_response
@@ -2232,14 +2084,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2232
2084
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2233
2085
 
2234
2086
  if cls:
2235
- return cls(pipeline_response, None, {})
2236
-
2237
- _abort_hierarchical_namespace_migration_initial.metadata = {
2238
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration"
2239
- }
2087
+ return cls(pipeline_response, None, {}) # type: ignore
2240
2088
 
2241
2089
  @distributed_trace
2242
- def begin_abort_hierarchical_namespace_migration(
2090
+ def begin_abort_hierarchical_namespace_migration( # pylint: disable=name-too-long
2243
2091
  self, resource_group_name: str, account_name: str, **kwargs: Any
2244
2092
  ) -> LROPoller[None]:
2245
2093
  """Abort live Migration of storage account to enable Hns.
@@ -2251,14 +2099,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2251
2099
  Storage account names must be between 3 and 24 characters in length and use numbers and
2252
2100
  lower-case letters only. Required.
2253
2101
  :type account_name: str
2254
- :keyword callable cls: A custom type or function that will be passed the direct response
2255
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2256
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2257
- operation to not poll, or pass in your own initialized polling object for a personal polling
2258
- strategy.
2259
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2260
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2261
- Retry-After header is present.
2262
2102
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2263
2103
  :rtype: ~azure.core.polling.LROPoller[None]
2264
2104
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2285,7 +2125,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2285
2125
 
2286
2126
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2287
2127
  if cls:
2288
- return cls(pipeline_response, None, {})
2128
+ return cls(pipeline_response, None, {}) # type: ignore
2289
2129
 
2290
2130
  if polling is True:
2291
2131
  polling_method: PollingMethod = cast(
@@ -2296,26 +2136,22 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2296
2136
  else:
2297
2137
  polling_method = polling
2298
2138
  if cont_token:
2299
- return LROPoller.from_continuation_token(
2139
+ return LROPoller[None].from_continuation_token(
2300
2140
  polling_method=polling_method,
2301
2141
  continuation_token=cont_token,
2302
2142
  client=self._client,
2303
2143
  deserialization_callback=get_long_running_output,
2304
2144
  )
2305
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2306
-
2307
- begin_abort_hierarchical_namespace_migration.metadata = {
2308
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration"
2309
- }
2145
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2310
2146
 
2311
2147
  def _restore_blob_ranges_initial(
2312
2148
  self,
2313
2149
  resource_group_name: str,
2314
2150
  account_name: str,
2315
- parameters: Union[_models.BlobRestoreParameters, IO],
2151
+ parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
2316
2152
  **kwargs: Any
2317
2153
  ) -> _models.BlobRestoreStatus:
2318
- error_map = {
2154
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2319
2155
  401: ClientAuthenticationError,
2320
2156
  404: ResourceNotFoundError,
2321
2157
  409: ResourceExistsError,
@@ -2338,7 +2174,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2338
2174
  else:
2339
2175
  _json = self._serialize.body(parameters, "BlobRestoreParameters")
2340
2176
 
2341
- request = build_restore_blob_ranges_request(
2177
+ _request = build_restore_blob_ranges_request(
2342
2178
  resource_group_name=resource_group_name,
2343
2179
  account_name=account_name,
2344
2180
  subscription_id=self._config.subscription_id,
@@ -2346,16 +2182,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2346
2182
  content_type=content_type,
2347
2183
  json=_json,
2348
2184
  content=_content,
2349
- template_url=self._restore_blob_ranges_initial.metadata["url"],
2350
2185
  headers=_headers,
2351
2186
  params=_params,
2352
2187
  )
2353
- request = _convert_request(request)
2354
- request.url = self._client.format_url(request.url)
2188
+ _request = _convert_request(_request)
2189
+ _request.url = self._client.format_url(_request.url)
2355
2190
 
2356
2191
  _stream = False
2357
2192
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2358
- request, stream=_stream, **kwargs
2193
+ _request, stream=_stream, **kwargs
2359
2194
  )
2360
2195
 
2361
2196
  response = pipeline_response.http_response
@@ -2375,10 +2210,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2375
2210
 
2376
2211
  return deserialized # type: ignore
2377
2212
 
2378
- _restore_blob_ranges_initial.metadata = {
2379
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
2380
- }
2381
-
2382
2213
  @overload
2383
2214
  def begin_restore_blob_ranges(
2384
2215
  self,
@@ -2403,14 +2234,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2403
2234
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2404
2235
  Default value is "application/json".
2405
2236
  :paramtype content_type: str
2406
- :keyword callable cls: A custom type or function that will be passed the direct response
2407
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2408
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2409
- operation to not poll, or pass in your own initialized polling object for a personal polling
2410
- strategy.
2411
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2412
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2413
- Retry-After header is present.
2414
2237
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2415
2238
  cls(response)
2416
2239
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_05_01.models.BlobRestoreStatus]
@@ -2422,7 +2245,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2422
2245
  self,
2423
2246
  resource_group_name: str,
2424
2247
  account_name: str,
2425
- parameters: IO,
2248
+ parameters: IO[bytes],
2426
2249
  *,
2427
2250
  content_type: str = "application/json",
2428
2251
  **kwargs: Any
@@ -2437,18 +2260,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2437
2260
  lower-case letters only. Required.
2438
2261
  :type account_name: str
2439
2262
  :param parameters: The parameters to provide for restore blob ranges. Required.
2440
- :type parameters: IO
2263
+ :type parameters: IO[bytes]
2441
2264
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2442
2265
  Default value is "application/json".
2443
2266
  :paramtype content_type: str
2444
- :keyword callable cls: A custom type or function that will be passed the direct response
2445
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2446
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2447
- operation to not poll, or pass in your own initialized polling object for a personal polling
2448
- strategy.
2449
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2450
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2451
- Retry-After header is present.
2452
2267
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2453
2268
  cls(response)
2454
2269
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_05_01.models.BlobRestoreStatus]
@@ -2460,7 +2275,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2460
2275
  self,
2461
2276
  resource_group_name: str,
2462
2277
  account_name: str,
2463
- parameters: Union[_models.BlobRestoreParameters, IO],
2278
+ parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
2464
2279
  **kwargs: Any
2465
2280
  ) -> LROPoller[_models.BlobRestoreStatus]:
2466
2281
  """Restore blobs in the specified blob ranges.
@@ -2473,19 +2288,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2473
2288
  lower-case letters only. Required.
2474
2289
  :type account_name: str
2475
2290
  :param parameters: The parameters to provide for restore blob ranges. Is either a
2476
- BlobRestoreParameters type or a IO type. Required.
2477
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.BlobRestoreParameters or IO
2478
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2479
- Default value is None.
2480
- :paramtype content_type: str
2481
- :keyword callable cls: A custom type or function that will be passed the direct response
2482
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2483
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2484
- operation to not poll, or pass in your own initialized polling object for a personal polling
2485
- strategy.
2486
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2487
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2488
- Retry-After header is present.
2291
+ BlobRestoreParameters type or a IO[bytes] type. Required.
2292
+ :type parameters: ~azure.mgmt.storage.v2022_05_01.models.BlobRestoreParameters or IO[bytes]
2489
2293
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2490
2294
  cls(response)
2491
2295
  :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2022_05_01.models.BlobRestoreStatus]
@@ -2517,7 +2321,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2517
2321
  def get_long_running_output(pipeline_response):
2518
2322
  deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
2519
2323
  if cls:
2520
- return cls(pipeline_response, deserialized, {})
2324
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2521
2325
  return deserialized
2522
2326
 
2523
2327
  if polling is True:
@@ -2529,17 +2333,15 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2529
2333
  else:
2530
2334
  polling_method = polling
2531
2335
  if cont_token:
2532
- return LROPoller.from_continuation_token(
2336
+ return LROPoller[_models.BlobRestoreStatus].from_continuation_token(
2533
2337
  polling_method=polling_method,
2534
2338
  continuation_token=cont_token,
2535
2339
  client=self._client,
2536
2340
  deserialization_callback=get_long_running_output,
2537
2341
  )
2538
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2539
-
2540
- begin_restore_blob_ranges.metadata = {
2541
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges"
2542
- }
2342
+ return LROPoller[_models.BlobRestoreStatus](
2343
+ self._client, raw_result, get_long_running_output, polling_method # type: ignore
2344
+ )
2543
2345
 
2544
2346
  @distributed_trace
2545
2347
  def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
@@ -2554,12 +2356,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2554
2356
  Storage account names must be between 3 and 24 characters in length and use numbers and
2555
2357
  lower-case letters only. Required.
2556
2358
  :type account_name: str
2557
- :keyword callable cls: A custom type or function that will be passed the direct response
2558
2359
  :return: None or the result of cls(response)
2559
2360
  :rtype: None
2560
2361
  :raises ~azure.core.exceptions.HttpResponseError:
2561
2362
  """
2562
- error_map = {
2363
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2563
2364
  401: ClientAuthenticationError,
2564
2365
  404: ResourceNotFoundError,
2565
2366
  409: ResourceExistsError,
@@ -2573,21 +2374,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2573
2374
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
2574
2375
  cls: ClsType[None] = kwargs.pop("cls", None)
2575
2376
 
2576
- request = build_revoke_user_delegation_keys_request(
2377
+ _request = build_revoke_user_delegation_keys_request(
2577
2378
  resource_group_name=resource_group_name,
2578
2379
  account_name=account_name,
2579
2380
  subscription_id=self._config.subscription_id,
2580
2381
  api_version=api_version,
2581
- template_url=self.revoke_user_delegation_keys.metadata["url"],
2582
2382
  headers=_headers,
2583
2383
  params=_params,
2584
2384
  )
2585
- request = _convert_request(request)
2586
- request.url = self._client.format_url(request.url)
2385
+ _request = _convert_request(_request)
2386
+ _request.url = self._client.format_url(_request.url)
2587
2387
 
2588
2388
  _stream = False
2589
2389
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2590
- request, stream=_stream, **kwargs
2390
+ _request, stream=_stream, **kwargs
2591
2391
  )
2592
2392
 
2593
2393
  response = pipeline_response.http_response
@@ -2597,8 +2397,4 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2597
2397
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2598
2398
 
2599
2399
  if cls:
2600
- return cls(pipeline_response, None, {})
2601
-
2602
- revoke_user_delegation_keys.metadata = {
2603
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys"
2604
- }
2400
+ return cls(pipeline_response, None, {}) # type: ignore