azure-mgmt-storage 21.2.1__py3-none-any.whl → 22.0.0__py3-none-any.whl

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