azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.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 (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8,7 +8,7 @@
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
10
  import sys
11
- from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
11
+ from typing import Any, Callable, Dict, IO, Iterable, Literal, Optional, Type, TypeVar, Union, cast, overload
12
12
  import urllib.parse
13
13
 
14
14
  from azure.core.exceptions import (
@@ -33,10 +33,10 @@ from .. import models as _models
33
33
  from ..._serialization import Serializer
34
34
  from .._vendor import _convert_request
35
35
 
36
- if sys.version_info >= (3, 8):
37
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
36
+ if sys.version_info >= (3, 9):
37
+ from collections.abc import MutableMapping
38
38
  else:
39
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
39
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
40
40
  T = TypeVar("T")
41
41
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
42
42
 
@@ -314,7 +314,7 @@ def build_clear_legal_hold_request(
314
314
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
315
315
 
316
316
 
317
- def build_create_or_update_immutability_policy_request(
317
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
318
318
  resource_group_name: str,
319
319
  account_name: str,
320
320
  container_name: str,
@@ -667,7 +667,6 @@ class BlobContainersOperations:
667
667
  :param include: Optional, used to include the properties for soft deleted blob containers.
668
668
  "deleted" Default value is None.
669
669
  :type include: str or ~azure.mgmt.storage.v2023_01_01.models.ListContainersInclude
670
- :keyword callable cls: A custom type or function that will be passed the direct response
671
670
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
672
671
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2023_01_01.models.ListContainerItem]
673
672
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -678,7 +677,7 @@ class BlobContainersOperations:
678
677
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
679
678
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
680
679
 
681
- error_map = {
680
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
682
681
  401: ClientAuthenticationError,
683
682
  404: ResourceNotFoundError,
684
683
  409: ResourceExistsError,
@@ -689,7 +688,7 @@ class BlobContainersOperations:
689
688
  def prepare_request(next_link=None):
690
689
  if not next_link:
691
690
 
692
- request = build_list_request(
691
+ _request = build_list_request(
693
692
  resource_group_name=resource_group_name,
694
693
  account_name=account_name,
695
694
  subscription_id=self._config.subscription_id,
@@ -697,12 +696,11 @@ class BlobContainersOperations:
697
696
  filter=filter,
698
697
  include=include,
699
698
  api_version=api_version,
700
- template_url=self.list.metadata["url"],
701
699
  headers=_headers,
702
700
  params=_params,
703
701
  )
704
- request = _convert_request(request)
705
- request.url = self._client.format_url(request.url)
702
+ _request = _convert_request(_request)
703
+ _request.url = self._client.format_url(_request.url)
706
704
 
707
705
  else:
708
706
  # make call to next link with the client's api-version
@@ -713,14 +711,14 @@ class BlobContainersOperations:
713
711
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
714
712
  }
715
713
  )
716
- _next_request_params["api-version"] = self._config.api_version
717
- request = HttpRequest(
714
+ _next_request_params["api-version"] = self._api_version
715
+ _request = HttpRequest(
718
716
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
719
717
  )
720
- request = _convert_request(request)
721
- request.url = self._client.format_url(request.url)
722
- request.method = "GET"
723
- return request
718
+ _request = _convert_request(_request)
719
+ _request.url = self._client.format_url(_request.url)
720
+ _request.method = "GET"
721
+ return _request
724
722
 
725
723
  def extract_data(pipeline_response):
726
724
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -730,11 +728,11 @@ class BlobContainersOperations:
730
728
  return deserialized.next_link or None, iter(list_of_elem)
731
729
 
732
730
  def get_next(next_link=None):
733
- request = prepare_request(next_link)
731
+ _request = prepare_request(next_link)
734
732
 
735
733
  _stream = False
736
734
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
737
- request, stream=_stream, **kwargs
735
+ _request, stream=_stream, **kwargs
738
736
  )
739
737
  response = pipeline_response.http_response
740
738
 
@@ -746,10 +744,6 @@ class BlobContainersOperations:
746
744
 
747
745
  return ItemPaged(get_next, extract_data)
748
746
 
749
- list.metadata = {
750
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
751
- }
752
-
753
747
  @overload
754
748
  def create(
755
749
  self,
@@ -782,7 +776,6 @@ class BlobContainersOperations:
782
776
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
783
777
  Default value is "application/json".
784
778
  :paramtype content_type: str
785
- :keyword callable cls: A custom type or function that will be passed the direct response
786
779
  :return: BlobContainer or the result of cls(response)
787
780
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer
788
781
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -794,7 +787,7 @@ class BlobContainersOperations:
794
787
  resource_group_name: str,
795
788
  account_name: str,
796
789
  container_name: str,
797
- blob_container: IO,
790
+ blob_container: IO[bytes],
798
791
  *,
799
792
  content_type: str = "application/json",
800
793
  **kwargs: Any
@@ -816,11 +809,10 @@ class BlobContainersOperations:
816
809
  by a letter or number. Required.
817
810
  :type container_name: str
818
811
  :param blob_container: Properties of the blob container to create. Required.
819
- :type blob_container: IO
812
+ :type blob_container: IO[bytes]
820
813
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
821
814
  Default value is "application/json".
822
815
  :paramtype content_type: str
823
- :keyword callable cls: A custom type or function that will be passed the direct response
824
816
  :return: BlobContainer or the result of cls(response)
825
817
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer
826
818
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -832,7 +824,7 @@ class BlobContainersOperations:
832
824
  resource_group_name: str,
833
825
  account_name: str,
834
826
  container_name: str,
835
- blob_container: Union[_models.BlobContainer, IO],
827
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
836
828
  **kwargs: Any
837
829
  ) -> _models.BlobContainer:
838
830
  """Creates a new container under the specified account as described by request body. The container
@@ -852,17 +844,13 @@ class BlobContainersOperations:
852
844
  by a letter or number. Required.
853
845
  :type container_name: str
854
846
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
855
- type or a IO type. Required.
856
- :type blob_container: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer or IO
857
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
858
- Default value is None.
859
- :paramtype content_type: str
860
- :keyword callable cls: A custom type or function that will be passed the direct response
847
+ type or a IO[bytes] type. Required.
848
+ :type blob_container: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer or IO[bytes]
861
849
  :return: BlobContainer or the result of cls(response)
862
850
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer
863
851
  :raises ~azure.core.exceptions.HttpResponseError:
864
852
  """
865
- error_map = {
853
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
866
854
  401: ClientAuthenticationError,
867
855
  404: ResourceNotFoundError,
868
856
  409: ResourceExistsError,
@@ -885,7 +873,7 @@ class BlobContainersOperations:
885
873
  else:
886
874
  _json = self._serialize.body(blob_container, "BlobContainer")
887
875
 
888
- request = build_create_request(
876
+ _request = build_create_request(
889
877
  resource_group_name=resource_group_name,
890
878
  account_name=account_name,
891
879
  container_name=container_name,
@@ -894,16 +882,15 @@ class BlobContainersOperations:
894
882
  content_type=content_type,
895
883
  json=_json,
896
884
  content=_content,
897
- template_url=self.create.metadata["url"],
898
885
  headers=_headers,
899
886
  params=_params,
900
887
  )
901
- request = _convert_request(request)
902
- request.url = self._client.format_url(request.url)
888
+ _request = _convert_request(_request)
889
+ _request.url = self._client.format_url(_request.url)
903
890
 
904
891
  _stream = False
905
892
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
906
- request, stream=_stream, **kwargs
893
+ _request, stream=_stream, **kwargs
907
894
  )
908
895
 
909
896
  response = pipeline_response.http_response
@@ -923,10 +910,6 @@ class BlobContainersOperations:
923
910
 
924
911
  return deserialized # type: ignore
925
912
 
926
- create.metadata = {
927
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
928
- }
929
-
930
913
  @overload
931
914
  def update(
932
915
  self,
@@ -958,7 +941,6 @@ class BlobContainersOperations:
958
941
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
959
942
  Default value is "application/json".
960
943
  :paramtype content_type: str
961
- :keyword callable cls: A custom type or function that will be passed the direct response
962
944
  :return: BlobContainer or the result of cls(response)
963
945
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer
964
946
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -970,7 +952,7 @@ class BlobContainersOperations:
970
952
  resource_group_name: str,
971
953
  account_name: str,
972
954
  container_name: str,
973
- blob_container: IO,
955
+ blob_container: IO[bytes],
974
956
  *,
975
957
  content_type: str = "application/json",
976
958
  **kwargs: Any
@@ -991,11 +973,10 @@ class BlobContainersOperations:
991
973
  by a letter or number. Required.
992
974
  :type container_name: str
993
975
  :param blob_container: Properties to update for the blob container. Required.
994
- :type blob_container: IO
976
+ :type blob_container: IO[bytes]
995
977
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
996
978
  Default value is "application/json".
997
979
  :paramtype content_type: str
998
- :keyword callable cls: A custom type or function that will be passed the direct response
999
980
  :return: BlobContainer or the result of cls(response)
1000
981
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer
1001
982
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1007,7 +988,7 @@ class BlobContainersOperations:
1007
988
  resource_group_name: str,
1008
989
  account_name: str,
1009
990
  container_name: str,
1010
- blob_container: Union[_models.BlobContainer, IO],
991
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
1011
992
  **kwargs: Any
1012
993
  ) -> _models.BlobContainer:
1013
994
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -1026,17 +1007,13 @@ class BlobContainersOperations:
1026
1007
  by a letter or number. Required.
1027
1008
  :type container_name: str
1028
1009
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
1029
- type or a IO type. Required.
1030
- :type blob_container: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer or IO
1031
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1032
- Default value is None.
1033
- :paramtype content_type: str
1034
- :keyword callable cls: A custom type or function that will be passed the direct response
1010
+ type or a IO[bytes] type. Required.
1011
+ :type blob_container: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer or IO[bytes]
1035
1012
  :return: BlobContainer or the result of cls(response)
1036
1013
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer
1037
1014
  :raises ~azure.core.exceptions.HttpResponseError:
1038
1015
  """
1039
- error_map = {
1016
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1040
1017
  401: ClientAuthenticationError,
1041
1018
  404: ResourceNotFoundError,
1042
1019
  409: ResourceExistsError,
@@ -1059,7 +1036,7 @@ class BlobContainersOperations:
1059
1036
  else:
1060
1037
  _json = self._serialize.body(blob_container, "BlobContainer")
1061
1038
 
1062
- request = build_update_request(
1039
+ _request = build_update_request(
1063
1040
  resource_group_name=resource_group_name,
1064
1041
  account_name=account_name,
1065
1042
  container_name=container_name,
@@ -1068,16 +1045,15 @@ class BlobContainersOperations:
1068
1045
  content_type=content_type,
1069
1046
  json=_json,
1070
1047
  content=_content,
1071
- template_url=self.update.metadata["url"],
1072
1048
  headers=_headers,
1073
1049
  params=_params,
1074
1050
  )
1075
- request = _convert_request(request)
1076
- request.url = self._client.format_url(request.url)
1051
+ _request = _convert_request(_request)
1052
+ _request.url = self._client.format_url(_request.url)
1077
1053
 
1078
1054
  _stream = False
1079
1055
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1080
- request, stream=_stream, **kwargs
1056
+ _request, stream=_stream, **kwargs
1081
1057
  )
1082
1058
 
1083
1059
  response = pipeline_response.http_response
@@ -1089,13 +1065,9 @@ class BlobContainersOperations:
1089
1065
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1090
1066
 
1091
1067
  if cls:
1092
- return cls(pipeline_response, deserialized, {})
1093
-
1094
- return deserialized
1068
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1095
1069
 
1096
- update.metadata = {
1097
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1098
- }
1070
+ return deserialized # type: ignore
1099
1071
 
1100
1072
  @distributed_trace
1101
1073
  def get(
@@ -1115,12 +1087,11 @@ class BlobContainersOperations:
1115
1087
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1116
1088
  by a letter or number. Required.
1117
1089
  :type container_name: str
1118
- :keyword callable cls: A custom type or function that will be passed the direct response
1119
1090
  :return: BlobContainer or the result of cls(response)
1120
1091
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.BlobContainer
1121
1092
  :raises ~azure.core.exceptions.HttpResponseError:
1122
1093
  """
1123
- error_map = {
1094
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1124
1095
  401: ClientAuthenticationError,
1125
1096
  404: ResourceNotFoundError,
1126
1097
  409: ResourceExistsError,
@@ -1134,22 +1105,21 @@ class BlobContainersOperations:
1134
1105
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1135
1106
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1136
1107
 
1137
- request = build_get_request(
1108
+ _request = build_get_request(
1138
1109
  resource_group_name=resource_group_name,
1139
1110
  account_name=account_name,
1140
1111
  container_name=container_name,
1141
1112
  subscription_id=self._config.subscription_id,
1142
1113
  api_version=api_version,
1143
- template_url=self.get.metadata["url"],
1144
1114
  headers=_headers,
1145
1115
  params=_params,
1146
1116
  )
1147
- request = _convert_request(request)
1148
- request.url = self._client.format_url(request.url)
1117
+ _request = _convert_request(_request)
1118
+ _request.url = self._client.format_url(_request.url)
1149
1119
 
1150
1120
  _stream = False
1151
1121
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1152
- request, stream=_stream, **kwargs
1122
+ _request, stream=_stream, **kwargs
1153
1123
  )
1154
1124
 
1155
1125
  response = pipeline_response.http_response
@@ -1161,13 +1131,9 @@ class BlobContainersOperations:
1161
1131
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1162
1132
 
1163
1133
  if cls:
1164
- return cls(pipeline_response, deserialized, {})
1165
-
1166
- return deserialized
1134
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1167
1135
 
1168
- get.metadata = {
1169
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1170
- }
1136
+ return deserialized # type: ignore
1171
1137
 
1172
1138
  @distributed_trace
1173
1139
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1187,12 +1153,11 @@ class BlobContainersOperations:
1187
1153
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1188
1154
  by a letter or number. Required.
1189
1155
  :type container_name: str
1190
- :keyword callable cls: A custom type or function that will be passed the direct response
1191
1156
  :return: None or the result of cls(response)
1192
1157
  :rtype: None
1193
1158
  :raises ~azure.core.exceptions.HttpResponseError:
1194
1159
  """
1195
- error_map = {
1160
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1196
1161
  401: ClientAuthenticationError,
1197
1162
  404: ResourceNotFoundError,
1198
1163
  409: ResourceExistsError,
@@ -1206,22 +1171,21 @@ class BlobContainersOperations:
1206
1171
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1207
1172
  cls: ClsType[None] = kwargs.pop("cls", None)
1208
1173
 
1209
- request = build_delete_request(
1174
+ _request = build_delete_request(
1210
1175
  resource_group_name=resource_group_name,
1211
1176
  account_name=account_name,
1212
1177
  container_name=container_name,
1213
1178
  subscription_id=self._config.subscription_id,
1214
1179
  api_version=api_version,
1215
- template_url=self.delete.metadata["url"],
1216
1180
  headers=_headers,
1217
1181
  params=_params,
1218
1182
  )
1219
- request = _convert_request(request)
1220
- request.url = self._client.format_url(request.url)
1183
+ _request = _convert_request(_request)
1184
+ _request.url = self._client.format_url(_request.url)
1221
1185
 
1222
1186
  _stream = False
1223
1187
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1224
- request, stream=_stream, **kwargs
1188
+ _request, stream=_stream, **kwargs
1225
1189
  )
1226
1190
 
1227
1191
  response = pipeline_response.http_response
@@ -1231,11 +1195,7 @@ class BlobContainersOperations:
1231
1195
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1232
1196
 
1233
1197
  if cls:
1234
- return cls(pipeline_response, None, {})
1235
-
1236
- delete.metadata = {
1237
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1238
- }
1198
+ return cls(pipeline_response, None, {}) # type: ignore
1239
1199
 
1240
1200
  @overload
1241
1201
  def set_legal_hold(
@@ -1269,7 +1229,6 @@ class BlobContainersOperations:
1269
1229
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1270
1230
  Default value is "application/json".
1271
1231
  :paramtype content_type: str
1272
- :keyword callable cls: A custom type or function that will be passed the direct response
1273
1232
  :return: LegalHold or the result of cls(response)
1274
1233
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LegalHold
1275
1234
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1281,7 +1240,7 @@ class BlobContainersOperations:
1281
1240
  resource_group_name: str,
1282
1241
  account_name: str,
1283
1242
  container_name: str,
1284
- legal_hold: IO,
1243
+ legal_hold: IO[bytes],
1285
1244
  *,
1286
1245
  content_type: str = "application/json",
1287
1246
  **kwargs: Any
@@ -1303,11 +1262,10 @@ class BlobContainersOperations:
1303
1262
  by a letter or number. Required.
1304
1263
  :type container_name: str
1305
1264
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1306
- :type legal_hold: IO
1265
+ :type legal_hold: IO[bytes]
1307
1266
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1308
1267
  Default value is "application/json".
1309
1268
  :paramtype content_type: str
1310
- :keyword callable cls: A custom type or function that will be passed the direct response
1311
1269
  :return: LegalHold or the result of cls(response)
1312
1270
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LegalHold
1313
1271
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1319,7 +1277,7 @@ class BlobContainersOperations:
1319
1277
  resource_group_name: str,
1320
1278
  account_name: str,
1321
1279
  container_name: str,
1322
- legal_hold: Union[_models.LegalHold, IO],
1280
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1323
1281
  **kwargs: Any
1324
1282
  ) -> _models.LegalHold:
1325
1283
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1339,17 +1297,13 @@ class BlobContainersOperations:
1339
1297
  by a letter or number. Required.
1340
1298
  :type container_name: str
1341
1299
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1342
- LegalHold type or a IO type. Required.
1343
- :type legal_hold: ~azure.mgmt.storage.v2023_01_01.models.LegalHold or IO
1344
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1345
- Default value is None.
1346
- :paramtype content_type: str
1347
- :keyword callable cls: A custom type or function that will be passed the direct response
1300
+ LegalHold type or a IO[bytes] type. Required.
1301
+ :type legal_hold: ~azure.mgmt.storage.v2023_01_01.models.LegalHold or IO[bytes]
1348
1302
  :return: LegalHold or the result of cls(response)
1349
1303
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LegalHold
1350
1304
  :raises ~azure.core.exceptions.HttpResponseError:
1351
1305
  """
1352
- error_map = {
1306
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1353
1307
  401: ClientAuthenticationError,
1354
1308
  404: ResourceNotFoundError,
1355
1309
  409: ResourceExistsError,
@@ -1372,7 +1326,7 @@ class BlobContainersOperations:
1372
1326
  else:
1373
1327
  _json = self._serialize.body(legal_hold, "LegalHold")
1374
1328
 
1375
- request = build_set_legal_hold_request(
1329
+ _request = build_set_legal_hold_request(
1376
1330
  resource_group_name=resource_group_name,
1377
1331
  account_name=account_name,
1378
1332
  container_name=container_name,
@@ -1381,16 +1335,15 @@ class BlobContainersOperations:
1381
1335
  content_type=content_type,
1382
1336
  json=_json,
1383
1337
  content=_content,
1384
- template_url=self.set_legal_hold.metadata["url"],
1385
1338
  headers=_headers,
1386
1339
  params=_params,
1387
1340
  )
1388
- request = _convert_request(request)
1389
- request.url = self._client.format_url(request.url)
1341
+ _request = _convert_request(_request)
1342
+ _request.url = self._client.format_url(_request.url)
1390
1343
 
1391
1344
  _stream = False
1392
1345
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1393
- request, stream=_stream, **kwargs
1346
+ _request, stream=_stream, **kwargs
1394
1347
  )
1395
1348
 
1396
1349
  response = pipeline_response.http_response
@@ -1402,13 +1355,9 @@ class BlobContainersOperations:
1402
1355
  deserialized = self._deserialize("LegalHold", pipeline_response)
1403
1356
 
1404
1357
  if cls:
1405
- return cls(pipeline_response, deserialized, {})
1406
-
1407
- return deserialized
1358
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1408
1359
 
1409
- set_legal_hold.metadata = {
1410
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1411
- }
1360
+ return deserialized # type: ignore
1412
1361
 
1413
1362
  @overload
1414
1363
  def clear_legal_hold(
@@ -1441,7 +1390,6 @@ class BlobContainersOperations:
1441
1390
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1442
1391
  Default value is "application/json".
1443
1392
  :paramtype content_type: str
1444
- :keyword callable cls: A custom type or function that will be passed the direct response
1445
1393
  :return: LegalHold or the result of cls(response)
1446
1394
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LegalHold
1447
1395
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1453,7 +1401,7 @@ class BlobContainersOperations:
1453
1401
  resource_group_name: str,
1454
1402
  account_name: str,
1455
1403
  container_name: str,
1456
- legal_hold: IO,
1404
+ legal_hold: IO[bytes],
1457
1405
  *,
1458
1406
  content_type: str = "application/json",
1459
1407
  **kwargs: Any
@@ -1474,11 +1422,10 @@ class BlobContainersOperations:
1474
1422
  by a letter or number. Required.
1475
1423
  :type container_name: str
1476
1424
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1477
- :type legal_hold: IO
1425
+ :type legal_hold: IO[bytes]
1478
1426
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1479
1427
  Default value is "application/json".
1480
1428
  :paramtype content_type: str
1481
- :keyword callable cls: A custom type or function that will be passed the direct response
1482
1429
  :return: LegalHold or the result of cls(response)
1483
1430
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LegalHold
1484
1431
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1490,7 +1437,7 @@ class BlobContainersOperations:
1490
1437
  resource_group_name: str,
1491
1438
  account_name: str,
1492
1439
  container_name: str,
1493
- legal_hold: Union[_models.LegalHold, IO],
1440
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1494
1441
  **kwargs: Any
1495
1442
  ) -> _models.LegalHold:
1496
1443
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1509,17 +1456,13 @@ class BlobContainersOperations:
1509
1456
  by a letter or number. Required.
1510
1457
  :type container_name: str
1511
1458
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1512
- LegalHold type or a IO type. Required.
1513
- :type legal_hold: ~azure.mgmt.storage.v2023_01_01.models.LegalHold or IO
1514
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1515
- Default value is None.
1516
- :paramtype content_type: str
1517
- :keyword callable cls: A custom type or function that will be passed the direct response
1459
+ LegalHold type or a IO[bytes] type. Required.
1460
+ :type legal_hold: ~azure.mgmt.storage.v2023_01_01.models.LegalHold or IO[bytes]
1518
1461
  :return: LegalHold or the result of cls(response)
1519
1462
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LegalHold
1520
1463
  :raises ~azure.core.exceptions.HttpResponseError:
1521
1464
  """
1522
- error_map = {
1465
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1523
1466
  401: ClientAuthenticationError,
1524
1467
  404: ResourceNotFoundError,
1525
1468
  409: ResourceExistsError,
@@ -1542,7 +1485,7 @@ class BlobContainersOperations:
1542
1485
  else:
1543
1486
  _json = self._serialize.body(legal_hold, "LegalHold")
1544
1487
 
1545
- request = build_clear_legal_hold_request(
1488
+ _request = build_clear_legal_hold_request(
1546
1489
  resource_group_name=resource_group_name,
1547
1490
  account_name=account_name,
1548
1491
  container_name=container_name,
@@ -1551,16 +1494,15 @@ class BlobContainersOperations:
1551
1494
  content_type=content_type,
1552
1495
  json=_json,
1553
1496
  content=_content,
1554
- template_url=self.clear_legal_hold.metadata["url"],
1555
1497
  headers=_headers,
1556
1498
  params=_params,
1557
1499
  )
1558
- request = _convert_request(request)
1559
- request.url = self._client.format_url(request.url)
1500
+ _request = _convert_request(_request)
1501
+ _request.url = self._client.format_url(_request.url)
1560
1502
 
1561
1503
  _stream = False
1562
1504
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1563
- request, stream=_stream, **kwargs
1505
+ _request, stream=_stream, **kwargs
1564
1506
  )
1565
1507
 
1566
1508
  response = pipeline_response.http_response
@@ -1572,13 +1514,9 @@ class BlobContainersOperations:
1572
1514
  deserialized = self._deserialize("LegalHold", pipeline_response)
1573
1515
 
1574
1516
  if cls:
1575
- return cls(pipeline_response, deserialized, {})
1576
-
1577
- return deserialized
1517
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1578
1518
 
1579
- clear_legal_hold.metadata = {
1580
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1581
- }
1519
+ return deserialized # type: ignore
1582
1520
 
1583
1521
  @overload
1584
1522
  def create_or_update_immutability_policy(
@@ -1617,11 +1555,6 @@ class BlobContainersOperations:
1617
1555
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1618
1556
  Default value is "application/json".
1619
1557
  :paramtype content_type: str
1620
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1621
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1622
- "default". Note that overriding this default value may result in unsupported behavior.
1623
- :paramtype immutability_policy_name: str
1624
- :keyword callable cls: A custom type or function that will be passed the direct response
1625
1558
  :return: ImmutabilityPolicy or the result of cls(response)
1626
1559
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
1627
1560
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1634,7 +1567,7 @@ class BlobContainersOperations:
1634
1567
  account_name: str,
1635
1568
  container_name: str,
1636
1569
  if_match: Optional[str] = None,
1637
- parameters: Optional[IO] = None,
1570
+ parameters: Optional[IO[bytes]] = None,
1638
1571
  *,
1639
1572
  content_type: str = "application/json",
1640
1573
  **kwargs: Any
@@ -1660,15 +1593,10 @@ class BlobContainersOperations:
1660
1593
  :type if_match: str
1661
1594
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1662
1595
  container. Default value is None.
1663
- :type parameters: IO
1596
+ :type parameters: IO[bytes]
1664
1597
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1665
1598
  Default value is "application/json".
1666
1599
  :paramtype content_type: str
1667
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1668
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1669
- "default". Note that overriding this default value may result in unsupported behavior.
1670
- :paramtype immutability_policy_name: str
1671
- :keyword callable cls: A custom type or function that will be passed the direct response
1672
1600
  :return: ImmutabilityPolicy or the result of cls(response)
1673
1601
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
1674
1602
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1681,7 +1609,7 @@ class BlobContainersOperations:
1681
1609
  account_name: str,
1682
1610
  container_name: str,
1683
1611
  if_match: Optional[str] = None,
1684
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1612
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1685
1613
  **kwargs: Any
1686
1614
  ) -> _models.ImmutabilityPolicy:
1687
1615
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1704,21 +1632,13 @@ class BlobContainersOperations:
1704
1632
  omitted, this operation will always be applied. Default value is None.
1705
1633
  :type if_match: str
1706
1634
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1707
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1708
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy or IO
1709
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1710
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1711
- "default". Note that overriding this default value may result in unsupported behavior.
1712
- :paramtype immutability_policy_name: str
1713
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1714
- Default value is None.
1715
- :paramtype content_type: str
1716
- :keyword callable cls: A custom type or function that will be passed the direct response
1635
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1636
+ :type parameters: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy or IO[bytes]
1717
1637
  :return: ImmutabilityPolicy or the result of cls(response)
1718
1638
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
1719
1639
  :raises ~azure.core.exceptions.HttpResponseError:
1720
1640
  """
1721
- error_map = {
1641
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1722
1642
  401: ClientAuthenticationError,
1723
1643
  404: ResourceNotFoundError,
1724
1644
  409: ResourceExistsError,
@@ -1745,7 +1665,7 @@ class BlobContainersOperations:
1745
1665
  else:
1746
1666
  _json = None
1747
1667
 
1748
- request = build_create_or_update_immutability_policy_request(
1668
+ _request = build_create_or_update_immutability_policy_request(
1749
1669
  resource_group_name=resource_group_name,
1750
1670
  account_name=account_name,
1751
1671
  container_name=container_name,
@@ -1756,16 +1676,15 @@ class BlobContainersOperations:
1756
1676
  content_type=content_type,
1757
1677
  json=_json,
1758
1678
  content=_content,
1759
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1760
1679
  headers=_headers,
1761
1680
  params=_params,
1762
1681
  )
1763
- request = _convert_request(request)
1764
- request.url = self._client.format_url(request.url)
1682
+ _request = _convert_request(_request)
1683
+ _request.url = self._client.format_url(_request.url)
1765
1684
 
1766
1685
  _stream = False
1767
1686
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1768
- request, stream=_stream, **kwargs
1687
+ _request, stream=_stream, **kwargs
1769
1688
  )
1770
1689
 
1771
1690
  response = pipeline_response.http_response
@@ -1780,13 +1699,9 @@ class BlobContainersOperations:
1780
1699
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1781
1700
 
1782
1701
  if cls:
1783
- return cls(pipeline_response, deserialized, response_headers)
1784
-
1785
- return deserialized
1702
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1786
1703
 
1787
- create_or_update_immutability_policy.metadata = {
1788
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1789
- }
1704
+ return deserialized # type: ignore
1790
1705
 
1791
1706
  @distributed_trace
1792
1707
  def get_immutability_policy(
@@ -1816,16 +1731,11 @@ class BlobContainersOperations:
1816
1731
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1817
1732
  omitted, this operation will always be applied. Default value is None.
1818
1733
  :type if_match: str
1819
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1820
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1821
- "default". Note that overriding this default value may result in unsupported behavior.
1822
- :paramtype immutability_policy_name: str
1823
- :keyword callable cls: A custom type or function that will be passed the direct response
1824
1734
  :return: ImmutabilityPolicy or the result of cls(response)
1825
1735
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
1826
1736
  :raises ~azure.core.exceptions.HttpResponseError:
1827
1737
  """
1828
- error_map = {
1738
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1829
1739
  401: ClientAuthenticationError,
1830
1740
  404: ResourceNotFoundError,
1831
1741
  409: ResourceExistsError,
@@ -1840,7 +1750,7 @@ class BlobContainersOperations:
1840
1750
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1841
1751
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1842
1752
 
1843
- request = build_get_immutability_policy_request(
1753
+ _request = build_get_immutability_policy_request(
1844
1754
  resource_group_name=resource_group_name,
1845
1755
  account_name=account_name,
1846
1756
  container_name=container_name,
@@ -1848,16 +1758,15 @@ class BlobContainersOperations:
1848
1758
  if_match=if_match,
1849
1759
  immutability_policy_name=immutability_policy_name,
1850
1760
  api_version=api_version,
1851
- template_url=self.get_immutability_policy.metadata["url"],
1852
1761
  headers=_headers,
1853
1762
  params=_params,
1854
1763
  )
1855
- request = _convert_request(request)
1856
- request.url = self._client.format_url(request.url)
1764
+ _request = _convert_request(_request)
1765
+ _request.url = self._client.format_url(_request.url)
1857
1766
 
1858
1767
  _stream = False
1859
1768
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1860
- request, stream=_stream, **kwargs
1769
+ _request, stream=_stream, **kwargs
1861
1770
  )
1862
1771
 
1863
1772
  response = pipeline_response.http_response
@@ -1872,13 +1781,9 @@ class BlobContainersOperations:
1872
1781
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1873
1782
 
1874
1783
  if cls:
1875
- return cls(pipeline_response, deserialized, response_headers)
1784
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1876
1785
 
1877
- return deserialized
1878
-
1879
- get_immutability_policy.metadata = {
1880
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1881
- }
1786
+ return deserialized # type: ignore
1882
1787
 
1883
1788
  @distributed_trace
1884
1789
  def delete_immutability_policy(
@@ -1905,16 +1810,11 @@ class BlobContainersOperations:
1905
1810
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1906
1811
  omitted, this operation will always be applied. Required.
1907
1812
  :type if_match: str
1908
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1909
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1910
- "default". Note that overriding this default value may result in unsupported behavior.
1911
- :paramtype immutability_policy_name: str
1912
- :keyword callable cls: A custom type or function that will be passed the direct response
1913
1813
  :return: ImmutabilityPolicy or the result of cls(response)
1914
1814
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
1915
1815
  :raises ~azure.core.exceptions.HttpResponseError:
1916
1816
  """
1917
- error_map = {
1817
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1918
1818
  401: ClientAuthenticationError,
1919
1819
  404: ResourceNotFoundError,
1920
1820
  409: ResourceExistsError,
@@ -1929,7 +1829,7 @@ class BlobContainersOperations:
1929
1829
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
1930
1830
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1931
1831
 
1932
- request = build_delete_immutability_policy_request(
1832
+ _request = build_delete_immutability_policy_request(
1933
1833
  resource_group_name=resource_group_name,
1934
1834
  account_name=account_name,
1935
1835
  container_name=container_name,
@@ -1937,16 +1837,15 @@ class BlobContainersOperations:
1937
1837
  if_match=if_match,
1938
1838
  immutability_policy_name=immutability_policy_name,
1939
1839
  api_version=api_version,
1940
- template_url=self.delete_immutability_policy.metadata["url"],
1941
1840
  headers=_headers,
1942
1841
  params=_params,
1943
1842
  )
1944
- request = _convert_request(request)
1945
- request.url = self._client.format_url(request.url)
1843
+ _request = _convert_request(_request)
1844
+ _request.url = self._client.format_url(_request.url)
1946
1845
 
1947
1846
  _stream = False
1948
1847
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1949
- request, stream=_stream, **kwargs
1848
+ _request, stream=_stream, **kwargs
1950
1849
  )
1951
1850
 
1952
1851
  response = pipeline_response.http_response
@@ -1961,13 +1860,9 @@ class BlobContainersOperations:
1961
1860
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1962
1861
 
1963
1862
  if cls:
1964
- return cls(pipeline_response, deserialized, response_headers)
1863
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1965
1864
 
1966
- return deserialized
1967
-
1968
- delete_immutability_policy.metadata = {
1969
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1970
- }
1865
+ return deserialized # type: ignore
1971
1866
 
1972
1867
  @distributed_trace
1973
1868
  def lock_immutability_policy(
@@ -1992,12 +1887,11 @@ class BlobContainersOperations:
1992
1887
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1993
1888
  omitted, this operation will always be applied. Required.
1994
1889
  :type if_match: str
1995
- :keyword callable cls: A custom type or function that will be passed the direct response
1996
1890
  :return: ImmutabilityPolicy or the result of cls(response)
1997
1891
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
1998
1892
  :raises ~azure.core.exceptions.HttpResponseError:
1999
1893
  """
2000
- error_map = {
1894
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2001
1895
  401: ClientAuthenticationError,
2002
1896
  404: ResourceNotFoundError,
2003
1897
  409: ResourceExistsError,
@@ -2011,23 +1905,22 @@ class BlobContainersOperations:
2011
1905
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2012
1906
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
2013
1907
 
2014
- request = build_lock_immutability_policy_request(
1908
+ _request = build_lock_immutability_policy_request(
2015
1909
  resource_group_name=resource_group_name,
2016
1910
  account_name=account_name,
2017
1911
  container_name=container_name,
2018
1912
  subscription_id=self._config.subscription_id,
2019
1913
  if_match=if_match,
2020
1914
  api_version=api_version,
2021
- template_url=self.lock_immutability_policy.metadata["url"],
2022
1915
  headers=_headers,
2023
1916
  params=_params,
2024
1917
  )
2025
- request = _convert_request(request)
2026
- request.url = self._client.format_url(request.url)
1918
+ _request = _convert_request(_request)
1919
+ _request.url = self._client.format_url(_request.url)
2027
1920
 
2028
1921
  _stream = False
2029
1922
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2030
- request, stream=_stream, **kwargs
1923
+ _request, stream=_stream, **kwargs
2031
1924
  )
2032
1925
 
2033
1926
  response = pipeline_response.http_response
@@ -2042,13 +1935,9 @@ class BlobContainersOperations:
2042
1935
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2043
1936
 
2044
1937
  if cls:
2045
- return cls(pipeline_response, deserialized, response_headers)
1938
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2046
1939
 
2047
- return deserialized
2048
-
2049
- lock_immutability_policy.metadata = {
2050
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
2051
- }
1940
+ return deserialized # type: ignore
2052
1941
 
2053
1942
  @overload
2054
1943
  def extend_immutability_policy(
@@ -2088,7 +1977,6 @@ class BlobContainersOperations:
2088
1977
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2089
1978
  Default value is "application/json".
2090
1979
  :paramtype content_type: str
2091
- :keyword callable cls: A custom type or function that will be passed the direct response
2092
1980
  :return: ImmutabilityPolicy or the result of cls(response)
2093
1981
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
2094
1982
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2101,7 +1989,7 @@ class BlobContainersOperations:
2101
1989
  account_name: str,
2102
1990
  container_name: str,
2103
1991
  if_match: str,
2104
- parameters: Optional[IO] = None,
1992
+ parameters: Optional[IO[bytes]] = None,
2105
1993
  *,
2106
1994
  content_type: str = "application/json",
2107
1995
  **kwargs: Any
@@ -2128,11 +2016,10 @@ class BlobContainersOperations:
2128
2016
  :type if_match: str
2129
2017
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2130
2018
  container. Default value is None.
2131
- :type parameters: IO
2019
+ :type parameters: IO[bytes]
2132
2020
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2133
2021
  Default value is "application/json".
2134
2022
  :paramtype content_type: str
2135
- :keyword callable cls: A custom type or function that will be passed the direct response
2136
2023
  :return: ImmutabilityPolicy or the result of cls(response)
2137
2024
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
2138
2025
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2145,7 +2032,7 @@ class BlobContainersOperations:
2145
2032
  account_name: str,
2146
2033
  container_name: str,
2147
2034
  if_match: str,
2148
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
2035
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2149
2036
  **kwargs: Any
2150
2037
  ) -> _models.ImmutabilityPolicy:
2151
2038
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2169,17 +2056,13 @@ class BlobContainersOperations:
2169
2056
  omitted, this operation will always be applied. Required.
2170
2057
  :type if_match: str
2171
2058
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2172
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2173
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy or IO
2174
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2175
- Default value is None.
2176
- :paramtype content_type: str
2177
- :keyword callable cls: A custom type or function that will be passed the direct response
2059
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
2060
+ :type parameters: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy or IO[bytes]
2178
2061
  :return: ImmutabilityPolicy or the result of cls(response)
2179
2062
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.ImmutabilityPolicy
2180
2063
  :raises ~azure.core.exceptions.HttpResponseError:
2181
2064
  """
2182
- error_map = {
2065
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2183
2066
  401: ClientAuthenticationError,
2184
2067
  404: ResourceNotFoundError,
2185
2068
  409: ResourceExistsError,
@@ -2205,7 +2088,7 @@ class BlobContainersOperations:
2205
2088
  else:
2206
2089
  _json = None
2207
2090
 
2208
- request = build_extend_immutability_policy_request(
2091
+ _request = build_extend_immutability_policy_request(
2209
2092
  resource_group_name=resource_group_name,
2210
2093
  account_name=account_name,
2211
2094
  container_name=container_name,
@@ -2215,16 +2098,15 @@ class BlobContainersOperations:
2215
2098
  content_type=content_type,
2216
2099
  json=_json,
2217
2100
  content=_content,
2218
- template_url=self.extend_immutability_policy.metadata["url"],
2219
2101
  headers=_headers,
2220
2102
  params=_params,
2221
2103
  )
2222
- request = _convert_request(request)
2223
- request.url = self._client.format_url(request.url)
2104
+ _request = _convert_request(_request)
2105
+ _request.url = self._client.format_url(_request.url)
2224
2106
 
2225
2107
  _stream = False
2226
2108
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2227
- request, stream=_stream, **kwargs
2109
+ _request, stream=_stream, **kwargs
2228
2110
  )
2229
2111
 
2230
2112
  response = pipeline_response.http_response
@@ -2239,13 +2121,9 @@ class BlobContainersOperations:
2239
2121
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2240
2122
 
2241
2123
  if cls:
2242
- return cls(pipeline_response, deserialized, response_headers)
2243
-
2244
- return deserialized
2124
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2245
2125
 
2246
- extend_immutability_policy.metadata = {
2247
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2248
- }
2126
+ return deserialized # type: ignore
2249
2127
 
2250
2128
  @overload
2251
2129
  def lease(
@@ -2278,7 +2156,6 @@ class BlobContainersOperations:
2278
2156
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2279
2157
  Default value is "application/json".
2280
2158
  :paramtype content_type: str
2281
- :keyword callable cls: A custom type or function that will be passed the direct response
2282
2159
  :return: LeaseContainerResponse or the result of cls(response)
2283
2160
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LeaseContainerResponse
2284
2161
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2290,7 +2167,7 @@ class BlobContainersOperations:
2290
2167
  resource_group_name: str,
2291
2168
  account_name: str,
2292
2169
  container_name: str,
2293
- parameters: Optional[IO] = None,
2170
+ parameters: Optional[IO[bytes]] = None,
2294
2171
  *,
2295
2172
  content_type: str = "application/json",
2296
2173
  **kwargs: Any
@@ -2311,11 +2188,10 @@ class BlobContainersOperations:
2311
2188
  by a letter or number. Required.
2312
2189
  :type container_name: str
2313
2190
  :param parameters: Lease Container request body. Default value is None.
2314
- :type parameters: IO
2191
+ :type parameters: IO[bytes]
2315
2192
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2316
2193
  Default value is "application/json".
2317
2194
  :paramtype content_type: str
2318
- :keyword callable cls: A custom type or function that will be passed the direct response
2319
2195
  :return: LeaseContainerResponse or the result of cls(response)
2320
2196
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LeaseContainerResponse
2321
2197
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2327,7 +2203,7 @@ class BlobContainersOperations:
2327
2203
  resource_group_name: str,
2328
2204
  account_name: str,
2329
2205
  container_name: str,
2330
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2206
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2331
2207
  **kwargs: Any
2332
2208
  ) -> _models.LeaseContainerResponse:
2333
2209
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2345,18 +2221,14 @@ class BlobContainersOperations:
2345
2221
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2346
2222
  by a letter or number. Required.
2347
2223
  :type container_name: str
2348
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2349
- type. Default value is None.
2350
- :type parameters: ~azure.mgmt.storage.v2023_01_01.models.LeaseContainerRequest or IO
2351
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2352
- Default value is None.
2353
- :paramtype content_type: str
2354
- :keyword callable cls: A custom type or function that will be passed the direct response
2224
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2225
+ IO[bytes] type. Default value is None.
2226
+ :type parameters: ~azure.mgmt.storage.v2023_01_01.models.LeaseContainerRequest or IO[bytes]
2355
2227
  :return: LeaseContainerResponse or the result of cls(response)
2356
2228
  :rtype: ~azure.mgmt.storage.v2023_01_01.models.LeaseContainerResponse
2357
2229
  :raises ~azure.core.exceptions.HttpResponseError:
2358
2230
  """
2359
- error_map = {
2231
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2360
2232
  401: ClientAuthenticationError,
2361
2233
  404: ResourceNotFoundError,
2362
2234
  409: ResourceExistsError,
@@ -2382,7 +2254,7 @@ class BlobContainersOperations:
2382
2254
  else:
2383
2255
  _json = None
2384
2256
 
2385
- request = build_lease_request(
2257
+ _request = build_lease_request(
2386
2258
  resource_group_name=resource_group_name,
2387
2259
  account_name=account_name,
2388
2260
  container_name=container_name,
@@ -2391,16 +2263,15 @@ class BlobContainersOperations:
2391
2263
  content_type=content_type,
2392
2264
  json=_json,
2393
2265
  content=_content,
2394
- template_url=self.lease.metadata["url"],
2395
2266
  headers=_headers,
2396
2267
  params=_params,
2397
2268
  )
2398
- request = _convert_request(request)
2399
- request.url = self._client.format_url(request.url)
2269
+ _request = _convert_request(_request)
2270
+ _request.url = self._client.format_url(_request.url)
2400
2271
 
2401
2272
  _stream = False
2402
2273
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2403
- request, stream=_stream, **kwargs
2274
+ _request, stream=_stream, **kwargs
2404
2275
  )
2405
2276
 
2406
2277
  response = pipeline_response.http_response
@@ -2412,18 +2283,14 @@ class BlobContainersOperations:
2412
2283
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2413
2284
 
2414
2285
  if cls:
2415
- return cls(pipeline_response, deserialized, {})
2416
-
2417
- return deserialized
2286
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2418
2287
 
2419
- lease.metadata = {
2420
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2421
- }
2288
+ return deserialized # type: ignore
2422
2289
 
2423
2290
  def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
2424
2291
  self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
2425
2292
  ) -> None:
2426
- error_map = {
2293
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2427
2294
  401: ClientAuthenticationError,
2428
2295
  404: ResourceNotFoundError,
2429
2296
  409: ResourceExistsError,
@@ -2437,22 +2304,21 @@ class BlobContainersOperations:
2437
2304
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2023-01-01"))
2438
2305
  cls: ClsType[None] = kwargs.pop("cls", None)
2439
2306
 
2440
- request = build_object_level_worm_request(
2307
+ _request = build_object_level_worm_request(
2441
2308
  resource_group_name=resource_group_name,
2442
2309
  account_name=account_name,
2443
2310
  container_name=container_name,
2444
2311
  subscription_id=self._config.subscription_id,
2445
2312
  api_version=api_version,
2446
- template_url=self._object_level_worm_initial.metadata["url"],
2447
2313
  headers=_headers,
2448
2314
  params=_params,
2449
2315
  )
2450
- request = _convert_request(request)
2451
- request.url = self._client.format_url(request.url)
2316
+ _request = _convert_request(_request)
2317
+ _request.url = self._client.format_url(_request.url)
2452
2318
 
2453
2319
  _stream = False
2454
2320
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2455
- request, stream=_stream, **kwargs
2321
+ _request, stream=_stream, **kwargs
2456
2322
  )
2457
2323
 
2458
2324
  response = pipeline_response.http_response
@@ -2462,11 +2328,7 @@ class BlobContainersOperations:
2462
2328
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2463
2329
 
2464
2330
  if cls:
2465
- return cls(pipeline_response, None, {})
2466
-
2467
- _object_level_worm_initial.metadata = {
2468
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
2469
- }
2331
+ return cls(pipeline_response, None, {}) # type: ignore
2470
2332
 
2471
2333
  @distributed_trace
2472
2334
  def begin_object_level_worm(
@@ -2489,14 +2351,6 @@ class BlobContainersOperations:
2489
2351
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2490
2352
  by a letter or number. Required.
2491
2353
  :type container_name: str
2492
- :keyword callable cls: A custom type or function that will be passed the direct response
2493
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2494
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2495
- operation to not poll, or pass in your own initialized polling object for a personal polling
2496
- strategy.
2497
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2498
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2499
- Retry-After header is present.
2500
2354
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2501
2355
  :rtype: ~azure.core.polling.LROPoller[None]
2502
2356
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2524,7 +2378,7 @@ class BlobContainersOperations:
2524
2378
 
2525
2379
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2526
2380
  if cls:
2527
- return cls(pipeline_response, None, {})
2381
+ return cls(pipeline_response, None, {}) # type: ignore
2528
2382
 
2529
2383
  if polling is True:
2530
2384
  polling_method: PollingMethod = cast(
@@ -2535,14 +2389,10 @@ class BlobContainersOperations:
2535
2389
  else:
2536
2390
  polling_method = polling
2537
2391
  if cont_token:
2538
- return LROPoller.from_continuation_token(
2392
+ return LROPoller[None].from_continuation_token(
2539
2393
  polling_method=polling_method,
2540
2394
  continuation_token=cont_token,
2541
2395
  client=self._client,
2542
2396
  deserialization_callback=get_long_running_output,
2543
2397
  )
2544
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2545
-
2546
- begin_object_level_worm.metadata = {
2547
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
2548
- }
2398
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore