azure-mgmt-storage 21.2.1__py3-none-any.whl → 22.0.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 (957) hide show
  1. azure/mgmt/storage/_serialization.py +281 -168
  2. azure/mgmt/storage/_storage_management_client.py +16 -795
  3. azure/mgmt/storage/_version.py +1 -1
  4. azure/mgmt/storage/aio/_storage_management_client.py +16 -795
  5. azure/mgmt/storage/models.py +1 -1
  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/v2023_05_01/__init__.py +9 -3
  92. azure/mgmt/storage/v2023_05_01/_configuration.py +1 -2
  93. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +3 -3
  94. azure/mgmt/storage/v2023_05_01/_version.py +1 -1
  95. azure/mgmt/storage/v2023_05_01/aio/__init__.py +9 -3
  96. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +1 -2
  97. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +3 -3
  98. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +32 -26
  99. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +88 -86
  100. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +10 -18
  101. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +8 -15
  102. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +6 -12
  103. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +10 -22
  104. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +9 -15
  105. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +18 -33
  106. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +14 -26
  107. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +9 -15
  108. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +26 -20
  109. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +10 -18
  110. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +4 -9
  111. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +10 -18
  112. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +5 -9
  113. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +12 -23
  114. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +9 -15
  115. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +4 -9
  116. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +133 -98
  117. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +5 -9
  118. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +5 -9
  119. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +51 -43
  120. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +12 -23
  121. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +9 -15
  122. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +4 -9
  123. azure/mgmt/storage/v2023_05_01/models/__init__.py +273 -262
  124. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +18 -19
  125. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +2 -0
  126. azure/mgmt/storage/v2023_05_01/operations/__init__.py +32 -26
  127. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +74 -83
  128. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +9 -17
  129. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +8 -15
  130. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +6 -12
  131. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +10 -22
  132. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +9 -15
  133. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +17 -31
  134. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +13 -23
  135. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +8 -14
  136. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +25 -20
  137. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +9 -17
  138. azure/mgmt/storage/v2023_05_01/operations/_operations.py +4 -9
  139. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +9 -17
  140. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +5 -9
  141. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +11 -20
  142. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +9 -15
  143. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +4 -9
  144. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +118 -92
  145. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +5 -9
  146. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +5 -9
  147. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +52 -43
  148. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +11 -20
  149. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +9 -15
  150. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +4 -9
  151. azure/mgmt/storage/v2023_05_01/py.typed +1 -0
  152. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.0.0.dist-info}/METADATA +11 -4
  153. azure_mgmt_storage-22.0.0.dist-info/RECORD +183 -0
  154. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.0.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/_patch.py +0 -20
  167. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +0 -1030
  168. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +0 -135
  169. azure/mgmt/storage/v2015_06_15/models/__init__.py +0 -55
  170. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +0 -660
  171. azure/mgmt/storage/v2015_06_15/models/_patch.py +0 -20
  172. azure/mgmt/storage/v2015_06_15/models/_storage_management_enums.py +0 -59
  173. azure/mgmt/storage/v2015_06_15/operations/__init__.py +0 -21
  174. azure/mgmt/storage/v2015_06_15/operations/_patch.py +0 -20
  175. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +0 -1297
  176. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +0 -162
  177. azure/mgmt/storage/v2016_01_01/_vendor.py +0 -16
  178. azure/mgmt/storage/v2016_12_01/__init__.py +0 -26
  179. azure/mgmt/storage/v2016_12_01/_configuration.py +0 -66
  180. azure/mgmt/storage/v2016_12_01/_patch.py +0 -32
  181. azure/mgmt/storage/v2016_12_01/_storage_management.py +0 -115
  182. azure/mgmt/storage/v2016_12_01/_vendor.py +0 -16
  183. azure/mgmt/storage/v2016_12_01/_version.py +0 -9
  184. azure/mgmt/storage/v2016_12_01/aio/__init__.py +0 -23
  185. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +0 -66
  186. azure/mgmt/storage/v2016_12_01/aio/_patch.py +0 -32
  187. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +0 -118
  188. azure/mgmt/storage/v2016_12_01/aio/operations/__init__.py +0 -21
  189. azure/mgmt/storage/v2016_12_01/aio/operations/_patch.py +0 -20
  190. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +0 -1310
  191. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +0 -135
  192. azure/mgmt/storage/v2016_12_01/models/__init__.py +0 -97
  193. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +0 -1210
  194. azure/mgmt/storage/v2016_12_01/models/_patch.py +0 -20
  195. azure/mgmt/storage/v2016_12_01/models/_storage_management_enums.py +0 -169
  196. azure/mgmt/storage/v2016_12_01/operations/__init__.py +0 -21
  197. azure/mgmt/storage/v2016_12_01/operations/_patch.py +0 -20
  198. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +0 -1647
  199. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +0 -162
  200. azure/mgmt/storage/v2017_06_01/__init__.py +0 -26
  201. azure/mgmt/storage/v2017_06_01/_configuration.py +0 -66
  202. azure/mgmt/storage/v2017_06_01/_patch.py +0 -32
  203. azure/mgmt/storage/v2017_06_01/_storage_management.py +0 -121
  204. azure/mgmt/storage/v2017_06_01/_vendor.py +0 -16
  205. azure/mgmt/storage/v2017_06_01/_version.py +0 -9
  206. azure/mgmt/storage/v2017_06_01/aio/__init__.py +0 -23
  207. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +0 -66
  208. azure/mgmt/storage/v2017_06_01/aio/_patch.py +0 -32
  209. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +0 -124
  210. azure/mgmt/storage/v2017_06_01/aio/operations/__init__.py +0 -25
  211. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +0 -135
  212. azure/mgmt/storage/v2017_06_01/aio/operations/_patch.py +0 -20
  213. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +0 -135
  214. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +0 -1310
  215. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +0 -135
  216. azure/mgmt/storage/v2017_06_01/models/__init__.py +0 -129
  217. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +0 -1843
  218. azure/mgmt/storage/v2017_06_01/models/_patch.py +0 -20
  219. azure/mgmt/storage/v2017_06_01/models/_storage_management_enums.py +0 -191
  220. azure/mgmt/storage/v2017_06_01/operations/__init__.py +0 -25
  221. azure/mgmt/storage/v2017_06_01/operations/_operations.py +0 -156
  222. azure/mgmt/storage/v2017_06_01/operations/_patch.py +0 -20
  223. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +0 -162
  224. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +0 -1647
  225. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +0 -162
  226. azure/mgmt/storage/v2017_10_01/_vendor.py +0 -16
  227. azure/mgmt/storage/v2018_02_01/__init__.py +0 -26
  228. azure/mgmt/storage/v2018_02_01/_configuration.py +0 -65
  229. azure/mgmt/storage/v2018_02_01/_patch.py +0 -32
  230. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +0 -127
  231. azure/mgmt/storage/v2018_02_01/_vendor.py +0 -16
  232. azure/mgmt/storage/v2018_02_01/_version.py +0 -9
  233. azure/mgmt/storage/v2018_02_01/aio/__init__.py +0 -23
  234. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +0 -65
  235. azure/mgmt/storage/v2018_02_01/aio/_patch.py +0 -32
  236. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +0 -131
  237. azure/mgmt/storage/v2018_02_01/aio/operations/__init__.py +0 -27
  238. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +0 -1692
  239. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +0 -135
  240. azure/mgmt/storage/v2018_02_01/aio/operations/_patch.py +0 -20
  241. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +0 -135
  242. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +0 -1310
  243. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +0 -215
  244. azure/mgmt/storage/v2018_02_01/models/__init__.py +0 -171
  245. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +0 -2556
  246. azure/mgmt/storage/v2018_02_01/models/_patch.py +0 -20
  247. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -259
  248. azure/mgmt/storage/v2018_02_01/operations/__init__.py +0 -27
  249. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +0 -2178
  250. azure/mgmt/storage/v2018_02_01/operations/_operations.py +0 -156
  251. azure/mgmt/storage/v2018_02_01/operations/_patch.py +0 -20
  252. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +0 -162
  253. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +0 -1647
  254. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +0 -269
  255. azure/mgmt/storage/v2018_03_01_preview/__init__.py +0 -26
  256. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +0 -65
  257. azure/mgmt/storage/v2018_03_01_preview/_patch.py +0 -32
  258. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +0 -146
  259. azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -16
  260. azure/mgmt/storage/v2018_03_01_preview/_version.py +0 -9
  261. azure/mgmt/storage/v2018_03_01_preview/aio/__init__.py +0 -23
  262. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +0 -65
  263. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +0 -32
  264. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +0 -148
  265. azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +0 -29
  266. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +0 -1721
  267. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +0 -357
  268. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +0 -137
  269. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_patch.py +0 -20
  270. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +0 -138
  271. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +0 -1635
  272. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +0 -221
  273. azure/mgmt/storage/v2018_03_01_preview/models/__init__.py +0 -181
  274. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +0 -2699
  275. azure/mgmt/storage/v2018_03_01_preview/models/_patch.py +0 -20
  276. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -265
  277. azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +0 -29
  278. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +0 -2207
  279. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +0 -467
  280. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +0 -158
  281. azure/mgmt/storage/v2018_03_01_preview/operations/_patch.py +0 -20
  282. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +0 -164
  283. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +0 -2085
  284. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +0 -273
  285. azure/mgmt/storage/v2018_07_01/__init__.py +0 -26
  286. azure/mgmt/storage/v2018_07_01/_configuration.py +0 -65
  287. azure/mgmt/storage/v2018_07_01/_patch.py +0 -32
  288. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +0 -139
  289. azure/mgmt/storage/v2018_07_01/_vendor.py +0 -16
  290. azure/mgmt/storage/v2018_07_01/_version.py +0 -9
  291. azure/mgmt/storage/v2018_07_01/aio/__init__.py +0 -23
  292. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +0 -65
  293. azure/mgmt/storage/v2018_07_01/aio/_patch.py +0 -32
  294. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +0 -143
  295. azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -29
  296. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +0 -1692
  297. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +0 -282
  298. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +0 -135
  299. azure/mgmt/storage/v2018_07_01/aio/operations/_patch.py +0 -20
  300. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +0 -135
  301. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +0 -1420
  302. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +0 -139
  303. azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -185
  304. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +0 -2838
  305. azure/mgmt/storage/v2018_07_01/models/_patch.py +0 -20
  306. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -287
  307. azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -29
  308. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +0 -2178
  309. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +0 -361
  310. azure/mgmt/storage/v2018_07_01/operations/_operations.py +0 -156
  311. azure/mgmt/storage/v2018_07_01/operations/_patch.py +0 -20
  312. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +0 -162
  313. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +0 -1792
  314. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +0 -169
  315. azure/mgmt/storage/v2018_11_01/__init__.py +0 -26
  316. azure/mgmt/storage/v2018_11_01/_configuration.py +0 -65
  317. azure/mgmt/storage/v2018_11_01/_patch.py +0 -32
  318. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +0 -146
  319. azure/mgmt/storage/v2018_11_01/_vendor.py +0 -16
  320. azure/mgmt/storage/v2018_11_01/_version.py +0 -9
  321. azure/mgmt/storage/v2018_11_01/aio/__init__.py +0 -23
  322. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +0 -65
  323. azure/mgmt/storage/v2018_11_01/aio/_patch.py +0 -32
  324. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +0 -150
  325. azure/mgmt/storage/v2018_11_01/aio/operations/__init__.py +0 -31
  326. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +0 -1696
  327. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +0 -282
  328. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +0 -349
  329. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +0 -135
  330. azure/mgmt/storage/v2018_11_01/aio/operations/_patch.py +0 -20
  331. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +0 -135
  332. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +0 -1477
  333. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +0 -139
  334. azure/mgmt/storage/v2018_11_01/models/__init__.py +0 -209
  335. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +0 -3194
  336. azure/mgmt/storage/v2018_11_01/models/_patch.py +0 -20
  337. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -299
  338. azure/mgmt/storage/v2018_11_01/operations/__init__.py +0 -31
  339. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +0 -2182
  340. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +0 -361
  341. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +0 -459
  342. azure/mgmt/storage/v2018_11_01/operations/_operations.py +0 -156
  343. azure/mgmt/storage/v2018_11_01/operations/_patch.py +0 -20
  344. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +0 -162
  345. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +0 -1875
  346. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +0 -169
  347. azure/mgmt/storage/v2019_04_01/__init__.py +0 -26
  348. azure/mgmt/storage/v2019_04_01/_configuration.py +0 -65
  349. azure/mgmt/storage/v2019_04_01/_patch.py +0 -32
  350. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +0 -158
  351. azure/mgmt/storage/v2019_04_01/_vendor.py +0 -16
  352. azure/mgmt/storage/v2019_04_01/_version.py +0 -9
  353. azure/mgmt/storage/v2019_04_01/aio/__init__.py +0 -23
  354. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +0 -65
  355. azure/mgmt/storage/v2019_04_01/aio/_patch.py +0 -32
  356. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +0 -162
  357. azure/mgmt/storage/v2019_04_01/aio/operations/__init__.py +0 -35
  358. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +0 -1746
  359. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +0 -375
  360. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +0 -341
  361. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +0 -625
  362. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +0 -349
  363. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +0 -135
  364. azure/mgmt/storage/v2019_04_01/aio/operations/_patch.py +0 -20
  365. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +0 -135
  366. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +0 -1483
  367. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +0 -139
  368. azure/mgmt/storage/v2019_04_01/models/__init__.py +0 -235
  369. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +0 -3799
  370. azure/mgmt/storage/v2019_04_01/models/_patch.py +0 -20
  371. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -326
  372. azure/mgmt/storage/v2019_04_01/operations/__init__.py +0 -35
  373. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +0 -2245
  374. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +0 -483
  375. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +0 -450
  376. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +0 -806
  377. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +0 -459
  378. azure/mgmt/storage/v2019_04_01/operations/_operations.py +0 -156
  379. azure/mgmt/storage/v2019_04_01/operations/_patch.py +0 -20
  380. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +0 -162
  381. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +0 -1888
  382. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +0 -169
  383. azure/mgmt/storage/v2019_06_01/_vendor.py +0 -16
  384. azure/mgmt/storage/v2020_08_01_preview/__init__.py +0 -26
  385. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +0 -65
  386. azure/mgmt/storage/v2020_08_01_preview/_patch.py +0 -32
  387. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +0 -234
  388. azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -16
  389. azure/mgmt/storage/v2020_08_01_preview/_version.py +0 -9
  390. azure/mgmt/storage/v2020_08_01_preview/aio/__init__.py +0 -23
  391. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +0 -65
  392. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +0 -32
  393. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +0 -237
  394. azure/mgmt/storage/v2020_08_01_preview/aio/operations/__init__.py +0 -55
  395. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +0 -1776
  396. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +0 -454
  397. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +0 -382
  398. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +0 -198
  399. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +0 -560
  400. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +0 -348
  401. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +0 -825
  402. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +0 -355
  403. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +0 -445
  404. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +0 -137
  405. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_patch.py +0 -20
  406. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +0 -441
  407. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +0 -119
  408. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +0 -618
  409. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +0 -348
  410. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +0 -138
  411. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +0 -1725
  412. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +0 -416
  413. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +0 -348
  414. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +0 -142
  415. azure/mgmt/storage/v2020_08_01_preview/models/__init__.py +0 -373
  416. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +0 -6344
  417. azure/mgmt/storage/v2020_08_01_preview/models/_patch.py +0 -20
  418. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -468
  419. azure/mgmt/storage/v2020_08_01_preview/operations/__init__.py +0 -55
  420. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +0 -2276
  421. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +0 -599
  422. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +0 -490
  423. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +0 -255
  424. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +0 -700
  425. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +0 -457
  426. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +0 -1072
  427. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +0 -465
  428. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +0 -584
  429. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +0 -158
  430. azure/mgmt/storage/v2020_08_01_preview/operations/_patch.py +0 -20
  431. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +0 -592
  432. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +0 -155
  433. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +0 -824
  434. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +0 -457
  435. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +0 -165
  436. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +0 -2170
  437. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +0 -582
  438. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +0 -457
  439. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +0 -171
  440. azure/mgmt/storage/v2021_01_01/__init__.py +0 -26
  441. azure/mgmt/storage/v2021_01_01/_configuration.py +0 -65
  442. azure/mgmt/storage/v2021_01_01/_patch.py +0 -32
  443. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +0 -219
  444. azure/mgmt/storage/v2021_01_01/_vendor.py +0 -16
  445. azure/mgmt/storage/v2021_01_01/_version.py +0 -9
  446. azure/mgmt/storage/v2021_01_01/aio/__init__.py +0 -23
  447. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +0 -65
  448. azure/mgmt/storage/v2021_01_01/aio/_patch.py +0 -32
  449. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +0 -224
  450. azure/mgmt/storage/v2021_01_01/aio/operations/__init__.py +0 -55
  451. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +0 -1747
  452. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  453. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +0 -375
  454. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +0 -194
  455. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +0 -550
  456. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +0 -341
  457. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +0 -810
  458. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +0 -349
  459. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +0 -436
  460. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +0 -135
  461. azure/mgmt/storage/v2021_01_01/aio/operations/_patch.py +0 -20
  462. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  463. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +0 -117
  464. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +0 -608
  465. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +0 -341
  466. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +0 -136
  467. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +0 -1687
  468. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +0 -405
  469. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +0 -341
  470. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +0 -139
  471. azure/mgmt/storage/v2021_01_01/models/__init__.py +0 -381
  472. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +0 -6465
  473. azure/mgmt/storage/v2021_01_01/models/_patch.py +0 -20
  474. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -483
  475. azure/mgmt/storage/v2021_01_01/operations/__init__.py +0 -55
  476. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +0 -2246
  477. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +0 -590
  478. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +0 -483
  479. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +0 -250
  480. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +0 -689
  481. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +0 -450
  482. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +0 -1056
  483. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +0 -459
  484. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +0 -575
  485. azure/mgmt/storage/v2021_01_01/operations/_operations.py +0 -156
  486. azure/mgmt/storage/v2021_01_01/operations/_patch.py +0 -20
  487. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +0 -583
  488. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +0 -153
  489. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +0 -814
  490. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +0 -450
  491. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +0 -162
  492. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +0 -2124
  493. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +0 -572
  494. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +0 -450
  495. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +0 -169
  496. azure/mgmt/storage/v2021_02_01/__init__.py +0 -26
  497. azure/mgmt/storage/v2021_02_01/_configuration.py +0 -65
  498. azure/mgmt/storage/v2021_02_01/_patch.py +0 -32
  499. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +0 -219
  500. azure/mgmt/storage/v2021_02_01/_vendor.py +0 -16
  501. azure/mgmt/storage/v2021_02_01/_version.py +0 -9
  502. azure/mgmt/storage/v2021_02_01/aio/__init__.py +0 -23
  503. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +0 -65
  504. azure/mgmt/storage/v2021_02_01/aio/_patch.py +0 -32
  505. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +0 -224
  506. azure/mgmt/storage/v2021_02_01/aio/operations/__init__.py +0 -55
  507. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +0 -1747
  508. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  509. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +0 -375
  510. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +0 -194
  511. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +0 -550
  512. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +0 -341
  513. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +0 -810
  514. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +0 -349
  515. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +0 -436
  516. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +0 -135
  517. azure/mgmt/storage/v2021_02_01/aio/operations/_patch.py +0 -20
  518. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  519. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +0 -117
  520. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +0 -608
  521. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +0 -341
  522. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +0 -136
  523. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +0 -1687
  524. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +0 -405
  525. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +0 -341
  526. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +0 -139
  527. azure/mgmt/storage/v2021_02_01/models/__init__.py +0 -389
  528. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +0 -6606
  529. azure/mgmt/storage/v2021_02_01/models/_patch.py +0 -20
  530. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -489
  531. azure/mgmt/storage/v2021_02_01/operations/__init__.py +0 -55
  532. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +0 -2246
  533. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +0 -590
  534. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +0 -483
  535. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +0 -250
  536. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +0 -689
  537. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +0 -450
  538. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +0 -1056
  539. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +0 -459
  540. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +0 -575
  541. azure/mgmt/storage/v2021_02_01/operations/_operations.py +0 -156
  542. azure/mgmt/storage/v2021_02_01/operations/_patch.py +0 -20
  543. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +0 -583
  544. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +0 -153
  545. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +0 -814
  546. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +0 -450
  547. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +0 -162
  548. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +0 -2124
  549. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +0 -572
  550. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +0 -450
  551. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +0 -169
  552. azure/mgmt/storage/v2021_04_01/__init__.py +0 -26
  553. azure/mgmt/storage/v2021_04_01/_configuration.py +0 -65
  554. azure/mgmt/storage/v2021_04_01/_patch.py +0 -32
  555. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +0 -219
  556. azure/mgmt/storage/v2021_04_01/_vendor.py +0 -16
  557. azure/mgmt/storage/v2021_04_01/_version.py +0 -9
  558. azure/mgmt/storage/v2021_04_01/aio/__init__.py +0 -23
  559. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +0 -65
  560. azure/mgmt/storage/v2021_04_01/aio/_patch.py +0 -32
  561. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +0 -224
  562. azure/mgmt/storage/v2021_04_01/aio/operations/__init__.py +0 -55
  563. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +0 -1860
  564. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  565. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +0 -375
  566. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +0 -194
  567. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +0 -550
  568. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +0 -344
  569. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +0 -1010
  570. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +0 -349
  571. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +0 -446
  572. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +0 -135
  573. azure/mgmt/storage/v2021_04_01/aio/operations/_patch.py +0 -20
  574. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  575. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +0 -117
  576. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +0 -613
  577. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +0 -344
  578. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +0 -136
  579. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +0 -1687
  580. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +0 -410
  581. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +0 -344
  582. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +0 -139
  583. azure/mgmt/storage/v2021_04_01/models/__init__.py +0 -411
  584. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +0 -7083
  585. azure/mgmt/storage/v2021_04_01/models/_patch.py +0 -20
  586. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -528
  587. azure/mgmt/storage/v2021_04_01/operations/__init__.py +0 -55
  588. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +0 -2392
  589. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +0 -590
  590. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +0 -483
  591. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +0 -250
  592. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +0 -689
  593. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +0 -453
  594. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +0 -1303
  595. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +0 -459
  596. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +0 -585
  597. azure/mgmt/storage/v2021_04_01/operations/_operations.py +0 -156
  598. azure/mgmt/storage/v2021_04_01/operations/_patch.py +0 -20
  599. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +0 -583
  600. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +0 -153
  601. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +0 -819
  602. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +0 -453
  603. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +0 -162
  604. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +0 -2124
  605. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +0 -577
  606. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +0 -453
  607. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +0 -169
  608. azure/mgmt/storage/v2021_06_01/__init__.py +0 -26
  609. azure/mgmt/storage/v2021_06_01/_configuration.py +0 -65
  610. azure/mgmt/storage/v2021_06_01/_patch.py +0 -32
  611. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +0 -219
  612. azure/mgmt/storage/v2021_06_01/_vendor.py +0 -16
  613. azure/mgmt/storage/v2021_06_01/_version.py +0 -9
  614. azure/mgmt/storage/v2021_06_01/aio/__init__.py +0 -23
  615. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +0 -65
  616. azure/mgmt/storage/v2021_06_01/aio/_patch.py +0 -32
  617. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +0 -224
  618. azure/mgmt/storage/v2021_06_01/aio/operations/__init__.py +0 -55
  619. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +0 -1838
  620. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  621. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +0 -362
  622. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +0 -194
  623. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +0 -550
  624. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +0 -331
  625. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +0 -1010
  626. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +0 -349
  627. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +0 -446
  628. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +0 -135
  629. azure/mgmt/storage/v2021_06_01/aio/operations/_patch.py +0 -20
  630. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  631. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +0 -117
  632. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +0 -613
  633. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +0 -331
  634. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +0 -136
  635. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +0 -1898
  636. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +0 -410
  637. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +0 -331
  638. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +0 -139
  639. azure/mgmt/storage/v2021_06_01/models/__init__.py +0 -419
  640. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +0 -7467
  641. azure/mgmt/storage/v2021_06_01/models/_patch.py +0 -20
  642. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -544
  643. azure/mgmt/storage/v2021_06_01/operations/__init__.py +0 -55
  644. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +0 -2370
  645. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +0 -590
  646. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +0 -464
  647. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +0 -250
  648. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +0 -689
  649. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +0 -434
  650. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +0 -1303
  651. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +0 -459
  652. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +0 -585
  653. azure/mgmt/storage/v2021_06_01/operations/_operations.py +0 -156
  654. azure/mgmt/storage/v2021_06_01/operations/_patch.py +0 -20
  655. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +0 -583
  656. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +0 -153
  657. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +0 -819
  658. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +0 -434
  659. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +0 -162
  660. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +0 -2400
  661. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +0 -577
  662. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +0 -434
  663. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +0 -169
  664. azure/mgmt/storage/v2021_08_01/__init__.py +0 -26
  665. azure/mgmt/storage/v2021_08_01/_configuration.py +0 -65
  666. azure/mgmt/storage/v2021_08_01/_patch.py +0 -32
  667. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +0 -225
  668. azure/mgmt/storage/v2021_08_01/_vendor.py +0 -16
  669. azure/mgmt/storage/v2021_08_01/_version.py +0 -9
  670. azure/mgmt/storage/v2021_08_01/aio/__init__.py +0 -23
  671. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +0 -65
  672. azure/mgmt/storage/v2021_08_01/aio/_patch.py +0 -32
  673. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +0 -230
  674. azure/mgmt/storage/v2021_08_01/aio/operations/__init__.py +0 -57
  675. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +0 -1838
  676. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +0 -445
  677. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +0 -362
  678. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +0 -194
  679. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +0 -550
  680. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +0 -328
  681. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +0 -1003
  682. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +0 -560
  683. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +0 -349
  684. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +0 -446
  685. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +0 -135
  686. azure/mgmt/storage/v2021_08_01/aio/operations/_patch.py +0 -20
  687. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  688. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +0 -117
  689. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +0 -608
  690. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +0 -328
  691. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +0 -136
  692. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +0 -1898
  693. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +0 -405
  694. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +0 -328
  695. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +0 -139
  696. azure/mgmt/storage/v2021_08_01/models/__init__.py +0 -431
  697. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +0 -7738
  698. azure/mgmt/storage/v2021_08_01/models/_patch.py +0 -20
  699. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -560
  700. azure/mgmt/storage/v2021_08_01/operations/__init__.py +0 -57
  701. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +0 -2370
  702. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +0 -590
  703. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +0 -464
  704. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +0 -250
  705. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +0 -689
  706. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +0 -431
  707. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +0 -1296
  708. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +0 -758
  709. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +0 -459
  710. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +0 -585
  711. azure/mgmt/storage/v2021_08_01/operations/_operations.py +0 -156
  712. azure/mgmt/storage/v2021_08_01/operations/_patch.py +0 -20
  713. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +0 -583
  714. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +0 -153
  715. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +0 -814
  716. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +0 -431
  717. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +0 -162
  718. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +0 -2400
  719. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +0 -572
  720. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +0 -431
  721. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +0 -169
  722. azure/mgmt/storage/v2021_09_01/__init__.py +0 -26
  723. azure/mgmt/storage/v2021_09_01/_configuration.py +0 -65
  724. azure/mgmt/storage/v2021_09_01/_patch.py +0 -32
  725. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +0 -225
  726. azure/mgmt/storage/v2021_09_01/_vendor.py +0 -16
  727. azure/mgmt/storage/v2021_09_01/_version.py +0 -9
  728. azure/mgmt/storage/v2021_09_01/aio/__init__.py +0 -23
  729. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +0 -65
  730. azure/mgmt/storage/v2021_09_01/aio/_patch.py +0 -32
  731. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +0 -230
  732. azure/mgmt/storage/v2021_09_01/aio/operations/__init__.py +0 -57
  733. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +0 -1838
  734. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  735. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +0 -362
  736. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +0 -194
  737. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +0 -550
  738. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +0 -328
  739. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +0 -1003
  740. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +0 -560
  741. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +0 -349
  742. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +0 -446
  743. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +0 -135
  744. azure/mgmt/storage/v2021_09_01/aio/operations/_patch.py +0 -20
  745. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  746. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +0 -117
  747. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +0 -608
  748. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +0 -328
  749. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +0 -136
  750. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +0 -1898
  751. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +0 -588
  752. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +0 -328
  753. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +0 -139
  754. azure/mgmt/storage/v2021_09_01/models/__init__.py +0 -441
  755. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +0 -8069
  756. azure/mgmt/storage/v2021_09_01/models/_patch.py +0 -20
  757. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -583
  758. azure/mgmt/storage/v2021_09_01/operations/__init__.py +0 -57
  759. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +0 -2370
  760. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +0 -587
  761. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +0 -464
  762. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +0 -250
  763. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +0 -689
  764. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +0 -431
  765. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +0 -1296
  766. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +0 -758
  767. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +0 -459
  768. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +0 -585
  769. azure/mgmt/storage/v2021_09_01/operations/_operations.py +0 -156
  770. azure/mgmt/storage/v2021_09_01/operations/_patch.py +0 -20
  771. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +0 -583
  772. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +0 -153
  773. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +0 -814
  774. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +0 -431
  775. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +0 -162
  776. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +0 -2400
  777. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +0 -765
  778. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +0 -431
  779. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +0 -169
  780. azure/mgmt/storage/v2022_05_01/__init__.py +0 -26
  781. azure/mgmt/storage/v2022_05_01/_configuration.py +0 -65
  782. azure/mgmt/storage/v2022_05_01/_patch.py +0 -20
  783. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +0 -225
  784. azure/mgmt/storage/v2022_05_01/_vendor.py +0 -16
  785. azure/mgmt/storage/v2022_05_01/_version.py +0 -9
  786. azure/mgmt/storage/v2022_05_01/aio/__init__.py +0 -23
  787. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +0 -65
  788. azure/mgmt/storage/v2022_05_01/aio/_patch.py +0 -20
  789. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +0 -230
  790. azure/mgmt/storage/v2022_05_01/aio/operations/__init__.py +0 -57
  791. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +0 -1838
  792. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  793. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +0 -362
  794. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +0 -194
  795. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +0 -550
  796. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +0 -328
  797. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +0 -1003
  798. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +0 -560
  799. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +0 -349
  800. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +0 -446
  801. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +0 -135
  802. azure/mgmt/storage/v2022_05_01/aio/operations/_patch.py +0 -20
  803. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  804. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +0 -117
  805. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +0 -608
  806. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +0 -328
  807. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +0 -136
  808. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +0 -1898
  809. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +0 -588
  810. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +0 -328
  811. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +0 -139
  812. azure/mgmt/storage/v2022_05_01/models/__init__.py +0 -441
  813. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +0 -8057
  814. azure/mgmt/storage/v2022_05_01/models/_patch.py +0 -20
  815. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -584
  816. azure/mgmt/storage/v2022_05_01/operations/__init__.py +0 -57
  817. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +0 -2370
  818. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +0 -587
  819. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +0 -464
  820. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +0 -250
  821. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +0 -689
  822. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +0 -431
  823. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +0 -1296
  824. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +0 -758
  825. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +0 -459
  826. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +0 -585
  827. azure/mgmt/storage/v2022_05_01/operations/_operations.py +0 -156
  828. azure/mgmt/storage/v2022_05_01/operations/_patch.py +0 -20
  829. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +0 -583
  830. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +0 -153
  831. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +0 -814
  832. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +0 -431
  833. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +0 -162
  834. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +0 -2400
  835. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +0 -765
  836. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +0 -431
  837. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +0 -169
  838. azure/mgmt/storage/v2022_09_01/__init__.py +0 -26
  839. azure/mgmt/storage/v2022_09_01/_configuration.py +0 -65
  840. azure/mgmt/storage/v2022_09_01/_patch.py +0 -20
  841. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +0 -225
  842. azure/mgmt/storage/v2022_09_01/_vendor.py +0 -16
  843. azure/mgmt/storage/v2022_09_01/_version.py +0 -9
  844. azure/mgmt/storage/v2022_09_01/aio/__init__.py +0 -23
  845. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +0 -65
  846. azure/mgmt/storage/v2022_09_01/aio/_patch.py +0 -20
  847. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +0 -230
  848. azure/mgmt/storage/v2022_09_01/aio/operations/__init__.py +0 -57
  849. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +0 -1838
  850. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  851. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +0 -362
  852. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +0 -194
  853. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +0 -568
  854. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +0 -328
  855. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +0 -1003
  856. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +0 -560
  857. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +0 -349
  858. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +0 -446
  859. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +0 -135
  860. azure/mgmt/storage/v2022_09_01/aio/operations/_patch.py +0 -20
  861. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  862. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +0 -117
  863. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +0 -608
  864. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +0 -328
  865. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +0 -136
  866. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +0 -1913
  867. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +0 -588
  868. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +0 -328
  869. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +0 -139
  870. azure/mgmt/storage/v2022_09_01/models/__init__.py +0 -443
  871. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +0 -8093
  872. azure/mgmt/storage/v2022_09_01/models/_patch.py +0 -20
  873. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -592
  874. azure/mgmt/storage/v2022_09_01/operations/__init__.py +0 -57
  875. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +0 -2370
  876. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +0 -587
  877. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +0 -464
  878. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +0 -250
  879. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +0 -724
  880. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +0 -431
  881. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +0 -1296
  882. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +0 -758
  883. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +0 -459
  884. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +0 -585
  885. azure/mgmt/storage/v2022_09_01/operations/_operations.py +0 -156
  886. azure/mgmt/storage/v2022_09_01/operations/_patch.py +0 -20
  887. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +0 -583
  888. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +0 -153
  889. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +0 -814
  890. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +0 -431
  891. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +0 -162
  892. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +0 -2422
  893. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +0 -765
  894. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +0 -431
  895. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +0 -169
  896. azure/mgmt/storage/v2023_01_01/__init__.py +0 -26
  897. azure/mgmt/storage/v2023_01_01/_configuration.py +0 -65
  898. azure/mgmt/storage/v2023_01_01/_patch.py +0 -20
  899. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +0 -225
  900. azure/mgmt/storage/v2023_01_01/_vendor.py +0 -16
  901. azure/mgmt/storage/v2023_01_01/_version.py +0 -9
  902. azure/mgmt/storage/v2023_01_01/aio/__init__.py +0 -23
  903. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +0 -65
  904. azure/mgmt/storage/v2023_01_01/aio/_patch.py +0 -20
  905. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +0 -230
  906. azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +0 -57
  907. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +0 -1838
  908. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +0 -442
  909. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +0 -362
  910. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +0 -194
  911. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +0 -568
  912. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +0 -328
  913. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +0 -1003
  914. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +0 -560
  915. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +0 -349
  916. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +0 -446
  917. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +0 -135
  918. azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +0 -20
  919. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +0 -432
  920. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +0 -117
  921. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +0 -608
  922. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +0 -328
  923. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +0 -136
  924. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +0 -2187
  925. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +0 -588
  926. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +0 -328
  927. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +0 -139
  928. azure/mgmt/storage/v2023_01_01/models/__init__.py +0 -461
  929. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +0 -8338
  930. azure/mgmt/storage/v2023_01_01/models/_patch.py +0 -20
  931. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -626
  932. azure/mgmt/storage/v2023_01_01/operations/__init__.py +0 -57
  933. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +0 -2398
  934. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +0 -595
  935. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +0 -470
  936. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +0 -250
  937. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +0 -732
  938. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +0 -437
  939. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +0 -1310
  940. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +0 -770
  941. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +0 -465
  942. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +0 -593
  943. azure/mgmt/storage/v2023_01_01/operations/_operations.py +0 -156
  944. azure/mgmt/storage/v2023_01_01/operations/_patch.py +0 -20
  945. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +0 -591
  946. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +0 -155
  947. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +0 -824
  948. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +0 -437
  949. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +0 -162
  950. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +0 -2796
  951. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +0 -775
  952. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +0 -437
  953. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +0 -169
  954. azure/mgmt/storage/v2023_05_01/_vendor.py +0 -16
  955. azure_mgmt_storage-21.2.1.dist-info/RECORD +0 -979
  956. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.0.0.dist-info}/LICENSE +0 -0
  957. {azure_mgmt_storage-21.2.1.dist-info → azure_mgmt_storage-22.0.0.dist-info}/top_level.txt +0 -0
@@ -1,1898 +0,0 @@
1
- # pylint: disable=too-many-lines,too-many-statements
2
- # coding=utf-8
3
- # --------------------------------------------------------------------------
4
- # Copyright (c) Microsoft Corporation. All rights reserved.
5
- # Licensed under the MIT License. See License.txt in the project root for license information.
6
- # Code generated by Microsoft (R) AutoRest Code Generator.
7
- # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- # --------------------------------------------------------------------------
9
- from io import IOBase
10
- import sys
11
- from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, Type, TypeVar, Union, cast, overload
12
- import urllib.parse
13
-
14
- from azure.core.async_paging import AsyncItemPaged, AsyncList
15
- from azure.core.exceptions import (
16
- ClientAuthenticationError,
17
- HttpResponseError,
18
- ResourceExistsError,
19
- ResourceNotFoundError,
20
- ResourceNotModifiedError,
21
- map_error,
22
- )
23
- from azure.core.pipeline import PipelineResponse
24
- from azure.core.pipeline.transport import AsyncHttpResponse
25
- from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod
26
- from azure.core.rest import HttpRequest
27
- from azure.core.tracing.decorator import distributed_trace
28
- from azure.core.tracing.decorator_async import distributed_trace_async
29
- from azure.core.utils import case_insensitive_dict
30
- from azure.mgmt.core.exceptions import ARMErrorFormat
31
- from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling
32
-
33
- from ... import models as _models
34
- from ..._vendor import _convert_request
35
- from ...operations._storage_accounts_operations import (
36
- build_abort_hierarchical_namespace_migration_request,
37
- build_check_name_availability_request,
38
- build_create_request,
39
- build_delete_request,
40
- build_failover_request,
41
- build_get_properties_request,
42
- build_hierarchical_namespace_migration_request,
43
- build_list_account_sas_request,
44
- build_list_by_resource_group_request,
45
- build_list_keys_request,
46
- build_list_request,
47
- build_list_service_sas_request,
48
- build_regenerate_key_request,
49
- build_restore_blob_ranges_request,
50
- build_revoke_user_delegation_keys_request,
51
- build_update_request,
52
- )
53
-
54
- if sys.version_info >= (3, 9):
55
- from collections.abc import MutableMapping
56
- else:
57
- from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
58
- T = TypeVar("T")
59
- ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
60
-
61
-
62
- class StorageAccountsOperations: # pylint: disable=too-many-public-methods
63
- """
64
- .. warning::
65
- **DO NOT** instantiate this class directly.
66
-
67
- Instead, you should access the following operations through
68
- :class:`~azure.mgmt.storage.v2022_05_01.aio.StorageManagementClient`'s
69
- :attr:`storage_accounts` attribute.
70
- """
71
-
72
- models = _models
73
-
74
- def __init__(self, *args, **kwargs) -> None:
75
- input_args = list(args)
76
- self._client = input_args.pop(0) if input_args else kwargs.pop("client")
77
- self._config = input_args.pop(0) if input_args else kwargs.pop("config")
78
- self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
79
- self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
80
- self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
81
-
82
- @overload
83
- async def check_name_availability(
84
- self,
85
- account_name: _models.StorageAccountCheckNameAvailabilityParameters,
86
- *,
87
- content_type: str = "application/json",
88
- **kwargs: Any
89
- ) -> _models.CheckNameAvailabilityResult:
90
- """Checks that the storage account name is valid and is not already in use.
91
-
92
- :param account_name: The name of the storage account within the specified resource group.
93
- Storage account names must be between 3 and 24 characters in length and use numbers and
94
- lower-case letters only. Required.
95
- :type account_name:
96
- ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCheckNameAvailabilityParameters
97
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
98
- Default value is "application/json".
99
- :paramtype content_type: str
100
- :return: CheckNameAvailabilityResult or the result of cls(response)
101
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
102
- :raises ~azure.core.exceptions.HttpResponseError:
103
- """
104
-
105
- @overload
106
- async def check_name_availability(
107
- self, account_name: IO[bytes], *, content_type: str = "application/json", **kwargs: Any
108
- ) -> _models.CheckNameAvailabilityResult:
109
- """Checks that the storage account name is valid and is not already in use.
110
-
111
- :param account_name: The name of the storage account within the specified resource group.
112
- Storage account names must be between 3 and 24 characters in length and use numbers and
113
- lower-case letters only. Required.
114
- :type account_name: IO[bytes]
115
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
116
- Default value is "application/json".
117
- :paramtype content_type: str
118
- :return: CheckNameAvailabilityResult or the result of cls(response)
119
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
120
- :raises ~azure.core.exceptions.HttpResponseError:
121
- """
122
-
123
- @distributed_trace_async
124
- async def check_name_availability(
125
- self, account_name: Union[_models.StorageAccountCheckNameAvailabilityParameters, IO[bytes]], **kwargs: Any
126
- ) -> _models.CheckNameAvailabilityResult:
127
- """Checks that the storage account name is valid and is not already in use.
128
-
129
- :param account_name: The name of the storage account within the specified resource group.
130
- Storage account names must be between 3 and 24 characters in length and use numbers and
131
- lower-case letters only. Is either a StorageAccountCheckNameAvailabilityParameters type or a
132
- IO[bytes] type. Required.
133
- :type account_name:
134
- ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCheckNameAvailabilityParameters or
135
- IO[bytes]
136
- :return: CheckNameAvailabilityResult or the result of cls(response)
137
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.CheckNameAvailabilityResult
138
- :raises ~azure.core.exceptions.HttpResponseError:
139
- """
140
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
141
- 401: ClientAuthenticationError,
142
- 404: ResourceNotFoundError,
143
- 409: ResourceExistsError,
144
- 304: ResourceNotModifiedError,
145
- }
146
- error_map.update(kwargs.pop("error_map", {}) or {})
147
-
148
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
149
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
150
-
151
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
152
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
153
- cls: ClsType[_models.CheckNameAvailabilityResult] = kwargs.pop("cls", None)
154
-
155
- content_type = content_type or "application/json"
156
- _json = None
157
- _content = None
158
- if isinstance(account_name, (IOBase, bytes)):
159
- _content = account_name
160
- else:
161
- _json = self._serialize.body(account_name, "StorageAccountCheckNameAvailabilityParameters")
162
-
163
- _request = build_check_name_availability_request(
164
- subscription_id=self._config.subscription_id,
165
- api_version=api_version,
166
- content_type=content_type,
167
- json=_json,
168
- content=_content,
169
- headers=_headers,
170
- params=_params,
171
- )
172
- _request = _convert_request(_request)
173
- _request.url = self._client.format_url(_request.url)
174
-
175
- _stream = False
176
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
177
- _request, stream=_stream, **kwargs
178
- )
179
-
180
- response = pipeline_response.http_response
181
-
182
- if response.status_code not in [200]:
183
- map_error(status_code=response.status_code, response=response, error_map=error_map)
184
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
185
-
186
- deserialized = self._deserialize("CheckNameAvailabilityResult", pipeline_response)
187
-
188
- if cls:
189
- return cls(pipeline_response, deserialized, {}) # type: ignore
190
-
191
- return deserialized # type: ignore
192
-
193
- async def _create_initial(
194
- self,
195
- resource_group_name: str,
196
- account_name: str,
197
- parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
198
- **kwargs: Any
199
- ) -> Optional[_models.StorageAccount]:
200
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
201
- 401: ClientAuthenticationError,
202
- 404: ResourceNotFoundError,
203
- 409: ResourceExistsError,
204
- 304: ResourceNotModifiedError,
205
- }
206
- error_map.update(kwargs.pop("error_map", {}) or {})
207
-
208
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
209
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
210
-
211
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
212
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
213
- cls: ClsType[Optional[_models.StorageAccount]] = kwargs.pop("cls", None)
214
-
215
- content_type = content_type or "application/json"
216
- _json = None
217
- _content = None
218
- if isinstance(parameters, (IOBase, bytes)):
219
- _content = parameters
220
- else:
221
- _json = self._serialize.body(parameters, "StorageAccountCreateParameters")
222
-
223
- _request = build_create_request(
224
- resource_group_name=resource_group_name,
225
- account_name=account_name,
226
- subscription_id=self._config.subscription_id,
227
- api_version=api_version,
228
- content_type=content_type,
229
- json=_json,
230
- content=_content,
231
- headers=_headers,
232
- params=_params,
233
- )
234
- _request = _convert_request(_request)
235
- _request.url = self._client.format_url(_request.url)
236
-
237
- _stream = False
238
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
239
- _request, stream=_stream, **kwargs
240
- )
241
-
242
- response = pipeline_response.http_response
243
-
244
- if response.status_code not in [200, 202]:
245
- map_error(status_code=response.status_code, response=response, error_map=error_map)
246
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
247
-
248
- deserialized = None
249
- if response.status_code == 200:
250
- deserialized = self._deserialize("StorageAccount", pipeline_response)
251
-
252
- if cls:
253
- return cls(pipeline_response, deserialized, {}) # type: ignore
254
-
255
- return deserialized # type: ignore
256
-
257
- @overload
258
- async def begin_create(
259
- self,
260
- resource_group_name: str,
261
- account_name: str,
262
- parameters: _models.StorageAccountCreateParameters,
263
- *,
264
- content_type: str = "application/json",
265
- **kwargs: Any
266
- ) -> AsyncLROPoller[_models.StorageAccount]:
267
- """Asynchronously creates a new storage account with the specified parameters. If an account is
268
- already created and a subsequent create request is issued with different properties, the
269
- account properties will be updated. If an account is already created and a subsequent create or
270
- update request is issued with the exact same set of properties, the request will succeed.
271
-
272
- :param resource_group_name: The name of the resource group within the user's subscription. The
273
- name is case insensitive. Required.
274
- :type resource_group_name: str
275
- :param account_name: The name of the storage account within the specified resource group.
276
- Storage account names must be between 3 and 24 characters in length and use numbers and
277
- lower-case letters only. Required.
278
- :type account_name: str
279
- :param parameters: The parameters to provide for the created account. Required.
280
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters
281
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
282
- Default value is "application/json".
283
- :paramtype content_type: str
284
- :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
285
- cls(response)
286
- :rtype:
287
- ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
288
- :raises ~azure.core.exceptions.HttpResponseError:
289
- """
290
-
291
- @overload
292
- async def begin_create(
293
- self,
294
- resource_group_name: str,
295
- account_name: str,
296
- parameters: IO[bytes],
297
- *,
298
- content_type: str = "application/json",
299
- **kwargs: Any
300
- ) -> AsyncLROPoller[_models.StorageAccount]:
301
- """Asynchronously creates a new storage account with the specified parameters. If an account is
302
- already created and a subsequent create request is issued with different properties, the
303
- account properties will be updated. If an account is already created and a subsequent create or
304
- update request is issued with the exact same set of properties, the request will succeed.
305
-
306
- :param resource_group_name: The name of the resource group within the user's subscription. The
307
- name is case insensitive. Required.
308
- :type resource_group_name: str
309
- :param account_name: The name of the storage account within the specified resource group.
310
- Storage account names must be between 3 and 24 characters in length and use numbers and
311
- lower-case letters only. Required.
312
- :type account_name: str
313
- :param parameters: The parameters to provide for the created account. Required.
314
- :type parameters: IO[bytes]
315
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
316
- Default value is "application/json".
317
- :paramtype content_type: str
318
- :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
319
- cls(response)
320
- :rtype:
321
- ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
322
- :raises ~azure.core.exceptions.HttpResponseError:
323
- """
324
-
325
- @distributed_trace_async
326
- async def begin_create(
327
- self,
328
- resource_group_name: str,
329
- account_name: str,
330
- parameters: Union[_models.StorageAccountCreateParameters, IO[bytes]],
331
- **kwargs: Any
332
- ) -> AsyncLROPoller[_models.StorageAccount]:
333
- """Asynchronously creates a new storage account with the specified parameters. If an account is
334
- already created and a subsequent create request is issued with different properties, the
335
- account properties will be updated. If an account is already created and a subsequent create or
336
- update request is issued with the exact same set of properties, the request will succeed.
337
-
338
- :param resource_group_name: The name of the resource group within the user's subscription. The
339
- name is case insensitive. Required.
340
- :type resource_group_name: str
341
- :param account_name: The name of the storage account within the specified resource group.
342
- Storage account names must be between 3 and 24 characters in length and use numbers and
343
- lower-case letters only. Required.
344
- :type account_name: str
345
- :param parameters: The parameters to provide for the created account. Is either a
346
- StorageAccountCreateParameters type or a IO[bytes] type. Required.
347
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountCreateParameters or
348
- IO[bytes]
349
- :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of
350
- cls(response)
351
- :rtype:
352
- ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
353
- :raises ~azure.core.exceptions.HttpResponseError:
354
- """
355
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
356
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
357
-
358
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
359
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
360
- cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
361
- polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
362
- lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
363
- cont_token: Optional[str] = kwargs.pop("continuation_token", None)
364
- if cont_token is None:
365
- raw_result = await self._create_initial(
366
- resource_group_name=resource_group_name,
367
- account_name=account_name,
368
- parameters=parameters,
369
- api_version=api_version,
370
- content_type=content_type,
371
- cls=lambda x, y, z: x,
372
- headers=_headers,
373
- params=_params,
374
- **kwargs
375
- )
376
- kwargs.pop("error_map", None)
377
-
378
- def get_long_running_output(pipeline_response):
379
- deserialized = self._deserialize("StorageAccount", pipeline_response)
380
- if cls:
381
- return cls(pipeline_response, deserialized, {}) # type: ignore
382
- return deserialized
383
-
384
- if polling is True:
385
- polling_method: AsyncPollingMethod = cast(AsyncPollingMethod, AsyncARMPolling(lro_delay, **kwargs))
386
- elif polling is False:
387
- polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
388
- else:
389
- polling_method = polling
390
- if cont_token:
391
- return AsyncLROPoller[_models.StorageAccount].from_continuation_token(
392
- polling_method=polling_method,
393
- continuation_token=cont_token,
394
- client=self._client,
395
- deserialization_callback=get_long_running_output,
396
- )
397
- return AsyncLROPoller[_models.StorageAccount](
398
- self._client, raw_result, get_long_running_output, polling_method # type: ignore
399
- )
400
-
401
- @distributed_trace_async
402
- async def delete( # pylint: disable=inconsistent-return-statements
403
- self, resource_group_name: str, account_name: str, **kwargs: Any
404
- ) -> None:
405
- """Deletes a storage account in Microsoft Azure.
406
-
407
- :param resource_group_name: The name of the resource group within the user's subscription. The
408
- name is case insensitive. Required.
409
- :type resource_group_name: str
410
- :param account_name: The name of the storage account within the specified resource group.
411
- Storage account names must be between 3 and 24 characters in length and use numbers and
412
- lower-case letters only. Required.
413
- :type account_name: str
414
- :return: None or the result of cls(response)
415
- :rtype: None
416
- :raises ~azure.core.exceptions.HttpResponseError:
417
- """
418
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
419
- 401: ClientAuthenticationError,
420
- 404: ResourceNotFoundError,
421
- 409: ResourceExistsError,
422
- 304: ResourceNotModifiedError,
423
- }
424
- error_map.update(kwargs.pop("error_map", {}) or {})
425
-
426
- _headers = kwargs.pop("headers", {}) or {}
427
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
428
-
429
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
430
- cls: ClsType[None] = kwargs.pop("cls", None)
431
-
432
- _request = build_delete_request(
433
- resource_group_name=resource_group_name,
434
- account_name=account_name,
435
- subscription_id=self._config.subscription_id,
436
- api_version=api_version,
437
- headers=_headers,
438
- params=_params,
439
- )
440
- _request = _convert_request(_request)
441
- _request.url = self._client.format_url(_request.url)
442
-
443
- _stream = False
444
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
445
- _request, stream=_stream, **kwargs
446
- )
447
-
448
- response = pipeline_response.http_response
449
-
450
- if response.status_code not in [200, 204]:
451
- map_error(status_code=response.status_code, response=response, error_map=error_map)
452
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
453
-
454
- if cls:
455
- return cls(pipeline_response, None, {}) # type: ignore
456
-
457
- @distributed_trace_async
458
- async def get_properties(
459
- self,
460
- resource_group_name: str,
461
- account_name: str,
462
- expand: Optional[Union[str, _models.StorageAccountExpand]] = None,
463
- **kwargs: Any
464
- ) -> _models.StorageAccount:
465
- """Returns the properties for the specified storage account including but not limited to name, SKU
466
- name, location, and account status. The ListKeys operation should be used to retrieve storage
467
- keys.
468
-
469
- :param resource_group_name: The name of the resource group within the user's subscription. The
470
- name is case insensitive. Required.
471
- :type resource_group_name: str
472
- :param account_name: The name of the storage account within the specified resource group.
473
- Storage account names must be between 3 and 24 characters in length and use numbers and
474
- lower-case letters only. Required.
475
- :type account_name: str
476
- :param expand: May be used to expand the properties within account's properties. By default,
477
- data is not included when fetching properties. Currently we only support geoReplicationStats
478
- and blobRestoreStatus. Known values are: "geoReplicationStats" and "blobRestoreStatus". Default
479
- value is None.
480
- :type expand: str or ~azure.mgmt.storage.v2022_05_01.models.StorageAccountExpand
481
- :return: StorageAccount or the result of cls(response)
482
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
483
- :raises ~azure.core.exceptions.HttpResponseError:
484
- """
485
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
486
- 401: ClientAuthenticationError,
487
- 404: ResourceNotFoundError,
488
- 409: ResourceExistsError,
489
- 304: ResourceNotModifiedError,
490
- }
491
- error_map.update(kwargs.pop("error_map", {}) or {})
492
-
493
- _headers = kwargs.pop("headers", {}) or {}
494
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
495
-
496
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
497
- cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
498
-
499
- _request = build_get_properties_request(
500
- resource_group_name=resource_group_name,
501
- account_name=account_name,
502
- subscription_id=self._config.subscription_id,
503
- expand=expand,
504
- api_version=api_version,
505
- headers=_headers,
506
- params=_params,
507
- )
508
- _request = _convert_request(_request)
509
- _request.url = self._client.format_url(_request.url)
510
-
511
- _stream = False
512
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
513
- _request, stream=_stream, **kwargs
514
- )
515
-
516
- response = pipeline_response.http_response
517
-
518
- if response.status_code not in [200]:
519
- map_error(status_code=response.status_code, response=response, error_map=error_map)
520
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
521
-
522
- deserialized = self._deserialize("StorageAccount", pipeline_response)
523
-
524
- if cls:
525
- return cls(pipeline_response, deserialized, {}) # type: ignore
526
-
527
- return deserialized # type: ignore
528
-
529
- @overload
530
- async def update(
531
- self,
532
- resource_group_name: str,
533
- account_name: str,
534
- parameters: _models.StorageAccountUpdateParameters,
535
- *,
536
- content_type: str = "application/json",
537
- **kwargs: Any
538
- ) -> _models.StorageAccount:
539
- """The update operation can be used to update the SKU, encryption, access tier, or tags for a
540
- storage account. It can also be used to map the account to a custom domain. Only one custom
541
- domain is supported per storage account; the replacement/change of custom domain is not
542
- supported. In order to replace an old custom domain, the old value must be cleared/unregistered
543
- before a new value can be set. The update of multiple properties is supported. This call does
544
- not change the storage keys for the account. If you want to change the storage account keys,
545
- use the regenerate keys operation. The location and name of the storage account cannot be
546
- changed after creation.
547
-
548
- :param resource_group_name: The name of the resource group within the user's subscription. The
549
- name is case insensitive. Required.
550
- :type resource_group_name: str
551
- :param account_name: The name of the storage account within the specified resource group.
552
- Storage account names must be between 3 and 24 characters in length and use numbers and
553
- lower-case letters only. Required.
554
- :type account_name: str
555
- :param parameters: The parameters to provide for the updated account. Required.
556
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountUpdateParameters
557
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
558
- Default value is "application/json".
559
- :paramtype content_type: str
560
- :return: StorageAccount or the result of cls(response)
561
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
562
- :raises ~azure.core.exceptions.HttpResponseError:
563
- """
564
-
565
- @overload
566
- async def update(
567
- self,
568
- resource_group_name: str,
569
- account_name: str,
570
- parameters: IO[bytes],
571
- *,
572
- content_type: str = "application/json",
573
- **kwargs: Any
574
- ) -> _models.StorageAccount:
575
- """The update operation can be used to update the SKU, encryption, access tier, or tags for a
576
- storage account. It can also be used to map the account to a custom domain. Only one custom
577
- domain is supported per storage account; the replacement/change of custom domain is not
578
- supported. In order to replace an old custom domain, the old value must be cleared/unregistered
579
- before a new value can be set. The update of multiple properties is supported. This call does
580
- not change the storage keys for the account. If you want to change the storage account keys,
581
- use the regenerate keys operation. The location and name of the storage account cannot be
582
- changed after creation.
583
-
584
- :param resource_group_name: The name of the resource group within the user's subscription. The
585
- name is case insensitive. Required.
586
- :type resource_group_name: str
587
- :param account_name: The name of the storage account within the specified resource group.
588
- Storage account names must be between 3 and 24 characters in length and use numbers and
589
- lower-case letters only. Required.
590
- :type account_name: str
591
- :param parameters: The parameters to provide for the updated account. Required.
592
- :type parameters: IO[bytes]
593
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
594
- Default value is "application/json".
595
- :paramtype content_type: str
596
- :return: StorageAccount or the result of cls(response)
597
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
598
- :raises ~azure.core.exceptions.HttpResponseError:
599
- """
600
-
601
- @distributed_trace_async
602
- async def update(
603
- self,
604
- resource_group_name: str,
605
- account_name: str,
606
- parameters: Union[_models.StorageAccountUpdateParameters, IO[bytes]],
607
- **kwargs: Any
608
- ) -> _models.StorageAccount:
609
- """The update operation can be used to update the SKU, encryption, access tier, or tags for a
610
- storage account. It can also be used to map the account to a custom domain. Only one custom
611
- domain is supported per storage account; the replacement/change of custom domain is not
612
- supported. In order to replace an old custom domain, the old value must be cleared/unregistered
613
- before a new value can be set. The update of multiple properties is supported. This call does
614
- not change the storage keys for the account. If you want to change the storage account keys,
615
- use the regenerate keys operation. The location and name of the storage account cannot be
616
- changed after creation.
617
-
618
- :param resource_group_name: The name of the resource group within the user's subscription. The
619
- name is case insensitive. Required.
620
- :type resource_group_name: str
621
- :param account_name: The name of the storage account within the specified resource group.
622
- Storage account names must be between 3 and 24 characters in length and use numbers and
623
- lower-case letters only. Required.
624
- :type account_name: str
625
- :param parameters: The parameters to provide for the updated account. Is either a
626
- StorageAccountUpdateParameters type or a IO[bytes] type. Required.
627
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountUpdateParameters or
628
- IO[bytes]
629
- :return: StorageAccount or the result of cls(response)
630
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccount
631
- :raises ~azure.core.exceptions.HttpResponseError:
632
- """
633
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
634
- 401: ClientAuthenticationError,
635
- 404: ResourceNotFoundError,
636
- 409: ResourceExistsError,
637
- 304: ResourceNotModifiedError,
638
- }
639
- error_map.update(kwargs.pop("error_map", {}) or {})
640
-
641
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
642
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
643
-
644
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
645
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
646
- cls: ClsType[_models.StorageAccount] = kwargs.pop("cls", None)
647
-
648
- content_type = content_type or "application/json"
649
- _json = None
650
- _content = None
651
- if isinstance(parameters, (IOBase, bytes)):
652
- _content = parameters
653
- else:
654
- _json = self._serialize.body(parameters, "StorageAccountUpdateParameters")
655
-
656
- _request = build_update_request(
657
- resource_group_name=resource_group_name,
658
- account_name=account_name,
659
- subscription_id=self._config.subscription_id,
660
- api_version=api_version,
661
- content_type=content_type,
662
- json=_json,
663
- content=_content,
664
- headers=_headers,
665
- params=_params,
666
- )
667
- _request = _convert_request(_request)
668
- _request.url = self._client.format_url(_request.url)
669
-
670
- _stream = False
671
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
672
- _request, stream=_stream, **kwargs
673
- )
674
-
675
- response = pipeline_response.http_response
676
-
677
- if response.status_code not in [200]:
678
- map_error(status_code=response.status_code, response=response, error_map=error_map)
679
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
680
-
681
- deserialized = self._deserialize("StorageAccount", pipeline_response)
682
-
683
- if cls:
684
- return cls(pipeline_response, deserialized, {}) # type: ignore
685
-
686
- return deserialized # type: ignore
687
-
688
- @distributed_trace
689
- def list(self, **kwargs: Any) -> AsyncIterable["_models.StorageAccount"]:
690
- """Lists all the storage accounts available under the subscription. Note that storage keys are not
691
- returned; use the ListKeys operation for this.
692
-
693
- :return: An iterator like instance of either StorageAccount or the result of cls(response)
694
- :rtype:
695
- ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
696
- :raises ~azure.core.exceptions.HttpResponseError:
697
- """
698
- _headers = kwargs.pop("headers", {}) or {}
699
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
700
-
701
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
702
- cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
703
-
704
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
705
- 401: ClientAuthenticationError,
706
- 404: ResourceNotFoundError,
707
- 409: ResourceExistsError,
708
- 304: ResourceNotModifiedError,
709
- }
710
- error_map.update(kwargs.pop("error_map", {}) or {})
711
-
712
- def prepare_request(next_link=None):
713
- if not next_link:
714
-
715
- _request = build_list_request(
716
- subscription_id=self._config.subscription_id,
717
- api_version=api_version,
718
- headers=_headers,
719
- params=_params,
720
- )
721
- _request = _convert_request(_request)
722
- _request.url = self._client.format_url(_request.url)
723
-
724
- else:
725
- # make call to next link with the client's api-version
726
- _parsed_next_link = urllib.parse.urlparse(next_link)
727
- _next_request_params = case_insensitive_dict(
728
- {
729
- key: [urllib.parse.quote(v) for v in value]
730
- for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
731
- }
732
- )
733
- _next_request_params["api-version"] = self._api_version
734
- _request = HttpRequest(
735
- "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
736
- )
737
- _request = _convert_request(_request)
738
- _request.url = self._client.format_url(_request.url)
739
- _request.method = "GET"
740
- return _request
741
-
742
- async def extract_data(pipeline_response):
743
- deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
744
- list_of_elem = deserialized.value
745
- if cls:
746
- list_of_elem = cls(list_of_elem) # type: ignore
747
- return deserialized.next_link or None, AsyncList(list_of_elem)
748
-
749
- async def get_next(next_link=None):
750
- _request = prepare_request(next_link)
751
-
752
- _stream = False
753
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
754
- _request, stream=_stream, **kwargs
755
- )
756
- response = pipeline_response.http_response
757
-
758
- if response.status_code not in [200]:
759
- map_error(status_code=response.status_code, response=response, error_map=error_map)
760
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
761
-
762
- return pipeline_response
763
-
764
- return AsyncItemPaged(get_next, extract_data)
765
-
766
- @distributed_trace
767
- def list_by_resource_group(
768
- self, resource_group_name: str, **kwargs: Any
769
- ) -> AsyncIterable["_models.StorageAccount"]:
770
- """Lists all the storage accounts available under the given resource group. Note that storage keys
771
- are not returned; use the ListKeys operation for this.
772
-
773
- :param resource_group_name: The name of the resource group within the user's subscription. The
774
- name is case insensitive. Required.
775
- :type resource_group_name: str
776
- :return: An iterator like instance of either StorageAccount or the result of cls(response)
777
- :rtype:
778
- ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2022_05_01.models.StorageAccount]
779
- :raises ~azure.core.exceptions.HttpResponseError:
780
- """
781
- _headers = kwargs.pop("headers", {}) or {}
782
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
783
-
784
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
785
- cls: ClsType[_models.StorageAccountListResult] = kwargs.pop("cls", None)
786
-
787
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
788
- 401: ClientAuthenticationError,
789
- 404: ResourceNotFoundError,
790
- 409: ResourceExistsError,
791
- 304: ResourceNotModifiedError,
792
- }
793
- error_map.update(kwargs.pop("error_map", {}) or {})
794
-
795
- def prepare_request(next_link=None):
796
- if not next_link:
797
-
798
- _request = build_list_by_resource_group_request(
799
- resource_group_name=resource_group_name,
800
- subscription_id=self._config.subscription_id,
801
- api_version=api_version,
802
- headers=_headers,
803
- params=_params,
804
- )
805
- _request = _convert_request(_request)
806
- _request.url = self._client.format_url(_request.url)
807
-
808
- else:
809
- # make call to next link with the client's api-version
810
- _parsed_next_link = urllib.parse.urlparse(next_link)
811
- _next_request_params = case_insensitive_dict(
812
- {
813
- key: [urllib.parse.quote(v) for v in value]
814
- for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
815
- }
816
- )
817
- _next_request_params["api-version"] = self._api_version
818
- _request = HttpRequest(
819
- "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
820
- )
821
- _request = _convert_request(_request)
822
- _request.url = self._client.format_url(_request.url)
823
- _request.method = "GET"
824
- return _request
825
-
826
- async def extract_data(pipeline_response):
827
- deserialized = self._deserialize("StorageAccountListResult", pipeline_response)
828
- list_of_elem = deserialized.value
829
- if cls:
830
- list_of_elem = cls(list_of_elem) # type: ignore
831
- return deserialized.next_link or None, AsyncList(list_of_elem)
832
-
833
- async def get_next(next_link=None):
834
- _request = prepare_request(next_link)
835
-
836
- _stream = False
837
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
838
- _request, stream=_stream, **kwargs
839
- )
840
- response = pipeline_response.http_response
841
-
842
- if response.status_code not in [200]:
843
- map_error(status_code=response.status_code, response=response, error_map=error_map)
844
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
845
-
846
- return pipeline_response
847
-
848
- return AsyncItemPaged(get_next, extract_data)
849
-
850
- @distributed_trace_async
851
- async def list_keys(
852
- self, resource_group_name: str, account_name: str, expand: Literal["kerb"] = "kerb", **kwargs: Any
853
- ) -> _models.StorageAccountListKeysResult:
854
- """Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage
855
- account.
856
-
857
- :param resource_group_name: The name of the resource group within the user's subscription. The
858
- name is case insensitive. Required.
859
- :type resource_group_name: str
860
- :param account_name: The name of the storage account within the specified resource group.
861
- Storage account names must be between 3 and 24 characters in length and use numbers and
862
- lower-case letters only. Required.
863
- :type account_name: str
864
- :param expand: Specifies type of the key to be listed. Possible value is kerb. Known values are
865
- "kerb" and None. Default value is "kerb".
866
- :type expand: str
867
- :return: StorageAccountListKeysResult or the result of cls(response)
868
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
869
- :raises ~azure.core.exceptions.HttpResponseError:
870
- """
871
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
872
- 401: ClientAuthenticationError,
873
- 404: ResourceNotFoundError,
874
- 409: ResourceExistsError,
875
- 304: ResourceNotModifiedError,
876
- }
877
- error_map.update(kwargs.pop("error_map", {}) or {})
878
-
879
- _headers = kwargs.pop("headers", {}) or {}
880
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
881
-
882
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
883
- cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
884
-
885
- _request = build_list_keys_request(
886
- resource_group_name=resource_group_name,
887
- account_name=account_name,
888
- subscription_id=self._config.subscription_id,
889
- expand=expand,
890
- api_version=api_version,
891
- headers=_headers,
892
- params=_params,
893
- )
894
- _request = _convert_request(_request)
895
- _request.url = self._client.format_url(_request.url)
896
-
897
- _stream = False
898
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
899
- _request, stream=_stream, **kwargs
900
- )
901
-
902
- response = pipeline_response.http_response
903
-
904
- if response.status_code not in [200]:
905
- map_error(status_code=response.status_code, response=response, error_map=error_map)
906
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
907
-
908
- deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
909
-
910
- if cls:
911
- return cls(pipeline_response, deserialized, {}) # type: ignore
912
-
913
- return deserialized # type: ignore
914
-
915
- @overload
916
- async def regenerate_key(
917
- self,
918
- resource_group_name: str,
919
- account_name: str,
920
- regenerate_key: _models.StorageAccountRegenerateKeyParameters,
921
- *,
922
- content_type: str = "application/json",
923
- **kwargs: Any
924
- ) -> _models.StorageAccountListKeysResult:
925
- """Regenerates one of the access keys or Kerberos keys for the specified storage account.
926
-
927
- :param resource_group_name: The name of the resource group within the user's subscription. The
928
- name is case insensitive. Required.
929
- :type resource_group_name: str
930
- :param account_name: The name of the storage account within the specified resource group.
931
- Storage account names must be between 3 and 24 characters in length and use numbers and
932
- lower-case letters only. Required.
933
- :type account_name: str
934
- :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
935
- kerb1, kerb2. Required.
936
- :type regenerate_key:
937
- ~azure.mgmt.storage.v2022_05_01.models.StorageAccountRegenerateKeyParameters
938
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
939
- Default value is "application/json".
940
- :paramtype content_type: str
941
- :return: StorageAccountListKeysResult or the result of cls(response)
942
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
943
- :raises ~azure.core.exceptions.HttpResponseError:
944
- """
945
-
946
- @overload
947
- async def regenerate_key(
948
- self,
949
- resource_group_name: str,
950
- account_name: str,
951
- regenerate_key: IO[bytes],
952
- *,
953
- content_type: str = "application/json",
954
- **kwargs: Any
955
- ) -> _models.StorageAccountListKeysResult:
956
- """Regenerates one of the access keys or Kerberos keys for the specified storage account.
957
-
958
- :param resource_group_name: The name of the resource group within the user's subscription. The
959
- name is case insensitive. Required.
960
- :type resource_group_name: str
961
- :param account_name: The name of the storage account within the specified resource group.
962
- Storage account names must be between 3 and 24 characters in length and use numbers and
963
- lower-case letters only. Required.
964
- :type account_name: str
965
- :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
966
- kerb1, kerb2. Required.
967
- :type regenerate_key: IO[bytes]
968
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
969
- Default value is "application/json".
970
- :paramtype content_type: str
971
- :return: StorageAccountListKeysResult or the result of cls(response)
972
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
973
- :raises ~azure.core.exceptions.HttpResponseError:
974
- """
975
-
976
- @distributed_trace_async
977
- async def regenerate_key(
978
- self,
979
- resource_group_name: str,
980
- account_name: str,
981
- regenerate_key: Union[_models.StorageAccountRegenerateKeyParameters, IO[bytes]],
982
- **kwargs: Any
983
- ) -> _models.StorageAccountListKeysResult:
984
- """Regenerates one of the access keys or Kerberos keys for the specified storage account.
985
-
986
- :param resource_group_name: The name of the resource group within the user's subscription. The
987
- name is case insensitive. Required.
988
- :type resource_group_name: str
989
- :param account_name: The name of the storage account within the specified resource group.
990
- Storage account names must be between 3 and 24 characters in length and use numbers and
991
- lower-case letters only. Required.
992
- :type account_name: str
993
- :param regenerate_key: Specifies name of the key which should be regenerated -- key1, key2,
994
- kerb1, kerb2. Is either a StorageAccountRegenerateKeyParameters type or a IO[bytes] type.
995
- Required.
996
- :type regenerate_key:
997
- ~azure.mgmt.storage.v2022_05_01.models.StorageAccountRegenerateKeyParameters or IO[bytes]
998
- :return: StorageAccountListKeysResult or the result of cls(response)
999
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.StorageAccountListKeysResult
1000
- :raises ~azure.core.exceptions.HttpResponseError:
1001
- """
1002
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1003
- 401: ClientAuthenticationError,
1004
- 404: ResourceNotFoundError,
1005
- 409: ResourceExistsError,
1006
- 304: ResourceNotModifiedError,
1007
- }
1008
- error_map.update(kwargs.pop("error_map", {}) or {})
1009
-
1010
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1011
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1012
-
1013
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1014
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1015
- cls: ClsType[_models.StorageAccountListKeysResult] = kwargs.pop("cls", None)
1016
-
1017
- content_type = content_type or "application/json"
1018
- _json = None
1019
- _content = None
1020
- if isinstance(regenerate_key, (IOBase, bytes)):
1021
- _content = regenerate_key
1022
- else:
1023
- _json = self._serialize.body(regenerate_key, "StorageAccountRegenerateKeyParameters")
1024
-
1025
- _request = build_regenerate_key_request(
1026
- resource_group_name=resource_group_name,
1027
- account_name=account_name,
1028
- subscription_id=self._config.subscription_id,
1029
- api_version=api_version,
1030
- content_type=content_type,
1031
- json=_json,
1032
- content=_content,
1033
- headers=_headers,
1034
- params=_params,
1035
- )
1036
- _request = _convert_request(_request)
1037
- _request.url = self._client.format_url(_request.url)
1038
-
1039
- _stream = False
1040
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1041
- _request, stream=_stream, **kwargs
1042
- )
1043
-
1044
- response = pipeline_response.http_response
1045
-
1046
- if response.status_code not in [200]:
1047
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1048
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1049
-
1050
- deserialized = self._deserialize("StorageAccountListKeysResult", pipeline_response)
1051
-
1052
- if cls:
1053
- return cls(pipeline_response, deserialized, {}) # type: ignore
1054
-
1055
- return deserialized # type: ignore
1056
-
1057
- @overload
1058
- async def list_account_sas(
1059
- self,
1060
- resource_group_name: str,
1061
- account_name: str,
1062
- parameters: _models.AccountSasParameters,
1063
- *,
1064
- content_type: str = "application/json",
1065
- **kwargs: Any
1066
- ) -> _models.ListAccountSasResponse:
1067
- """List SAS credentials of a storage account.
1068
-
1069
- :param resource_group_name: The name of the resource group within the user's subscription. The
1070
- name is case insensitive. Required.
1071
- :type resource_group_name: str
1072
- :param account_name: The name of the storage account within the specified resource group.
1073
- Storage account names must be between 3 and 24 characters in length and use numbers and
1074
- lower-case letters only. Required.
1075
- :type account_name: str
1076
- :param parameters: The parameters to provide to list SAS credentials for the storage account.
1077
- Required.
1078
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.AccountSasParameters
1079
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1080
- Default value is "application/json".
1081
- :paramtype content_type: str
1082
- :return: ListAccountSasResponse or the result of cls(response)
1083
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
1084
- :raises ~azure.core.exceptions.HttpResponseError:
1085
- """
1086
-
1087
- @overload
1088
- async def list_account_sas(
1089
- self,
1090
- resource_group_name: str,
1091
- account_name: str,
1092
- parameters: IO[bytes],
1093
- *,
1094
- content_type: str = "application/json",
1095
- **kwargs: Any
1096
- ) -> _models.ListAccountSasResponse:
1097
- """List SAS credentials of a storage account.
1098
-
1099
- :param resource_group_name: The name of the resource group within the user's subscription. The
1100
- name is case insensitive. Required.
1101
- :type resource_group_name: str
1102
- :param account_name: The name of the storage account within the specified resource group.
1103
- Storage account names must be between 3 and 24 characters in length and use numbers and
1104
- lower-case letters only. Required.
1105
- :type account_name: str
1106
- :param parameters: The parameters to provide to list SAS credentials for the storage account.
1107
- Required.
1108
- :type parameters: IO[bytes]
1109
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1110
- Default value is "application/json".
1111
- :paramtype content_type: str
1112
- :return: ListAccountSasResponse or the result of cls(response)
1113
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
1114
- :raises ~azure.core.exceptions.HttpResponseError:
1115
- """
1116
-
1117
- @distributed_trace_async
1118
- async def list_account_sas(
1119
- self,
1120
- resource_group_name: str,
1121
- account_name: str,
1122
- parameters: Union[_models.AccountSasParameters, IO[bytes]],
1123
- **kwargs: Any
1124
- ) -> _models.ListAccountSasResponse:
1125
- """List SAS credentials of a storage account.
1126
-
1127
- :param resource_group_name: The name of the resource group within the user's subscription. The
1128
- name is case insensitive. Required.
1129
- :type resource_group_name: str
1130
- :param account_name: The name of the storage account within the specified resource group.
1131
- Storage account names must be between 3 and 24 characters in length and use numbers and
1132
- lower-case letters only. Required.
1133
- :type account_name: str
1134
- :param parameters: The parameters to provide to list SAS credentials for the storage account.
1135
- Is either a AccountSasParameters type or a IO[bytes] type. Required.
1136
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.AccountSasParameters or IO[bytes]
1137
- :return: ListAccountSasResponse or the result of cls(response)
1138
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListAccountSasResponse
1139
- :raises ~azure.core.exceptions.HttpResponseError:
1140
- """
1141
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1142
- 401: ClientAuthenticationError,
1143
- 404: ResourceNotFoundError,
1144
- 409: ResourceExistsError,
1145
- 304: ResourceNotModifiedError,
1146
- }
1147
- error_map.update(kwargs.pop("error_map", {}) or {})
1148
-
1149
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1150
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1151
-
1152
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1153
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1154
- cls: ClsType[_models.ListAccountSasResponse] = kwargs.pop("cls", None)
1155
-
1156
- content_type = content_type or "application/json"
1157
- _json = None
1158
- _content = None
1159
- if isinstance(parameters, (IOBase, bytes)):
1160
- _content = parameters
1161
- else:
1162
- _json = self._serialize.body(parameters, "AccountSasParameters")
1163
-
1164
- _request = build_list_account_sas_request(
1165
- resource_group_name=resource_group_name,
1166
- account_name=account_name,
1167
- subscription_id=self._config.subscription_id,
1168
- api_version=api_version,
1169
- content_type=content_type,
1170
- json=_json,
1171
- content=_content,
1172
- headers=_headers,
1173
- params=_params,
1174
- )
1175
- _request = _convert_request(_request)
1176
- _request.url = self._client.format_url(_request.url)
1177
-
1178
- _stream = False
1179
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1180
- _request, stream=_stream, **kwargs
1181
- )
1182
-
1183
- response = pipeline_response.http_response
1184
-
1185
- if response.status_code not in [200]:
1186
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1187
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1188
-
1189
- deserialized = self._deserialize("ListAccountSasResponse", pipeline_response)
1190
-
1191
- if cls:
1192
- return cls(pipeline_response, deserialized, {}) # type: ignore
1193
-
1194
- return deserialized # type: ignore
1195
-
1196
- @overload
1197
- async def list_service_sas(
1198
- self,
1199
- resource_group_name: str,
1200
- account_name: str,
1201
- parameters: _models.ServiceSasParameters,
1202
- *,
1203
- content_type: str = "application/json",
1204
- **kwargs: Any
1205
- ) -> _models.ListServiceSasResponse:
1206
- """List service SAS credentials of a specific resource.
1207
-
1208
- :param resource_group_name: The name of the resource group within the user's subscription. The
1209
- name is case insensitive. Required.
1210
- :type resource_group_name: str
1211
- :param account_name: The name of the storage account within the specified resource group.
1212
- Storage account names must be between 3 and 24 characters in length and use numbers and
1213
- lower-case letters only. Required.
1214
- :type account_name: str
1215
- :param parameters: The parameters to provide to list service SAS credentials. Required.
1216
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.ServiceSasParameters
1217
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1218
- Default value is "application/json".
1219
- :paramtype content_type: str
1220
- :return: ListServiceSasResponse or the result of cls(response)
1221
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
1222
- :raises ~azure.core.exceptions.HttpResponseError:
1223
- """
1224
-
1225
- @overload
1226
- async def list_service_sas(
1227
- self,
1228
- resource_group_name: str,
1229
- account_name: str,
1230
- parameters: IO[bytes],
1231
- *,
1232
- content_type: str = "application/json",
1233
- **kwargs: Any
1234
- ) -> _models.ListServiceSasResponse:
1235
- """List service SAS credentials of a specific resource.
1236
-
1237
- :param resource_group_name: The name of the resource group within the user's subscription. The
1238
- name is case insensitive. Required.
1239
- :type resource_group_name: str
1240
- :param account_name: The name of the storage account within the specified resource group.
1241
- Storage account names must be between 3 and 24 characters in length and use numbers and
1242
- lower-case letters only. Required.
1243
- :type account_name: str
1244
- :param parameters: The parameters to provide to list service SAS credentials. Required.
1245
- :type parameters: IO[bytes]
1246
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1247
- Default value is "application/json".
1248
- :paramtype content_type: str
1249
- :return: ListServiceSasResponse or the result of cls(response)
1250
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
1251
- :raises ~azure.core.exceptions.HttpResponseError:
1252
- """
1253
-
1254
- @distributed_trace_async
1255
- async def list_service_sas(
1256
- self,
1257
- resource_group_name: str,
1258
- account_name: str,
1259
- parameters: Union[_models.ServiceSasParameters, IO[bytes]],
1260
- **kwargs: Any
1261
- ) -> _models.ListServiceSasResponse:
1262
- """List service SAS credentials of a specific resource.
1263
-
1264
- :param resource_group_name: The name of the resource group within the user's subscription. The
1265
- name is case insensitive. Required.
1266
- :type resource_group_name: str
1267
- :param account_name: The name of the storage account within the specified resource group.
1268
- Storage account names must be between 3 and 24 characters in length and use numbers and
1269
- lower-case letters only. Required.
1270
- :type account_name: str
1271
- :param parameters: The parameters to provide to list service SAS credentials. Is either a
1272
- ServiceSasParameters type or a IO[bytes] type. Required.
1273
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.ServiceSasParameters or IO[bytes]
1274
- :return: ListServiceSasResponse or the result of cls(response)
1275
- :rtype: ~azure.mgmt.storage.v2022_05_01.models.ListServiceSasResponse
1276
- :raises ~azure.core.exceptions.HttpResponseError:
1277
- """
1278
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1279
- 401: ClientAuthenticationError,
1280
- 404: ResourceNotFoundError,
1281
- 409: ResourceExistsError,
1282
- 304: ResourceNotModifiedError,
1283
- }
1284
- error_map.update(kwargs.pop("error_map", {}) or {})
1285
-
1286
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1287
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1288
-
1289
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1290
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1291
- cls: ClsType[_models.ListServiceSasResponse] = kwargs.pop("cls", None)
1292
-
1293
- content_type = content_type or "application/json"
1294
- _json = None
1295
- _content = None
1296
- if isinstance(parameters, (IOBase, bytes)):
1297
- _content = parameters
1298
- else:
1299
- _json = self._serialize.body(parameters, "ServiceSasParameters")
1300
-
1301
- _request = build_list_service_sas_request(
1302
- resource_group_name=resource_group_name,
1303
- account_name=account_name,
1304
- subscription_id=self._config.subscription_id,
1305
- api_version=api_version,
1306
- content_type=content_type,
1307
- json=_json,
1308
- content=_content,
1309
- headers=_headers,
1310
- params=_params,
1311
- )
1312
- _request = _convert_request(_request)
1313
- _request.url = self._client.format_url(_request.url)
1314
-
1315
- _stream = False
1316
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1317
- _request, stream=_stream, **kwargs
1318
- )
1319
-
1320
- response = pipeline_response.http_response
1321
-
1322
- if response.status_code not in [200]:
1323
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1324
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1325
-
1326
- deserialized = self._deserialize("ListServiceSasResponse", pipeline_response)
1327
-
1328
- if cls:
1329
- return cls(pipeline_response, deserialized, {}) # type: ignore
1330
-
1331
- return deserialized # type: ignore
1332
-
1333
- async def _failover_initial( # pylint: disable=inconsistent-return-statements
1334
- self, resource_group_name: str, account_name: str, **kwargs: Any
1335
- ) -> None:
1336
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1337
- 401: ClientAuthenticationError,
1338
- 404: ResourceNotFoundError,
1339
- 409: ResourceExistsError,
1340
- 304: ResourceNotModifiedError,
1341
- }
1342
- error_map.update(kwargs.pop("error_map", {}) or {})
1343
-
1344
- _headers = kwargs.pop("headers", {}) or {}
1345
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1346
-
1347
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1348
- cls: ClsType[None] = kwargs.pop("cls", None)
1349
-
1350
- _request = build_failover_request(
1351
- resource_group_name=resource_group_name,
1352
- account_name=account_name,
1353
- subscription_id=self._config.subscription_id,
1354
- api_version=api_version,
1355
- headers=_headers,
1356
- params=_params,
1357
- )
1358
- _request = _convert_request(_request)
1359
- _request.url = self._client.format_url(_request.url)
1360
-
1361
- _stream = False
1362
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1363
- _request, stream=_stream, **kwargs
1364
- )
1365
-
1366
- response = pipeline_response.http_response
1367
-
1368
- if response.status_code not in [200, 202]:
1369
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1370
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1371
-
1372
- if cls:
1373
- return cls(pipeline_response, None, {}) # type: ignore
1374
-
1375
- @distributed_trace_async
1376
- async def begin_failover(self, resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncLROPoller[None]:
1377
- """Failover request can be triggered for a storage account in case of availability issues. The
1378
- failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS
1379
- accounts. The secondary cluster will become primary after failover.
1380
-
1381
- :param resource_group_name: The name of the resource group within the user's subscription. The
1382
- name is case insensitive. Required.
1383
- :type resource_group_name: str
1384
- :param account_name: The name of the storage account within the specified resource group.
1385
- Storage account names must be between 3 and 24 characters in length and use numbers and
1386
- lower-case letters only. Required.
1387
- :type account_name: str
1388
- :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
1389
- :rtype: ~azure.core.polling.AsyncLROPoller[None]
1390
- :raises ~azure.core.exceptions.HttpResponseError:
1391
- """
1392
- _headers = kwargs.pop("headers", {}) or {}
1393
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1394
-
1395
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1396
- cls: ClsType[None] = kwargs.pop("cls", None)
1397
- polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
1398
- lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
1399
- cont_token: Optional[str] = kwargs.pop("continuation_token", None)
1400
- if cont_token is None:
1401
- raw_result = await self._failover_initial( # type: ignore
1402
- resource_group_name=resource_group_name,
1403
- account_name=account_name,
1404
- api_version=api_version,
1405
- cls=lambda x, y, z: x,
1406
- headers=_headers,
1407
- params=_params,
1408
- **kwargs
1409
- )
1410
- kwargs.pop("error_map", None)
1411
-
1412
- def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1413
- if cls:
1414
- return cls(pipeline_response, None, {}) # type: ignore
1415
-
1416
- if polling is True:
1417
- polling_method: AsyncPollingMethod = cast(
1418
- AsyncPollingMethod, AsyncARMPolling(lro_delay, lro_options={"final-state-via": "location"}, **kwargs)
1419
- )
1420
- elif polling is False:
1421
- polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
1422
- else:
1423
- polling_method = polling
1424
- if cont_token:
1425
- return AsyncLROPoller[None].from_continuation_token(
1426
- polling_method=polling_method,
1427
- continuation_token=cont_token,
1428
- client=self._client,
1429
- deserialization_callback=get_long_running_output,
1430
- )
1431
- return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1432
-
1433
- async def _hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
1434
- self, resource_group_name: str, account_name: str, request_type: str, **kwargs: Any
1435
- ) -> None:
1436
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1437
- 401: ClientAuthenticationError,
1438
- 404: ResourceNotFoundError,
1439
- 409: ResourceExistsError,
1440
- 304: ResourceNotModifiedError,
1441
- }
1442
- error_map.update(kwargs.pop("error_map", {}) or {})
1443
-
1444
- _headers = kwargs.pop("headers", {}) or {}
1445
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1446
-
1447
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1448
- cls: ClsType[None] = kwargs.pop("cls", None)
1449
-
1450
- _request = build_hierarchical_namespace_migration_request(
1451
- resource_group_name=resource_group_name,
1452
- account_name=account_name,
1453
- subscription_id=self._config.subscription_id,
1454
- request_type=request_type,
1455
- api_version=api_version,
1456
- headers=_headers,
1457
- params=_params,
1458
- )
1459
- _request = _convert_request(_request)
1460
- _request.url = self._client.format_url(_request.url)
1461
-
1462
- _stream = False
1463
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1464
- _request, stream=_stream, **kwargs
1465
- )
1466
-
1467
- response = pipeline_response.http_response
1468
-
1469
- if response.status_code not in [200, 202]:
1470
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1471
- error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
1472
- raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
1473
-
1474
- if cls:
1475
- return cls(pipeline_response, None, {}) # type: ignore
1476
-
1477
- @distributed_trace_async
1478
- async def begin_hierarchical_namespace_migration(
1479
- self, resource_group_name: str, account_name: str, request_type: str, **kwargs: Any
1480
- ) -> AsyncLROPoller[None]:
1481
- """Live Migration of storage account to enable Hns.
1482
-
1483
- :param resource_group_name: The name of the resource group within the user's subscription. The
1484
- name is case insensitive. Required.
1485
- :type resource_group_name: str
1486
- :param account_name: The name of the storage account within the specified resource group.
1487
- Storage account names must be between 3 and 24 characters in length and use numbers and
1488
- lower-case letters only. Required.
1489
- :type account_name: str
1490
- :param request_type: Required. Hierarchical namespace migration type can either be a
1491
- hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request
1492
- 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the
1493
- hydration request will migrate the account. Required.
1494
- :type request_type: str
1495
- :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
1496
- :rtype: ~azure.core.polling.AsyncLROPoller[None]
1497
- :raises ~azure.core.exceptions.HttpResponseError:
1498
- """
1499
- _headers = kwargs.pop("headers", {}) or {}
1500
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1501
-
1502
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1503
- cls: ClsType[None] = kwargs.pop("cls", None)
1504
- polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
1505
- lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
1506
- cont_token: Optional[str] = kwargs.pop("continuation_token", None)
1507
- if cont_token is None:
1508
- raw_result = await self._hierarchical_namespace_migration_initial( # type: ignore
1509
- resource_group_name=resource_group_name,
1510
- account_name=account_name,
1511
- request_type=request_type,
1512
- api_version=api_version,
1513
- cls=lambda x, y, z: x,
1514
- headers=_headers,
1515
- params=_params,
1516
- **kwargs
1517
- )
1518
- kwargs.pop("error_map", None)
1519
-
1520
- def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1521
- if cls:
1522
- return cls(pipeline_response, None, {}) # type: ignore
1523
-
1524
- if polling is True:
1525
- polling_method: AsyncPollingMethod = cast(
1526
- AsyncPollingMethod, AsyncARMPolling(lro_delay, lro_options={"final-state-via": "location"}, **kwargs)
1527
- )
1528
- elif polling is False:
1529
- polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
1530
- else:
1531
- polling_method = polling
1532
- if cont_token:
1533
- return AsyncLROPoller[None].from_continuation_token(
1534
- polling_method=polling_method,
1535
- continuation_token=cont_token,
1536
- client=self._client,
1537
- deserialization_callback=get_long_running_output,
1538
- )
1539
- return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1540
-
1541
- async def _abort_hierarchical_namespace_migration_initial( # pylint: disable=inconsistent-return-statements,name-too-long
1542
- self, resource_group_name: str, account_name: str, **kwargs: Any
1543
- ) -> None:
1544
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1545
- 401: ClientAuthenticationError,
1546
- 404: ResourceNotFoundError,
1547
- 409: ResourceExistsError,
1548
- 304: ResourceNotModifiedError,
1549
- }
1550
- error_map.update(kwargs.pop("error_map", {}) or {})
1551
-
1552
- _headers = kwargs.pop("headers", {}) or {}
1553
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1554
-
1555
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1556
- cls: ClsType[None] = kwargs.pop("cls", None)
1557
-
1558
- _request = build_abort_hierarchical_namespace_migration_request(
1559
- resource_group_name=resource_group_name,
1560
- account_name=account_name,
1561
- subscription_id=self._config.subscription_id,
1562
- api_version=api_version,
1563
- headers=_headers,
1564
- params=_params,
1565
- )
1566
- _request = _convert_request(_request)
1567
- _request.url = self._client.format_url(_request.url)
1568
-
1569
- _stream = False
1570
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1571
- _request, stream=_stream, **kwargs
1572
- )
1573
-
1574
- response = pipeline_response.http_response
1575
-
1576
- if response.status_code not in [200, 202]:
1577
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1578
- error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
1579
- raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
1580
-
1581
- if cls:
1582
- return cls(pipeline_response, None, {}) # type: ignore
1583
-
1584
- @distributed_trace_async
1585
- async def begin_abort_hierarchical_namespace_migration( # pylint: disable=name-too-long
1586
- self, resource_group_name: str, account_name: str, **kwargs: Any
1587
- ) -> AsyncLROPoller[None]:
1588
- """Abort live Migration of storage account to enable Hns.
1589
-
1590
- :param resource_group_name: The name of the resource group within the user's subscription. The
1591
- name is case insensitive. Required.
1592
- :type resource_group_name: str
1593
- :param account_name: The name of the storage account within the specified resource group.
1594
- Storage account names must be between 3 and 24 characters in length and use numbers and
1595
- lower-case letters only. Required.
1596
- :type account_name: str
1597
- :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
1598
- :rtype: ~azure.core.polling.AsyncLROPoller[None]
1599
- :raises ~azure.core.exceptions.HttpResponseError:
1600
- """
1601
- _headers = kwargs.pop("headers", {}) or {}
1602
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1603
-
1604
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1605
- cls: ClsType[None] = kwargs.pop("cls", None)
1606
- polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
1607
- lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
1608
- cont_token: Optional[str] = kwargs.pop("continuation_token", None)
1609
- if cont_token is None:
1610
- raw_result = await self._abort_hierarchical_namespace_migration_initial( # type: ignore
1611
- resource_group_name=resource_group_name,
1612
- account_name=account_name,
1613
- api_version=api_version,
1614
- cls=lambda x, y, z: x,
1615
- headers=_headers,
1616
- params=_params,
1617
- **kwargs
1618
- )
1619
- kwargs.pop("error_map", None)
1620
-
1621
- def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1622
- if cls:
1623
- return cls(pipeline_response, None, {}) # type: ignore
1624
-
1625
- if polling is True:
1626
- polling_method: AsyncPollingMethod = cast(
1627
- AsyncPollingMethod, AsyncARMPolling(lro_delay, lro_options={"final-state-via": "location"}, **kwargs)
1628
- )
1629
- elif polling is False:
1630
- polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
1631
- else:
1632
- polling_method = polling
1633
- if cont_token:
1634
- return AsyncLROPoller[None].from_continuation_token(
1635
- polling_method=polling_method,
1636
- continuation_token=cont_token,
1637
- client=self._client,
1638
- deserialization_callback=get_long_running_output,
1639
- )
1640
- return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1641
-
1642
- async def _restore_blob_ranges_initial(
1643
- self,
1644
- resource_group_name: str,
1645
- account_name: str,
1646
- parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
1647
- **kwargs: Any
1648
- ) -> _models.BlobRestoreStatus:
1649
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1650
- 401: ClientAuthenticationError,
1651
- 404: ResourceNotFoundError,
1652
- 409: ResourceExistsError,
1653
- 304: ResourceNotModifiedError,
1654
- }
1655
- error_map.update(kwargs.pop("error_map", {}) or {})
1656
-
1657
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1658
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1659
-
1660
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1661
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1662
- cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
1663
-
1664
- content_type = content_type or "application/json"
1665
- _json = None
1666
- _content = None
1667
- if isinstance(parameters, (IOBase, bytes)):
1668
- _content = parameters
1669
- else:
1670
- _json = self._serialize.body(parameters, "BlobRestoreParameters")
1671
-
1672
- _request = build_restore_blob_ranges_request(
1673
- resource_group_name=resource_group_name,
1674
- account_name=account_name,
1675
- subscription_id=self._config.subscription_id,
1676
- api_version=api_version,
1677
- content_type=content_type,
1678
- json=_json,
1679
- content=_content,
1680
- headers=_headers,
1681
- params=_params,
1682
- )
1683
- _request = _convert_request(_request)
1684
- _request.url = self._client.format_url(_request.url)
1685
-
1686
- _stream = False
1687
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1688
- _request, stream=_stream, **kwargs
1689
- )
1690
-
1691
- response = pipeline_response.http_response
1692
-
1693
- if response.status_code not in [200, 202]:
1694
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1695
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1696
-
1697
- if response.status_code == 200:
1698
- deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
1699
-
1700
- if response.status_code == 202:
1701
- deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
1702
-
1703
- if cls:
1704
- return cls(pipeline_response, deserialized, {}) # type: ignore
1705
-
1706
- return deserialized # type: ignore
1707
-
1708
- @overload
1709
- async def begin_restore_blob_ranges(
1710
- self,
1711
- resource_group_name: str,
1712
- account_name: str,
1713
- parameters: _models.BlobRestoreParameters,
1714
- *,
1715
- content_type: str = "application/json",
1716
- **kwargs: Any
1717
- ) -> AsyncLROPoller[_models.BlobRestoreStatus]:
1718
- """Restore blobs in the specified blob ranges.
1719
-
1720
- :param resource_group_name: The name of the resource group within the user's subscription. The
1721
- name is case insensitive. Required.
1722
- :type resource_group_name: str
1723
- :param account_name: The name of the storage account within the specified resource group.
1724
- Storage account names must be between 3 and 24 characters in length and use numbers and
1725
- lower-case letters only. Required.
1726
- :type account_name: str
1727
- :param parameters: The parameters to provide for restore blob ranges. Required.
1728
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.BlobRestoreParameters
1729
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1730
- Default value is "application/json".
1731
- :paramtype content_type: str
1732
- :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1733
- cls(response)
1734
- :rtype:
1735
- ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2022_05_01.models.BlobRestoreStatus]
1736
- :raises ~azure.core.exceptions.HttpResponseError:
1737
- """
1738
-
1739
- @overload
1740
- async def begin_restore_blob_ranges(
1741
- self,
1742
- resource_group_name: str,
1743
- account_name: str,
1744
- parameters: IO[bytes],
1745
- *,
1746
- content_type: str = "application/json",
1747
- **kwargs: Any
1748
- ) -> AsyncLROPoller[_models.BlobRestoreStatus]:
1749
- """Restore blobs in the specified blob ranges.
1750
-
1751
- :param resource_group_name: The name of the resource group within the user's subscription. The
1752
- name is case insensitive. Required.
1753
- :type resource_group_name: str
1754
- :param account_name: The name of the storage account within the specified resource group.
1755
- Storage account names must be between 3 and 24 characters in length and use numbers and
1756
- lower-case letters only. Required.
1757
- :type account_name: str
1758
- :param parameters: The parameters to provide for restore blob ranges. Required.
1759
- :type parameters: IO[bytes]
1760
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1761
- Default value is "application/json".
1762
- :paramtype content_type: str
1763
- :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1764
- cls(response)
1765
- :rtype:
1766
- ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2022_05_01.models.BlobRestoreStatus]
1767
- :raises ~azure.core.exceptions.HttpResponseError:
1768
- """
1769
-
1770
- @distributed_trace_async
1771
- async def begin_restore_blob_ranges(
1772
- self,
1773
- resource_group_name: str,
1774
- account_name: str,
1775
- parameters: Union[_models.BlobRestoreParameters, IO[bytes]],
1776
- **kwargs: Any
1777
- ) -> AsyncLROPoller[_models.BlobRestoreStatus]:
1778
- """Restore blobs in the specified blob ranges.
1779
-
1780
- :param resource_group_name: The name of the resource group within the user's subscription. The
1781
- name is case insensitive. Required.
1782
- :type resource_group_name: str
1783
- :param account_name: The name of the storage account within the specified resource group.
1784
- Storage account names must be between 3 and 24 characters in length and use numbers and
1785
- lower-case letters only. Required.
1786
- :type account_name: str
1787
- :param parameters: The parameters to provide for restore blob ranges. Is either a
1788
- BlobRestoreParameters type or a IO[bytes] type. Required.
1789
- :type parameters: ~azure.mgmt.storage.v2022_05_01.models.BlobRestoreParameters or IO[bytes]
1790
- :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of
1791
- cls(response)
1792
- :rtype:
1793
- ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2022_05_01.models.BlobRestoreStatus]
1794
- :raises ~azure.core.exceptions.HttpResponseError:
1795
- """
1796
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1797
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1798
-
1799
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1800
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1801
- cls: ClsType[_models.BlobRestoreStatus] = kwargs.pop("cls", None)
1802
- polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
1803
- lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
1804
- cont_token: Optional[str] = kwargs.pop("continuation_token", None)
1805
- if cont_token is None:
1806
- raw_result = await self._restore_blob_ranges_initial(
1807
- resource_group_name=resource_group_name,
1808
- account_name=account_name,
1809
- parameters=parameters,
1810
- api_version=api_version,
1811
- content_type=content_type,
1812
- cls=lambda x, y, z: x,
1813
- headers=_headers,
1814
- params=_params,
1815
- **kwargs
1816
- )
1817
- kwargs.pop("error_map", None)
1818
-
1819
- def get_long_running_output(pipeline_response):
1820
- deserialized = self._deserialize("BlobRestoreStatus", pipeline_response)
1821
- if cls:
1822
- return cls(pipeline_response, deserialized, {}) # type: ignore
1823
- return deserialized
1824
-
1825
- if polling is True:
1826
- polling_method: AsyncPollingMethod = cast(
1827
- AsyncPollingMethod, AsyncARMPolling(lro_delay, lro_options={"final-state-via": "location"}, **kwargs)
1828
- )
1829
- elif polling is False:
1830
- polling_method = cast(AsyncPollingMethod, AsyncNoPolling())
1831
- else:
1832
- polling_method = polling
1833
- if cont_token:
1834
- return AsyncLROPoller[_models.BlobRestoreStatus].from_continuation_token(
1835
- polling_method=polling_method,
1836
- continuation_token=cont_token,
1837
- client=self._client,
1838
- deserialization_callback=get_long_running_output,
1839
- )
1840
- return AsyncLROPoller[_models.BlobRestoreStatus](
1841
- self._client, raw_result, get_long_running_output, polling_method # type: ignore
1842
- )
1843
-
1844
- @distributed_trace_async
1845
- async def revoke_user_delegation_keys( # pylint: disable=inconsistent-return-statements
1846
- self, resource_group_name: str, account_name: str, **kwargs: Any
1847
- ) -> None:
1848
- """Revoke user delegation keys.
1849
-
1850
- :param resource_group_name: The name of the resource group within the user's subscription. The
1851
- name is case insensitive. Required.
1852
- :type resource_group_name: str
1853
- :param account_name: The name of the storage account within the specified resource group.
1854
- Storage account names must be between 3 and 24 characters in length and use numbers and
1855
- lower-case letters only. Required.
1856
- :type account_name: str
1857
- :return: None or the result of cls(response)
1858
- :rtype: None
1859
- :raises ~azure.core.exceptions.HttpResponseError:
1860
- """
1861
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1862
- 401: ClientAuthenticationError,
1863
- 404: ResourceNotFoundError,
1864
- 409: ResourceExistsError,
1865
- 304: ResourceNotModifiedError,
1866
- }
1867
- error_map.update(kwargs.pop("error_map", {}) or {})
1868
-
1869
- _headers = kwargs.pop("headers", {}) or {}
1870
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1871
-
1872
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2022-05-01"))
1873
- cls: ClsType[None] = kwargs.pop("cls", None)
1874
-
1875
- _request = build_revoke_user_delegation_keys_request(
1876
- resource_group_name=resource_group_name,
1877
- account_name=account_name,
1878
- subscription_id=self._config.subscription_id,
1879
- api_version=api_version,
1880
- headers=_headers,
1881
- params=_params,
1882
- )
1883
- _request = _convert_request(_request)
1884
- _request.url = self._client.format_url(_request.url)
1885
-
1886
- _stream = False
1887
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1888
- _request, stream=_stream, **kwargs
1889
- )
1890
-
1891
- response = pipeline_response.http_response
1892
-
1893
- if response.status_code not in [200]:
1894
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1895
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1896
-
1897
- if cls:
1898
- return cls(pipeline_response, None, {}) # type: ignore