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.
@@ -7,7 +7,8 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
- from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload
10
+ import sys
11
+ from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, cast, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.async_paging import AsyncItemPaged, AsyncList
@@ -48,6 +49,10 @@ from ...operations._blob_containers_operations import (
48
49
  build_update_request,
49
50
  )
50
51
 
52
+ if sys.version_info >= (3, 9):
53
+ from collections.abc import MutableMapping
54
+ else:
55
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
51
56
  T = TypeVar("T")
52
57
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
53
58
 
@@ -101,7 +106,6 @@ class BlobContainersOperations:
101
106
  :param include: Optional, used to include the properties for soft deleted blob containers.
102
107
  "deleted" Default value is None.
103
108
  :type include: str or ~azure.mgmt.storage.v2021_04_01.models.ListContainersInclude
104
- :keyword callable cls: A custom type or function that will be passed the direct response
105
109
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
106
110
  :rtype:
107
111
  ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2021_04_01.models.ListContainerItem]
@@ -113,7 +117,7 @@ class BlobContainersOperations:
113
117
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
114
118
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
115
119
 
116
- error_map = {
120
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
117
121
  401: ClientAuthenticationError,
118
122
  404: ResourceNotFoundError,
119
123
  409: ResourceExistsError,
@@ -124,7 +128,7 @@ class BlobContainersOperations:
124
128
  def prepare_request(next_link=None):
125
129
  if not next_link:
126
130
 
127
- request = build_list_request(
131
+ _request = build_list_request(
128
132
  resource_group_name=resource_group_name,
129
133
  account_name=account_name,
130
134
  subscription_id=self._config.subscription_id,
@@ -132,12 +136,11 @@ class BlobContainersOperations:
132
136
  filter=filter,
133
137
  include=include,
134
138
  api_version=api_version,
135
- template_url=self.list.metadata["url"],
136
139
  headers=_headers,
137
140
  params=_params,
138
141
  )
139
- request = _convert_request(request)
140
- request.url = self._client.format_url(request.url)
142
+ _request = _convert_request(_request)
143
+ _request.url = self._client.format_url(_request.url)
141
144
 
142
145
  else:
143
146
  # make call to next link with the client's api-version
@@ -148,14 +151,14 @@ class BlobContainersOperations:
148
151
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
149
152
  }
150
153
  )
151
- _next_request_params["api-version"] = self._config.api_version
152
- request = HttpRequest(
154
+ _next_request_params["api-version"] = self._api_version
155
+ _request = HttpRequest(
153
156
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
154
157
  )
155
- request = _convert_request(request)
156
- request.url = self._client.format_url(request.url)
157
- request.method = "GET"
158
- return request
158
+ _request = _convert_request(_request)
159
+ _request.url = self._client.format_url(_request.url)
160
+ _request.method = "GET"
161
+ return _request
159
162
 
160
163
  async def extract_data(pipeline_response):
161
164
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -165,11 +168,11 @@ class BlobContainersOperations:
165
168
  return deserialized.next_link or None, AsyncList(list_of_elem)
166
169
 
167
170
  async def get_next(next_link=None):
168
- request = prepare_request(next_link)
171
+ _request = prepare_request(next_link)
169
172
 
170
173
  _stream = False
171
174
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
172
- request, stream=_stream, **kwargs
175
+ _request, stream=_stream, **kwargs
173
176
  )
174
177
  response = pipeline_response.http_response
175
178
 
@@ -181,10 +184,6 @@ class BlobContainersOperations:
181
184
 
182
185
  return AsyncItemPaged(get_next, extract_data)
183
186
 
184
- list.metadata = {
185
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
186
- }
187
-
188
187
  @overload
189
188
  async def create(
190
189
  self,
@@ -217,7 +216,6 @@ class BlobContainersOperations:
217
216
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
218
217
  Default value is "application/json".
219
218
  :paramtype content_type: str
220
- :keyword callable cls: A custom type or function that will be passed the direct response
221
219
  :return: BlobContainer or the result of cls(response)
222
220
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
223
221
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -229,7 +227,7 @@ class BlobContainersOperations:
229
227
  resource_group_name: str,
230
228
  account_name: str,
231
229
  container_name: str,
232
- blob_container: IO,
230
+ blob_container: IO[bytes],
233
231
  *,
234
232
  content_type: str = "application/json",
235
233
  **kwargs: Any
@@ -251,11 +249,10 @@ class BlobContainersOperations:
251
249
  by a letter or number. Required.
252
250
  :type container_name: str
253
251
  :param blob_container: Properties of the blob container to create. Required.
254
- :type blob_container: IO
252
+ :type blob_container: IO[bytes]
255
253
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
256
254
  Default value is "application/json".
257
255
  :paramtype content_type: str
258
- :keyword callable cls: A custom type or function that will be passed the direct response
259
256
  :return: BlobContainer or the result of cls(response)
260
257
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
261
258
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -267,7 +264,7 @@ class BlobContainersOperations:
267
264
  resource_group_name: str,
268
265
  account_name: str,
269
266
  container_name: str,
270
- blob_container: Union[_models.BlobContainer, IO],
267
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
271
268
  **kwargs: Any
272
269
  ) -> _models.BlobContainer:
273
270
  """Creates a new container under the specified account as described by request body. The container
@@ -287,17 +284,13 @@ class BlobContainersOperations:
287
284
  by a letter or number. Required.
288
285
  :type container_name: str
289
286
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
290
- type or a IO type. Required.
291
- :type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
292
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
293
- Default value is None.
294
- :paramtype content_type: str
295
- :keyword callable cls: A custom type or function that will be passed the direct response
287
+ type or a IO[bytes] type. Required.
288
+ :type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
296
289
  :return: BlobContainer or the result of cls(response)
297
290
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
298
291
  :raises ~azure.core.exceptions.HttpResponseError:
299
292
  """
300
- error_map = {
293
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
301
294
  401: ClientAuthenticationError,
302
295
  404: ResourceNotFoundError,
303
296
  409: ResourceExistsError,
@@ -320,7 +313,7 @@ class BlobContainersOperations:
320
313
  else:
321
314
  _json = self._serialize.body(blob_container, "BlobContainer")
322
315
 
323
- request = build_create_request(
316
+ _request = build_create_request(
324
317
  resource_group_name=resource_group_name,
325
318
  account_name=account_name,
326
319
  container_name=container_name,
@@ -329,16 +322,15 @@ class BlobContainersOperations:
329
322
  content_type=content_type,
330
323
  json=_json,
331
324
  content=_content,
332
- template_url=self.create.metadata["url"],
333
325
  headers=_headers,
334
326
  params=_params,
335
327
  )
336
- request = _convert_request(request)
337
- request.url = self._client.format_url(request.url)
328
+ _request = _convert_request(_request)
329
+ _request.url = self._client.format_url(_request.url)
338
330
 
339
331
  _stream = False
340
332
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
341
- request, stream=_stream, **kwargs
333
+ _request, stream=_stream, **kwargs
342
334
  )
343
335
 
344
336
  response = pipeline_response.http_response
@@ -358,10 +350,6 @@ class BlobContainersOperations:
358
350
 
359
351
  return deserialized # type: ignore
360
352
 
361
- create.metadata = {
362
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
363
- }
364
-
365
353
  @overload
366
354
  async def update(
367
355
  self,
@@ -393,7 +381,6 @@ class BlobContainersOperations:
393
381
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
394
382
  Default value is "application/json".
395
383
  :paramtype content_type: str
396
- :keyword callable cls: A custom type or function that will be passed the direct response
397
384
  :return: BlobContainer or the result of cls(response)
398
385
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
399
386
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -405,7 +392,7 @@ class BlobContainersOperations:
405
392
  resource_group_name: str,
406
393
  account_name: str,
407
394
  container_name: str,
408
- blob_container: IO,
395
+ blob_container: IO[bytes],
409
396
  *,
410
397
  content_type: str = "application/json",
411
398
  **kwargs: Any
@@ -426,11 +413,10 @@ class BlobContainersOperations:
426
413
  by a letter or number. Required.
427
414
  :type container_name: str
428
415
  :param blob_container: Properties to update for the blob container. Required.
429
- :type blob_container: IO
416
+ :type blob_container: IO[bytes]
430
417
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
431
418
  Default value is "application/json".
432
419
  :paramtype content_type: str
433
- :keyword callable cls: A custom type or function that will be passed the direct response
434
420
  :return: BlobContainer or the result of cls(response)
435
421
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
436
422
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -442,7 +428,7 @@ class BlobContainersOperations:
442
428
  resource_group_name: str,
443
429
  account_name: str,
444
430
  container_name: str,
445
- blob_container: Union[_models.BlobContainer, IO],
431
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
446
432
  **kwargs: Any
447
433
  ) -> _models.BlobContainer:
448
434
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -461,17 +447,13 @@ class BlobContainersOperations:
461
447
  by a letter or number. Required.
462
448
  :type container_name: str
463
449
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
464
- type or a IO type. Required.
465
- :type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
466
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
467
- Default value is None.
468
- :paramtype content_type: str
469
- :keyword callable cls: A custom type or function that will be passed the direct response
450
+ type or a IO[bytes] type. Required.
451
+ :type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
470
452
  :return: BlobContainer or the result of cls(response)
471
453
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
472
454
  :raises ~azure.core.exceptions.HttpResponseError:
473
455
  """
474
- error_map = {
456
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
475
457
  401: ClientAuthenticationError,
476
458
  404: ResourceNotFoundError,
477
459
  409: ResourceExistsError,
@@ -494,7 +476,7 @@ class BlobContainersOperations:
494
476
  else:
495
477
  _json = self._serialize.body(blob_container, "BlobContainer")
496
478
 
497
- request = build_update_request(
479
+ _request = build_update_request(
498
480
  resource_group_name=resource_group_name,
499
481
  account_name=account_name,
500
482
  container_name=container_name,
@@ -503,16 +485,15 @@ class BlobContainersOperations:
503
485
  content_type=content_type,
504
486
  json=_json,
505
487
  content=_content,
506
- template_url=self.update.metadata["url"],
507
488
  headers=_headers,
508
489
  params=_params,
509
490
  )
510
- request = _convert_request(request)
511
- request.url = self._client.format_url(request.url)
491
+ _request = _convert_request(_request)
492
+ _request.url = self._client.format_url(_request.url)
512
493
 
513
494
  _stream = False
514
495
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
515
- request, stream=_stream, **kwargs
496
+ _request, stream=_stream, **kwargs
516
497
  )
517
498
 
518
499
  response = pipeline_response.http_response
@@ -524,13 +505,9 @@ class BlobContainersOperations:
524
505
  deserialized = self._deserialize("BlobContainer", pipeline_response)
525
506
 
526
507
  if cls:
527
- return cls(pipeline_response, deserialized, {})
528
-
529
- return deserialized
508
+ return cls(pipeline_response, deserialized, {}) # type: ignore
530
509
 
531
- update.metadata = {
532
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
533
- }
510
+ return deserialized # type: ignore
534
511
 
535
512
  @distributed_trace_async
536
513
  async def get(
@@ -550,12 +527,11 @@ class BlobContainersOperations:
550
527
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
551
528
  by a letter or number. Required.
552
529
  :type container_name: str
553
- :keyword callable cls: A custom type or function that will be passed the direct response
554
530
  :return: BlobContainer or the result of cls(response)
555
531
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
556
532
  :raises ~azure.core.exceptions.HttpResponseError:
557
533
  """
558
- error_map = {
534
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
559
535
  401: ClientAuthenticationError,
560
536
  404: ResourceNotFoundError,
561
537
  409: ResourceExistsError,
@@ -569,22 +545,21 @@ class BlobContainersOperations:
569
545
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
570
546
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
571
547
 
572
- request = build_get_request(
548
+ _request = build_get_request(
573
549
  resource_group_name=resource_group_name,
574
550
  account_name=account_name,
575
551
  container_name=container_name,
576
552
  subscription_id=self._config.subscription_id,
577
553
  api_version=api_version,
578
- template_url=self.get.metadata["url"],
579
554
  headers=_headers,
580
555
  params=_params,
581
556
  )
582
- request = _convert_request(request)
583
- request.url = self._client.format_url(request.url)
557
+ _request = _convert_request(_request)
558
+ _request.url = self._client.format_url(_request.url)
584
559
 
585
560
  _stream = False
586
561
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
587
- request, stream=_stream, **kwargs
562
+ _request, stream=_stream, **kwargs
588
563
  )
589
564
 
590
565
  response = pipeline_response.http_response
@@ -596,13 +571,9 @@ class BlobContainersOperations:
596
571
  deserialized = self._deserialize("BlobContainer", pipeline_response)
597
572
 
598
573
  if cls:
599
- return cls(pipeline_response, deserialized, {})
600
-
601
- return deserialized
574
+ return cls(pipeline_response, deserialized, {}) # type: ignore
602
575
 
603
- get.metadata = {
604
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
605
- }
576
+ return deserialized # type: ignore
606
577
 
607
578
  @distributed_trace_async
608
579
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -622,12 +593,11 @@ class BlobContainersOperations:
622
593
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
623
594
  by a letter or number. Required.
624
595
  :type container_name: str
625
- :keyword callable cls: A custom type or function that will be passed the direct response
626
596
  :return: None or the result of cls(response)
627
597
  :rtype: None
628
598
  :raises ~azure.core.exceptions.HttpResponseError:
629
599
  """
630
- error_map = {
600
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
631
601
  401: ClientAuthenticationError,
632
602
  404: ResourceNotFoundError,
633
603
  409: ResourceExistsError,
@@ -641,22 +611,21 @@ class BlobContainersOperations:
641
611
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
642
612
  cls: ClsType[None] = kwargs.pop("cls", None)
643
613
 
644
- request = build_delete_request(
614
+ _request = build_delete_request(
645
615
  resource_group_name=resource_group_name,
646
616
  account_name=account_name,
647
617
  container_name=container_name,
648
618
  subscription_id=self._config.subscription_id,
649
619
  api_version=api_version,
650
- template_url=self.delete.metadata["url"],
651
620
  headers=_headers,
652
621
  params=_params,
653
622
  )
654
- request = _convert_request(request)
655
- request.url = self._client.format_url(request.url)
623
+ _request = _convert_request(_request)
624
+ _request.url = self._client.format_url(_request.url)
656
625
 
657
626
  _stream = False
658
627
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
659
- request, stream=_stream, **kwargs
628
+ _request, stream=_stream, **kwargs
660
629
  )
661
630
 
662
631
  response = pipeline_response.http_response
@@ -666,11 +635,7 @@ class BlobContainersOperations:
666
635
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
667
636
 
668
637
  if cls:
669
- return cls(pipeline_response, None, {})
670
-
671
- delete.metadata = {
672
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
673
- }
638
+ return cls(pipeline_response, None, {}) # type: ignore
674
639
 
675
640
  @overload
676
641
  async def set_legal_hold(
@@ -704,7 +669,6 @@ class BlobContainersOperations:
704
669
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
705
670
  Default value is "application/json".
706
671
  :paramtype content_type: str
707
- :keyword callable cls: A custom type or function that will be passed the direct response
708
672
  :return: LegalHold or the result of cls(response)
709
673
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
710
674
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -716,7 +680,7 @@ class BlobContainersOperations:
716
680
  resource_group_name: str,
717
681
  account_name: str,
718
682
  container_name: str,
719
- legal_hold: IO,
683
+ legal_hold: IO[bytes],
720
684
  *,
721
685
  content_type: str = "application/json",
722
686
  **kwargs: Any
@@ -738,11 +702,10 @@ class BlobContainersOperations:
738
702
  by a letter or number. Required.
739
703
  :type container_name: str
740
704
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
741
- :type legal_hold: IO
705
+ :type legal_hold: IO[bytes]
742
706
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
743
707
  Default value is "application/json".
744
708
  :paramtype content_type: str
745
- :keyword callable cls: A custom type or function that will be passed the direct response
746
709
  :return: LegalHold or the result of cls(response)
747
710
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
748
711
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -754,7 +717,7 @@ class BlobContainersOperations:
754
717
  resource_group_name: str,
755
718
  account_name: str,
756
719
  container_name: str,
757
- legal_hold: Union[_models.LegalHold, IO],
720
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
758
721
  **kwargs: Any
759
722
  ) -> _models.LegalHold:
760
723
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -774,17 +737,13 @@ class BlobContainersOperations:
774
737
  by a letter or number. Required.
775
738
  :type container_name: str
776
739
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
777
- LegalHold type or a IO type. Required.
778
- :type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
779
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
780
- Default value is None.
781
- :paramtype content_type: str
782
- :keyword callable cls: A custom type or function that will be passed the direct response
740
+ LegalHold type or a IO[bytes] type. Required.
741
+ :type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
783
742
  :return: LegalHold or the result of cls(response)
784
743
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
785
744
  :raises ~azure.core.exceptions.HttpResponseError:
786
745
  """
787
- error_map = {
746
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
788
747
  401: ClientAuthenticationError,
789
748
  404: ResourceNotFoundError,
790
749
  409: ResourceExistsError,
@@ -807,7 +766,7 @@ class BlobContainersOperations:
807
766
  else:
808
767
  _json = self._serialize.body(legal_hold, "LegalHold")
809
768
 
810
- request = build_set_legal_hold_request(
769
+ _request = build_set_legal_hold_request(
811
770
  resource_group_name=resource_group_name,
812
771
  account_name=account_name,
813
772
  container_name=container_name,
@@ -816,16 +775,15 @@ class BlobContainersOperations:
816
775
  content_type=content_type,
817
776
  json=_json,
818
777
  content=_content,
819
- template_url=self.set_legal_hold.metadata["url"],
820
778
  headers=_headers,
821
779
  params=_params,
822
780
  )
823
- request = _convert_request(request)
824
- request.url = self._client.format_url(request.url)
781
+ _request = _convert_request(_request)
782
+ _request.url = self._client.format_url(_request.url)
825
783
 
826
784
  _stream = False
827
785
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
828
- request, stream=_stream, **kwargs
786
+ _request, stream=_stream, **kwargs
829
787
  )
830
788
 
831
789
  response = pipeline_response.http_response
@@ -837,13 +795,9 @@ class BlobContainersOperations:
837
795
  deserialized = self._deserialize("LegalHold", pipeline_response)
838
796
 
839
797
  if cls:
840
- return cls(pipeline_response, deserialized, {})
841
-
842
- return deserialized
798
+ return cls(pipeline_response, deserialized, {}) # type: ignore
843
799
 
844
- set_legal_hold.metadata = {
845
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
846
- }
800
+ return deserialized # type: ignore
847
801
 
848
802
  @overload
849
803
  async def clear_legal_hold(
@@ -876,7 +830,6 @@ class BlobContainersOperations:
876
830
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
877
831
  Default value is "application/json".
878
832
  :paramtype content_type: str
879
- :keyword callable cls: A custom type or function that will be passed the direct response
880
833
  :return: LegalHold or the result of cls(response)
881
834
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
882
835
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -888,7 +841,7 @@ class BlobContainersOperations:
888
841
  resource_group_name: str,
889
842
  account_name: str,
890
843
  container_name: str,
891
- legal_hold: IO,
844
+ legal_hold: IO[bytes],
892
845
  *,
893
846
  content_type: str = "application/json",
894
847
  **kwargs: Any
@@ -909,11 +862,10 @@ class BlobContainersOperations:
909
862
  by a letter or number. Required.
910
863
  :type container_name: str
911
864
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
912
- :type legal_hold: IO
865
+ :type legal_hold: IO[bytes]
913
866
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
914
867
  Default value is "application/json".
915
868
  :paramtype content_type: str
916
- :keyword callable cls: A custom type or function that will be passed the direct response
917
869
  :return: LegalHold or the result of cls(response)
918
870
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
919
871
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -925,7 +877,7 @@ class BlobContainersOperations:
925
877
  resource_group_name: str,
926
878
  account_name: str,
927
879
  container_name: str,
928
- legal_hold: Union[_models.LegalHold, IO],
880
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
929
881
  **kwargs: Any
930
882
  ) -> _models.LegalHold:
931
883
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -944,17 +896,13 @@ class BlobContainersOperations:
944
896
  by a letter or number. Required.
945
897
  :type container_name: str
946
898
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
947
- LegalHold type or a IO type. Required.
948
- :type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
949
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
950
- Default value is None.
951
- :paramtype content_type: str
952
- :keyword callable cls: A custom type or function that will be passed the direct response
899
+ LegalHold type or a IO[bytes] type. Required.
900
+ :type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
953
901
  :return: LegalHold or the result of cls(response)
954
902
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
955
903
  :raises ~azure.core.exceptions.HttpResponseError:
956
904
  """
957
- error_map = {
905
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
958
906
  401: ClientAuthenticationError,
959
907
  404: ResourceNotFoundError,
960
908
  409: ResourceExistsError,
@@ -977,7 +925,7 @@ class BlobContainersOperations:
977
925
  else:
978
926
  _json = self._serialize.body(legal_hold, "LegalHold")
979
927
 
980
- request = build_clear_legal_hold_request(
928
+ _request = build_clear_legal_hold_request(
981
929
  resource_group_name=resource_group_name,
982
930
  account_name=account_name,
983
931
  container_name=container_name,
@@ -986,16 +934,15 @@ class BlobContainersOperations:
986
934
  content_type=content_type,
987
935
  json=_json,
988
936
  content=_content,
989
- template_url=self.clear_legal_hold.metadata["url"],
990
937
  headers=_headers,
991
938
  params=_params,
992
939
  )
993
- request = _convert_request(request)
994
- request.url = self._client.format_url(request.url)
940
+ _request = _convert_request(_request)
941
+ _request.url = self._client.format_url(_request.url)
995
942
 
996
943
  _stream = False
997
944
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
998
- request, stream=_stream, **kwargs
945
+ _request, stream=_stream, **kwargs
999
946
  )
1000
947
 
1001
948
  response = pipeline_response.http_response
@@ -1007,13 +954,9 @@ class BlobContainersOperations:
1007
954
  deserialized = self._deserialize("LegalHold", pipeline_response)
1008
955
 
1009
956
  if cls:
1010
- return cls(pipeline_response, deserialized, {})
1011
-
1012
- return deserialized
957
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1013
958
 
1014
- clear_legal_hold.metadata = {
1015
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1016
- }
959
+ return deserialized # type: ignore
1017
960
 
1018
961
  @overload
1019
962
  async def create_or_update_immutability_policy(
@@ -1056,7 +999,6 @@ class BlobContainersOperations:
1056
999
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1057
1000
  Default value is "application/json".
1058
1001
  :paramtype content_type: str
1059
- :keyword callable cls: A custom type or function that will be passed the direct response
1060
1002
  :return: ImmutabilityPolicy or the result of cls(response)
1061
1003
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1062
1004
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1070,7 +1012,7 @@ class BlobContainersOperations:
1070
1012
  container_name: str,
1071
1013
  immutability_policy_name: Union[str, _models.Enum35],
1072
1014
  if_match: Optional[str] = None,
1073
- parameters: Optional[IO] = None,
1015
+ parameters: Optional[IO[bytes]] = None,
1074
1016
  *,
1075
1017
  content_type: str = "application/json",
1076
1018
  **kwargs: Any
@@ -1099,11 +1041,10 @@ class BlobContainersOperations:
1099
1041
  :type if_match: str
1100
1042
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1101
1043
  container. Default value is None.
1102
- :type parameters: IO
1044
+ :type parameters: IO[bytes]
1103
1045
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1104
1046
  Default value is "application/json".
1105
1047
  :paramtype content_type: str
1106
- :keyword callable cls: A custom type or function that will be passed the direct response
1107
1048
  :return: ImmutabilityPolicy or the result of cls(response)
1108
1049
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1109
1050
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1117,7 +1058,7 @@ class BlobContainersOperations:
1117
1058
  container_name: str,
1118
1059
  immutability_policy_name: Union[str, _models.Enum35],
1119
1060
  if_match: Optional[str] = None,
1120
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1061
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1121
1062
  **kwargs: Any
1122
1063
  ) -> _models.ImmutabilityPolicy:
1123
1064
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1143,17 +1084,13 @@ class BlobContainersOperations:
1143
1084
  omitted, this operation will always be applied. Default value is None.
1144
1085
  :type if_match: str
1145
1086
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1146
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1147
- :type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
1148
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1149
- Default value is None.
1150
- :paramtype content_type: str
1151
- :keyword callable cls: A custom type or function that will be passed the direct response
1087
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1088
+ :type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
1152
1089
  :return: ImmutabilityPolicy or the result of cls(response)
1153
1090
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1154
1091
  :raises ~azure.core.exceptions.HttpResponseError:
1155
1092
  """
1156
- error_map = {
1093
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1157
1094
  401: ClientAuthenticationError,
1158
1095
  404: ResourceNotFoundError,
1159
1096
  409: ResourceExistsError,
@@ -1179,7 +1116,7 @@ class BlobContainersOperations:
1179
1116
  else:
1180
1117
  _json = None
1181
1118
 
1182
- request = build_create_or_update_immutability_policy_request(
1119
+ _request = build_create_or_update_immutability_policy_request(
1183
1120
  resource_group_name=resource_group_name,
1184
1121
  account_name=account_name,
1185
1122
  container_name=container_name,
@@ -1190,16 +1127,15 @@ class BlobContainersOperations:
1190
1127
  content_type=content_type,
1191
1128
  json=_json,
1192
1129
  content=_content,
1193
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1194
1130
  headers=_headers,
1195
1131
  params=_params,
1196
1132
  )
1197
- request = _convert_request(request)
1198
- request.url = self._client.format_url(request.url)
1133
+ _request = _convert_request(_request)
1134
+ _request.url = self._client.format_url(_request.url)
1199
1135
 
1200
1136
  _stream = False
1201
1137
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1202
- request, stream=_stream, **kwargs
1138
+ _request, stream=_stream, **kwargs
1203
1139
  )
1204
1140
 
1205
1141
  response = pipeline_response.http_response
@@ -1214,13 +1150,9 @@ class BlobContainersOperations:
1214
1150
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1215
1151
 
1216
1152
  if cls:
1217
- return cls(pipeline_response, deserialized, response_headers)
1218
-
1219
- return deserialized
1153
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1220
1154
 
1221
- create_or_update_immutability_policy.metadata = {
1222
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1223
- }
1155
+ return deserialized # type: ignore
1224
1156
 
1225
1157
  @distributed_trace_async
1226
1158
  async def get_immutability_policy(
@@ -1254,12 +1186,11 @@ class BlobContainersOperations:
1254
1186
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1255
1187
  omitted, this operation will always be applied. Default value is None.
1256
1188
  :type if_match: str
1257
- :keyword callable cls: A custom type or function that will be passed the direct response
1258
1189
  :return: ImmutabilityPolicy or the result of cls(response)
1259
1190
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1260
1191
  :raises ~azure.core.exceptions.HttpResponseError:
1261
1192
  """
1262
- error_map = {
1193
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1263
1194
  401: ClientAuthenticationError,
1264
1195
  404: ResourceNotFoundError,
1265
1196
  409: ResourceExistsError,
@@ -1273,7 +1204,7 @@ class BlobContainersOperations:
1273
1204
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1274
1205
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1275
1206
 
1276
- request = build_get_immutability_policy_request(
1207
+ _request = build_get_immutability_policy_request(
1277
1208
  resource_group_name=resource_group_name,
1278
1209
  account_name=account_name,
1279
1210
  container_name=container_name,
@@ -1281,16 +1212,15 @@ class BlobContainersOperations:
1281
1212
  subscription_id=self._config.subscription_id,
1282
1213
  if_match=if_match,
1283
1214
  api_version=api_version,
1284
- template_url=self.get_immutability_policy.metadata["url"],
1285
1215
  headers=_headers,
1286
1216
  params=_params,
1287
1217
  )
1288
- request = _convert_request(request)
1289
- request.url = self._client.format_url(request.url)
1218
+ _request = _convert_request(_request)
1219
+ _request.url = self._client.format_url(_request.url)
1290
1220
 
1291
1221
  _stream = False
1292
1222
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1293
- request, stream=_stream, **kwargs
1223
+ _request, stream=_stream, **kwargs
1294
1224
  )
1295
1225
 
1296
1226
  response = pipeline_response.http_response
@@ -1305,13 +1235,9 @@ class BlobContainersOperations:
1305
1235
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1306
1236
 
1307
1237
  if cls:
1308
- return cls(pipeline_response, deserialized, response_headers)
1238
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1309
1239
 
1310
- return deserialized
1311
-
1312
- get_immutability_policy.metadata = {
1313
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1314
- }
1240
+ return deserialized # type: ignore
1315
1241
 
1316
1242
  @distributed_trace_async
1317
1243
  async def delete_immutability_policy(
@@ -1347,12 +1273,11 @@ class BlobContainersOperations:
1347
1273
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1348
1274
  omitted, this operation will always be applied. Required.
1349
1275
  :type if_match: str
1350
- :keyword callable cls: A custom type or function that will be passed the direct response
1351
1276
  :return: ImmutabilityPolicy or the result of cls(response)
1352
1277
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1353
1278
  :raises ~azure.core.exceptions.HttpResponseError:
1354
1279
  """
1355
- error_map = {
1280
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1356
1281
  401: ClientAuthenticationError,
1357
1282
  404: ResourceNotFoundError,
1358
1283
  409: ResourceExistsError,
@@ -1366,7 +1291,7 @@ class BlobContainersOperations:
1366
1291
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1367
1292
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1368
1293
 
1369
- request = build_delete_immutability_policy_request(
1294
+ _request = build_delete_immutability_policy_request(
1370
1295
  resource_group_name=resource_group_name,
1371
1296
  account_name=account_name,
1372
1297
  container_name=container_name,
@@ -1374,16 +1299,15 @@ class BlobContainersOperations:
1374
1299
  subscription_id=self._config.subscription_id,
1375
1300
  if_match=if_match,
1376
1301
  api_version=api_version,
1377
- template_url=self.delete_immutability_policy.metadata["url"],
1378
1302
  headers=_headers,
1379
1303
  params=_params,
1380
1304
  )
1381
- request = _convert_request(request)
1382
- request.url = self._client.format_url(request.url)
1305
+ _request = _convert_request(_request)
1306
+ _request.url = self._client.format_url(_request.url)
1383
1307
 
1384
1308
  _stream = False
1385
1309
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1386
- request, stream=_stream, **kwargs
1310
+ _request, stream=_stream, **kwargs
1387
1311
  )
1388
1312
 
1389
1313
  response = pipeline_response.http_response
@@ -1398,13 +1322,9 @@ class BlobContainersOperations:
1398
1322
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1399
1323
 
1400
1324
  if cls:
1401
- return cls(pipeline_response, deserialized, response_headers)
1325
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1402
1326
 
1403
- return deserialized
1404
-
1405
- delete_immutability_policy.metadata = {
1406
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1407
- }
1327
+ return deserialized # type: ignore
1408
1328
 
1409
1329
  @distributed_trace_async
1410
1330
  async def lock_immutability_policy(
@@ -1429,12 +1349,11 @@ class BlobContainersOperations:
1429
1349
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1430
1350
  omitted, this operation will always be applied. Required.
1431
1351
  :type if_match: str
1432
- :keyword callable cls: A custom type or function that will be passed the direct response
1433
1352
  :return: ImmutabilityPolicy or the result of cls(response)
1434
1353
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1435
1354
  :raises ~azure.core.exceptions.HttpResponseError:
1436
1355
  """
1437
- error_map = {
1356
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1438
1357
  401: ClientAuthenticationError,
1439
1358
  404: ResourceNotFoundError,
1440
1359
  409: ResourceExistsError,
@@ -1448,23 +1367,22 @@ class BlobContainersOperations:
1448
1367
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1449
1368
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1450
1369
 
1451
- request = build_lock_immutability_policy_request(
1370
+ _request = build_lock_immutability_policy_request(
1452
1371
  resource_group_name=resource_group_name,
1453
1372
  account_name=account_name,
1454
1373
  container_name=container_name,
1455
1374
  subscription_id=self._config.subscription_id,
1456
1375
  if_match=if_match,
1457
1376
  api_version=api_version,
1458
- template_url=self.lock_immutability_policy.metadata["url"],
1459
1377
  headers=_headers,
1460
1378
  params=_params,
1461
1379
  )
1462
- request = _convert_request(request)
1463
- request.url = self._client.format_url(request.url)
1380
+ _request = _convert_request(_request)
1381
+ _request.url = self._client.format_url(_request.url)
1464
1382
 
1465
1383
  _stream = False
1466
1384
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1467
- request, stream=_stream, **kwargs
1385
+ _request, stream=_stream, **kwargs
1468
1386
  )
1469
1387
 
1470
1388
  response = pipeline_response.http_response
@@ -1479,13 +1397,9 @@ class BlobContainersOperations:
1479
1397
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1480
1398
 
1481
1399
  if cls:
1482
- return cls(pipeline_response, deserialized, response_headers)
1400
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1483
1401
 
1484
- return deserialized
1485
-
1486
- lock_immutability_policy.metadata = {
1487
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1488
- }
1402
+ return deserialized # type: ignore
1489
1403
 
1490
1404
  @overload
1491
1405
  async def extend_immutability_policy(
@@ -1525,7 +1439,6 @@ class BlobContainersOperations:
1525
1439
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1526
1440
  Default value is "application/json".
1527
1441
  :paramtype content_type: str
1528
- :keyword callable cls: A custom type or function that will be passed the direct response
1529
1442
  :return: ImmutabilityPolicy or the result of cls(response)
1530
1443
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1531
1444
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1538,7 +1451,7 @@ class BlobContainersOperations:
1538
1451
  account_name: str,
1539
1452
  container_name: str,
1540
1453
  if_match: str,
1541
- parameters: Optional[IO] = None,
1454
+ parameters: Optional[IO[bytes]] = None,
1542
1455
  *,
1543
1456
  content_type: str = "application/json",
1544
1457
  **kwargs: Any
@@ -1565,11 +1478,10 @@ class BlobContainersOperations:
1565
1478
  :type if_match: str
1566
1479
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1567
1480
  container. Default value is None.
1568
- :type parameters: IO
1481
+ :type parameters: IO[bytes]
1569
1482
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1570
1483
  Default value is "application/json".
1571
1484
  :paramtype content_type: str
1572
- :keyword callable cls: A custom type or function that will be passed the direct response
1573
1485
  :return: ImmutabilityPolicy or the result of cls(response)
1574
1486
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1575
1487
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1582,7 +1494,7 @@ class BlobContainersOperations:
1582
1494
  account_name: str,
1583
1495
  container_name: str,
1584
1496
  if_match: str,
1585
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1497
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1586
1498
  **kwargs: Any
1587
1499
  ) -> _models.ImmutabilityPolicy:
1588
1500
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -1606,17 +1518,13 @@ class BlobContainersOperations:
1606
1518
  omitted, this operation will always be applied. Required.
1607
1519
  :type if_match: str
1608
1520
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1609
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1610
- :type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
1611
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1612
- Default value is None.
1613
- :paramtype content_type: str
1614
- :keyword callable cls: A custom type or function that will be passed the direct response
1521
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1522
+ :type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
1615
1523
  :return: ImmutabilityPolicy or the result of cls(response)
1616
1524
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1617
1525
  :raises ~azure.core.exceptions.HttpResponseError:
1618
1526
  """
1619
- error_map = {
1527
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1620
1528
  401: ClientAuthenticationError,
1621
1529
  404: ResourceNotFoundError,
1622
1530
  409: ResourceExistsError,
@@ -1642,7 +1550,7 @@ class BlobContainersOperations:
1642
1550
  else:
1643
1551
  _json = None
1644
1552
 
1645
- request = build_extend_immutability_policy_request(
1553
+ _request = build_extend_immutability_policy_request(
1646
1554
  resource_group_name=resource_group_name,
1647
1555
  account_name=account_name,
1648
1556
  container_name=container_name,
@@ -1652,16 +1560,15 @@ class BlobContainersOperations:
1652
1560
  content_type=content_type,
1653
1561
  json=_json,
1654
1562
  content=_content,
1655
- template_url=self.extend_immutability_policy.metadata["url"],
1656
1563
  headers=_headers,
1657
1564
  params=_params,
1658
1565
  )
1659
- request = _convert_request(request)
1660
- request.url = self._client.format_url(request.url)
1566
+ _request = _convert_request(_request)
1567
+ _request.url = self._client.format_url(_request.url)
1661
1568
 
1662
1569
  _stream = False
1663
1570
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1664
- request, stream=_stream, **kwargs
1571
+ _request, stream=_stream, **kwargs
1665
1572
  )
1666
1573
 
1667
1574
  response = pipeline_response.http_response
@@ -1676,13 +1583,9 @@ class BlobContainersOperations:
1676
1583
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1677
1584
 
1678
1585
  if cls:
1679
- return cls(pipeline_response, deserialized, response_headers)
1680
-
1681
- return deserialized
1586
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1682
1587
 
1683
- extend_immutability_policy.metadata = {
1684
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
1685
- }
1588
+ return deserialized # type: ignore
1686
1589
 
1687
1590
  @overload
1688
1591
  async def lease(
@@ -1715,7 +1618,6 @@ class BlobContainersOperations:
1715
1618
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1716
1619
  Default value is "application/json".
1717
1620
  :paramtype content_type: str
1718
- :keyword callable cls: A custom type or function that will be passed the direct response
1719
1621
  :return: LeaseContainerResponse or the result of cls(response)
1720
1622
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
1721
1623
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1727,7 +1629,7 @@ class BlobContainersOperations:
1727
1629
  resource_group_name: str,
1728
1630
  account_name: str,
1729
1631
  container_name: str,
1730
- parameters: Optional[IO] = None,
1632
+ parameters: Optional[IO[bytes]] = None,
1731
1633
  *,
1732
1634
  content_type: str = "application/json",
1733
1635
  **kwargs: Any
@@ -1748,11 +1650,10 @@ class BlobContainersOperations:
1748
1650
  by a letter or number. Required.
1749
1651
  :type container_name: str
1750
1652
  :param parameters: Lease Container request body. Default value is None.
1751
- :type parameters: IO
1653
+ :type parameters: IO[bytes]
1752
1654
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1753
1655
  Default value is "application/json".
1754
1656
  :paramtype content_type: str
1755
- :keyword callable cls: A custom type or function that will be passed the direct response
1756
1657
  :return: LeaseContainerResponse or the result of cls(response)
1757
1658
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
1758
1659
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1764,7 +1665,7 @@ class BlobContainersOperations:
1764
1665
  resource_group_name: str,
1765
1666
  account_name: str,
1766
1667
  container_name: str,
1767
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
1668
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
1768
1669
  **kwargs: Any
1769
1670
  ) -> _models.LeaseContainerResponse:
1770
1671
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -1782,18 +1683,14 @@ class BlobContainersOperations:
1782
1683
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1783
1684
  by a letter or number. Required.
1784
1685
  :type container_name: str
1785
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
1786
- type. Default value is None.
1787
- :type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO
1788
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1789
- Default value is None.
1790
- :paramtype content_type: str
1791
- :keyword callable cls: A custom type or function that will be passed the direct response
1686
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
1687
+ IO[bytes] type. Default value is None.
1688
+ :type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO[bytes]
1792
1689
  :return: LeaseContainerResponse or the result of cls(response)
1793
1690
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
1794
1691
  :raises ~azure.core.exceptions.HttpResponseError:
1795
1692
  """
1796
- error_map = {
1693
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1797
1694
  401: ClientAuthenticationError,
1798
1695
  404: ResourceNotFoundError,
1799
1696
  409: ResourceExistsError,
@@ -1819,7 +1716,7 @@ class BlobContainersOperations:
1819
1716
  else:
1820
1717
  _json = None
1821
1718
 
1822
- request = build_lease_request(
1719
+ _request = build_lease_request(
1823
1720
  resource_group_name=resource_group_name,
1824
1721
  account_name=account_name,
1825
1722
  container_name=container_name,
@@ -1828,16 +1725,15 @@ class BlobContainersOperations:
1828
1725
  content_type=content_type,
1829
1726
  json=_json,
1830
1727
  content=_content,
1831
- template_url=self.lease.metadata["url"],
1832
1728
  headers=_headers,
1833
1729
  params=_params,
1834
1730
  )
1835
- request = _convert_request(request)
1836
- request.url = self._client.format_url(request.url)
1731
+ _request = _convert_request(_request)
1732
+ _request.url = self._client.format_url(_request.url)
1837
1733
 
1838
1734
  _stream = False
1839
1735
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1840
- request, stream=_stream, **kwargs
1736
+ _request, stream=_stream, **kwargs
1841
1737
  )
1842
1738
 
1843
1739
  response = pipeline_response.http_response
@@ -1849,18 +1745,14 @@ class BlobContainersOperations:
1849
1745
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
1850
1746
 
1851
1747
  if cls:
1852
- return cls(pipeline_response, deserialized, {})
1853
-
1854
- return deserialized
1748
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1855
1749
 
1856
- lease.metadata = {
1857
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
1858
- }
1750
+ return deserialized # type: ignore
1859
1751
 
1860
1752
  async def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
1861
1753
  self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
1862
1754
  ) -> None:
1863
- error_map = {
1755
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1864
1756
  401: ClientAuthenticationError,
1865
1757
  404: ResourceNotFoundError,
1866
1758
  409: ResourceExistsError,
@@ -1874,22 +1766,21 @@ class BlobContainersOperations:
1874
1766
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1875
1767
  cls: ClsType[None] = kwargs.pop("cls", None)
1876
1768
 
1877
- request = build_object_level_worm_request(
1769
+ _request = build_object_level_worm_request(
1878
1770
  resource_group_name=resource_group_name,
1879
1771
  account_name=account_name,
1880
1772
  container_name=container_name,
1881
1773
  subscription_id=self._config.subscription_id,
1882
1774
  api_version=api_version,
1883
- template_url=self._object_level_worm_initial.metadata["url"],
1884
1775
  headers=_headers,
1885
1776
  params=_params,
1886
1777
  )
1887
- request = _convert_request(request)
1888
- request.url = self._client.format_url(request.url)
1778
+ _request = _convert_request(_request)
1779
+ _request.url = self._client.format_url(_request.url)
1889
1780
 
1890
1781
  _stream = False
1891
1782
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1892
- request, stream=_stream, **kwargs
1783
+ _request, stream=_stream, **kwargs
1893
1784
  )
1894
1785
 
1895
1786
  response = pipeline_response.http_response
@@ -1899,11 +1790,7 @@ class BlobContainersOperations:
1899
1790
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1900
1791
 
1901
1792
  if cls:
1902
- return cls(pipeline_response, None, {})
1903
-
1904
- _object_level_worm_initial.metadata = {
1905
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
1906
- }
1793
+ return cls(pipeline_response, None, {}) # type: ignore
1907
1794
 
1908
1795
  @distributed_trace_async
1909
1796
  async def begin_object_level_worm(
@@ -1926,14 +1813,6 @@ class BlobContainersOperations:
1926
1813
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1927
1814
  by a letter or number. Required.
1928
1815
  :type container_name: str
1929
- :keyword callable cls: A custom type or function that will be passed the direct response
1930
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
1931
- :keyword polling: By default, your polling method will be AsyncARMPolling. Pass in False for
1932
- this operation to not poll, or pass in your own initialized polling object for a personal
1933
- polling strategy.
1934
- :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
1935
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
1936
- Retry-After header is present.
1937
1816
  :return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
1938
1817
  :rtype: ~azure.core.polling.AsyncLROPoller[None]
1939
1818
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1961,7 +1840,7 @@ class BlobContainersOperations:
1961
1840
 
1962
1841
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
1963
1842
  if cls:
1964
- return cls(pipeline_response, None, {})
1843
+ return cls(pipeline_response, None, {}) # type: ignore
1965
1844
 
1966
1845
  if polling is True:
1967
1846
  polling_method: AsyncPollingMethod = cast(
@@ -1972,14 +1851,10 @@ class BlobContainersOperations:
1972
1851
  else:
1973
1852
  polling_method = polling
1974
1853
  if cont_token:
1975
- return AsyncLROPoller.from_continuation_token(
1854
+ return AsyncLROPoller[None].from_continuation_token(
1976
1855
  polling_method=polling_method,
1977
1856
  continuation_token=cont_token,
1978
1857
  client=self._client,
1979
1858
  deserialization_callback=get_long_running_output,
1980
1859
  )
1981
- return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
1982
-
1983
- begin_object_level_worm.metadata = {
1984
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
1985
- }
1860
+ return AsyncLROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore