azure-mgmt-storage 21.2.1__py3-none-any.whl → 22.1.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 (963) hide show
  1. azure/mgmt/storage/_serialization.py +281 -168
  2. azure/mgmt/storage/_storage_management_client.py +90 -869
  3. azure/mgmt/storage/_version.py +1 -1
  4. azure/mgmt/storage/aio/_storage_management_client.py +90 -869
  5. azure/mgmt/storage/models.py +2 -2
  6. azure/mgmt/storage/v2016_01_01/__init__.py +9 -3
  7. azure/mgmt/storage/v2016_01_01/_configuration.py +1 -2
  8. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +3 -3
  9. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  10. azure/mgmt/storage/v2016_01_01/aio/__init__.py +9 -3
  11. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +1 -2
  12. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +3 -3
  13. azure/mgmt/storage/v2016_01_01/aio/operations/__init__.py +10 -4
  14. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +32 -41
  15. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +4 -9
  16. azure/mgmt/storage/v2016_01_01/models/__init__.py +43 -32
  17. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +1 -3
  18. azure/mgmt/storage/v2016_01_01/operations/__init__.py +10 -4
  19. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +31 -38
  20. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +4 -9
  21. azure/mgmt/storage/v2016_01_01/py.typed +1 -0
  22. azure/mgmt/storage/v2017_10_01/__init__.py +9 -3
  23. azure/mgmt/storage/v2017_10_01/_configuration.py +1 -2
  24. azure/mgmt/storage/v2017_10_01/_storage_management.py +3 -3
  25. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  26. azure/mgmt/storage/v2017_10_01/aio/__init__.py +9 -3
  27. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +1 -2
  28. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +3 -3
  29. azure/mgmt/storage/v2017_10_01/aio/operations/__init__.py +12 -6
  30. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +4 -9
  31. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +4 -9
  32. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +36 -47
  33. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +4 -9
  34. azure/mgmt/storage/v2017_10_01/models/__init__.py +69 -58
  35. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +3 -4
  36. azure/mgmt/storage/v2017_10_01/operations/__init__.py +12 -6
  37. azure/mgmt/storage/v2017_10_01/operations/_operations.py +4 -9
  38. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +4 -9
  39. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +35 -44
  40. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +4 -9
  41. azure/mgmt/storage/v2017_10_01/py.typed +1 -0
  42. azure/mgmt/storage/v2019_06_01/__init__.py +9 -3
  43. azure/mgmt/storage/v2019_06_01/_configuration.py +1 -2
  44. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +3 -3
  45. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  46. azure/mgmt/storage/v2019_06_01/aio/__init__.py +9 -3
  47. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +1 -2
  48. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +3 -3
  49. azure/mgmt/storage/v2019_06_01/aio/operations/__init__.py +26 -20
  50. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +29 -51
  51. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +10 -18
  52. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +8 -15
  53. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +10 -22
  54. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +9 -15
  55. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +16 -32
  56. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +9 -15
  57. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +10 -18
  58. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +4 -9
  59. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +10 -18
  60. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +5 -9
  61. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +12 -23
  62. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +9 -15
  63. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +4 -9
  64. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +80 -71
  65. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +12 -23
  66. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +9 -15
  67. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +4 -9
  68. azure/mgmt/storage/v2019_06_01/models/__init__.py +181 -170
  69. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +12 -13
  70. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -0
  71. azure/mgmt/storage/v2019_06_01/operations/__init__.py +26 -20
  72. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +28 -48
  73. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +9 -17
  74. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +8 -15
  75. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +10 -22
  76. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +9 -15
  77. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +14 -28
  78. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +8 -14
  79. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +9 -17
  80. azure/mgmt/storage/v2019_06_01/operations/_operations.py +4 -9
  81. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +9 -17
  82. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +5 -9
  83. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +11 -20
  84. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +9 -15
  85. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +4 -9
  86. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +64 -66
  87. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +11 -20
  88. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +9 -15
  89. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +4 -9
  90. azure/mgmt/storage/v2019_06_01/py.typed +1 -0
  91. azure/mgmt/storage/{v2018_03_01_preview → v2024_01_01}/__init__.py +9 -3
  92. azure/mgmt/storage/{v2018_07_01 → v2024_01_01}/_configuration.py +3 -4
  93. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/_storage_management_client.py +52 -52
  94. azure/mgmt/storage/{v2016_12_01 → v2024_01_01}/_version.py +1 -1
  95. azure/mgmt/storage/{v2018_07_01 → v2024_01_01/aio}/__init__.py +8 -5
  96. azure/mgmt/storage/{v2019_04_01 → v2024_01_01}/aio/_configuration.py +3 -4
  97. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/_storage_management_client.py +52 -52
  98. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/__init__.py +32 -26
  99. azure/mgmt/storage/{v2021_08_01 → v2024_01_01}/aio/operations/_blob_containers_operations.py +145 -143
  100. azure/mgmt/storage/{v2021_09_01 → v2024_01_01}/aio/operations/_blob_inventory_policies_operations.py +27 -35
  101. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_blob_services_operations.py +19 -26
  102. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_deleted_accounts_operations.py +11 -17
  103. azure/mgmt/storage/{v2022_09_01 → v2024_01_01}/aio/operations/_encryption_scopes_operations.py +28 -40
  104. azure/mgmt/storage/{v2021_08_01 → v2024_01_01}/aio/operations/_file_services_operations.py +181 -26
  105. azure/mgmt/storage/{v2021_08_01 → v2024_01_01}/aio/operations/_file_shares_operations.py +45 -60
  106. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_local_users_operations.py +31 -43
  107. azure/mgmt/storage/{v2018_11_01 → v2024_01_01}/aio/operations/_management_policies_operations.py +24 -30
  108. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_network_security_perimeter_configurations_operations.py +33 -27
  109. azure/mgmt/storage/{v2021_08_01 → v2024_01_01}/aio/operations/_object_replication_policies_operations.py +22 -30
  110. azure/mgmt/storage/{v2018_02_01 → v2024_01_01}/aio/operations/_operations.py +7 -12
  111. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_private_endpoint_connections_operations.py +22 -30
  112. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_private_link_resources_operations.py +8 -12
  113. azure/mgmt/storage/{v2021_02_01 → v2024_01_01}/aio/operations/_queue_operations.py +30 -41
  114. azure/mgmt/storage/{v2021_09_01 → v2024_01_01}/aio/operations/_queue_services_operations.py +20 -26
  115. azure/mgmt/storage/{v2021_06_01 → v2024_01_01}/aio/operations/_skus_operations.py +7 -12
  116. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/aio/operations/_storage_accounts_operations.py +202 -167
  117. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignment_instances_report_operations.py +8 -12
  118. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignments_instances_report_operations.py +8 -12
  119. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/aio/operations/_storage_task_assignments_operations.py +72 -64
  120. azure/mgmt/storage/{v2021_09_01 → v2024_01_01}/aio/operations/_table_operations.py +30 -41
  121. azure/mgmt/storage/{v2021_09_01 → v2024_01_01}/aio/operations/_table_services_operations.py +20 -26
  122. azure/mgmt/storage/{v2018_11_01 → v2024_01_01}/aio/operations/_usages_operations.py +7 -12
  123. azure/mgmt/storage/v2024_01_01/models/__init__.py +570 -0
  124. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_models_py3.py +1150 -545
  125. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/models/_storage_management_client_enums.py +8 -0
  126. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/__init__.py +32 -26
  127. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_blob_containers_operations.py +145 -154
  128. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_blob_inventory_policies_operations.py +30 -38
  129. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_blob_services_operations.py +22 -29
  130. azure/mgmt/storage/{v2021_02_01 → v2024_01_01}/operations/_deleted_accounts_operations.py +13 -19
  131. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_encryption_scopes_operations.py +32 -44
  132. azure/mgmt/storage/{v2023_01_01/operations/_table_operations.py → v2024_01_01/operations/_file_services_operations.py} +187 -293
  133. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_file_shares_operations.py +51 -65
  134. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_local_users_operations.py +36 -46
  135. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_management_policies_operations.py +26 -32
  136. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_network_security_perimeter_configurations_operations.py +35 -30
  137. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_object_replication_policies_operations.py +25 -33
  138. azure/mgmt/storage/{v2018_11_01 → v2024_01_01}/operations/_operations.py +8 -13
  139. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_private_endpoint_connections_operations.py +25 -33
  140. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_private_link_resources_operations.py +9 -13
  141. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_queue_operations.py +34 -43
  142. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_queue_services_operations.py +23 -29
  143. azure/mgmt/storage/{v2021_01_01 → v2024_01_01}/operations/_skus_operations.py +8 -13
  144. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_storage_accounts_operations.py +205 -179
  145. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignment_instances_report_operations.py +9 -13
  146. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignments_instances_report_operations.py +9 -13
  147. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_storage_task_assignments_operations.py +78 -69
  148. azure/mgmt/storage/{v2023_05_01 → v2024_01_01}/operations/_table_operations.py +34 -43
  149. azure/mgmt/storage/{v2023_01_01 → v2024_01_01}/operations/_table_services_operations.py +23 -29
  150. azure/mgmt/storage/{v2019_04_01 → v2024_01_01}/operations/_usages_operations.py +8 -13
  151. azure/mgmt/storage/v2024_01_01/py.typed +1 -0
  152. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.1.0.dist-info}/METADATA +41 -4
  153. azure_mgmt_storage-22.1.0.dist-info/RECORD +183 -0
  154. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.1.0.dist-info}/WHEEL +1 -1
  155. azure/mgmt/storage/v2015_06_15/__init__.py +0 -26
  156. azure/mgmt/storage/v2015_06_15/_configuration.py +0 -66
  157. azure/mgmt/storage/v2015_06_15/_patch.py +0 -32
  158. azure/mgmt/storage/v2015_06_15/_storage_management.py +0 -115
  159. azure/mgmt/storage/v2015_06_15/_vendor.py +0 -16
  160. azure/mgmt/storage/v2015_06_15/_version.py +0 -9
  161. azure/mgmt/storage/v2015_06_15/aio/__init__.py +0 -23
  162. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +0 -66
  163. azure/mgmt/storage/v2015_06_15/aio/_patch.py +0 -32
  164. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +0 -118
  165. azure/mgmt/storage/v2015_06_15/aio/operations/__init__.py +0 -21
  166. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +0 -1030
  167. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +0 -135
  168. azure/mgmt/storage/v2015_06_15/models/__init__.py +0 -55
  169. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +0 -660
  170. azure/mgmt/storage/v2015_06_15/models/_storage_management_enums.py +0 -59
  171. azure/mgmt/storage/v2015_06_15/operations/__init__.py +0 -21
  172. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +0 -1297
  173. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +0 -162
  174. azure/mgmt/storage/v2016_01_01/_vendor.py +0 -16
  175. azure/mgmt/storage/v2016_12_01/__init__.py +0 -26
  176. azure/mgmt/storage/v2016_12_01/_configuration.py +0 -66
  177. azure/mgmt/storage/v2016_12_01/_patch.py +0 -32
  178. azure/mgmt/storage/v2016_12_01/_storage_management.py +0 -115
  179. azure/mgmt/storage/v2016_12_01/_vendor.py +0 -16
  180. azure/mgmt/storage/v2016_12_01/aio/__init__.py +0 -23
  181. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +0 -66
  182. azure/mgmt/storage/v2016_12_01/aio/_patch.py +0 -32
  183. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +0 -118
  184. azure/mgmt/storage/v2016_12_01/aio/operations/__init__.py +0 -21
  185. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +0 -1310
  186. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +0 -135
  187. azure/mgmt/storage/v2016_12_01/models/__init__.py +0 -97
  188. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +0 -1210
  189. azure/mgmt/storage/v2016_12_01/models/_storage_management_enums.py +0 -169
  190. azure/mgmt/storage/v2016_12_01/operations/__init__.py +0 -21
  191. azure/mgmt/storage/v2016_12_01/operations/_patch.py +0 -20
  192. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +0 -1647
  193. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +0 -162
  194. azure/mgmt/storage/v2017_06_01/__init__.py +0 -26
  195. azure/mgmt/storage/v2017_06_01/_configuration.py +0 -66
  196. azure/mgmt/storage/v2017_06_01/_patch.py +0 -32
  197. azure/mgmt/storage/v2017_06_01/_storage_management.py +0 -121
  198. azure/mgmt/storage/v2017_06_01/_vendor.py +0 -16
  199. azure/mgmt/storage/v2017_06_01/_version.py +0 -9
  200. azure/mgmt/storage/v2017_06_01/aio/__init__.py +0 -23
  201. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +0 -66
  202. azure/mgmt/storage/v2017_06_01/aio/_patch.py +0 -32
  203. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +0 -124
  204. azure/mgmt/storage/v2017_06_01/aio/operations/__init__.py +0 -25
  205. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +0 -135
  206. azure/mgmt/storage/v2017_06_01/aio/operations/_patch.py +0 -20
  207. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +0 -135
  208. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +0 -1310
  209. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +0 -135
  210. azure/mgmt/storage/v2017_06_01/models/__init__.py +0 -129
  211. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +0 -1843
  212. azure/mgmt/storage/v2017_06_01/models/_patch.py +0 -20
  213. azure/mgmt/storage/v2017_06_01/models/_storage_management_enums.py +0 -191
  214. azure/mgmt/storage/v2017_06_01/operations/__init__.py +0 -25
  215. azure/mgmt/storage/v2017_06_01/operations/_operations.py +0 -156
  216. azure/mgmt/storage/v2017_06_01/operations/_patch.py +0 -20
  217. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +0 -162
  218. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +0 -1647
  219. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +0 -162
  220. azure/mgmt/storage/v2017_10_01/_vendor.py +0 -16
  221. azure/mgmt/storage/v2018_02_01/__init__.py +0 -26
  222. azure/mgmt/storage/v2018_02_01/_configuration.py +0 -65
  223. azure/mgmt/storage/v2018_02_01/_patch.py +0 -32
  224. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +0 -127
  225. azure/mgmt/storage/v2018_02_01/_vendor.py +0 -16
  226. azure/mgmt/storage/v2018_02_01/_version.py +0 -9
  227. azure/mgmt/storage/v2018_02_01/aio/__init__.py +0 -23
  228. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +0 -65
  229. azure/mgmt/storage/v2018_02_01/aio/_patch.py +0 -32
  230. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +0 -131
  231. azure/mgmt/storage/v2018_02_01/aio/operations/__init__.py +0 -27
  232. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +0 -1692
  233. azure/mgmt/storage/v2018_02_01/aio/operations/_patch.py +0 -20
  234. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +0 -135
  235. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +0 -1310
  236. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +0 -215
  237. azure/mgmt/storage/v2018_02_01/models/__init__.py +0 -171
  238. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +0 -2556
  239. azure/mgmt/storage/v2018_02_01/models/_patch.py +0 -20
  240. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -259
  241. azure/mgmt/storage/v2018_02_01/operations/__init__.py +0 -27
  242. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +0 -2178
  243. azure/mgmt/storage/v2018_02_01/operations/_operations.py +0 -156
  244. azure/mgmt/storage/v2018_02_01/operations/_patch.py +0 -20
  245. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +0 -162
  246. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +0 -1647
  247. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +0 -269
  248. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +0 -65
  249. azure/mgmt/storage/v2018_03_01_preview/_patch.py +0 -32
  250. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +0 -146
  251. azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -16
  252. azure/mgmt/storage/v2018_03_01_preview/_version.py +0 -9
  253. azure/mgmt/storage/v2018_03_01_preview/aio/__init__.py +0 -23
  254. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +0 -65
  255. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +0 -32
  256. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +0 -148
  257. azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +0 -29
  258. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +0 -1721
  259. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +0 -357
  260. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +0 -137
  261. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_patch.py +0 -20
  262. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +0 -138
  263. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +0 -1635
  264. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +0 -221
  265. azure/mgmt/storage/v2018_03_01_preview/models/__init__.py +0 -181
  266. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +0 -2699
  267. azure/mgmt/storage/v2018_03_01_preview/models/_patch.py +0 -20
  268. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -265
  269. azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +0 -29
  270. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +0 -2207
  271. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +0 -467
  272. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +0 -158
  273. azure/mgmt/storage/v2018_03_01_preview/operations/_patch.py +0 -20
  274. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +0 -164
  275. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +0 -2085
  276. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +0 -273
  277. azure/mgmt/storage/v2018_07_01/_patch.py +0 -32
  278. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +0 -139
  279. azure/mgmt/storage/v2018_07_01/_vendor.py +0 -16
  280. azure/mgmt/storage/v2018_07_01/_version.py +0 -9
  281. azure/mgmt/storage/v2018_07_01/aio/__init__.py +0 -23
  282. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +0 -65
  283. azure/mgmt/storage/v2018_07_01/aio/_patch.py +0 -32
  284. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +0 -143
  285. azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -29
  286. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +0 -1692
  287. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +0 -282
  288. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +0 -135
  289. azure/mgmt/storage/v2018_07_01/aio/operations/_patch.py +0 -20
  290. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +0 -135
  291. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +0 -1420
  292. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +0 -139
  293. azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -185
  294. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +0 -2838
  295. azure/mgmt/storage/v2018_07_01/models/_patch.py +0 -20
  296. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -287
  297. azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -29
  298. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +0 -2178
  299. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +0 -361
  300. azure/mgmt/storage/v2018_07_01/operations/_operations.py +0 -156
  301. azure/mgmt/storage/v2018_07_01/operations/_patch.py +0 -20
  302. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +0 -162
  303. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +0 -1792
  304. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +0 -169
  305. azure/mgmt/storage/v2018_11_01/__init__.py +0 -26
  306. azure/mgmt/storage/v2018_11_01/_configuration.py +0 -65
  307. azure/mgmt/storage/v2018_11_01/_patch.py +0 -32
  308. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +0 -146
  309. azure/mgmt/storage/v2018_11_01/_vendor.py +0 -16
  310. azure/mgmt/storage/v2018_11_01/_version.py +0 -9
  311. azure/mgmt/storage/v2018_11_01/aio/__init__.py +0 -23
  312. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +0 -65
  313. azure/mgmt/storage/v2018_11_01/aio/_patch.py +0 -32
  314. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +0 -150
  315. azure/mgmt/storage/v2018_11_01/aio/operations/__init__.py +0 -31
  316. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +0 -1696
  317. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +0 -282
  318. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +0 -135
  319. azure/mgmt/storage/v2018_11_01/aio/operations/_patch.py +0 -20
  320. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +0 -135
  321. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +0 -1477
  322. azure/mgmt/storage/v2018_11_01/models/__init__.py +0 -209
  323. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +0 -3194
  324. azure/mgmt/storage/v2018_11_01/models/_patch.py +0 -20
  325. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -299
  326. azure/mgmt/storage/v2018_11_01/operations/__init__.py +0 -31
  327. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +0 -2182
  328. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +0 -361
  329. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +0 -459
  330. azure/mgmt/storage/v2018_11_01/operations/_patch.py +0 -20
  331. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +0 -162
  332. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +0 -1875
  333. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +0 -169
  334. azure/mgmt/storage/v2019_04_01/__init__.py +0 -26
  335. azure/mgmt/storage/v2019_04_01/_configuration.py +0 -65
  336. azure/mgmt/storage/v2019_04_01/_patch.py +0 -32
  337. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +0 -158
  338. azure/mgmt/storage/v2019_04_01/_vendor.py +0 -16
  339. azure/mgmt/storage/v2019_04_01/_version.py +0 -9
  340. azure/mgmt/storage/v2019_04_01/aio/__init__.py +0 -23
  341. azure/mgmt/storage/v2019_04_01/aio/_patch.py +0 -32
  342. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +0 -162
  343. azure/mgmt/storage/v2019_04_01/aio/operations/__init__.py +0 -35
  344. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +0 -1746
  345. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +0 -375
  346. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +0 -341
  347. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +0 -625
  348. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +0 -349
  349. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +0 -135
  350. azure/mgmt/storage/v2019_04_01/aio/operations/_patch.py +0 -20
  351. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +0 -135
  352. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +0 -1483
  353. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +0 -139
  354. azure/mgmt/storage/v2019_04_01/models/__init__.py +0 -235
  355. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +0 -3799
  356. azure/mgmt/storage/v2019_04_01/models/_patch.py +0 -20
  357. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -326
  358. azure/mgmt/storage/v2019_04_01/operations/__init__.py +0 -35
  359. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +0 -2245
  360. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +0 -483
  361. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +0 -450
  362. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +0 -806
  363. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +0 -459
  364. azure/mgmt/storage/v2019_04_01/operations/_operations.py +0 -156
  365. azure/mgmt/storage/v2019_04_01/operations/_patch.py +0 -20
  366. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +0 -162
  367. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +0 -1888
  368. azure/mgmt/storage/v2019_06_01/_vendor.py +0 -16
  369. azure/mgmt/storage/v2020_08_01_preview/__init__.py +0 -26
  370. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +0 -65
  371. azure/mgmt/storage/v2020_08_01_preview/_patch.py +0 -32
  372. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +0 -234
  373. azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -16
  374. azure/mgmt/storage/v2020_08_01_preview/_version.py +0 -9
  375. azure/mgmt/storage/v2020_08_01_preview/aio/__init__.py +0 -23
  376. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +0 -65
  377. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +0 -32
  378. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +0 -237
  379. azure/mgmt/storage/v2020_08_01_preview/aio/operations/__init__.py +0 -55
  380. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +0 -1776
  381. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +0 -454
  382. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +0 -382
  383. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +0 -198
  384. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +0 -560
  385. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +0 -348
  386. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +0 -825
  387. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +0 -355
  388. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +0 -445
  389. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +0 -137
  390. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_patch.py +0 -20
  391. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +0 -441
  392. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +0 -119
  393. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +0 -618
  394. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +0 -348
  395. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +0 -138
  396. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +0 -1725
  397. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +0 -416
  398. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +0 -348
  399. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +0 -142
  400. azure/mgmt/storage/v2020_08_01_preview/models/__init__.py +0 -373
  401. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +0 -6344
  402. azure/mgmt/storage/v2020_08_01_preview/models/_patch.py +0 -20
  403. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -468
  404. azure/mgmt/storage/v2020_08_01_preview/operations/__init__.py +0 -55
  405. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +0 -2276
  406. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +0 -599
  407. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +0 -490
  408. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +0 -255
  409. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +0 -700
  410. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +0 -457
  411. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +0 -1072
  412. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +0 -465
  413. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +0 -584
  414. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +0 -158
  415. azure/mgmt/storage/v2020_08_01_preview/operations/_patch.py +0 -20
  416. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +0 -592
  417. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +0 -155
  418. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +0 -824
  419. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +0 -457
  420. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +0 -165
  421. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +0 -2170
  422. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +0 -582
  423. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +0 -457
  424. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +0 -171
  425. azure/mgmt/storage/v2021_01_01/__init__.py +0 -26
  426. azure/mgmt/storage/v2021_01_01/_configuration.py +0 -65
  427. azure/mgmt/storage/v2021_01_01/_patch.py +0 -32
  428. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +0 -219
  429. azure/mgmt/storage/v2021_01_01/_vendor.py +0 -16
  430. azure/mgmt/storage/v2021_01_01/_version.py +0 -9
  431. azure/mgmt/storage/v2021_01_01/aio/__init__.py +0 -23
  432. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +0 -65
  433. azure/mgmt/storage/v2021_01_01/aio/_patch.py +0 -32
  434. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +0 -224
  435. azure/mgmt/storage/v2021_01_01/aio/operations/__init__.py +0 -55
  436. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +0 -1747
  437. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  438. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +0 -375
  439. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +0 -194
  440. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +0 -550
  441. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +0 -341
  442. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +0 -810
  443. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +0 -349
  444. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +0 -436
  445. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +0 -135
  446. azure/mgmt/storage/v2021_01_01/aio/operations/_patch.py +0 -20
  447. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  448. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +0 -117
  449. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +0 -608
  450. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +0 -341
  451. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +0 -136
  452. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +0 -1687
  453. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +0 -405
  454. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +0 -341
  455. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +0 -139
  456. azure/mgmt/storage/v2021_01_01/models/__init__.py +0 -381
  457. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +0 -6465
  458. azure/mgmt/storage/v2021_01_01/models/_patch.py +0 -20
  459. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -483
  460. azure/mgmt/storage/v2021_01_01/operations/__init__.py +0 -55
  461. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +0 -2246
  462. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +0 -590
  463. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +0 -483
  464. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +0 -250
  465. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +0 -689
  466. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +0 -450
  467. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +0 -1056
  468. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +0 -459
  469. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +0 -575
  470. azure/mgmt/storage/v2021_01_01/operations/_operations.py +0 -156
  471. azure/mgmt/storage/v2021_01_01/operations/_patch.py +0 -20
  472. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +0 -583
  473. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +0 -153
  474. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +0 -814
  475. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +0 -450
  476. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +0 -2124
  477. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +0 -572
  478. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +0 -450
  479. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +0 -169
  480. azure/mgmt/storage/v2021_02_01/__init__.py +0 -26
  481. azure/mgmt/storage/v2021_02_01/_configuration.py +0 -65
  482. azure/mgmt/storage/v2021_02_01/_patch.py +0 -32
  483. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +0 -219
  484. azure/mgmt/storage/v2021_02_01/_vendor.py +0 -16
  485. azure/mgmt/storage/v2021_02_01/_version.py +0 -9
  486. azure/mgmt/storage/v2021_02_01/aio/__init__.py +0 -23
  487. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +0 -65
  488. azure/mgmt/storage/v2021_02_01/aio/_patch.py +0 -32
  489. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +0 -224
  490. azure/mgmt/storage/v2021_02_01/aio/operations/__init__.py +0 -55
  491. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +0 -1747
  492. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  493. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +0 -375
  494. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +0 -194
  495. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +0 -550
  496. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +0 -341
  497. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +0 -810
  498. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +0 -349
  499. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +0 -436
  500. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +0 -135
  501. azure/mgmt/storage/v2021_02_01/aio/operations/_patch.py +0 -20
  502. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  503. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +0 -117
  504. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +0 -341
  505. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +0 -136
  506. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +0 -1687
  507. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +0 -405
  508. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +0 -341
  509. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +0 -139
  510. azure/mgmt/storage/v2021_02_01/models/__init__.py +0 -389
  511. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +0 -6606
  512. azure/mgmt/storage/v2021_02_01/models/_patch.py +0 -20
  513. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -489
  514. azure/mgmt/storage/v2021_02_01/operations/__init__.py +0 -55
  515. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +0 -2246
  516. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +0 -590
  517. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +0 -483
  518. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +0 -689
  519. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +0 -450
  520. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +0 -1056
  521. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +0 -459
  522. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +0 -575
  523. azure/mgmt/storage/v2021_02_01/operations/_operations.py +0 -156
  524. azure/mgmt/storage/v2021_02_01/operations/_patch.py +0 -20
  525. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +0 -583
  526. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +0 -153
  527. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +0 -814
  528. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +0 -450
  529. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +0 -162
  530. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +0 -2124
  531. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +0 -572
  532. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +0 -450
  533. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +0 -169
  534. azure/mgmt/storage/v2021_04_01/__init__.py +0 -26
  535. azure/mgmt/storage/v2021_04_01/_configuration.py +0 -65
  536. azure/mgmt/storage/v2021_04_01/_patch.py +0 -32
  537. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +0 -219
  538. azure/mgmt/storage/v2021_04_01/_vendor.py +0 -16
  539. azure/mgmt/storage/v2021_04_01/_version.py +0 -9
  540. azure/mgmt/storage/v2021_04_01/aio/__init__.py +0 -23
  541. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +0 -65
  542. azure/mgmt/storage/v2021_04_01/aio/_patch.py +0 -32
  543. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +0 -224
  544. azure/mgmt/storage/v2021_04_01/aio/operations/__init__.py +0 -55
  545. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +0 -1860
  546. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  547. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +0 -375
  548. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +0 -194
  549. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +0 -550
  550. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +0 -344
  551. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +0 -1010
  552. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +0 -349
  553. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +0 -446
  554. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +0 -135
  555. azure/mgmt/storage/v2021_04_01/aio/operations/_patch.py +0 -20
  556. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  557. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +0 -117
  558. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +0 -613
  559. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +0 -344
  560. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +0 -136
  561. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +0 -1687
  562. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +0 -410
  563. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +0 -344
  564. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +0 -139
  565. azure/mgmt/storage/v2021_04_01/models/__init__.py +0 -411
  566. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +0 -7083
  567. azure/mgmt/storage/v2021_04_01/models/_patch.py +0 -20
  568. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -528
  569. azure/mgmt/storage/v2021_04_01/operations/__init__.py +0 -55
  570. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +0 -2392
  571. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +0 -590
  572. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +0 -483
  573. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +0 -250
  574. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +0 -689
  575. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +0 -453
  576. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +0 -1303
  577. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +0 -459
  578. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +0 -585
  579. azure/mgmt/storage/v2021_04_01/operations/_operations.py +0 -156
  580. azure/mgmt/storage/v2021_04_01/operations/_patch.py +0 -20
  581. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +0 -583
  582. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +0 -153
  583. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +0 -819
  584. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +0 -453
  585. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +0 -162
  586. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +0 -2124
  587. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +0 -577
  588. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +0 -453
  589. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +0 -169
  590. azure/mgmt/storage/v2021_06_01/__init__.py +0 -26
  591. azure/mgmt/storage/v2021_06_01/_configuration.py +0 -65
  592. azure/mgmt/storage/v2021_06_01/_patch.py +0 -32
  593. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +0 -219
  594. azure/mgmt/storage/v2021_06_01/_vendor.py +0 -16
  595. azure/mgmt/storage/v2021_06_01/_version.py +0 -9
  596. azure/mgmt/storage/v2021_06_01/aio/__init__.py +0 -23
  597. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +0 -65
  598. azure/mgmt/storage/v2021_06_01/aio/_patch.py +0 -32
  599. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +0 -224
  600. azure/mgmt/storage/v2021_06_01/aio/operations/__init__.py +0 -55
  601. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +0 -1838
  602. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  603. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +0 -550
  604. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +0 -331
  605. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +0 -1010
  606. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +0 -349
  607. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +0 -446
  608. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +0 -135
  609. azure/mgmt/storage/v2021_06_01/aio/operations/_patch.py +0 -20
  610. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +0 -613
  611. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +0 -331
  612. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +0 -1898
  613. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +0 -410
  614. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +0 -331
  615. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +0 -139
  616. azure/mgmt/storage/v2021_06_01/models/__init__.py +0 -419
  617. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +0 -7467
  618. azure/mgmt/storage/v2021_06_01/models/_patch.py +0 -20
  619. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -544
  620. azure/mgmt/storage/v2021_06_01/operations/__init__.py +0 -55
  621. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +0 -2370
  622. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +0 -590
  623. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +0 -464
  624. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +0 -250
  625. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +0 -689
  626. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +0 -434
  627. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +0 -1303
  628. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +0 -459
  629. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +0 -585
  630. azure/mgmt/storage/v2021_06_01/operations/_operations.py +0 -156
  631. azure/mgmt/storage/v2021_06_01/operations/_patch.py +0 -20
  632. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +0 -583
  633. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +0 -153
  634. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +0 -819
  635. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +0 -434
  636. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +0 -162
  637. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +0 -2400
  638. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +0 -577
  639. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +0 -434
  640. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +0 -169
  641. azure/mgmt/storage/v2021_08_01/__init__.py +0 -26
  642. azure/mgmt/storage/v2021_08_01/_configuration.py +0 -65
  643. azure/mgmt/storage/v2021_08_01/_patch.py +0 -32
  644. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +0 -225
  645. azure/mgmt/storage/v2021_08_01/_vendor.py +0 -16
  646. azure/mgmt/storage/v2021_08_01/_version.py +0 -9
  647. azure/mgmt/storage/v2021_08_01/aio/__init__.py +0 -23
  648. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +0 -65
  649. azure/mgmt/storage/v2021_08_01/aio/_patch.py +0 -32
  650. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +0 -230
  651. azure/mgmt/storage/v2021_08_01/aio/operations/__init__.py +0 -57
  652. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  653. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +0 -362
  654. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +0 -194
  655. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +0 -550
  656. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +0 -560
  657. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +0 -349
  658. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +0 -135
  659. azure/mgmt/storage/v2021_08_01/aio/operations/_patch.py +0 -20
  660. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  661. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +0 -117
  662. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +0 -608
  663. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +0 -328
  664. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +0 -136
  665. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +0 -1898
  666. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +0 -405
  667. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +0 -328
  668. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +0 -139
  669. azure/mgmt/storage/v2021_08_01/models/__init__.py +0 -431
  670. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +0 -7738
  671. azure/mgmt/storage/v2021_08_01/models/_patch.py +0 -20
  672. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -560
  673. azure/mgmt/storage/v2021_08_01/operations/__init__.py +0 -57
  674. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +0 -2370
  675. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +0 -590
  676. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +0 -464
  677. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +0 -250
  678. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +0 -689
  679. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +0 -431
  680. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +0 -1296
  681. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +0 -758
  682. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +0 -459
  683. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +0 -585
  684. azure/mgmt/storage/v2021_08_01/operations/_operations.py +0 -156
  685. azure/mgmt/storage/v2021_08_01/operations/_patch.py +0 -20
  686. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +0 -583
  687. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +0 -153
  688. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +0 -814
  689. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +0 -431
  690. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +0 -162
  691. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +0 -2400
  692. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +0 -572
  693. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +0 -431
  694. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +0 -169
  695. azure/mgmt/storage/v2021_09_01/__init__.py +0 -26
  696. azure/mgmt/storage/v2021_09_01/_configuration.py +0 -65
  697. azure/mgmt/storage/v2021_09_01/_patch.py +0 -32
  698. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +0 -225
  699. azure/mgmt/storage/v2021_09_01/_vendor.py +0 -16
  700. azure/mgmt/storage/v2021_09_01/_version.py +0 -9
  701. azure/mgmt/storage/v2021_09_01/aio/__init__.py +0 -23
  702. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +0 -65
  703. azure/mgmt/storage/v2021_09_01/aio/_patch.py +0 -32
  704. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +0 -230
  705. azure/mgmt/storage/v2021_09_01/aio/operations/__init__.py +0 -57
  706. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +0 -1838
  707. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +0 -362
  708. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +0 -194
  709. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +0 -550
  710. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +0 -328
  711. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +0 -1003
  712. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +0 -560
  713. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +0 -349
  714. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +0 -446
  715. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +0 -135
  716. azure/mgmt/storage/v2021_09_01/aio/operations/_patch.py +0 -20
  717. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  718. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +0 -117
  719. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +0 -608
  720. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +0 -136
  721. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +0 -1898
  722. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +0 -139
  723. azure/mgmt/storage/v2021_09_01/models/__init__.py +0 -441
  724. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +0 -8069
  725. azure/mgmt/storage/v2021_09_01/models/_patch.py +0 -20
  726. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -583
  727. azure/mgmt/storage/v2021_09_01/operations/__init__.py +0 -57
  728. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +0 -2370
  729. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +0 -587
  730. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +0 -464
  731. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +0 -250
  732. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +0 -689
  733. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +0 -431
  734. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +0 -1296
  735. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +0 -758
  736. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +0 -459
  737. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +0 -585
  738. azure/mgmt/storage/v2021_09_01/operations/_operations.py +0 -156
  739. azure/mgmt/storage/v2021_09_01/operations/_patch.py +0 -20
  740. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +0 -583
  741. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +0 -153
  742. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +0 -814
  743. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +0 -431
  744. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +0 -162
  745. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +0 -2400
  746. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +0 -765
  747. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +0 -431
  748. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +0 -169
  749. azure/mgmt/storage/v2022_05_01/__init__.py +0 -26
  750. azure/mgmt/storage/v2022_05_01/_configuration.py +0 -65
  751. azure/mgmt/storage/v2022_05_01/_patch.py +0 -20
  752. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +0 -225
  753. azure/mgmt/storage/v2022_05_01/_vendor.py +0 -16
  754. azure/mgmt/storage/v2022_05_01/_version.py +0 -9
  755. azure/mgmt/storage/v2022_05_01/aio/__init__.py +0 -23
  756. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +0 -65
  757. azure/mgmt/storage/v2022_05_01/aio/_patch.py +0 -20
  758. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +0 -230
  759. azure/mgmt/storage/v2022_05_01/aio/operations/__init__.py +0 -57
  760. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +0 -1838
  761. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  762. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +0 -362
  763. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +0 -194
  764. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +0 -550
  765. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +0 -328
  766. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +0 -1003
  767. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +0 -560
  768. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +0 -349
  769. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +0 -446
  770. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +0 -135
  771. azure/mgmt/storage/v2022_05_01/aio/operations/_patch.py +0 -20
  772. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  773. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +0 -117
  774. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +0 -608
  775. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +0 -328
  776. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +0 -136
  777. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +0 -1898
  778. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +0 -588
  779. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +0 -328
  780. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +0 -139
  781. azure/mgmt/storage/v2022_05_01/models/__init__.py +0 -441
  782. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +0 -8057
  783. azure/mgmt/storage/v2022_05_01/models/_patch.py +0 -20
  784. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -584
  785. azure/mgmt/storage/v2022_05_01/operations/__init__.py +0 -57
  786. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +0 -2370
  787. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +0 -587
  788. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +0 -464
  789. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +0 -250
  790. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +0 -689
  791. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +0 -431
  792. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +0 -1296
  793. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +0 -758
  794. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +0 -459
  795. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +0 -585
  796. azure/mgmt/storage/v2022_05_01/operations/_operations.py +0 -156
  797. azure/mgmt/storage/v2022_05_01/operations/_patch.py +0 -20
  798. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +0 -583
  799. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +0 -153
  800. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +0 -814
  801. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +0 -431
  802. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +0 -162
  803. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +0 -2400
  804. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +0 -765
  805. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +0 -431
  806. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +0 -169
  807. azure/mgmt/storage/v2022_09_01/__init__.py +0 -26
  808. azure/mgmt/storage/v2022_09_01/_configuration.py +0 -65
  809. azure/mgmt/storage/v2022_09_01/_patch.py +0 -20
  810. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +0 -225
  811. azure/mgmt/storage/v2022_09_01/_vendor.py +0 -16
  812. azure/mgmt/storage/v2022_09_01/_version.py +0 -9
  813. azure/mgmt/storage/v2022_09_01/aio/__init__.py +0 -23
  814. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +0 -65
  815. azure/mgmt/storage/v2022_09_01/aio/_patch.py +0 -20
  816. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +0 -230
  817. azure/mgmt/storage/v2022_09_01/aio/operations/__init__.py +0 -57
  818. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +0 -1838
  819. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  820. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +0 -362
  821. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +0 -194
  822. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +0 -328
  823. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +0 -1003
  824. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +0 -560
  825. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +0 -349
  826. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +0 -446
  827. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +0 -135
  828. azure/mgmt/storage/v2022_09_01/aio/operations/_patch.py +0 -20
  829. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  830. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +0 -117
  831. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +0 -608
  832. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +0 -328
  833. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +0 -136
  834. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +0 -1913
  835. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +0 -588
  836. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +0 -328
  837. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +0 -139
  838. azure/mgmt/storage/v2022_09_01/models/__init__.py +0 -443
  839. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +0 -8093
  840. azure/mgmt/storage/v2022_09_01/models/_patch.py +0 -20
  841. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -592
  842. azure/mgmt/storage/v2022_09_01/operations/__init__.py +0 -57
  843. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +0 -2370
  844. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +0 -587
  845. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +0 -464
  846. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +0 -250
  847. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +0 -724
  848. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +0 -431
  849. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +0 -1296
  850. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +0 -758
  851. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +0 -459
  852. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +0 -585
  853. azure/mgmt/storage/v2022_09_01/operations/_operations.py +0 -156
  854. azure/mgmt/storage/v2022_09_01/operations/_patch.py +0 -20
  855. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +0 -583
  856. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +0 -153
  857. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +0 -814
  858. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +0 -431
  859. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +0 -162
  860. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +0 -2422
  861. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +0 -765
  862. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +0 -431
  863. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +0 -169
  864. azure/mgmt/storage/v2023_01_01/__init__.py +0 -26
  865. azure/mgmt/storage/v2023_01_01/_configuration.py +0 -65
  866. azure/mgmt/storage/v2023_01_01/_patch.py +0 -20
  867. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +0 -225
  868. azure/mgmt/storage/v2023_01_01/_vendor.py +0 -16
  869. azure/mgmt/storage/v2023_01_01/_version.py +0 -9
  870. azure/mgmt/storage/v2023_01_01/aio/__init__.py +0 -23
  871. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +0 -65
  872. azure/mgmt/storage/v2023_01_01/aio/_patch.py +0 -20
  873. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +0 -230
  874. azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +0 -57
  875. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +0 -1838
  876. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  877. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +0 -362
  878. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +0 -194
  879. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +0 -568
  880. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +0 -328
  881. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +0 -1003
  882. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +0 -560
  883. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +0 -349
  884. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +0 -446
  885. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +0 -135
  886. azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +0 -20
  887. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  888. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +0 -117
  889. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +0 -608
  890. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +0 -328
  891. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +0 -136
  892. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +0 -588
  893. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +0 -328
  894. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +0 -139
  895. azure/mgmt/storage/v2023_01_01/models/__init__.py +0 -461
  896. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +0 -8338
  897. azure/mgmt/storage/v2023_01_01/models/_patch.py +0 -20
  898. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -626
  899. azure/mgmt/storage/v2023_01_01/operations/__init__.py +0 -57
  900. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +0 -250
  901. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +0 -437
  902. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +0 -770
  903. azure/mgmt/storage/v2023_01_01/operations/_operations.py +0 -156
  904. azure/mgmt/storage/v2023_01_01/operations/_patch.py +0 -20
  905. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +0 -162
  906. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +0 -169
  907. azure/mgmt/storage/v2023_05_01/__init__.py +0 -26
  908. azure/mgmt/storage/v2023_05_01/_configuration.py +0 -65
  909. azure/mgmt/storage/v2023_05_01/_patch.py +0 -20
  910. azure/mgmt/storage/v2023_05_01/_vendor.py +0 -16
  911. azure/mgmt/storage/v2023_05_01/_version.py +0 -9
  912. azure/mgmt/storage/v2023_05_01/aio/__init__.py +0 -23
  913. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +0 -65
  914. azure/mgmt/storage/v2023_05_01/aio/_patch.py +0 -20
  915. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +0 -1838
  916. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  917. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +0 -362
  918. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +0 -194
  919. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +0 -568
  920. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +0 -328
  921. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +0 -1003
  922. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +0 -349
  923. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +0 -446
  924. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +0 -135
  925. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +0 -20
  926. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  927. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +0 -117
  928. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +0 -608
  929. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +0 -328
  930. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +0 -136
  931. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +0 -2187
  932. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +0 -588
  933. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +0 -328
  934. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +0 -139
  935. azure/mgmt/storage/v2023_05_01/models/__init__.py +0 -537
  936. azure/mgmt/storage/v2023_05_01/models/_patch.py +0 -20
  937. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +0 -2398
  938. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +0 -595
  939. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +0 -470
  940. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +0 -250
  941. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +0 -732
  942. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +0 -437
  943. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +0 -1310
  944. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +0 -465
  945. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +0 -593
  946. azure/mgmt/storage/v2023_05_01/operations/_operations.py +0 -156
  947. azure/mgmt/storage/v2023_05_01/operations/_patch.py +0 -20
  948. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +0 -591
  949. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +0 -155
  950. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +0 -824
  951. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +0 -437
  952. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +0 -162
  953. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +0 -2796
  954. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +0 -437
  955. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +0 -169
  956. azure_mgmt_storage-21.2.1.dist-info/RECORD +0 -979
  957. /azure/mgmt/storage/{v2015_06_15/aio/operations → v2024_01_01}/_patch.py +0 -0
  958. /azure/mgmt/storage/{v2015_06_15/models → v2024_01_01/aio}/_patch.py +0 -0
  959. /azure/mgmt/storage/{v2015_06_15 → v2024_01_01/aio}/operations/_patch.py +0 -0
  960. /azure/mgmt/storage/{v2016_12_01/aio/operations → v2024_01_01/models}/_patch.py +0 -0
  961. /azure/mgmt/storage/{v2016_12_01/models → v2024_01_01/operations}/_patch.py +0 -0
  962. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.1.0.dist-info}/LICENSE +0 -0
  963. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.1.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines,too-many-statements
1
+ # pylint: disable=too-many-lines
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, Literal, Optional, Type, TypeVar, Union, cast, overload
11
+ from typing import Any, Callable, Dict, IO, Iterable, Iterator, Literal, Optional, TypeVar, Union, cast, overload
12
12
  import urllib.parse
13
13
 
14
14
  from azure.core.exceptions import (
@@ -17,13 +17,14 @@ from azure.core.exceptions import (
17
17
  ResourceExistsError,
18
18
  ResourceNotFoundError,
19
19
  ResourceNotModifiedError,
20
+ StreamClosedError,
21
+ StreamConsumedError,
20
22
  map_error,
21
23
  )
22
24
  from azure.core.paging import ItemPaged
23
25
  from azure.core.pipeline import PipelineResponse
24
- from azure.core.pipeline.transport import HttpResponse
25
26
  from azure.core.polling import LROPoller, NoPolling, PollingMethod
26
- from azure.core.rest import HttpRequest
27
+ from azure.core.rest import HttpRequest, HttpResponse
27
28
  from azure.core.tracing.decorator import distributed_trace
28
29
  from azure.core.utils import case_insensitive_dict
29
30
  from azure.mgmt.core.exceptions import ARMErrorFormat
@@ -31,12 +32,11 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
31
32
 
32
33
  from .. import models as _models
33
34
  from ..._serialization import Serializer
34
- from .._vendor import _convert_request
35
35
 
36
36
  if sys.version_info >= (3, 9):
37
37
  from collections.abc import MutableMapping
38
38
  else:
39
- from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
39
+ from typing import MutableMapping # type: ignore
40
40
  T = TypeVar("T")
41
41
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
42
42
 
@@ -48,7 +48,7 @@ def build_check_name_availability_request(subscription_id: str, **kwargs: Any) -
48
48
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
49
49
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
50
50
 
51
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
51
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
52
52
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
53
53
  accept = _headers.pop("Accept", "application/json")
54
54
 
@@ -79,7 +79,7 @@ def build_create_request(
79
79
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
80
80
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
81
81
 
82
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
82
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
83
83
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
84
84
  accept = _headers.pop("Accept", "application/json")
85
85
 
@@ -116,7 +116,7 @@ def build_delete_request(
116
116
  ) -> HttpRequest:
117
117
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
118
118
 
119
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
119
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
120
120
  # Construct URL
121
121
  _url = kwargs.pop(
122
122
  "template_url",
@@ -151,7 +151,7 @@ def build_get_properties_request(
151
151
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
152
152
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
153
153
 
154
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
154
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
155
155
  accept = _headers.pop("Accept", "application/json")
156
156
 
157
157
  # Construct URL
@@ -188,7 +188,7 @@ def build_update_request(
188
188
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
189
189
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
190
190
 
191
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
191
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
192
192
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
193
193
  accept = _headers.pop("Accept", "application/json")
194
194
 
@@ -224,7 +224,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest:
224
224
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
225
225
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
226
226
 
227
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
227
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
228
228
  accept = _headers.pop("Accept", "application/json")
229
229
 
230
230
  # Construct URL
@@ -248,7 +248,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_
248
248
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
249
249
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
250
250
 
251
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
251
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
252
252
  accept = _headers.pop("Accept", "application/json")
253
253
 
254
254
  # Construct URL
@@ -285,7 +285,7 @@ def build_list_keys_request(
285
285
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
286
286
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
287
287
 
288
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
288
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
289
289
  accept = _headers.pop("Accept", "application/json")
290
290
 
291
291
  # Construct URL
@@ -322,7 +322,7 @@ def build_regenerate_key_request(
322
322
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
323
323
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
324
324
 
325
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
325
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
326
326
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
327
327
  accept = _headers.pop("Accept", "application/json")
328
328
 
@@ -360,7 +360,7 @@ def build_list_account_sas_request(
360
360
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
361
361
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
362
362
 
363
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
363
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
364
364
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
365
365
  accept = _headers.pop("Accept", "application/json")
366
366
 
@@ -398,7 +398,7 @@ def build_list_service_sas_request(
398
398
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
399
399
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
400
400
 
401
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
401
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
402
402
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
403
403
  accept = _headers.pop("Accept", "application/json")
404
404
 
@@ -440,7 +440,7 @@ def build_failover_request(
440
440
  ) -> HttpRequest:
441
441
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
442
442
 
443
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
443
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
444
444
  # Construct URL
445
445
  _url = kwargs.pop(
446
446
  "template_url",
@@ -472,7 +472,7 @@ def build_hierarchical_namespace_migration_request( # pylint: disable=name-too-
472
472
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
473
473
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
474
474
 
475
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
475
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
476
476
  accept = _headers.pop("Accept", "application/json")
477
477
 
478
478
  # Construct URL
@@ -508,7 +508,7 @@ def build_abort_hierarchical_namespace_migration_request( # pylint: disable=nam
508
508
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
509
509
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
510
510
 
511
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
511
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
512
512
  accept = _headers.pop("Accept", "application/json")
513
513
 
514
514
  # Construct URL
@@ -543,7 +543,7 @@ def build_customer_initiated_migration_request( # pylint: disable=name-too-long
543
543
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
544
544
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
545
545
 
546
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
546
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
547
547
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
548
548
  accept = _headers.pop("Accept", "application/json")
549
549
 
@@ -585,7 +585,7 @@ def build_get_customer_initiated_migration_request( # pylint: disable=name-too-
585
585
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
586
586
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
587
587
 
588
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
588
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
589
589
  accept = _headers.pop("Accept", "application/json")
590
590
 
591
591
  # Construct URL
@@ -621,7 +621,7 @@ def build_restore_blob_ranges_request(
621
621
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
622
622
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
623
623
 
624
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
624
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
625
625
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
626
626
  accept = _headers.pop("Accept", "application/json")
627
627
 
@@ -658,7 +658,7 @@ def build_revoke_user_delegation_keys_request( # pylint: disable=name-too-long
658
658
  ) -> HttpRequest:
659
659
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
660
660
 
661
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-01-01"))
661
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-01-01"))
662
662
  # Construct URL
663
663
  _url = kwargs.pop(
664
664
  "template_url",
@@ -686,7 +686,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
686
686
  **DO NOT** instantiate this class directly.
687
687
 
688
688
  Instead, you should access the following operations through
689
- :class:`~azure.mgmt.storage.v2023_01_01.StorageManagementClient`'s
689
+ :class:`~azure.mgmt.storage.v2024_01_01.StorageManagementClient`'s
690
690
  :attr:`storage_accounts` attribute.
691
691
  """
692
692
 
@@ -714,12 +714,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
714
714
  Storage account names must be between 3 and 24 characters in length and use numbers and
715
715
  lower-case letters only. Required.
716
716
  :type account_name:
717
- ~azure.mgmt.storage.v2023_01_01.models.StorageAccountCheckNameAvailabilityParameters
717
+ ~azure.mgmt.storage.v2024_01_01.models.StorageAccountCheckNameAvailabilityParameters
718
718
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
719
719
  Default value is "application/json".
720
720
  :paramtype content_type: str
721
721
  :return: CheckNameAvailabilityResult or the result of cls(response)
722
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.CheckNameAvailabilityResult
722
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.CheckNameAvailabilityResult
723
723
  :raises ~azure.core.exceptions.HttpResponseError:
724
724
  """
725
725
 
@@ -737,7 +737,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
737
737
  Default value is "application/json".
738
738
  :paramtype content_type: str
739
739
  :return: CheckNameAvailabilityResult or the result of cls(response)
740
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.CheckNameAvailabilityResult
740
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.CheckNameAvailabilityResult
741
741
  :raises ~azure.core.exceptions.HttpResponseError:
742
742
  """
743
743
 
@@ -752,13 +752,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
752
752
  lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
753
753
  IO[bytes] type. Required.
754
754
  :type account_name:
755
- ~azure.mgmt.storage.v2023_01_01.models.StorageAccountCheckNameAvailabilityParameters or
755
+ ~azure.mgmt.storage.v2024_01_01.models.StorageAccountCheckNameAvailabilityParameters or
756
756
  IO[bytes]
757
757
  :return: CheckNameAvailabilityResult or the result of cls(response)
758
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.CheckNameAvailabilityResult
758
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.CheckNameAvailabilityResult
759
759
  :raises ~azure.core.exceptions.HttpResponseError:
760
760
  """
761
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
761
+ error_map: MutableMapping = {
762
762
  401: ClientAuthenticationError,
763
763
  404: ResourceNotFoundError,
764
764
  409: ResourceExistsError,
@@ -769,7 +769,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
769
769
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
770
770
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
771
771
 
772
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
772
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
773
773
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
774
774
  cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
775
775
 
@@ -790,7 +790,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
790
790
  headers=_headers,
791
791
  params=_params,
792
792
  )
793
- _request = _convert_request(_request)
794
793
  _request.url = self._client.format_url(_request.url)
795
794
 
796
795
  _stream = False
@@ -804,7 +803,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
804
803
  map_error(status_code=response.status_code, response=response, error_map=error_map)
805
804
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
806
805
 
807
- deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
806
+ deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response.http_response)
808
807
 
809
808
  if cls:
810
809
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -817,8 +816,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
817
816
  account_name: str,
818
817
  parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
819
818
  **kwargs: Any
820
- ) -> Optional[_models.StorageAccount]:
821
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
819
+ ) -> Iterator[bytes]:
820
+ error_map: MutableMapping = {
822
821
  401: ClientAuthenticationError,
823
822
  404: ResourceNotFoundError,
824
823
  409: ResourceExistsError,
@@ -829,9 +828,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
829
828
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
830
829
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
831
830
 
832
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
831
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
833
832
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
834
- cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
833
+ cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
835
834
 
836
835
  content_type = content_type or "application/json"
837
836
  _json = None
@@ -852,10 +851,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
852
851
  headers=_headers,
853
852
  params=_params,
854
853
  )
855
- _request = _convert_request(_request)
856
854
  _request.url = self._client.format_url(_request.url)
857
855
 
858
- _stream = False
856
+ _decompress = kwargs.pop("decompress", True)
857
+ _stream = True
859
858
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
860
859
  _request, stream=_stream, **kwargs
861
860
  )
@@ -863,12 +862,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
863
862
  response = pipeline_response.http_response
864
863
 
865
864
  if response.status_code not in [200, 202]:
865
+ try:
866
+ response.read() # Load the body in memory and close the socket
867
+ except (StreamConsumedError, StreamClosedError):
868
+ pass
866
869
  map_error(status_code=response.status_code, response=response, error_map=error_map)
867
870
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
868
871
 
869
- deserialized = None
870
- if response.status_code == 200:
871
- deserialized = self._deserialize("StorageAccount", pipeline_response)
872
+ deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
872
873
 
873
874
  if cls:
874
875
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -898,13 +899,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
898
899
  lower-case letters only. Required.
899
900
  :type account_name: str
900
901
  :param parameters: The parameters to provide for the created account. Required.
901
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountCreateParameters
902
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountCreateParameters
902
903
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
903
904
  Default value is "application/json".
904
905
  :paramtype content_type: str
905
906
  :return: An instance of LROPoller that returns either StorageAccount or the result of
906
907
  cls(response)
907
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2023_01_01.models.StorageAccount]
908
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageAccount]
908
909
  :raises ~azure.core.exceptions.HttpResponseError:
909
910
  """
910
911
 
@@ -937,7 +938,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
937
938
  :paramtype content_type: str
938
939
  :return: An instance of LROPoller that returns either StorageAccount or the result of
939
940
  cls(response)
940
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2023_01_01.models.StorageAccount]
941
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageAccount]
941
942
  :raises ~azure.core.exceptions.HttpResponseError:
942
943
  """
943
944
 
@@ -963,17 +964,17 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
963
964
  :type account_name: str
964
965
  :param parameters: The parameters to provide for the created account. Is either a
965
966
  StorageAccountCreateParameters type or a IO[bytes] type. Required.
966
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountCreateParameters or
967
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountCreateParameters or
967
968
  IO[bytes]
968
969
  :return: An instance of LROPoller that returns either StorageAccount or the result of
969
970
  cls(response)
970
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2023_01_01.models.StorageAccount]
971
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2024_01_01.models.StorageAccount]
971
972
  :raises ~azure.core.exceptions.HttpResponseError:
972
973
  """
973
974
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
974
975
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
975
976
 
976
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
977
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
977
978
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
978
979
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
979
980
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
@@ -991,10 +992,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
991
992
  params=_params,
992
993
  **kwargs
993
994
  )
995
+ raw_result.http_response.read() # type: ignore
994
996
  kwargs.pop("error_map", None)
995
997
 
996
998
  def get_long_running_output(pipeline_response):
997
- deserialized = self._deserialize("StorageAccount", pipeline_response)
999
+ deserialized = self._deserialize("StorageAccount", pipeline_response.http_response)
998
1000
  if cls:
999
1001
  return cls(pipeline_response, deserialized, {}) # type: ignore
1000
1002
  return deserialized
@@ -1033,7 +1035,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1033
1035
  :rtype: None
1034
1036
  :raises ~azure.core.exceptions.HttpResponseError:
1035
1037
  """
1036
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1038
+ error_map: MutableMapping = {
1037
1039
  401: ClientAuthenticationError,
1038
1040
  404: ResourceNotFoundError,
1039
1041
  409: ResourceExistsError,
@@ -1044,7 +1046,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1044
1046
  _headers = kwargs.pop("headers", {}) or {}
1045
1047
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1046
1048
 
1047
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1049
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1048
1050
  cls: ClsType[None] = kwargs.pop("cls", None)
1049
1051
 
1050
1052
  _request = build_delete_request(
@@ -1055,7 +1057,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1055
1057
  headers=_headers,
1056
1058
  params=_params,
1057
1059
  )
1058
- _request = _convert_request(_request)
1059
1060
  _request.url = self._client.format_url(_request.url)
1060
1061
 
1061
1062
  _stream = False
@@ -1095,12 +1096,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1095
1096
  data is not included when fetching properties. Currently we only support geoReplicationStats
1096
1097
  and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
1097
1098
  value is None.
1098
- :type expand: str or ~azure.mgmt.storage.v2023_01_01.models.StorageAccountExpand
1099
+ :type expand: str or ~azure.mgmt.storage.v2024_01_01.models.StorageAccountExpand
1099
1100
  :return: StorageAccount or the result of cls(response)
1100
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccount
1101
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccount
1101
1102
  :raises ~azure.core.exceptions.HttpResponseError:
1102
1103
  """
1103
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1104
+ error_map: MutableMapping = {
1104
1105
  401: ClientAuthenticationError,
1105
1106
  404: ResourceNotFoundError,
1106
1107
  409: ResourceExistsError,
@@ -1111,7 +1112,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1111
1112
  _headers = kwargs.pop("headers", {}) or {}
1112
1113
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1113
1114
 
1114
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1115
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1115
1116
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
1116
1117
 
1117
1118
  _request = build_get_properties_request(
@@ -1123,7 +1124,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1123
1124
  headers=_headers,
1124
1125
  params=_params,
1125
1126
  )
1126
- _request = _convert_request(_request)
1127
1127
  _request.url = self._client.format_url(_request.url)
1128
1128
 
1129
1129
  _stream = False
@@ -1137,7 +1137,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1137
1137
  map_error(status_code=response.status_code, response=response, error_map=error_map)
1138
1138
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1139
1139
 
1140
- deserialized = self._deserialize("StorageAccount", pipeline_response)
1140
+ deserialized = self._deserialize("StorageAccount", pipeline_response.http_response)
1141
1141
 
1142
1142
  if cls:
1143
1143
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -1171,12 +1171,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1171
1171
  lower-case letters only. Required.
1172
1172
  :type account_name: str
1173
1173
  :param parameters: The parameters to provide for the updated account. Required.
1174
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountUpdateParameters
1174
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountUpdateParameters
1175
1175
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1176
1176
  Default value is "application/json".
1177
1177
  :paramtype content_type: str
1178
1178
  :return: StorageAccount or the result of cls(response)
1179
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccount
1179
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccount
1180
1180
  :raises ~azure.core.exceptions.HttpResponseError:
1181
1181
  """
1182
1182
 
@@ -1212,7 +1212,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1212
1212
  Default value is "application/json".
1213
1213
  :paramtype content_type: str
1214
1214
  :return: StorageAccount or the result of cls(response)
1215
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccount
1215
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccount
1216
1216
  :raises ~azure.core.exceptions.HttpResponseError:
1217
1217
  """
1218
1218
 
@@ -1242,13 +1242,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1242
1242
  :type account_name: str
1243
1243
  :param parameters: The parameters to provide for the updated account. Is either a
1244
1244
  StorageAccountUpdateParameters type or a IO[bytes] type. Required.
1245
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountUpdateParameters or
1245
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountUpdateParameters or
1246
1246
  IO[bytes]
1247
1247
  :return: StorageAccount or the result of cls(response)
1248
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccount
1248
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccount
1249
1249
  :raises ~azure.core.exceptions.HttpResponseError:
1250
1250
  """
1251
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1251
+ error_map: MutableMapping = {
1252
1252
  401: ClientAuthenticationError,
1253
1253
  404: ResourceNotFoundError,
1254
1254
  409: ResourceExistsError,
@@ -1259,7 +1259,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1259
1259
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1260
1260
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1261
1261
 
1262
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1262
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1263
1263
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1264
1264
  cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
1265
1265
 
@@ -1282,7 +1282,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1282
1282
  headers=_headers,
1283
1283
  params=_params,
1284
1284
  )
1285
- _request = _convert_request(_request)
1286
1285
  _request.url = self._client.format_url(_request.url)
1287
1286
 
1288
1287
  _stream = False
@@ -1296,7 +1295,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1296
1295
  map_error(status_code=response.status_code, response=response, error_map=error_map)
1297
1296
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1298
1297
 
1299
- deserialized = self._deserialize("StorageAccount", pipeline_response)
1298
+ deserialized = self._deserialize("StorageAccount", pipeline_response.http_response)
1300
1299
 
1301
1300
  if cls:
1302
1301
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -1309,16 +1308,16 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1309
1308
  returned; use the ListKeys operation for this.
1310
1309
 
1311
1310
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1312
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2023_01_01.models.StorageAccount]
1311
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2024_01_01.models.StorageAccount]
1313
1312
  :raises ~azure.core.exceptions.HttpResponseError:
1314
1313
  """
1315
1314
  _headers = kwargs.pop("headers", {}) or {}
1316
1315
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1317
1316
 
1318
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1317
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1319
1318
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1320
1319
 
1321
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1320
+ error_map: MutableMapping = {
1322
1321
  401: ClientAuthenticationError,
1323
1322
  404: ResourceNotFoundError,
1324
1323
  409: ResourceExistsError,
@@ -1335,7 +1334,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1335
1334
  headers=_headers,
1336
1335
  params=_params,
1337
1336
  )
1338
- _request = _convert_request(_request)
1339
1337
  _request.url = self._client.format_url(_request.url)
1340
1338
 
1341
1339
  else:
@@ -1351,7 +1349,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1351
1349
  _request = HttpRequest(
1352
1350
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1353
1351
  )
1354
- _request = _convert_request(_request)
1355
1352
  _request.url = self._client.format_url(_request.url)
1356
1353
  _request.method = "GET"
1357
1354
  return _request
@@ -1389,16 +1386,16 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1389
1386
  name is case insensitive. Required.
1390
1387
  :type resource_group_name: str
1391
1388
  :return: An iterator like instance of either StorageAccount or the result of cls(response)
1392
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2023_01_01.models.StorageAccount]
1389
+ :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2024_01_01.models.StorageAccount]
1393
1390
  :raises ~azure.core.exceptions.HttpResponseError:
1394
1391
  """
1395
1392
  _headers = kwargs.pop("headers", {}) or {}
1396
1393
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1397
1394
 
1398
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1395
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1399
1396
  cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
1400
1397
 
1401
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1398
+ error_map: MutableMapping = {
1402
1399
  401: ClientAuthenticationError,
1403
1400
  404: ResourceNotFoundError,
1404
1401
  409: ResourceExistsError,
@@ -1416,7 +1413,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1416
1413
  headers=_headers,
1417
1414
  params=_params,
1418
1415
  )
1419
- _request = _convert_request(_request)
1420
1416
  _request.url = self._client.format_url(_request.url)
1421
1417
 
1422
1418
  else:
@@ -1432,7 +1428,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1432
1428
  _request = HttpRequest(
1433
1429
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
1434
1430
  )
1435
- _request = _convert_request(_request)
1436
1431
  _request.url = self._client.format_url(_request.url)
1437
1432
  _request.method = "GET"
1438
1433
  return _request
@@ -1479,10 +1474,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1479
1474
  "kerb" and None. Default value is "kerb".
1480
1475
  :type expand: str
1481
1476
  :return: StorageAccountListKeysResult or the result of cls(response)
1482
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountListKeysResult
1477
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountListKeysResult
1483
1478
  :raises ~azure.core.exceptions.HttpResponseError:
1484
1479
  """
1485
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1480
+ error_map: MutableMapping = {
1486
1481
  401: ClientAuthenticationError,
1487
1482
  404: ResourceNotFoundError,
1488
1483
  409: ResourceExistsError,
@@ -1493,7 +1488,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1493
1488
  _headers = kwargs.pop("headers", {}) or {}
1494
1489
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1495
1490
 
1496
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1491
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1497
1492
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1498
1493
 
1499
1494
  _request = build_list_keys_request(
@@ -1505,7 +1500,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1505
1500
  headers=_headers,
1506
1501
  params=_params,
1507
1502
  )
1508
- _request = _convert_request(_request)
1509
1503
  _request.url = self._client.format_url(_request.url)
1510
1504
 
1511
1505
  _stream = False
@@ -1519,7 +1513,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1519
1513
  map_error(status_code=response.status_code, response=response, error_map=error_map)
1520
1514
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1521
1515
 
1522
- deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1516
+ deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response.http_response)
1523
1517
 
1524
1518
  if cls:
1525
1519
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -1548,12 +1542,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1548
1542
  :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
1549
1543
  kerb1, kerb2. Required.
1550
1544
  :type regenerate_key:
1551
- ~azure.mgmt.storage.v2023_01_01.models.StorageAccountRegenerateKeyParameters
1545
+ ~azure.mgmt.storage.v2024_01_01.models.StorageAccountRegenerateKeyParameters
1552
1546
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1553
1547
  Default value is "application/json".
1554
1548
  :paramtype content_type: str
1555
1549
  :return: StorageAccountListKeysResult or the result of cls(response)
1556
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountListKeysResult
1550
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountListKeysResult
1557
1551
  :raises ~azure.core.exceptions.HttpResponseError:
1558
1552
  """
1559
1553
 
@@ -1583,7 +1577,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1583
1577
  Default value is "application/json".
1584
1578
  :paramtype content_type: str
1585
1579
  :return: StorageAccountListKeysResult or the result of cls(response)
1586
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountListKeysResult
1580
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountListKeysResult
1587
1581
  :raises ~azure.core.exceptions.HttpResponseError:
1588
1582
  """
1589
1583
 
@@ -1608,12 +1602,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1608
1602
  kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
1609
1603
  Required.
1610
1604
  :type regenerate_key:
1611
- ~azure.mgmt.storage.v2023_01_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1605
+ ~azure.mgmt.storage.v2024_01_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
1612
1606
  :return: StorageAccountListKeysResult or the result of cls(response)
1613
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountListKeysResult
1607
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountListKeysResult
1614
1608
  :raises ~azure.core.exceptions.HttpResponseError:
1615
1609
  """
1616
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1610
+ error_map: MutableMapping = {
1617
1611
  401: ClientAuthenticationError,
1618
1612
  404: ResourceNotFoundError,
1619
1613
  409: ResourceExistsError,
@@ -1624,7 +1618,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1624
1618
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1625
1619
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1626
1620
 
1627
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1621
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1628
1622
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1629
1623
  cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1630
1624
 
@@ -1647,7 +1641,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1647
1641
  headers=_headers,
1648
1642
  params=_params,
1649
1643
  )
1650
- _request = _convert_request(_request)
1651
1644
  _request.url = self._client.format_url(_request.url)
1652
1645
 
1653
1646
  _stream = False
@@ -1661,7 +1654,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1661
1654
  map_error(status_code=response.status_code, response=response, error_map=error_map)
1662
1655
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1663
1656
 
1664
- deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1657
+ deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response.http_response)
1665
1658
 
1666
1659
  if cls:
1667
1660
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -1689,12 +1682,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1689
1682
  :type account_name: str
1690
1683
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1691
1684
  Required.
1692
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.AccountSasParameters
1685
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.AccountSasParameters
1693
1686
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1694
1687
  Default value is "application/json".
1695
1688
  :paramtype content_type: str
1696
1689
  :return: ListAccountSasResponse or the result of cls(response)
1697
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.ListAccountSasResponse
1690
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.ListAccountSasResponse
1698
1691
  :raises ~azure.core.exceptions.HttpResponseError:
1699
1692
  """
1700
1693
 
@@ -1724,7 +1717,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1724
1717
  Default value is "application/json".
1725
1718
  :paramtype content_type: str
1726
1719
  :return: ListAccountSasResponse or the result of cls(response)
1727
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.ListAccountSasResponse
1720
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.ListAccountSasResponse
1728
1721
  :raises ~azure.core.exceptions.HttpResponseError:
1729
1722
  """
1730
1723
 
@@ -1747,12 +1740,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1747
1740
  :type account_name: str
1748
1741
  :param parameters: The parameters to provide to list SAS credentials for the storage account.
1749
1742
  Is either a AccountSasParameters type or a IO[bytes] type. Required.
1750
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.AccountSasParameters or IO[bytes]
1743
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.AccountSasParameters or IO[bytes]
1751
1744
  :return: ListAccountSasResponse or the result of cls(response)
1752
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.ListAccountSasResponse
1745
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.ListAccountSasResponse
1753
1746
  :raises ~azure.core.exceptions.HttpResponseError:
1754
1747
  """
1755
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1748
+ error_map: MutableMapping = {
1756
1749
  401: ClientAuthenticationError,
1757
1750
  404: ResourceNotFoundError,
1758
1751
  409: ResourceExistsError,
@@ -1763,7 +1756,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1763
1756
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1764
1757
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1765
1758
 
1766
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1759
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1767
1760
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1768
1761
  cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
1769
1762
 
@@ -1786,7 +1779,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1786
1779
  headers=_headers,
1787
1780
  params=_params,
1788
1781
  )
1789
- _request = _convert_request(_request)
1790
1782
  _request.url = self._client.format_url(_request.url)
1791
1783
 
1792
1784
  _stream = False
@@ -1800,7 +1792,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1800
1792
  map_error(status_code=response.status_code, response=response, error_map=error_map)
1801
1793
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1802
1794
 
1803
- deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
1795
+ deserialized = self._deserialize("ListAccountSasResponse", pipeline_response.http_response)
1804
1796
 
1805
1797
  if cls:
1806
1798
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -1827,12 +1819,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1827
1819
  lower-case letters only. Required.
1828
1820
  :type account_name: str
1829
1821
  :param parameters: The parameters to provide to list service SAS credentials. Required.
1830
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.ServiceSasParameters
1822
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.ServiceSasParameters
1831
1823
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1832
1824
  Default value is "application/json".
1833
1825
  :paramtype content_type: str
1834
1826
  :return: ListServiceSasResponse or the result of cls(response)
1835
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.ListServiceSasResponse
1827
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.ListServiceSasResponse
1836
1828
  :raises ~azure.core.exceptions.HttpResponseError:
1837
1829
  """
1838
1830
 
@@ -1861,7 +1853,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1861
1853
  Default value is "application/json".
1862
1854
  :paramtype content_type: str
1863
1855
  :return: ListServiceSasResponse or the result of cls(response)
1864
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.ListServiceSasResponse
1856
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.ListServiceSasResponse
1865
1857
  :raises ~azure.core.exceptions.HttpResponseError:
1866
1858
  """
1867
1859
 
@@ -1884,12 +1876,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1884
1876
  :type account_name: str
1885
1877
  :param parameters: The parameters to provide to list service SAS credentials. Is either a
1886
1878
  ServiceSasParameters type or a IO[bytes] type. Required.
1887
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.ServiceSasParameters or IO[bytes]
1879
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.ServiceSasParameters or IO[bytes]
1888
1880
  :return: ListServiceSasResponse or the result of cls(response)
1889
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.ListServiceSasResponse
1881
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.ListServiceSasResponse
1890
1882
  :raises ~azure.core.exceptions.HttpResponseError:
1891
1883
  """
1892
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1884
+ error_map: MutableMapping = {
1893
1885
  401: ClientAuthenticationError,
1894
1886
  404: ResourceNotFoundError,
1895
1887
  409: ResourceExistsError,
@@ -1900,7 +1892,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1900
1892
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1901
1893
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1902
1894
 
1903
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1895
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1904
1896
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1905
1897
  cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
1906
1898
 
@@ -1923,7 +1915,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1923
1915
  headers=_headers,
1924
1916
  params=_params,
1925
1917
  )
1926
- _request = _convert_request(_request)
1927
1918
  _request.url = self._client.format_url(_request.url)
1928
1919
 
1929
1920
  _stream = False
@@ -1937,17 +1928,17 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1937
1928
  map_error(status_code=response.status_code, response=response, error_map=error_map)
1938
1929
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1939
1930
 
1940
- deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
1931
+ deserialized = self._deserialize("ListServiceSasResponse", pipeline_response.http_response)
1941
1932
 
1942
1933
  if cls:
1943
1934
  return cls(pipeline_response, deserialized, {}) # type: ignore
1944
1935
 
1945
1936
  return deserialized # type: ignore
1946
1937
 
1947
- def _failover_initial( # pylint: disable=inconsistent-return-statements
1938
+ def _failover_initial(
1948
1939
  self, resource_group_name: str, account_name: str, failover_type: Literal["Planned"] = "Planned", **kwargs: Any
1949
- ) -> None:
1950
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1940
+ ) -> Iterator[bytes]:
1941
+ error_map: MutableMapping = {
1951
1942
  401: ClientAuthenticationError,
1952
1943
  404: ResourceNotFoundError,
1953
1944
  409: ResourceExistsError,
@@ -1958,8 +1949,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1958
1949
  _headers = kwargs.pop("headers", {}) or {}
1959
1950
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1960
1951
 
1961
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1962
- cls: ClsType[None] = kwargs.pop("cls", None)
1952
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
1953
+ cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
1963
1954
 
1964
1955
  _request = build_failover_request(
1965
1956
  resource_group_name=resource_group_name,
@@ -1970,10 +1961,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1970
1961
  headers=_headers,
1971
1962
  params=_params,
1972
1963
  )
1973
- _request = _convert_request(_request)
1974
1964
  _request.url = self._client.format_url(_request.url)
1975
1965
 
1976
- _stream = False
1966
+ _decompress = kwargs.pop("decompress", True)
1967
+ _stream = True
1977
1968
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1978
1969
  _request, stream=_stream, **kwargs
1979
1970
  )
@@ -1981,11 +1972,19 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
1981
1972
  response = pipeline_response.http_response
1982
1973
 
1983
1974
  if response.status_code not in [200, 202]:
1975
+ try:
1976
+ response.read() # Load the body in memory and close the socket
1977
+ except (StreamConsumedError, StreamClosedError):
1978
+ pass
1984
1979
  map_error(status_code=response.status_code, response=response, error_map=error_map)
1985
1980
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1986
1981
 
1982
+ deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
1983
+
1987
1984
  if cls:
1988
- return cls(pipeline_response, None, {}) # type: ignore
1985
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1986
+
1987
+ return deserialized # type: ignore
1989
1988
 
1990
1989
  @distributed_trace
1991
1990
  def begin_failover(
@@ -2020,13 +2019,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2020
2019
  _headers = kwargs.pop("headers", {}) or {}
2021
2020
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2022
2021
 
2023
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2022
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2024
2023
  cls: ClsType[None] = kwargs.pop("cls", None)
2025
2024
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
2026
2025
  lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
2027
2026
  cont_token: Optional[str] = kwargs.pop("continuation_token", None)
2028
2027
  if cont_token is None:
2029
- raw_result = self._failover_initial( # type: ignore
2028
+ raw_result = self._failover_initial(
2030
2029
  resource_group_name=resource_group_name,
2031
2030
  account_name=account_name,
2032
2031
  failover_type=failover_type,
@@ -2036,6 +2035,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2036
2035
  params=_params,
2037
2036
  **kwargs
2038
2037
  )
2038
+ raw_result.http_response.read() # type: ignore
2039
2039
  kwargs.pop("error_map", None)
2040
2040
 
2041
2041
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
@@ -2059,10 +2059,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2059
2059
  )
2060
2060
  return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2061
2061
 
2062
- def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
2062
+ def _hierarchical_namespace_migration_initial( # pylint: disable=name-too-long
2063
2063
  self, resource_group_name: str, account_name: str, request_type: str, **kwargs: Any
2064
- ) -> None:
2065
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
2064
+ ) -> Iterator[bytes]:
2065
+ error_map: MutableMapping = {
2066
2066
  401: ClientAuthenticationError,
2067
2067
  404: ResourceNotFoundError,
2068
2068
  409: ResourceExistsError,
@@ -2073,8 +2073,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2073
2073
  _headers = kwargs.pop("headers", {}) or {}
2074
2074
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2075
2075
 
2076
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2077
- cls: ClsType[None] = kwargs.pop("cls", None)
2076
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2077
+ cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
2078
2078
 
2079
2079
  _request = build_hierarchical_namespace_migration_request(
2080
2080
  resource_group_name=resource_group_name,
@@ -2085,10 +2085,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2085
2085
  headers=_headers,
2086
2086
  params=_params,
2087
2087
  )
2088
- _request = _convert_request(_request)
2089
2088
  _request.url = self._client.format_url(_request.url)
2090
2089
 
2091
- _stream = False
2090
+ _decompress = kwargs.pop("decompress", True)
2091
+ _stream = True
2092
2092
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2093
2093
  _request, stream=_stream, **kwargs
2094
2094
  )
@@ -2096,12 +2096,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2096
2096
  response = pipeline_response.http_response
2097
2097
 
2098
2098
  if response.status_code not in [200, 202]:
2099
+ try:
2100
+ response.read() # Load the body in memory and close the socket
2101
+ except (StreamConsumedError, StreamClosedError):
2102
+ pass
2099
2103
  map_error(status_code=response.status_code, response=response, error_map=error_map)
2100
2104
  error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
2101
2105
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2102
2106
 
2107
+ deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
2108
+
2103
2109
  if cls:
2104
- return cls(pipeline_response, None, {}) # type: ignore
2110
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2111
+
2112
+ return deserialized # type: ignore
2105
2113
 
2106
2114
  @distributed_trace
2107
2115
  def begin_hierarchical_namespace_migration(
@@ -2128,13 +2136,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2128
2136
  _headers = kwargs.pop("headers", {}) or {}
2129
2137
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2130
2138
 
2131
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2139
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2132
2140
  cls: ClsType[None] = kwargs.pop("cls", None)
2133
2141
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
2134
2142
  lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
2135
2143
  cont_token: Optional[str] = kwargs.pop("continuation_token", None)
2136
2144
  if cont_token is None:
2137
- raw_result = self._hierarchical_namespace_migration_initial( # type: ignore
2145
+ raw_result = self._hierarchical_namespace_migration_initial(
2138
2146
  resource_group_name=resource_group_name,
2139
2147
  account_name=account_name,
2140
2148
  request_type=request_type,
@@ -2144,6 +2152,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2144
2152
  params=_params,
2145
2153
  **kwargs
2146
2154
  )
2155
+ raw_result.http_response.read() # type: ignore
2147
2156
  kwargs.pop("error_map", None)
2148
2157
 
2149
2158
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
@@ -2167,10 +2176,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2167
2176
  )
2168
2177
  return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2169
2178
 
2170
- def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
2179
+ def _abort_hierarchical_namespace_migration_initial( # pylint: disable=name-too-long
2171
2180
  self, resource_group_name: str, account_name: str, **kwargs: Any
2172
- ) -> None:
2173
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
2181
+ ) -> Iterator[bytes]:
2182
+ error_map: MutableMapping = {
2174
2183
  401: ClientAuthenticationError,
2175
2184
  404: ResourceNotFoundError,
2176
2185
  409: ResourceExistsError,
@@ -2181,8 +2190,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2181
2190
  _headers = kwargs.pop("headers", {}) or {}
2182
2191
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2183
2192
 
2184
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2185
- cls: ClsType[None] = kwargs.pop("cls", None)
2193
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2194
+ cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
2186
2195
 
2187
2196
  _request = build_abort_hierarchical_namespace_migration_request(
2188
2197
  resource_group_name=resource_group_name,
@@ -2192,10 +2201,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2192
2201
  headers=_headers,
2193
2202
  params=_params,
2194
2203
  )
2195
- _request = _convert_request(_request)
2196
2204
  _request.url = self._client.format_url(_request.url)
2197
2205
 
2198
- _stream = False
2206
+ _decompress = kwargs.pop("decompress", True)
2207
+ _stream = True
2199
2208
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2200
2209
  _request, stream=_stream, **kwargs
2201
2210
  )
@@ -2203,12 +2212,20 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2203
2212
  response = pipeline_response.http_response
2204
2213
 
2205
2214
  if response.status_code not in [200, 202]:
2215
+ try:
2216
+ response.read() # Load the body in memory and close the socket
2217
+ except (StreamConsumedError, StreamClosedError):
2218
+ pass
2206
2219
  map_error(status_code=response.status_code, response=response, error_map=error_map)
2207
2220
  error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
2208
2221
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2209
2222
 
2223
+ deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
2224
+
2210
2225
  if cls:
2211
- return cls(pipeline_response, None, {}) # type: ignore
2226
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2227
+
2228
+ return deserialized # type: ignore
2212
2229
 
2213
2230
  @distributed_trace
2214
2231
  def begin_abort_hierarchical_namespace_migration( # pylint: disable=name-too-long
@@ -2230,13 +2247,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2230
2247
  _headers = kwargs.pop("headers", {}) or {}
2231
2248
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2232
2249
 
2233
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2250
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2234
2251
  cls: ClsType[None] = kwargs.pop("cls", None)
2235
2252
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
2236
2253
  lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
2237
2254
  cont_token: Optional[str] = kwargs.pop("continuation_token", None)
2238
2255
  if cont_token is None:
2239
- raw_result = self._abort_hierarchical_namespace_migration_initial( # type: ignore
2256
+ raw_result = self._abort_hierarchical_namespace_migration_initial(
2240
2257
  resource_group_name=resource_group_name,
2241
2258
  account_name=account_name,
2242
2259
  api_version=api_version,
@@ -2245,6 +2262,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2245
2262
  params=_params,
2246
2263
  **kwargs
2247
2264
  )
2265
+ raw_result.http_response.read() # type: ignore
2248
2266
  kwargs.pop("error_map", None)
2249
2267
 
2250
2268
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
@@ -2268,14 +2286,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2268
2286
  )
2269
2287
  return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2270
2288
 
2271
- def _customer_initiated_migration_initial( # pylint: disable=inconsistent-return-statements
2289
+ def _customer_initiated_migration_initial(
2272
2290
  self,
2273
2291
  resource_group_name: str,
2274
2292
  account_name: str,
2275
2293
  parameters: Union[_models.StorageAccountMigration, IO[bytes]],
2276
2294
  **kwargs: Any
2277
- ) -> None:
2278
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
2295
+ ) -> Iterator[bytes]:
2296
+ error_map: MutableMapping = {
2279
2297
  401: ClientAuthenticationError,
2280
2298
  404: ResourceNotFoundError,
2281
2299
  409: ResourceExistsError,
@@ -2286,9 +2304,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2286
2304
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2287
2305
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2288
2306
 
2289
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2307
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2290
2308
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2291
- cls: ClsType[None] = kwargs.pop("cls", None)
2309
+ cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
2292
2310
 
2293
2311
  content_type = content_type or "application/json"
2294
2312
  _json = None
@@ -2309,10 +2327,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2309
2327
  headers=_headers,
2310
2328
  params=_params,
2311
2329
  )
2312
- _request = _convert_request(_request)
2313
2330
  _request.url = self._client.format_url(_request.url)
2314
2331
 
2315
- _stream = False
2332
+ _decompress = kwargs.pop("decompress", True)
2333
+ _stream = True
2316
2334
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2317
2335
  _request, stream=_stream, **kwargs
2318
2336
  )
@@ -2320,6 +2338,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2320
2338
  response = pipeline_response.http_response
2321
2339
 
2322
2340
  if response.status_code not in [200, 202]:
2341
+ try:
2342
+ response.read() # Load the body in memory and close the socket
2343
+ except (StreamConsumedError, StreamClosedError):
2344
+ pass
2323
2345
  map_error(status_code=response.status_code, response=response, error_map=error_map)
2324
2346
  error = self._deserialize.failsafe_deserialize(_models.ErrorResponseAutoGenerated, pipeline_response)
2325
2347
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
@@ -2328,8 +2350,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2328
2350
  if response.status_code == 202:
2329
2351
  response_headers["Location"] = self._deserialize("str", response.headers.get("Location"))
2330
2352
 
2353
+ deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
2354
+
2331
2355
  if cls:
2332
- return cls(pipeline_response, None, response_headers) # type: ignore
2356
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2357
+
2358
+ return deserialized # type: ignore
2333
2359
 
2334
2360
  @overload
2335
2361
  def begin_customer_initiated_migration(
@@ -2356,7 +2382,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2356
2382
  :type account_name: str
2357
2383
  :param parameters: The request parameters required to perform storage account migration.
2358
2384
  Required.
2359
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountMigration
2385
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountMigration
2360
2386
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2361
2387
  Default value is "application/json".
2362
2388
  :paramtype content_type: str
@@ -2422,7 +2448,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2422
2448
  :type account_name: str
2423
2449
  :param parameters: The request parameters required to perform storage account migration. Is
2424
2450
  either a StorageAccountMigration type or a IO[bytes] type. Required.
2425
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountMigration or IO[bytes]
2451
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountMigration or IO[bytes]
2426
2452
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2427
2453
  :rtype: ~azure.core.polling.LROPoller[None]
2428
2454
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2430,14 +2456,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2430
2456
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2431
2457
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2432
2458
 
2433
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2459
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2434
2460
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2435
2461
  cls: ClsType[None] = kwargs.pop("cls", None)
2436
2462
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
2437
2463
  lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
2438
2464
  cont_token: Optional[str] = kwargs.pop("continuation_token", None)
2439
2465
  if cont_token is None:
2440
- raw_result = self._customer_initiated_migration_initial( # type: ignore
2466
+ raw_result = self._customer_initiated_migration_initial(
2441
2467
  resource_group_name=resource_group_name,
2442
2468
  account_name=account_name,
2443
2469
  parameters=parameters,
@@ -2448,6 +2474,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2448
2474
  params=_params,
2449
2475
  **kwargs
2450
2476
  )
2477
+ raw_result.http_response.read() # type: ignore
2451
2478
  kwargs.pop("error_map", None)
2452
2479
 
2453
2480
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
@@ -2490,12 +2517,12 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2490
2517
  :type account_name: str
2491
2518
  :param migration_name: The name of the Storage Account Migration. It should always be
2492
2519
  'default'. "default" Required.
2493
- :type migration_name: str or ~azure.mgmt.storage.v2023_01_01.models.MigrationName
2520
+ :type migration_name: str or ~azure.mgmt.storage.v2024_01_01.models.MigrationName
2494
2521
  :return: StorageAccountMigration or the result of cls(response)
2495
- :rtype: ~azure.mgmt.storage.v2023_01_01.models.StorageAccountMigration
2522
+ :rtype: ~azure.mgmt.storage.v2024_01_01.models.StorageAccountMigration
2496
2523
  :raises ~azure.core.exceptions.HttpResponseError:
2497
2524
  """
2498
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
2525
+ error_map: MutableMapping = {
2499
2526
  401: ClientAuthenticationError,
2500
2527
  404: ResourceNotFoundError,
2501
2528
  409: ResourceExistsError,
@@ -2506,7 +2533,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2506
2533
  _headers = kwargs.pop("headers", {}) or {}
2507
2534
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2508
2535
 
2509
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2536
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2510
2537
  cls: ClsType[_models.StorageAccountMigration] = kwargs.pop("cls", None)
2511
2538
 
2512
2539
  _request = build_get_customer_initiated_migration_request(
@@ -2518,7 +2545,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2518
2545
  headers=_headers,
2519
2546
  params=_params,
2520
2547
  )
2521
- _request = _convert_request(_request)
2522
2548
  _request.url = self._client.format_url(_request.url)
2523
2549
 
2524
2550
  _stream = False
@@ -2533,7 +2559,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2533
2559
  error = self._deserialize.failsafe_deserialize(_models.ErrorResponseAutoGenerated, pipeline_response)
2534
2560
  raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
2535
2561
 
2536
- deserialized = self._deserialize("StorageAccountMigration", pipeline_response)
2562
+ deserialized = self._deserialize("StorageAccountMigration", pipeline_response.http_response)
2537
2563
 
2538
2564
  if cls:
2539
2565
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -2546,8 +2572,8 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2546
2572
  account_name: str,
2547
2573
  parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
2548
2574
  **kwargs: Any
2549
- ) -> _models.BlobRestoreStatus:
2550
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
2575
+ ) -> Iterator[bytes]:
2576
+ error_map: MutableMapping = {
2551
2577
  401: ClientAuthenticationError,
2552
2578
  404: ResourceNotFoundError,
2553
2579
  409: ResourceExistsError,
@@ -2558,9 +2584,9 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2558
2584
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2559
2585
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2560
2586
 
2561
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2587
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2562
2588
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2563
- cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
2589
+ cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None)
2564
2590
 
2565
2591
  content_type = content_type or "application/json"
2566
2592
  _json = None
@@ -2581,10 +2607,10 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2581
2607
  headers=_headers,
2582
2608
  params=_params,
2583
2609
  )
2584
- _request = _convert_request(_request)
2585
2610
  _request.url = self._client.format_url(_request.url)
2586
2611
 
2587
- _stream = False
2612
+ _decompress = kwargs.pop("decompress", True)
2613
+ _stream = True
2588
2614
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2589
2615
  _request, stream=_stream, **kwargs
2590
2616
  )
@@ -2592,14 +2618,14 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2592
2618
  response = pipeline_response.http_response
2593
2619
 
2594
2620
  if response.status_code not in [200, 202]:
2621
+ try:
2622
+ response.read() # Load the body in memory and close the socket
2623
+ except (StreamConsumedError, StreamClosedError):
2624
+ pass
2595
2625
  map_error(status_code=response.status_code, response=response, error_map=error_map)
2596
2626
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2597
2627
 
2598
- if response.status_code == 200:
2599
- deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
2600
-
2601
- if response.status_code == 202:
2602
- deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
2628
+ deserialized = response.stream_download(self._client._pipeline, decompress=_decompress)
2603
2629
 
2604
2630
  if cls:
2605
2631
  return cls(pipeline_response, deserialized, {}) # type: ignore
@@ -2626,13 +2652,13 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2626
2652
  lower-case letters only. Required.
2627
2653
  :type account_name: str
2628
2654
  :param parameters: The parameters to provide for restore blob ranges. Required.
2629
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.BlobRestoreParameters
2655
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.BlobRestoreParameters
2630
2656
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2631
2657
  Default value is "application/json".
2632
2658
  :paramtype content_type: str
2633
2659
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2634
2660
  cls(response)
2635
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2023_01_01.models.BlobRestoreStatus]
2661
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2024_01_01.models.BlobRestoreStatus]
2636
2662
  :raises ~azure.core.exceptions.HttpResponseError:
2637
2663
  """
2638
2664
 
@@ -2662,7 +2688,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2662
2688
  :paramtype content_type: str
2663
2689
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2664
2690
  cls(response)
2665
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2023_01_01.models.BlobRestoreStatus]
2691
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2024_01_01.models.BlobRestoreStatus]
2666
2692
  :raises ~azure.core.exceptions.HttpResponseError:
2667
2693
  """
2668
2694
 
@@ -2685,16 +2711,16 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2685
2711
  :type account_name: str
2686
2712
  :param parameters: The parameters to provide for restore blob ranges. Is either a
2687
2713
  BlobRestoreParameters type or a IO[bytes] type. Required.
2688
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.BlobRestoreParameters or IO[bytes]
2714
+ :type parameters: ~azure.mgmt.storage.v2024_01_01.models.BlobRestoreParameters or IO[bytes]
2689
2715
  :return: An instance of LROPoller that returns either BlobRestoreStatus or the result of
2690
2716
  cls(response)
2691
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2023_01_01.models.BlobRestoreStatus]
2717
+ :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.storage.v2024_01_01.models.BlobRestoreStatus]
2692
2718
  :raises ~azure.core.exceptions.HttpResponseError:
2693
2719
  """
2694
2720
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2695
2721
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2696
2722
 
2697
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2723
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2698
2724
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2699
2725
  cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
2700
2726
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
@@ -2712,10 +2738,11 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2712
2738
  params=_params,
2713
2739
  **kwargs
2714
2740
  )
2741
+ raw_result.http_response.read() # type: ignore
2715
2742
  kwargs.pop("error_map", None)
2716
2743
 
2717
2744
  def get_long_running_output(pipeline_response):
2718
- deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
2745
+ deserialized = self._deserialize("BlobRestoreStatus", pipeline_response.http_response)
2719
2746
  if cls:
2720
2747
  return cls(pipeline_response, deserialized, {}) # type: ignore
2721
2748
  return deserialized
@@ -2756,7 +2783,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2756
2783
  :rtype: None
2757
2784
  :raises ~azure.core.exceptions.HttpResponseError:
2758
2785
  """
2759
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
2786
+ error_map: MutableMapping = {
2760
2787
  401: ClientAuthenticationError,
2761
2788
  404: ResourceNotFoundError,
2762
2789
  409: ResourceExistsError,
@@ -2767,7 +2794,7 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2767
2794
  _headers = kwargs.pop("headers", {}) or {}
2768
2795
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2769
2796
 
2770
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2797
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2024-01-01"))
2771
2798
  cls: ClsType[None] = kwargs.pop("cls", None)
2772
2799
 
2773
2800
  _request = build_revoke_user_delegation_keys_request(
@@ -2778,7 +2805,6 @@ class StorageAccountsOperations: # pylint: disable=too-many-public-methods
2778
2805
  headers=_headers,
2779
2806
  params=_params,
2780
2807
  )
2781
- _request = _convert_request(_request)
2782
2808
  _request.url = self._client.format_url(_request.url)
2783
2809
 
2784
2810
  _stream = False