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