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,1696 +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, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
12
-
13
- from azure.core.exceptions import (
14
- ClientAuthenticationError,
15
- HttpResponseError,
16
- ResourceExistsError,
17
- ResourceNotFoundError,
18
- ResourceNotModifiedError,
19
- map_error,
20
- )
21
- from azure.core.pipeline import PipelineResponse
22
- from azure.core.pipeline.transport import AsyncHttpResponse
23
- from azure.core.rest import HttpRequest
24
- from azure.core.tracing.decorator_async import distributed_trace_async
25
- from azure.core.utils import case_insensitive_dict
26
- from azure.mgmt.core.exceptions import ARMErrorFormat
27
-
28
- from ... import models as _models
29
- from ..._vendor import _convert_request
30
- from ...operations._blob_containers_operations import (
31
- build_clear_legal_hold_request,
32
- build_create_or_update_immutability_policy_request,
33
- build_create_request,
34
- build_delete_immutability_policy_request,
35
- build_delete_request,
36
- build_extend_immutability_policy_request,
37
- build_get_immutability_policy_request,
38
- build_get_request,
39
- build_lease_request,
40
- build_list_request,
41
- build_lock_immutability_policy_request,
42
- build_set_legal_hold_request,
43
- build_update_request,
44
- )
45
-
46
- if sys.version_info >= (3, 9):
47
- from collections.abc import MutableMapping
48
- else:
49
- from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
50
- T = TypeVar("T")
51
- ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
52
-
53
-
54
- class BlobContainersOperations:
55
- """
56
- .. warning::
57
- **DO NOT** instantiate this class directly.
58
-
59
- Instead, you should access the following operations through
60
- :class:`~azure.mgmt.storage.v2018_11_01.aio.StorageManagementClient`'s
61
- :attr:`blob_containers` attribute.
62
- """
63
-
64
- models = _models
65
-
66
- def __init__(self, *args, **kwargs) -> None:
67
- input_args = list(args)
68
- self._client = input_args.pop(0) if input_args else kwargs.pop("client")
69
- self._config = input_args.pop(0) if input_args else kwargs.pop("config")
70
- self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
71
- self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
72
- self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
73
-
74
- @distributed_trace_async
75
- async def list(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.ListContainerItems:
76
- """Lists all containers and does not support a prefix like data plane. Also SRP today does not
77
- return continuation token.
78
-
79
- :param resource_group_name: The name of the resource group within the user's subscription. The
80
- name is case insensitive. Required.
81
- :type resource_group_name: str
82
- :param account_name: The name of the storage account within the specified resource group.
83
- Storage account names must be between 3 and 24 characters in length and use numbers and
84
- lower-case letters only. Required.
85
- :type account_name: str
86
- :return: ListContainerItems or the result of cls(response)
87
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ListContainerItems
88
- :raises ~azure.core.exceptions.HttpResponseError:
89
- """
90
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
91
- 401: ClientAuthenticationError,
92
- 404: ResourceNotFoundError,
93
- 409: ResourceExistsError,
94
- 304: ResourceNotModifiedError,
95
- }
96
- error_map.update(kwargs.pop("error_map", {}) or {})
97
-
98
- _headers = kwargs.pop("headers", {}) or {}
99
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
100
-
101
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
102
- cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
103
-
104
- _request = build_list_request(
105
- resource_group_name=resource_group_name,
106
- account_name=account_name,
107
- subscription_id=self._config.subscription_id,
108
- api_version=api_version,
109
- headers=_headers,
110
- params=_params,
111
- )
112
- _request = _convert_request(_request)
113
- _request.url = self._client.format_url(_request.url)
114
-
115
- _stream = False
116
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
117
- _request, stream=_stream, **kwargs
118
- )
119
-
120
- response = pipeline_response.http_response
121
-
122
- if response.status_code not in [200]:
123
- map_error(status_code=response.status_code, response=response, error_map=error_map)
124
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
125
-
126
- deserialized = self._deserialize("ListContainerItems", pipeline_response)
127
-
128
- if cls:
129
- return cls(pipeline_response, deserialized, {}) # type: ignore
130
-
131
- return deserialized # type: ignore
132
-
133
- @overload
134
- async def create(
135
- self,
136
- resource_group_name: str,
137
- account_name: str,
138
- container_name: str,
139
- blob_container: _models.BlobContainer,
140
- *,
141
- content_type: str = "application/json",
142
- **kwargs: Any
143
- ) -> _models.BlobContainer:
144
- """Creates a new container under the specified account as described by request body. The container
145
- resource includes metadata and properties for that container. It does not include a list of the
146
- blobs contained by the container.
147
-
148
- :param resource_group_name: The name of the resource group within the user's subscription. The
149
- name is case insensitive. Required.
150
- :type resource_group_name: str
151
- :param account_name: The name of the storage account within the specified resource group.
152
- Storage account names must be between 3 and 24 characters in length and use numbers and
153
- lower-case letters only. Required.
154
- :type account_name: str
155
- :param container_name: The name of the blob container within the specified storage account.
156
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
157
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
158
- by a letter or number. Required.
159
- :type container_name: str
160
- :param blob_container: Properties of the blob container to create. Required.
161
- :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
162
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
163
- Default value is "application/json".
164
- :paramtype content_type: str
165
- :return: BlobContainer or the result of cls(response)
166
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
167
- :raises ~azure.core.exceptions.HttpResponseError:
168
- """
169
-
170
- @overload
171
- async def create(
172
- self,
173
- resource_group_name: str,
174
- account_name: str,
175
- container_name: str,
176
- blob_container: IO[bytes],
177
- *,
178
- content_type: str = "application/json",
179
- **kwargs: Any
180
- ) -> _models.BlobContainer:
181
- """Creates a new container under the specified account as described by request body. The container
182
- resource includes metadata and properties for that container. It does not include a list of the
183
- blobs contained by the container.
184
-
185
- :param resource_group_name: The name of the resource group within the user's subscription. The
186
- name is case insensitive. Required.
187
- :type resource_group_name: str
188
- :param account_name: The name of the storage account within the specified resource group.
189
- Storage account names must be between 3 and 24 characters in length and use numbers and
190
- lower-case letters only. Required.
191
- :type account_name: str
192
- :param container_name: The name of the blob container within the specified storage account.
193
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
194
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
195
- by a letter or number. Required.
196
- :type container_name: str
197
- :param blob_container: Properties of the blob container to create. Required.
198
- :type blob_container: IO[bytes]
199
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
200
- Default value is "application/json".
201
- :paramtype content_type: str
202
- :return: BlobContainer or the result of cls(response)
203
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
204
- :raises ~azure.core.exceptions.HttpResponseError:
205
- """
206
-
207
- @distributed_trace_async
208
- async def create(
209
- self,
210
- resource_group_name: str,
211
- account_name: str,
212
- container_name: str,
213
- blob_container: Union[_models.BlobContainer, IO[bytes]],
214
- **kwargs: Any
215
- ) -> _models.BlobContainer:
216
- """Creates a new container under the specified account as described by request body. The container
217
- resource includes metadata and properties for that container. It does not include a list of the
218
- blobs contained by the container.
219
-
220
- :param resource_group_name: The name of the resource group within the user's subscription. The
221
- name is case insensitive. Required.
222
- :type resource_group_name: str
223
- :param account_name: The name of the storage account within the specified resource group.
224
- Storage account names must be between 3 and 24 characters in length and use numbers and
225
- lower-case letters only. Required.
226
- :type account_name: str
227
- :param container_name: The name of the blob container within the specified storage account.
228
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
229
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
230
- by a letter or number. Required.
231
- :type container_name: str
232
- :param blob_container: Properties of the blob container to create. Is either a BlobContainer
233
- type or a IO[bytes] type. Required.
234
- :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
235
- :return: BlobContainer or the result of cls(response)
236
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
237
- :raises ~azure.core.exceptions.HttpResponseError:
238
- """
239
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
240
- 401: ClientAuthenticationError,
241
- 404: ResourceNotFoundError,
242
- 409: ResourceExistsError,
243
- 304: ResourceNotModifiedError,
244
- }
245
- error_map.update(kwargs.pop("error_map", {}) or {})
246
-
247
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
248
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
249
-
250
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
251
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
252
- cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
253
-
254
- content_type = content_type or "application/json"
255
- _json = None
256
- _content = None
257
- if isinstance(blob_container, (IOBase, bytes)):
258
- _content = blob_container
259
- else:
260
- _json = self._serialize.body(blob_container, "BlobContainer")
261
-
262
- _request = build_create_request(
263
- resource_group_name=resource_group_name,
264
- account_name=account_name,
265
- container_name=container_name,
266
- subscription_id=self._config.subscription_id,
267
- api_version=api_version,
268
- content_type=content_type,
269
- json=_json,
270
- content=_content,
271
- headers=_headers,
272
- params=_params,
273
- )
274
- _request = _convert_request(_request)
275
- _request.url = self._client.format_url(_request.url)
276
-
277
- _stream = False
278
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
279
- _request, stream=_stream, **kwargs
280
- )
281
-
282
- response = pipeline_response.http_response
283
-
284
- if response.status_code not in [200, 201]:
285
- map_error(status_code=response.status_code, response=response, error_map=error_map)
286
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
287
-
288
- if response.status_code == 200:
289
- deserialized = self._deserialize("BlobContainer", pipeline_response)
290
-
291
- if response.status_code == 201:
292
- deserialized = self._deserialize("BlobContainer", pipeline_response)
293
-
294
- if cls:
295
- return cls(pipeline_response, deserialized, {}) # type: ignore
296
-
297
- return deserialized # type: ignore
298
-
299
- @overload
300
- async def update(
301
- self,
302
- resource_group_name: str,
303
- account_name: str,
304
- container_name: str,
305
- blob_container: _models.BlobContainer,
306
- *,
307
- content_type: str = "application/json",
308
- **kwargs: Any
309
- ) -> _models.BlobContainer:
310
- """Updates container properties as specified in request body. Properties not mentioned in the
311
- request will be unchanged. Update fails if the specified container doesn't already exist.
312
-
313
- :param resource_group_name: The name of the resource group within the user's subscription. The
314
- name is case insensitive. Required.
315
- :type resource_group_name: str
316
- :param account_name: The name of the storage account within the specified resource group.
317
- Storage account names must be between 3 and 24 characters in length and use numbers and
318
- lower-case letters only. Required.
319
- :type account_name: str
320
- :param container_name: The name of the blob container within the specified storage account.
321
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
322
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
323
- by a letter or number. Required.
324
- :type container_name: str
325
- :param blob_container: Properties to update for the blob container. Required.
326
- :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
327
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
328
- Default value is "application/json".
329
- :paramtype content_type: str
330
- :return: BlobContainer or the result of cls(response)
331
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
332
- :raises ~azure.core.exceptions.HttpResponseError:
333
- """
334
-
335
- @overload
336
- async def update(
337
- self,
338
- resource_group_name: str,
339
- account_name: str,
340
- container_name: str,
341
- blob_container: IO[bytes],
342
- *,
343
- content_type: str = "application/json",
344
- **kwargs: Any
345
- ) -> _models.BlobContainer:
346
- """Updates container properties as specified in request body. Properties not mentioned in the
347
- request will be unchanged. Update fails if the specified container doesn't already exist.
348
-
349
- :param resource_group_name: The name of the resource group within the user's subscription. The
350
- name is case insensitive. Required.
351
- :type resource_group_name: str
352
- :param account_name: The name of the storage account within the specified resource group.
353
- Storage account names must be between 3 and 24 characters in length and use numbers and
354
- lower-case letters only. Required.
355
- :type account_name: str
356
- :param container_name: The name of the blob container within the specified storage account.
357
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
358
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
359
- by a letter or number. Required.
360
- :type container_name: str
361
- :param blob_container: Properties to update for the blob container. Required.
362
- :type blob_container: IO[bytes]
363
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
364
- Default value is "application/json".
365
- :paramtype content_type: str
366
- :return: BlobContainer or the result of cls(response)
367
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
368
- :raises ~azure.core.exceptions.HttpResponseError:
369
- """
370
-
371
- @distributed_trace_async
372
- async def update(
373
- self,
374
- resource_group_name: str,
375
- account_name: str,
376
- container_name: str,
377
- blob_container: Union[_models.BlobContainer, IO[bytes]],
378
- **kwargs: Any
379
- ) -> _models.BlobContainer:
380
- """Updates container properties as specified in request body. Properties not mentioned in the
381
- request will be unchanged. Update fails if the specified container doesn't already exist.
382
-
383
- :param resource_group_name: The name of the resource group within the user's subscription. The
384
- name is case insensitive. Required.
385
- :type resource_group_name: str
386
- :param account_name: The name of the storage account within the specified resource group.
387
- Storage account names must be between 3 and 24 characters in length and use numbers and
388
- lower-case letters only. Required.
389
- :type account_name: str
390
- :param container_name: The name of the blob container within the specified storage account.
391
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
392
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
393
- by a letter or number. Required.
394
- :type container_name: str
395
- :param blob_container: Properties to update for the blob container. Is either a BlobContainer
396
- type or a IO[bytes] type. Required.
397
- :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
398
- :return: BlobContainer or the result of cls(response)
399
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
400
- :raises ~azure.core.exceptions.HttpResponseError:
401
- """
402
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
403
- 401: ClientAuthenticationError,
404
- 404: ResourceNotFoundError,
405
- 409: ResourceExistsError,
406
- 304: ResourceNotModifiedError,
407
- }
408
- error_map.update(kwargs.pop("error_map", {}) or {})
409
-
410
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
411
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
412
-
413
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
414
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
415
- cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
416
-
417
- content_type = content_type or "application/json"
418
- _json = None
419
- _content = None
420
- if isinstance(blob_container, (IOBase, bytes)):
421
- _content = blob_container
422
- else:
423
- _json = self._serialize.body(blob_container, "BlobContainer")
424
-
425
- _request = build_update_request(
426
- resource_group_name=resource_group_name,
427
- account_name=account_name,
428
- container_name=container_name,
429
- subscription_id=self._config.subscription_id,
430
- api_version=api_version,
431
- content_type=content_type,
432
- json=_json,
433
- content=_content,
434
- headers=_headers,
435
- params=_params,
436
- )
437
- _request = _convert_request(_request)
438
- _request.url = self._client.format_url(_request.url)
439
-
440
- _stream = False
441
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
442
- _request, stream=_stream, **kwargs
443
- )
444
-
445
- response = pipeline_response.http_response
446
-
447
- if response.status_code not in [200]:
448
- map_error(status_code=response.status_code, response=response, error_map=error_map)
449
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
450
-
451
- deserialized = self._deserialize("BlobContainer", pipeline_response)
452
-
453
- if cls:
454
- return cls(pipeline_response, deserialized, {}) # type: ignore
455
-
456
- return deserialized # type: ignore
457
-
458
- @distributed_trace_async
459
- async def get(
460
- self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
461
- ) -> _models.BlobContainer:
462
- """Gets properties of a specified container.
463
-
464
- :param resource_group_name: The name of the resource group within the user's subscription. The
465
- name is case insensitive. Required.
466
- :type resource_group_name: str
467
- :param account_name: The name of the storage account within the specified resource group.
468
- Storage account names must be between 3 and 24 characters in length and use numbers and
469
- lower-case letters only. Required.
470
- :type account_name: str
471
- :param container_name: The name of the blob container within the specified storage account.
472
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
473
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
474
- by a letter or number. Required.
475
- :type container_name: str
476
- :return: BlobContainer or the result of cls(response)
477
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
478
- :raises ~azure.core.exceptions.HttpResponseError:
479
- """
480
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
481
- 401: ClientAuthenticationError,
482
- 404: ResourceNotFoundError,
483
- 409: ResourceExistsError,
484
- 304: ResourceNotModifiedError,
485
- }
486
- error_map.update(kwargs.pop("error_map", {}) or {})
487
-
488
- _headers = kwargs.pop("headers", {}) or {}
489
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
490
-
491
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
492
- cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
493
-
494
- _request = build_get_request(
495
- resource_group_name=resource_group_name,
496
- account_name=account_name,
497
- container_name=container_name,
498
- subscription_id=self._config.subscription_id,
499
- api_version=api_version,
500
- headers=_headers,
501
- params=_params,
502
- )
503
- _request = _convert_request(_request)
504
- _request.url = self._client.format_url(_request.url)
505
-
506
- _stream = False
507
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
508
- _request, stream=_stream, **kwargs
509
- )
510
-
511
- response = pipeline_response.http_response
512
-
513
- if response.status_code not in [200]:
514
- map_error(status_code=response.status_code, response=response, error_map=error_map)
515
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
516
-
517
- deserialized = self._deserialize("BlobContainer", pipeline_response)
518
-
519
- if cls:
520
- return cls(pipeline_response, deserialized, {}) # type: ignore
521
-
522
- return deserialized # type: ignore
523
-
524
- @distributed_trace_async
525
- async def delete( # pylint: disable=inconsistent-return-statements
526
- self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
527
- ) -> None:
528
- """Deletes specified container under its account.
529
-
530
- :param resource_group_name: The name of the resource group within the user's subscription. The
531
- name is case insensitive. Required.
532
- :type resource_group_name: str
533
- :param account_name: The name of the storage account within the specified resource group.
534
- Storage account names must be between 3 and 24 characters in length and use numbers and
535
- lower-case letters only. Required.
536
- :type account_name: str
537
- :param container_name: The name of the blob container within the specified storage account.
538
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
539
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
540
- by a letter or number. Required.
541
- :type container_name: str
542
- :return: None or the result of cls(response)
543
- :rtype: None
544
- :raises ~azure.core.exceptions.HttpResponseError:
545
- """
546
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
547
- 401: ClientAuthenticationError,
548
- 404: ResourceNotFoundError,
549
- 409: ResourceExistsError,
550
- 304: ResourceNotModifiedError,
551
- }
552
- error_map.update(kwargs.pop("error_map", {}) or {})
553
-
554
- _headers = kwargs.pop("headers", {}) or {}
555
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
556
-
557
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
558
- cls: ClsType[None] = kwargs.pop("cls", None)
559
-
560
- _request = build_delete_request(
561
- resource_group_name=resource_group_name,
562
- account_name=account_name,
563
- container_name=container_name,
564
- subscription_id=self._config.subscription_id,
565
- api_version=api_version,
566
- headers=_headers,
567
- params=_params,
568
- )
569
- _request = _convert_request(_request)
570
- _request.url = self._client.format_url(_request.url)
571
-
572
- _stream = False
573
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
574
- _request, stream=_stream, **kwargs
575
- )
576
-
577
- response = pipeline_response.http_response
578
-
579
- if response.status_code not in [200, 204]:
580
- map_error(status_code=response.status_code, response=response, error_map=error_map)
581
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
582
-
583
- if cls:
584
- return cls(pipeline_response, None, {}) # type: ignore
585
-
586
- @overload
587
- async def set_legal_hold(
588
- self,
589
- resource_group_name: str,
590
- account_name: str,
591
- container_name: str,
592
- legal_hold: _models.LegalHold,
593
- *,
594
- content_type: str = "application/json",
595
- **kwargs: Any
596
- ) -> _models.LegalHold:
597
- """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
598
- follows an append pattern and does not clear out the existing tags that are not specified in
599
- the request.
600
-
601
- :param resource_group_name: The name of the resource group within the user's subscription. The
602
- name is case insensitive. Required.
603
- :type resource_group_name: str
604
- :param account_name: The name of the storage account within the specified resource group.
605
- Storage account names must be between 3 and 24 characters in length and use numbers and
606
- lower-case letters only. Required.
607
- :type account_name: str
608
- :param container_name: The name of the blob container within the specified storage account.
609
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
610
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
611
- by a letter or number. Required.
612
- :type container_name: str
613
- :param legal_hold: The LegalHold property that will be set to a blob container. Required.
614
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
615
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
616
- Default value is "application/json".
617
- :paramtype content_type: str
618
- :return: LegalHold or the result of cls(response)
619
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
620
- :raises ~azure.core.exceptions.HttpResponseError:
621
- """
622
-
623
- @overload
624
- async def set_legal_hold(
625
- self,
626
- resource_group_name: str,
627
- account_name: str,
628
- container_name: str,
629
- legal_hold: IO[bytes],
630
- *,
631
- content_type: str = "application/json",
632
- **kwargs: Any
633
- ) -> _models.LegalHold:
634
- """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
635
- follows an append pattern and does not clear out the existing tags that are not specified in
636
- the request.
637
-
638
- :param resource_group_name: The name of the resource group within the user's subscription. The
639
- name is case insensitive. Required.
640
- :type resource_group_name: str
641
- :param account_name: The name of the storage account within the specified resource group.
642
- Storage account names must be between 3 and 24 characters in length and use numbers and
643
- lower-case letters only. Required.
644
- :type account_name: str
645
- :param container_name: The name of the blob container within the specified storage account.
646
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
647
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
648
- by a letter or number. Required.
649
- :type container_name: str
650
- :param legal_hold: The LegalHold property that will be set to a blob container. Required.
651
- :type legal_hold: IO[bytes]
652
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
653
- Default value is "application/json".
654
- :paramtype content_type: str
655
- :return: LegalHold or the result of cls(response)
656
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
657
- :raises ~azure.core.exceptions.HttpResponseError:
658
- """
659
-
660
- @distributed_trace_async
661
- async def set_legal_hold(
662
- self,
663
- resource_group_name: str,
664
- account_name: str,
665
- container_name: str,
666
- legal_hold: Union[_models.LegalHold, IO[bytes]],
667
- **kwargs: Any
668
- ) -> _models.LegalHold:
669
- """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
670
- follows an append pattern and does not clear out the existing tags that are not specified in
671
- the request.
672
-
673
- :param resource_group_name: The name of the resource group within the user's subscription. The
674
- name is case insensitive. Required.
675
- :type resource_group_name: str
676
- :param account_name: The name of the storage account within the specified resource group.
677
- Storage account names must be between 3 and 24 characters in length and use numbers and
678
- lower-case letters only. Required.
679
- :type account_name: str
680
- :param container_name: The name of the blob container within the specified storage account.
681
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
682
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
683
- by a letter or number. Required.
684
- :type container_name: str
685
- :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
686
- LegalHold type or a IO[bytes] type. Required.
687
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
688
- :return: LegalHold or the result of cls(response)
689
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
690
- :raises ~azure.core.exceptions.HttpResponseError:
691
- """
692
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
693
- 401: ClientAuthenticationError,
694
- 404: ResourceNotFoundError,
695
- 409: ResourceExistsError,
696
- 304: ResourceNotModifiedError,
697
- }
698
- error_map.update(kwargs.pop("error_map", {}) or {})
699
-
700
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
701
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
702
-
703
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
704
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
705
- cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
706
-
707
- content_type = content_type or "application/json"
708
- _json = None
709
- _content = None
710
- if isinstance(legal_hold, (IOBase, bytes)):
711
- _content = legal_hold
712
- else:
713
- _json = self._serialize.body(legal_hold, "LegalHold")
714
-
715
- _request = build_set_legal_hold_request(
716
- resource_group_name=resource_group_name,
717
- account_name=account_name,
718
- container_name=container_name,
719
- subscription_id=self._config.subscription_id,
720
- api_version=api_version,
721
- content_type=content_type,
722
- json=_json,
723
- content=_content,
724
- headers=_headers,
725
- params=_params,
726
- )
727
- _request = _convert_request(_request)
728
- _request.url = self._client.format_url(_request.url)
729
-
730
- _stream = False
731
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
732
- _request, stream=_stream, **kwargs
733
- )
734
-
735
- response = pipeline_response.http_response
736
-
737
- if response.status_code not in [200]:
738
- map_error(status_code=response.status_code, response=response, error_map=error_map)
739
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
740
-
741
- deserialized = self._deserialize("LegalHold", pipeline_response)
742
-
743
- if cls:
744
- return cls(pipeline_response, deserialized, {}) # type: ignore
745
-
746
- return deserialized # type: ignore
747
-
748
- @overload
749
- async def clear_legal_hold(
750
- self,
751
- resource_group_name: str,
752
- account_name: str,
753
- container_name: str,
754
- legal_hold: _models.LegalHold,
755
- *,
756
- content_type: str = "application/json",
757
- **kwargs: Any
758
- ) -> _models.LegalHold:
759
- """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
760
- operation. ClearLegalHold clears out only the specified tags in the request.
761
-
762
- :param resource_group_name: The name of the resource group within the user's subscription. The
763
- name is case insensitive. Required.
764
- :type resource_group_name: str
765
- :param account_name: The name of the storage account within the specified resource group.
766
- Storage account names must be between 3 and 24 characters in length and use numbers and
767
- lower-case letters only. Required.
768
- :type account_name: str
769
- :param container_name: The name of the blob container within the specified storage account.
770
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
771
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
772
- by a letter or number. Required.
773
- :type container_name: str
774
- :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
775
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
776
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
777
- Default value is "application/json".
778
- :paramtype content_type: str
779
- :return: LegalHold or the result of cls(response)
780
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
781
- :raises ~azure.core.exceptions.HttpResponseError:
782
- """
783
-
784
- @overload
785
- async def clear_legal_hold(
786
- self,
787
- resource_group_name: str,
788
- account_name: str,
789
- container_name: str,
790
- legal_hold: IO[bytes],
791
- *,
792
- content_type: str = "application/json",
793
- **kwargs: Any
794
- ) -> _models.LegalHold:
795
- """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
796
- operation. ClearLegalHold clears out only the specified tags in the request.
797
-
798
- :param resource_group_name: The name of the resource group within the user's subscription. The
799
- name is case insensitive. Required.
800
- :type resource_group_name: str
801
- :param account_name: The name of the storage account within the specified resource group.
802
- Storage account names must be between 3 and 24 characters in length and use numbers and
803
- lower-case letters only. Required.
804
- :type account_name: str
805
- :param container_name: The name of the blob container within the specified storage account.
806
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
807
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
808
- by a letter or number. Required.
809
- :type container_name: str
810
- :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
811
- :type legal_hold: IO[bytes]
812
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
813
- Default value is "application/json".
814
- :paramtype content_type: str
815
- :return: LegalHold or the result of cls(response)
816
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
817
- :raises ~azure.core.exceptions.HttpResponseError:
818
- """
819
-
820
- @distributed_trace_async
821
- async def clear_legal_hold(
822
- self,
823
- resource_group_name: str,
824
- account_name: str,
825
- container_name: str,
826
- legal_hold: Union[_models.LegalHold, IO[bytes]],
827
- **kwargs: Any
828
- ) -> _models.LegalHold:
829
- """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
830
- operation. ClearLegalHold clears out only the specified tags in the request.
831
-
832
- :param resource_group_name: The name of the resource group within the user's subscription. The
833
- name is case insensitive. Required.
834
- :type resource_group_name: str
835
- :param account_name: The name of the storage account within the specified resource group.
836
- Storage account names must be between 3 and 24 characters in length and use numbers and
837
- lower-case letters only. Required.
838
- :type account_name: str
839
- :param container_name: The name of the blob container within the specified storage account.
840
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
841
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
842
- by a letter or number. Required.
843
- :type container_name: str
844
- :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
845
- LegalHold type or a IO[bytes] type. Required.
846
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
847
- :return: LegalHold or the result of cls(response)
848
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
849
- :raises ~azure.core.exceptions.HttpResponseError:
850
- """
851
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
852
- 401: ClientAuthenticationError,
853
- 404: ResourceNotFoundError,
854
- 409: ResourceExistsError,
855
- 304: ResourceNotModifiedError,
856
- }
857
- error_map.update(kwargs.pop("error_map", {}) or {})
858
-
859
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
860
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
861
-
862
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
863
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
864
- cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
865
-
866
- content_type = content_type or "application/json"
867
- _json = None
868
- _content = None
869
- if isinstance(legal_hold, (IOBase, bytes)):
870
- _content = legal_hold
871
- else:
872
- _json = self._serialize.body(legal_hold, "LegalHold")
873
-
874
- _request = build_clear_legal_hold_request(
875
- resource_group_name=resource_group_name,
876
- account_name=account_name,
877
- container_name=container_name,
878
- subscription_id=self._config.subscription_id,
879
- api_version=api_version,
880
- content_type=content_type,
881
- json=_json,
882
- content=_content,
883
- headers=_headers,
884
- params=_params,
885
- )
886
- _request = _convert_request(_request)
887
- _request.url = self._client.format_url(_request.url)
888
-
889
- _stream = False
890
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
891
- _request, stream=_stream, **kwargs
892
- )
893
-
894
- response = pipeline_response.http_response
895
-
896
- if response.status_code not in [200]:
897
- map_error(status_code=response.status_code, response=response, error_map=error_map)
898
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
899
-
900
- deserialized = self._deserialize("LegalHold", pipeline_response)
901
-
902
- if cls:
903
- return cls(pipeline_response, deserialized, {}) # type: ignore
904
-
905
- return deserialized # type: ignore
906
-
907
- @overload
908
- async def create_or_update_immutability_policy(
909
- self,
910
- resource_group_name: str,
911
- account_name: str,
912
- container_name: str,
913
- immutability_policy_name: Union[str, _models.Enum10],
914
- if_match: Optional[str] = None,
915
- parameters: Optional[_models.ImmutabilityPolicy] = None,
916
- *,
917
- content_type: str = "application/json",
918
- **kwargs: Any
919
- ) -> _models.ImmutabilityPolicy:
920
- """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
921
- not required for this operation.
922
-
923
- :param resource_group_name: The name of the resource group within the user's subscription. The
924
- name is case insensitive. Required.
925
- :type resource_group_name: str
926
- :param account_name: The name of the storage account within the specified resource group.
927
- Storage account names must be between 3 and 24 characters in length and use numbers and
928
- lower-case letters only. Required.
929
- :type account_name: str
930
- :param container_name: The name of the blob container within the specified storage account.
931
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
932
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
933
- by a letter or number. Required.
934
- :type container_name: str
935
- :param immutability_policy_name: The name of the blob container immutabilityPolicy within the
936
- specified storage account. ImmutabilityPolicy Name must be 'default'. "default" Required.
937
- :type immutability_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.Enum10
938
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
939
- of "*" can be used to apply the operation only if the immutability policy already exists. If
940
- omitted, this operation will always be applied. Default value is None.
941
- :type if_match: str
942
- :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
943
- container. Default value is None.
944
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
945
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
946
- Default value is "application/json".
947
- :paramtype content_type: str
948
- :return: ImmutabilityPolicy or the result of cls(response)
949
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
950
- :raises ~azure.core.exceptions.HttpResponseError:
951
- """
952
-
953
- @overload
954
- async def create_or_update_immutability_policy(
955
- self,
956
- resource_group_name: str,
957
- account_name: str,
958
- container_name: str,
959
- immutability_policy_name: Union[str, _models.Enum10],
960
- if_match: Optional[str] = None,
961
- parameters: Optional[IO[bytes]] = None,
962
- *,
963
- content_type: str = "application/json",
964
- **kwargs: Any
965
- ) -> _models.ImmutabilityPolicy:
966
- """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
967
- not required for this operation.
968
-
969
- :param resource_group_name: The name of the resource group within the user's subscription. The
970
- name is case insensitive. Required.
971
- :type resource_group_name: str
972
- :param account_name: The name of the storage account within the specified resource group.
973
- Storage account names must be between 3 and 24 characters in length and use numbers and
974
- lower-case letters only. Required.
975
- :type account_name: str
976
- :param container_name: The name of the blob container within the specified storage account.
977
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
978
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
979
- by a letter or number. Required.
980
- :type container_name: str
981
- :param immutability_policy_name: The name of the blob container immutabilityPolicy within the
982
- specified storage account. ImmutabilityPolicy Name must be 'default'. "default" Required.
983
- :type immutability_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.Enum10
984
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
985
- of "*" can be used to apply the operation only if the immutability policy already exists. If
986
- omitted, this operation will always be applied. Default value is None.
987
- :type if_match: str
988
- :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
989
- container. Default value is None.
990
- :type parameters: IO[bytes]
991
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
992
- Default value is "application/json".
993
- :paramtype content_type: str
994
- :return: ImmutabilityPolicy or the result of cls(response)
995
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
996
- :raises ~azure.core.exceptions.HttpResponseError:
997
- """
998
-
999
- @distributed_trace_async
1000
- async def create_or_update_immutability_policy(
1001
- self,
1002
- resource_group_name: str,
1003
- account_name: str,
1004
- container_name: str,
1005
- immutability_policy_name: Union[str, _models.Enum10],
1006
- if_match: Optional[str] = None,
1007
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1008
- **kwargs: Any
1009
- ) -> _models.ImmutabilityPolicy:
1010
- """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
1011
- not required for this operation.
1012
-
1013
- :param resource_group_name: The name of the resource group within the user's subscription. The
1014
- name is case insensitive. Required.
1015
- :type resource_group_name: str
1016
- :param account_name: The name of the storage account within the specified resource group.
1017
- Storage account names must be between 3 and 24 characters in length and use numbers and
1018
- lower-case letters only. Required.
1019
- :type account_name: str
1020
- :param container_name: The name of the blob container within the specified storage account.
1021
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1022
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1023
- by a letter or number. Required.
1024
- :type container_name: str
1025
- :param immutability_policy_name: The name of the blob container immutabilityPolicy within the
1026
- specified storage account. ImmutabilityPolicy Name must be 'default'. "default" Required.
1027
- :type immutability_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.Enum10
1028
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
1029
- of "*" can be used to apply the operation only if the immutability policy already exists. If
1030
- omitted, this operation will always be applied. Default value is None.
1031
- :type if_match: str
1032
- :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1033
- container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1034
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
1035
- :return: ImmutabilityPolicy or the result of cls(response)
1036
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1037
- :raises ~azure.core.exceptions.HttpResponseError:
1038
- """
1039
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1040
- 401: ClientAuthenticationError,
1041
- 404: ResourceNotFoundError,
1042
- 409: ResourceExistsError,
1043
- 304: ResourceNotModifiedError,
1044
- }
1045
- error_map.update(kwargs.pop("error_map", {}) or {})
1046
-
1047
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1048
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1049
-
1050
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1051
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1052
- cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1053
-
1054
- content_type = content_type or "application/json"
1055
- _json = None
1056
- _content = None
1057
- if isinstance(parameters, (IOBase, bytes)):
1058
- _content = parameters
1059
- else:
1060
- if parameters is not None:
1061
- _json = self._serialize.body(parameters, "ImmutabilityPolicy")
1062
- else:
1063
- _json = None
1064
-
1065
- _request = build_create_or_update_immutability_policy_request(
1066
- resource_group_name=resource_group_name,
1067
- account_name=account_name,
1068
- container_name=container_name,
1069
- immutability_policy_name=immutability_policy_name,
1070
- subscription_id=self._config.subscription_id,
1071
- if_match=if_match,
1072
- api_version=api_version,
1073
- content_type=content_type,
1074
- json=_json,
1075
- content=_content,
1076
- headers=_headers,
1077
- params=_params,
1078
- )
1079
- _request = _convert_request(_request)
1080
- _request.url = self._client.format_url(_request.url)
1081
-
1082
- _stream = False
1083
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1084
- _request, stream=_stream, **kwargs
1085
- )
1086
-
1087
- response = pipeline_response.http_response
1088
-
1089
- if response.status_code not in [200]:
1090
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1091
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1092
-
1093
- response_headers = {}
1094
- response_headers["ETag"] = self._deserialize("str", response.headers.get("ETag"))
1095
-
1096
- deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1097
-
1098
- if cls:
1099
- return cls(pipeline_response, deserialized, response_headers) # type: ignore
1100
-
1101
- return deserialized # type: ignore
1102
-
1103
- @distributed_trace_async
1104
- async def get_immutability_policy(
1105
- self,
1106
- resource_group_name: str,
1107
- account_name: str,
1108
- container_name: str,
1109
- immutability_policy_name: Union[str, _models.Enum10],
1110
- if_match: Optional[str] = None,
1111
- **kwargs: Any
1112
- ) -> _models.ImmutabilityPolicy:
1113
- """Gets the existing immutability policy along with the corresponding ETag in response headers and
1114
- body.
1115
-
1116
- :param resource_group_name: The name of the resource group within the user's subscription. The
1117
- name is case insensitive. Required.
1118
- :type resource_group_name: str
1119
- :param account_name: The name of the storage account within the specified resource group.
1120
- Storage account names must be between 3 and 24 characters in length and use numbers and
1121
- lower-case letters only. Required.
1122
- :type account_name: str
1123
- :param container_name: The name of the blob container within the specified storage account.
1124
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1125
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1126
- by a letter or number. Required.
1127
- :type container_name: str
1128
- :param immutability_policy_name: The name of the blob container immutabilityPolicy within the
1129
- specified storage account. ImmutabilityPolicy Name must be 'default'. "default" Required.
1130
- :type immutability_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.Enum10
1131
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
1132
- of "*" can be used to apply the operation only if the immutability policy already exists. If
1133
- omitted, this operation will always be applied. Default value is None.
1134
- :type if_match: str
1135
- :return: ImmutabilityPolicy or the result of cls(response)
1136
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1137
- :raises ~azure.core.exceptions.HttpResponseError:
1138
- """
1139
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1140
- 401: ClientAuthenticationError,
1141
- 404: ResourceNotFoundError,
1142
- 409: ResourceExistsError,
1143
- 304: ResourceNotModifiedError,
1144
- }
1145
- error_map.update(kwargs.pop("error_map", {}) or {})
1146
-
1147
- _headers = kwargs.pop("headers", {}) or {}
1148
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1149
-
1150
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1151
- cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1152
-
1153
- _request = build_get_immutability_policy_request(
1154
- resource_group_name=resource_group_name,
1155
- account_name=account_name,
1156
- container_name=container_name,
1157
- immutability_policy_name=immutability_policy_name,
1158
- subscription_id=self._config.subscription_id,
1159
- if_match=if_match,
1160
- api_version=api_version,
1161
- headers=_headers,
1162
- params=_params,
1163
- )
1164
- _request = _convert_request(_request)
1165
- _request.url = self._client.format_url(_request.url)
1166
-
1167
- _stream = False
1168
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1169
- _request, stream=_stream, **kwargs
1170
- )
1171
-
1172
- response = pipeline_response.http_response
1173
-
1174
- if response.status_code not in [200]:
1175
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1176
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1177
-
1178
- response_headers = {}
1179
- response_headers["ETag"] = self._deserialize("str", response.headers.get("ETag"))
1180
-
1181
- deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1182
-
1183
- if cls:
1184
- return cls(pipeline_response, deserialized, response_headers) # type: ignore
1185
-
1186
- return deserialized # type: ignore
1187
-
1188
- @distributed_trace_async
1189
- async def delete_immutability_policy(
1190
- self,
1191
- resource_group_name: str,
1192
- account_name: str,
1193
- container_name: str,
1194
- immutability_policy_name: Union[str, _models.Enum10],
1195
- if_match: str,
1196
- **kwargs: Any
1197
- ) -> _models.ImmutabilityPolicy:
1198
- """Aborts an unlocked immutability policy. The response of delete has
1199
- immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this
1200
- operation. Deleting a locked immutability policy is not allowed, only way is to delete the
1201
- container after deleting all blobs inside the container.
1202
-
1203
- :param resource_group_name: The name of the resource group within the user's subscription. The
1204
- name is case insensitive. Required.
1205
- :type resource_group_name: str
1206
- :param account_name: The name of the storage account within the specified resource group.
1207
- Storage account names must be between 3 and 24 characters in length and use numbers and
1208
- lower-case letters only. Required.
1209
- :type account_name: str
1210
- :param container_name: The name of the blob container within the specified storage account.
1211
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1212
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1213
- by a letter or number. Required.
1214
- :type container_name: str
1215
- :param immutability_policy_name: The name of the blob container immutabilityPolicy within the
1216
- specified storage account. ImmutabilityPolicy Name must be 'default'. "default" Required.
1217
- :type immutability_policy_name: str or ~azure.mgmt.storage.v2018_11_01.models.Enum10
1218
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
1219
- of "*" can be used to apply the operation only if the immutability policy already exists. If
1220
- omitted, this operation will always be applied. Required.
1221
- :type if_match: str
1222
- :return: ImmutabilityPolicy or the result of cls(response)
1223
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1224
- :raises ~azure.core.exceptions.HttpResponseError:
1225
- """
1226
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1227
- 401: ClientAuthenticationError,
1228
- 404: ResourceNotFoundError,
1229
- 409: ResourceExistsError,
1230
- 304: ResourceNotModifiedError,
1231
- }
1232
- error_map.update(kwargs.pop("error_map", {}) or {})
1233
-
1234
- _headers = kwargs.pop("headers", {}) or {}
1235
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1236
-
1237
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1238
- cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1239
-
1240
- _request = build_delete_immutability_policy_request(
1241
- resource_group_name=resource_group_name,
1242
- account_name=account_name,
1243
- container_name=container_name,
1244
- immutability_policy_name=immutability_policy_name,
1245
- subscription_id=self._config.subscription_id,
1246
- if_match=if_match,
1247
- api_version=api_version,
1248
- headers=_headers,
1249
- params=_params,
1250
- )
1251
- _request = _convert_request(_request)
1252
- _request.url = self._client.format_url(_request.url)
1253
-
1254
- _stream = False
1255
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1256
- _request, stream=_stream, **kwargs
1257
- )
1258
-
1259
- response = pipeline_response.http_response
1260
-
1261
- if response.status_code not in [200]:
1262
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1263
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1264
-
1265
- response_headers = {}
1266
- response_headers["ETag"] = self._deserialize("str", response.headers.get("ETag"))
1267
-
1268
- deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1269
-
1270
- if cls:
1271
- return cls(pipeline_response, deserialized, response_headers) # type: ignore
1272
-
1273
- return deserialized # type: ignore
1274
-
1275
- @distributed_trace_async
1276
- async def lock_immutability_policy(
1277
- self, resource_group_name: str, account_name: str, container_name: str, if_match: str, **kwargs: Any
1278
- ) -> _models.ImmutabilityPolicy:
1279
- """Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is
1280
- ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
1281
-
1282
- :param resource_group_name: The name of the resource group within the user's subscription. The
1283
- name is case insensitive. Required.
1284
- :type resource_group_name: str
1285
- :param account_name: The name of the storage account within the specified resource group.
1286
- Storage account names must be between 3 and 24 characters in length and use numbers and
1287
- lower-case letters only. Required.
1288
- :type account_name: str
1289
- :param container_name: The name of the blob container within the specified storage account.
1290
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1291
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1292
- by a letter or number. Required.
1293
- :type container_name: str
1294
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
1295
- of "*" can be used to apply the operation only if the immutability policy already exists. If
1296
- omitted, this operation will always be applied. Required.
1297
- :type if_match: str
1298
- :return: ImmutabilityPolicy or the result of cls(response)
1299
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1300
- :raises ~azure.core.exceptions.HttpResponseError:
1301
- """
1302
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1303
- 401: ClientAuthenticationError,
1304
- 404: ResourceNotFoundError,
1305
- 409: ResourceExistsError,
1306
- 304: ResourceNotModifiedError,
1307
- }
1308
- error_map.update(kwargs.pop("error_map", {}) or {})
1309
-
1310
- _headers = kwargs.pop("headers", {}) or {}
1311
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1312
-
1313
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1314
- cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1315
-
1316
- _request = build_lock_immutability_policy_request(
1317
- resource_group_name=resource_group_name,
1318
- account_name=account_name,
1319
- container_name=container_name,
1320
- subscription_id=self._config.subscription_id,
1321
- if_match=if_match,
1322
- api_version=api_version,
1323
- headers=_headers,
1324
- params=_params,
1325
- )
1326
- _request = _convert_request(_request)
1327
- _request.url = self._client.format_url(_request.url)
1328
-
1329
- _stream = False
1330
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1331
- _request, stream=_stream, **kwargs
1332
- )
1333
-
1334
- response = pipeline_response.http_response
1335
-
1336
- if response.status_code not in [200]:
1337
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1338
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1339
-
1340
- response_headers = {}
1341
- response_headers["ETag"] = self._deserialize("str", response.headers.get("ETag"))
1342
-
1343
- deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1344
-
1345
- if cls:
1346
- return cls(pipeline_response, deserialized, response_headers) # type: ignore
1347
-
1348
- return deserialized # type: ignore
1349
-
1350
- @overload
1351
- async def extend_immutability_policy(
1352
- self,
1353
- resource_group_name: str,
1354
- account_name: str,
1355
- container_name: str,
1356
- if_match: str,
1357
- parameters: Optional[_models.ImmutabilityPolicy] = None,
1358
- *,
1359
- content_type: str = "application/json",
1360
- **kwargs: Any
1361
- ) -> _models.ImmutabilityPolicy:
1362
- """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
1363
- action allowed on a Locked policy will be this action. ETag in If-Match is required for this
1364
- operation.
1365
-
1366
- :param resource_group_name: The name of the resource group within the user's subscription. The
1367
- name is case insensitive. Required.
1368
- :type resource_group_name: str
1369
- :param account_name: The name of the storage account within the specified resource group.
1370
- Storage account names must be between 3 and 24 characters in length and use numbers and
1371
- lower-case letters only. Required.
1372
- :type account_name: str
1373
- :param container_name: The name of the blob container within the specified storage account.
1374
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1375
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1376
- by a letter or number. Required.
1377
- :type container_name: str
1378
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
1379
- of "*" can be used to apply the operation only if the immutability policy already exists. If
1380
- omitted, this operation will always be applied. Required.
1381
- :type if_match: str
1382
- :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1383
- container. Default value is None.
1384
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1385
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1386
- Default value is "application/json".
1387
- :paramtype content_type: str
1388
- :return: ImmutabilityPolicy or the result of cls(response)
1389
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1390
- :raises ~azure.core.exceptions.HttpResponseError:
1391
- """
1392
-
1393
- @overload
1394
- async def extend_immutability_policy(
1395
- self,
1396
- resource_group_name: str,
1397
- account_name: str,
1398
- container_name: str,
1399
- if_match: str,
1400
- parameters: Optional[IO[bytes]] = None,
1401
- *,
1402
- content_type: str = "application/json",
1403
- **kwargs: Any
1404
- ) -> _models.ImmutabilityPolicy:
1405
- """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
1406
- action allowed on a Locked policy will be this action. ETag in If-Match is required for this
1407
- operation.
1408
-
1409
- :param resource_group_name: The name of the resource group within the user's subscription. The
1410
- name is case insensitive. Required.
1411
- :type resource_group_name: str
1412
- :param account_name: The name of the storage account within the specified resource group.
1413
- Storage account names must be between 3 and 24 characters in length and use numbers and
1414
- lower-case letters only. Required.
1415
- :type account_name: str
1416
- :param container_name: The name of the blob container within the specified storage account.
1417
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1418
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1419
- by a letter or number. Required.
1420
- :type container_name: str
1421
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
1422
- of "*" can be used to apply the operation only if the immutability policy already exists. If
1423
- omitted, this operation will always be applied. Required.
1424
- :type if_match: str
1425
- :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1426
- container. Default value is None.
1427
- :type parameters: IO[bytes]
1428
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1429
- Default value is "application/json".
1430
- :paramtype content_type: str
1431
- :return: ImmutabilityPolicy or the result of cls(response)
1432
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1433
- :raises ~azure.core.exceptions.HttpResponseError:
1434
- """
1435
-
1436
- @distributed_trace_async
1437
- async def extend_immutability_policy(
1438
- self,
1439
- resource_group_name: str,
1440
- account_name: str,
1441
- container_name: str,
1442
- if_match: str,
1443
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1444
- **kwargs: Any
1445
- ) -> _models.ImmutabilityPolicy:
1446
- """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
1447
- action allowed on a Locked policy will be this action. ETag in If-Match is required for this
1448
- operation.
1449
-
1450
- :param resource_group_name: The name of the resource group within the user's subscription. The
1451
- name is case insensitive. Required.
1452
- :type resource_group_name: str
1453
- :param account_name: The name of the storage account within the specified resource group.
1454
- Storage account names must be between 3 and 24 characters in length and use numbers and
1455
- lower-case letters only. Required.
1456
- :type account_name: str
1457
- :param container_name: The name of the blob container within the specified storage account.
1458
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1459
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1460
- by a letter or number. Required.
1461
- :type container_name: str
1462
- :param if_match: The entity state (ETag) version of the immutability policy to update. A value
1463
- of "*" can be used to apply the operation only if the immutability policy already exists. If
1464
- omitted, this operation will always be applied. Required.
1465
- :type if_match: str
1466
- :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1467
- container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1468
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
1469
- :return: ImmutabilityPolicy or the result of cls(response)
1470
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1471
- :raises ~azure.core.exceptions.HttpResponseError:
1472
- """
1473
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1474
- 401: ClientAuthenticationError,
1475
- 404: ResourceNotFoundError,
1476
- 409: ResourceExistsError,
1477
- 304: ResourceNotModifiedError,
1478
- }
1479
- error_map.update(kwargs.pop("error_map", {}) or {})
1480
-
1481
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1482
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1483
-
1484
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1485
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1486
- cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1487
-
1488
- content_type = content_type or "application/json"
1489
- _json = None
1490
- _content = None
1491
- if isinstance(parameters, (IOBase, bytes)):
1492
- _content = parameters
1493
- else:
1494
- if parameters is not None:
1495
- _json = self._serialize.body(parameters, "ImmutabilityPolicy")
1496
- else:
1497
- _json = None
1498
-
1499
- _request = build_extend_immutability_policy_request(
1500
- resource_group_name=resource_group_name,
1501
- account_name=account_name,
1502
- container_name=container_name,
1503
- subscription_id=self._config.subscription_id,
1504
- if_match=if_match,
1505
- api_version=api_version,
1506
- content_type=content_type,
1507
- json=_json,
1508
- content=_content,
1509
- headers=_headers,
1510
- params=_params,
1511
- )
1512
- _request = _convert_request(_request)
1513
- _request.url = self._client.format_url(_request.url)
1514
-
1515
- _stream = False
1516
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1517
- _request, stream=_stream, **kwargs
1518
- )
1519
-
1520
- response = pipeline_response.http_response
1521
-
1522
- if response.status_code not in [200]:
1523
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1524
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1525
-
1526
- response_headers = {}
1527
- response_headers["ETag"] = self._deserialize("str", response.headers.get("ETag"))
1528
-
1529
- deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1530
-
1531
- if cls:
1532
- return cls(pipeline_response, deserialized, response_headers) # type: ignore
1533
-
1534
- return deserialized # type: ignore
1535
-
1536
- @overload
1537
- async def lease(
1538
- self,
1539
- resource_group_name: str,
1540
- account_name: str,
1541
- container_name: str,
1542
- parameters: Optional[_models.LeaseContainerRequest] = None,
1543
- *,
1544
- content_type: str = "application/json",
1545
- **kwargs: Any
1546
- ) -> _models.LeaseContainerResponse:
1547
- """The Lease Container operation establishes and manages a lock on a container for delete
1548
- operations. The lock duration can be 15 to 60 seconds, or can be infinite.
1549
-
1550
- :param resource_group_name: The name of the resource group within the user's subscription. The
1551
- name is case insensitive. Required.
1552
- :type resource_group_name: str
1553
- :param account_name: The name of the storage account within the specified resource group.
1554
- Storage account names must be between 3 and 24 characters in length and use numbers and
1555
- lower-case letters only. Required.
1556
- :type account_name: str
1557
- :param container_name: The name of the blob container within the specified storage account.
1558
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1559
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1560
- by a letter or number. Required.
1561
- :type container_name: str
1562
- :param parameters: Lease Container request body. Default value is None.
1563
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest
1564
- :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1565
- Default value is "application/json".
1566
- :paramtype content_type: str
1567
- :return: LeaseContainerResponse or the result of cls(response)
1568
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
1569
- :raises ~azure.core.exceptions.HttpResponseError:
1570
- """
1571
-
1572
- @overload
1573
- async def lease(
1574
- self,
1575
- resource_group_name: str,
1576
- account_name: str,
1577
- container_name: str,
1578
- parameters: Optional[IO[bytes]] = None,
1579
- *,
1580
- content_type: str = "application/json",
1581
- **kwargs: Any
1582
- ) -> _models.LeaseContainerResponse:
1583
- """The Lease Container operation establishes and manages a lock on a container for delete
1584
- operations. The lock duration can be 15 to 60 seconds, or can be infinite.
1585
-
1586
- :param resource_group_name: The name of the resource group within the user's subscription. The
1587
- name is case insensitive. Required.
1588
- :type resource_group_name: str
1589
- :param account_name: The name of the storage account within the specified resource group.
1590
- Storage account names must be between 3 and 24 characters in length and use numbers and
1591
- lower-case letters only. Required.
1592
- :type account_name: str
1593
- :param container_name: The name of the blob container within the specified storage account.
1594
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1595
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1596
- by a letter or number. Required.
1597
- :type container_name: str
1598
- :param parameters: Lease Container request body. Default value is None.
1599
- :type parameters: IO[bytes]
1600
- :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1601
- Default value is "application/json".
1602
- :paramtype content_type: str
1603
- :return: LeaseContainerResponse or the result of cls(response)
1604
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
1605
- :raises ~azure.core.exceptions.HttpResponseError:
1606
- """
1607
-
1608
- @distributed_trace_async
1609
- async def lease(
1610
- self,
1611
- resource_group_name: str,
1612
- account_name: str,
1613
- container_name: str,
1614
- parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
1615
- **kwargs: Any
1616
- ) -> _models.LeaseContainerResponse:
1617
- """The Lease Container operation establishes and manages a lock on a container for delete
1618
- operations. The lock duration can be 15 to 60 seconds, or can be infinite.
1619
-
1620
- :param resource_group_name: The name of the resource group within the user's subscription. The
1621
- name is case insensitive. Required.
1622
- :type resource_group_name: str
1623
- :param account_name: The name of the storage account within the specified resource group.
1624
- Storage account names must be between 3 and 24 characters in length and use numbers and
1625
- lower-case letters only. Required.
1626
- :type account_name: str
1627
- :param container_name: The name of the blob container within the specified storage account.
1628
- Blob container names must be between 3 and 63 characters in length and use numbers, lower-case
1629
- letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1630
- by a letter or number. Required.
1631
- :type container_name: str
1632
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
1633
- IO[bytes] type. Default value is None.
1634
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO[bytes]
1635
- :return: LeaseContainerResponse or the result of cls(response)
1636
- :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
1637
- :raises ~azure.core.exceptions.HttpResponseError:
1638
- """
1639
- error_map: MutableMapping[int, Type[HttpResponseError]] = {
1640
- 401: ClientAuthenticationError,
1641
- 404: ResourceNotFoundError,
1642
- 409: ResourceExistsError,
1643
- 304: ResourceNotModifiedError,
1644
- }
1645
- error_map.update(kwargs.pop("error_map", {}) or {})
1646
-
1647
- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1648
- _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1649
-
1650
- api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1651
- content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1652
- cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
1653
-
1654
- content_type = content_type or "application/json"
1655
- _json = None
1656
- _content = None
1657
- if isinstance(parameters, (IOBase, bytes)):
1658
- _content = parameters
1659
- else:
1660
- if parameters is not None:
1661
- _json = self._serialize.body(parameters, "LeaseContainerRequest")
1662
- else:
1663
- _json = None
1664
-
1665
- _request = build_lease_request(
1666
- resource_group_name=resource_group_name,
1667
- account_name=account_name,
1668
- container_name=container_name,
1669
- subscription_id=self._config.subscription_id,
1670
- api_version=api_version,
1671
- content_type=content_type,
1672
- json=_json,
1673
- content=_content,
1674
- headers=_headers,
1675
- params=_params,
1676
- )
1677
- _request = _convert_request(_request)
1678
- _request.url = self._client.format_url(_request.url)
1679
-
1680
- _stream = False
1681
- pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1682
- _request, stream=_stream, **kwargs
1683
- )
1684
-
1685
- response = pipeline_response.http_response
1686
-
1687
- if response.status_code not in [200]:
1688
- map_error(status_code=response.status_code, response=response, error_map=error_map)
1689
- raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1690
-
1691
- deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
1692
-
1693
- if cls:
1694
- return cls(pipeline_response, deserialized, {}) # type: ignore
1695
-
1696
- return deserialized # type: ignore