azure-mgmt-storage 21.1.0b1__py3-none-any.whl → 21.2.1__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 (813) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +66 -60
  3. azure/mgmt/storage/_storage_management_client.py +232 -26
  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 +232 -26
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +4 -11
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +25 -5
  11. azure/mgmt/storage/v2015_06_15/_vendor.py +0 -14
  12. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  13. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +4 -11
  14. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  15. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +27 -5
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +132 -213
  17. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +20 -22
  18. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  19. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +151 -232
  20. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +23 -25
  21. azure/mgmt/storage/v2016_01_01/_configuration.py +4 -11
  22. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  23. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +25 -5
  24. azure/mgmt/storage/v2016_01_01/_vendor.py +0 -14
  25. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  26. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +4 -11
  27. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  28. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +27 -5
  29. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +132 -213
  30. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +20 -22
  31. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  32. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +151 -232
  33. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +23 -25
  34. azure/mgmt/storage/v2016_12_01/_configuration.py +4 -11
  35. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  36. azure/mgmt/storage/v2016_12_01/_storage_management.py +25 -5
  37. azure/mgmt/storage/v2016_12_01/_vendor.py +0 -14
  38. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  39. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +4 -11
  40. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  41. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +27 -5
  42. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +162 -263
  43. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +20 -22
  44. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  45. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +185 -286
  46. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +23 -25
  47. azure/mgmt/storage/v2017_06_01/_configuration.py +4 -11
  48. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  49. azure/mgmt/storage/v2017_06_01/_storage_management.py +27 -7
  50. azure/mgmt/storage/v2017_06_01/_vendor.py +0 -14
  51. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  52. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +4 -11
  53. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  54. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +29 -7
  55. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +20 -22
  56. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +20 -22
  57. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +162 -263
  58. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +20 -22
  59. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  60. azure/mgmt/storage/v2017_06_01/operations/_operations.py +21 -23
  61. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +23 -25
  62. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +185 -286
  63. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +23 -25
  64. azure/mgmt/storage/v2017_10_01/_configuration.py +4 -11
  65. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/_storage_management.py +27 -7
  67. azure/mgmt/storage/v2017_10_01/_vendor.py +0 -14
  68. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  69. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +4 -11
  70. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  71. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +29 -7
  72. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +20 -22
  73. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +20 -22
  74. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +162 -263
  75. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +20 -22
  76. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  77. azure/mgmt/storage/v2017_10_01/operations/_operations.py +21 -23
  78. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +23 -25
  79. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +185 -286
  80. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +23 -25
  81. azure/mgmt/storage/v2018_02_01/_configuration.py +4 -11
  82. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  83. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +30 -8
  84. azure/mgmt/storage/v2018_02_01/_vendor.py +0 -14
  85. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  86. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +4 -11
  87. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  88. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +32 -8
  89. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +166 -264
  90. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +20 -22
  91. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +20 -22
  92. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +162 -263
  93. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +34 -41
  94. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +28 -34
  95. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +1 -1
  96. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +194 -292
  97. azure/mgmt/storage/v2018_02_01/operations/_operations.py +21 -23
  98. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +23 -25
  99. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +185 -286
  100. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +39 -46
  101. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +4 -11
  102. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  103. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +41 -8
  104. azure/mgmt/storage/v2018_03_01_preview/_vendor.py +0 -14
  105. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  106. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +4 -11
  107. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  108. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +43 -8
  109. azure/mgmt/storage/v2018_03_01_preview/aio/operations/__init__.py +2 -0
  110. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +182 -277
  111. azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/aio/operations/_management_policies_operations.py +55 -72
  112. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +21 -23
  113. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +21 -23
  114. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +209 -330
  115. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +36 -43
  116. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +30 -34
  117. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +1 -1
  118. azure/mgmt/storage/v2018_03_01_preview/operations/__init__.py +2 -0
  119. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +210 -331
  120. azure/mgmt/storage/{v2018_07_01 → v2018_03_01_preview}/operations/_management_policies_operations.py +62 -85
  121. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +22 -26
  122. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +24 -28
  123. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +239 -388
  124. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +41 -52
  125. azure/mgmt/storage/v2018_07_01/_configuration.py +9 -4
  126. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  127. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +36 -16
  128. azure/mgmt/storage/v2018_07_01/_vendor.py +0 -14
  129. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  130. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +9 -4
  131. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  132. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +38 -16
  133. azure/mgmt/storage/v2018_07_01/aio/operations/__init__.py +0 -2
  134. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +166 -264
  135. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +31 -44
  136. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +31 -21
  137. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +31 -21
  138. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +195 -289
  139. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +31 -23
  140. azure/mgmt/storage/v2018_07_01/models/__init__.py +0 -10
  141. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +30 -164
  142. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +1 -7
  143. azure/mgmt/storage/v2018_07_01/operations/__init__.py +0 -2
  144. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +194 -292
  145. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +36 -49
  146. azure/mgmt/storage/v2018_07_01/operations/_operations.py +32 -22
  147. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +34 -24
  148. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +220 -314
  149. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +34 -26
  150. azure/mgmt/storage/v2018_11_01/_configuration.py +4 -11
  151. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  152. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +34 -10
  153. azure/mgmt/storage/v2018_11_01/_vendor.py +0 -14
  154. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  155. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +4 -11
  156. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  157. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +36 -10
  158. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +164 -262
  159. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +31 -44
  160. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +39 -57
  161. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +20 -22
  162. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +20 -22
  163. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +182 -304
  164. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +20 -24
  165. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +37 -43
  166. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +1 -1
  167. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +192 -290
  168. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +36 -49
  169. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +46 -64
  170. azure/mgmt/storage/v2018_11_01/operations/_operations.py +21 -23
  171. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +23 -25
  172. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +210 -332
  173. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +23 -27
  174. azure/mgmt/storage/v2019_04_01/_configuration.py +4 -11
  175. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  176. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +40 -12
  177. azure/mgmt/storage/v2019_04_01/_vendor.py +0 -14
  178. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  179. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +4 -11
  180. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  181. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +42 -12
  182. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +169 -267
  183. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +45 -63
  184. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +41 -59
  185. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +68 -101
  186. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +39 -57
  187. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +20 -22
  188. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +20 -22
  189. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +183 -304
  190. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +20 -24
  191. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +42 -48
  192. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +1 -1
  193. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +197 -295
  194. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +52 -70
  195. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +48 -66
  196. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +79 -112
  197. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +46 -64
  198. azure/mgmt/storage/v2019_04_01/operations/_operations.py +21 -23
  199. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +23 -25
  200. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +211 -332
  201. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +23 -27
  202. azure/mgmt/storage/v2019_06_01/_configuration.py +4 -11
  203. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  204. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +54 -22
  205. azure/mgmt/storage/v2019_06_01/_vendor.py +0 -14
  206. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  207. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +4 -11
  208. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  209. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +56 -22
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +169 -267
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  212. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +45 -63
  213. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
  214. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +41 -59
  215. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +82 -125
  216. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +39 -57
  217. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
  218. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +20 -22
  219. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  220. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +15 -19
  221. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +68 -101
  222. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +40 -58
  223. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +20 -22
  224. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +203 -357
  225. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +55 -79
  226. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +40 -58
  227. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +20 -24
  228. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +62 -68
  229. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +1 -1
  230. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +197 -295
  231. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +62 -85
  232. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +52 -70
  233. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +67 -95
  234. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +48 -66
  235. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +95 -138
  236. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +46 -64
  237. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +63 -85
  238. azure/mgmt/storage/v2019_06_01/operations/_operations.py +21 -23
  239. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +62 -85
  240. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +18 -22
  241. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +79 -112
  242. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +47 -65
  243. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +23 -25
  244. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +233 -387
  245. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +66 -90
  246. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +47 -65
  247. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +23 -27
  248. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +4 -11
  249. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  250. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +64 -24
  251. azure/mgmt/storage/v2020_08_01_preview/_vendor.py +0 -14
  252. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  253. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +4 -11
  254. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  255. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +66 -24
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +185 -280
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +58 -80
  258. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +49 -66
  259. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +31 -38
  260. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +64 -90
  261. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +45 -62
  262. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +88 -131
  263. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +42 -60
  264. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +59 -80
  265. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +21 -23
  266. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +57 -80
  267. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +16 -20
  268. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +73 -106
  269. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +44 -61
  270. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +21 -23
  271. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +221 -374
  272. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +60 -84
  273. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +44 -61
  274. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +21 -25
  275. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +64 -86
  276. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +1 -1
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +213 -334
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +67 -97
  279. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +56 -79
  280. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +36 -47
  281. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +73 -107
  282. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +52 -75
  283. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +101 -156
  284. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +49 -73
  285. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +68 -97
  286. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +22 -26
  287. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +66 -97
  288. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +19 -25
  289. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +84 -127
  290. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +51 -74
  291. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +24 -28
  292. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +251 -432
  293. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +71 -105
  294. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +51 -74
  295. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +24 -30
  296. azure/mgmt/storage/v2021_01_01/_configuration.py +4 -11
  297. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  298. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +55 -23
  299. azure/mgmt/storage/v2021_01_01/_vendor.py +0 -14
  300. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  301. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +4 -11
  302. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  303. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +57 -23
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +169 -267
  305. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  306. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +45 -63
  307. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +29 -36
  308. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +58 -86
  309. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +41 -59
  310. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +82 -125
  311. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +39 -57
  312. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +54 -76
  313. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +20 -22
  314. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  315. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +15 -19
  316. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +68 -101
  317. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +40 -58
  318. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +20 -22
  319. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +203 -357
  320. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +55 -79
  321. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +40 -58
  322. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +20 -24
  323. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +64 -86
  324. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +1 -1
  325. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +197 -295
  326. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +62 -85
  327. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +52 -70
  328. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +34 -41
  329. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +67 -95
  330. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +48 -66
  331. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +95 -138
  332. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +46 -64
  333. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +63 -85
  334. azure/mgmt/storage/v2021_01_01/operations/_operations.py +21 -23
  335. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +62 -85
  336. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +18 -22
  337. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +79 -112
  338. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +47 -65
  339. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +23 -25
  340. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +233 -387
  341. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +66 -90
  342. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +47 -65
  343. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +23 -27
  344. azure/mgmt/storage/v2021_02_01/_configuration.py +4 -11
  345. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  346. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +55 -23
  347. azure/mgmt/storage/v2021_02_01/_vendor.py +0 -14
  348. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  349. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +4 -11
  350. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  351. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +57 -23
  352. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +169 -267
  353. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  354. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +45 -63
  355. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +29 -36
  356. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +58 -86
  357. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +41 -59
  358. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +82 -125
  359. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +39 -57
  360. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +54 -76
  361. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +20 -22
  362. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  363. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +15 -19
  364. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +68 -101
  365. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +40 -58
  366. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +20 -22
  367. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +203 -357
  368. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +55 -79
  369. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +40 -58
  370. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +20 -24
  371. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +66 -88
  372. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +1 -1
  373. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +197 -295
  374. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +62 -85
  375. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +52 -70
  376. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +34 -41
  377. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +67 -95
  378. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +48 -66
  379. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +95 -138
  380. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +46 -64
  381. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +63 -85
  382. azure/mgmt/storage/v2021_02_01/operations/_operations.py +21 -23
  383. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +62 -85
  384. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +18 -22
  385. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +79 -112
  386. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +47 -65
  387. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +23 -25
  388. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +233 -387
  389. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +66 -90
  390. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +47 -65
  391. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +23 -27
  392. azure/mgmt/storage/v2021_04_01/_configuration.py +4 -11
  393. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  394. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +55 -23
  395. azure/mgmt/storage/v2021_04_01/_vendor.py +0 -14
  396. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  397. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +4 -11
  398. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  399. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +57 -23
  400. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +181 -295
  401. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  402. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +45 -63
  403. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +29 -36
  404. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +58 -86
  405. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +41 -59
  406. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +98 -151
  407. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +39 -57
  408. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +54 -76
  409. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +20 -22
  410. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  411. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +15 -19
  412. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +68 -101
  413. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +40 -58
  414. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +20 -22
  415. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +203 -357
  416. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +55 -79
  417. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +40 -58
  418. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +20 -24
  419. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +66 -88
  420. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +2 -2
  421. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +211 -325
  422. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +62 -85
  423. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +52 -70
  424. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +34 -41
  425. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +67 -95
  426. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +48 -66
  427. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +113 -166
  428. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +46 -64
  429. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +63 -85
  430. azure/mgmt/storage/v2021_04_01/operations/_operations.py +21 -23
  431. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +62 -85
  432. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +18 -22
  433. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +79 -112
  434. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +47 -65
  435. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +23 -25
  436. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +233 -387
  437. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +66 -90
  438. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +47 -65
  439. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +23 -27
  440. azure/mgmt/storage/v2021_06_01/_configuration.py +4 -11
  441. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  442. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +55 -23
  443. azure/mgmt/storage/v2021_06_01/_vendor.py +0 -14
  444. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  445. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +4 -11
  446. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  447. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +57 -23
  448. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +181 -315
  449. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  450. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +45 -79
  451. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +29 -36
  452. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +58 -86
  453. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +41 -75
  454. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +98 -151
  455. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +39 -57
  456. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +54 -76
  457. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +20 -22
  458. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  459. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +15 -19
  460. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +68 -101
  461. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +40 -74
  462. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +20 -22
  463. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +230 -416
  464. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +55 -79
  465. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +40 -74
  466. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +20 -24
  467. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +66 -88
  468. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +2 -2
  469. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +211 -345
  470. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +62 -85
  471. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +52 -86
  472. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +34 -41
  473. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +67 -95
  474. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +48 -82
  475. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +113 -166
  476. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +46 -64
  477. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +63 -85
  478. azure/mgmt/storage/v2021_06_01/operations/_operations.py +21 -23
  479. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +62 -85
  480. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +18 -22
  481. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +79 -112
  482. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +47 -81
  483. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +23 -25
  484. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +266 -452
  485. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +66 -90
  486. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +47 -81
  487. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +23 -27
  488. azure/mgmt/storage/v2021_08_01/_configuration.py +4 -11
  489. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  490. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +59 -25
  491. azure/mgmt/storage/v2021_08_01/_vendor.py +0 -14
  492. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  493. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +4 -11
  494. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  495. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +61 -25
  496. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +181 -315
  497. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  498. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +45 -79
  499. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +29 -36
  500. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +58 -86
  501. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +41 -75
  502. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +98 -151
  503. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +71 -104
  504. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +39 -57
  505. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +54 -76
  506. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +20 -22
  507. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  508. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +15 -19
  509. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +68 -101
  510. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +40 -74
  511. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +20 -22
  512. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +230 -416
  513. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +55 -79
  514. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +40 -74
  515. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +20 -24
  516. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +68 -90
  517. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +2 -2
  518. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +211 -345
  519. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +62 -85
  520. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +52 -86
  521. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +34 -41
  522. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +67 -95
  523. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +48 -82
  524. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +113 -166
  525. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +84 -117
  526. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +46 -64
  527. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +63 -85
  528. azure/mgmt/storage/v2021_08_01/operations/_operations.py +21 -23
  529. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +62 -85
  530. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +18 -22
  531. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +79 -112
  532. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +47 -81
  533. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +23 -25
  534. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +266 -452
  535. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +66 -90
  536. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +47 -81
  537. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +23 -27
  538. azure/mgmt/storage/v2021_09_01/_configuration.py +4 -11
  539. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  540. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +59 -25
  541. azure/mgmt/storage/v2021_09_01/_vendor.py +0 -14
  542. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  543. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +4 -11
  544. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  545. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +61 -25
  546. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +181 -315
  547. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  548. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +45 -79
  549. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
  550. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
  551. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +41 -75
  552. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +98 -151
  553. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +71 -104
  554. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +39 -57
  555. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
  556. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +20 -22
  557. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  558. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +15 -19
  559. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +68 -101
  560. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +40 -74
  561. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +20 -22
  562. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +230 -416
  563. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +70 -103
  564. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +40 -74
  565. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +20 -24
  566. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +70 -92
  567. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +2 -2
  568. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +211 -345
  569. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +62 -85
  570. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +52 -86
  571. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +34 -41
  572. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +67 -95
  573. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +48 -82
  574. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +113 -166
  575. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +84 -117
  576. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +46 -64
  577. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +63 -85
  578. azure/mgmt/storage/v2021_09_01/operations/_operations.py +21 -23
  579. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +62 -85
  580. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +18 -22
  581. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +79 -112
  582. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +47 -81
  583. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +23 -25
  584. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +266 -452
  585. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +81 -114
  586. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +47 -81
  587. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +23 -27
  588. azure/mgmt/storage/v2022_05_01/_configuration.py +4 -11
  589. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +59 -25
  590. azure/mgmt/storage/v2022_05_01/_vendor.py +0 -14
  591. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  592. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +4 -11
  593. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +61 -25
  594. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +181 -315
  595. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  596. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +45 -79
  597. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +29 -36
  598. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +58 -86
  599. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +41 -75
  600. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +98 -151
  601. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +71 -104
  602. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +39 -57
  603. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +54 -76
  604. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +20 -22
  605. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  606. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +15 -19
  607. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +68 -101
  608. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +40 -74
  609. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +20 -22
  610. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +230 -416
  611. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +70 -103
  612. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +40 -74
  613. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +20 -24
  614. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +69 -91
  615. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +2 -2
  616. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +211 -345
  617. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +62 -85
  618. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +52 -86
  619. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +34 -41
  620. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +67 -95
  621. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +48 -82
  622. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +113 -166
  623. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +84 -117
  624. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +46 -64
  625. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +63 -85
  626. azure/mgmt/storage/v2022_05_01/operations/_operations.py +21 -23
  627. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +62 -85
  628. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +18 -22
  629. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +79 -112
  630. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +47 -81
  631. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +23 -25
  632. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +266 -452
  633. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +81 -114
  634. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +47 -81
  635. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +23 -27
  636. azure/mgmt/storage/v2022_09_01/_configuration.py +4 -11
  637. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +59 -25
  638. azure/mgmt/storage/v2022_09_01/_vendor.py +0 -14
  639. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  640. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +4 -11
  641. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +61 -25
  642. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +181 -315
  643. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +53 -76
  644. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +45 -79
  645. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +29 -36
  646. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +58 -86
  647. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +41 -75
  648. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +98 -151
  649. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +71 -104
  650. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +39 -57
  651. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +54 -76
  652. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +20 -22
  653. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +53 -76
  654. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +15 -19
  655. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +68 -101
  656. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +40 -74
  657. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +20 -22
  658. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +230 -416
  659. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +70 -103
  660. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +40 -74
  661. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +20 -24
  662. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +69 -91
  663. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +2 -2
  664. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +211 -345
  665. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +62 -85
  666. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +52 -86
  667. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +34 -41
  668. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +67 -95
  669. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +48 -82
  670. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +113 -166
  671. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +84 -117
  672. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +46 -64
  673. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +63 -85
  674. azure/mgmt/storage/v2022_09_01/operations/_operations.py +21 -23
  675. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +62 -85
  676. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +18 -22
  677. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +79 -112
  678. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +47 -81
  679. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +23 -25
  680. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +266 -452
  681. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +81 -114
  682. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +47 -81
  683. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +23 -27
  684. azure/mgmt/storage/v2023_01_01/__init__.py +26 -0
  685. azure/mgmt/storage/v2023_01_01/_configuration.py +65 -0
  686. azure/mgmt/storage/v2023_01_01/_patch.py +20 -0
  687. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +225 -0
  688. azure/mgmt/storage/v2023_01_01/_vendor.py +16 -0
  689. azure/mgmt/storage/v2023_01_01/_version.py +9 -0
  690. azure/mgmt/storage/v2023_01_01/aio/__init__.py +23 -0
  691. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +65 -0
  692. azure/mgmt/storage/v2023_01_01/aio/_patch.py +20 -0
  693. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +230 -0
  694. azure/mgmt/storage/v2023_01_01/aio/operations/__init__.py +57 -0
  695. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +1838 -0
  696. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  697. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +362 -0
  698. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +194 -0
  699. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +568 -0
  700. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +328 -0
  701. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +1003 -0
  702. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +560 -0
  703. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +349 -0
  704. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +446 -0
  705. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +135 -0
  706. azure/mgmt/storage/v2023_01_01/aio/operations/_patch.py +20 -0
  707. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  708. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +117 -0
  709. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +608 -0
  710. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +328 -0
  711. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +136 -0
  712. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +2187 -0
  713. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +588 -0
  714. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +328 -0
  715. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +139 -0
  716. azure/mgmt/storage/v2023_01_01/models/__init__.py +461 -0
  717. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +8338 -0
  718. azure/mgmt/storage/v2023_01_01/models/_patch.py +20 -0
  719. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +626 -0
  720. azure/mgmt/storage/v2023_01_01/operations/__init__.py +57 -0
  721. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +2398 -0
  722. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +595 -0
  723. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +470 -0
  724. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +250 -0
  725. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +732 -0
  726. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +437 -0
  727. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +1310 -0
  728. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +770 -0
  729. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +465 -0
  730. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +593 -0
  731. azure/mgmt/storage/v2023_01_01/operations/_operations.py +156 -0
  732. azure/mgmt/storage/v2023_01_01/operations/_patch.py +20 -0
  733. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +591 -0
  734. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +155 -0
  735. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +824 -0
  736. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +437 -0
  737. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +162 -0
  738. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +2796 -0
  739. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +775 -0
  740. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +437 -0
  741. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +169 -0
  742. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  743. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  744. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  746. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  747. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  748. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  749. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  750. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  751. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  752. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  753. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  754. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  755. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  756. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  757. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  758. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  759. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  760. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  761. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  762. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  763. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  764. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  765. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  766. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  767. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  768. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  769. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  770. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  771. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  772. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  773. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  774. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  775. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  776. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  777. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  778. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  779. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  780. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  781. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  782. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  783. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  784. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  785. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  786. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  787. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  788. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  789. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  790. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  791. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  792. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  793. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  794. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  795. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  796. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  797. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  798. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  799. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  800. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  801. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  802. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  803. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  804. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  805. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  806. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  807. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  808. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/METADATA +52 -13
  809. azure_mgmt_storage-21.2.1.dist-info/RECORD +979 -0
  810. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/WHEEL +1 -1
  811. azure_mgmt_storage-21.1.0b1.dist-info/RECORD +0 -855
  812. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.dist-info}/LICENSE +0 -0
  813. {azure_mgmt_storage-21.1.0b1.dist-info → azure_mgmt_storage-21.2.1.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.
@@ -6,8 +6,9 @@
6
6
  # Code generated by Microsoft (R) AutoRest Code Generator.
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
+ from io import IOBase
9
10
  import sys
10
- from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload
11
+ from typing import Any, Callable, Dict, IO, Iterable, Literal, Optional, Type, TypeVar, Union, cast, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.exceptions import (
@@ -30,12 +31,12 @@ from azure.mgmt.core.polling.arm_polling import ARMPolling
30
31
 
31
32
  from .. import models as _models
32
33
  from ..._serialization import Serializer
33
- from .._vendor import _convert_request, _format_url_section
34
+ from .._vendor import _convert_request
34
35
 
35
- if sys.version_info >= (3, 8):
36
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
36
+ if sys.version_info >= (3, 9):
37
+ from collections.abc import MutableMapping
37
38
  else:
38
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
39
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
39
40
  T = TypeVar("T")
40
41
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
41
42
 
@@ -56,7 +57,7 @@ def build_list_request(
56
57
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
57
58
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
58
59
 
59
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
60
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
60
61
  accept = _headers.pop("Accept", "application/json")
61
62
 
62
63
  # Construct URL
@@ -72,7 +73,7 @@ def build_list_request(
72
73
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
73
74
  }
74
75
 
75
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
76
+ _url: str = _url.format(**path_format_arguments) # type: ignore
76
77
 
77
78
  # Construct parameters
78
79
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -95,7 +96,7 @@ def build_create_request(
95
96
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
96
97
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
97
98
 
98
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
99
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
99
100
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
100
101
  accept = _headers.pop("Accept", "application/json")
101
102
 
@@ -113,7 +114,7 @@ def build_create_request(
113
114
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
114
115
  }
115
116
 
116
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
117
+ _url: str = _url.format(**path_format_arguments) # type: ignore
117
118
 
118
119
  # Construct parameters
119
120
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -132,7 +133,7 @@ def build_update_request(
132
133
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
133
134
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
134
135
 
135
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
136
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
136
137
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
137
138
  accept = _headers.pop("Accept", "application/json")
138
139
 
@@ -150,7 +151,7 @@ def build_update_request(
150
151
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
151
152
  }
152
153
 
153
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
154
+ _url: str = _url.format(**path_format_arguments) # type: ignore
154
155
 
155
156
  # Construct parameters
156
157
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -169,7 +170,7 @@ def build_get_request(
169
170
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
170
171
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
171
172
 
172
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
173
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
173
174
  accept = _headers.pop("Accept", "application/json")
174
175
 
175
176
  # Construct URL
@@ -186,7 +187,7 @@ def build_get_request(
186
187
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
187
188
  }
188
189
 
189
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
190
+ _url: str = _url.format(**path_format_arguments) # type: ignore
190
191
 
191
192
  # Construct parameters
192
193
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -202,7 +203,7 @@ def build_delete_request(
202
203
  ) -> HttpRequest:
203
204
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
204
205
 
205
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
206
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
206
207
  # Construct URL
207
208
  _url = kwargs.pop(
208
209
  "template_url",
@@ -217,7 +218,7 @@ def build_delete_request(
217
218
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
218
219
  }
219
220
 
220
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
221
+ _url: str = _url.format(**path_format_arguments) # type: ignore
221
222
 
222
223
  # Construct parameters
223
224
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -231,7 +232,7 @@ def build_set_legal_hold_request(
231
232
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
232
233
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
233
234
 
234
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
235
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
235
236
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
236
237
  accept = _headers.pop("Accept", "application/json")
237
238
 
@@ -249,7 +250,7 @@ def build_set_legal_hold_request(
249
250
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
250
251
  }
251
252
 
252
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
253
+ _url: str = _url.format(**path_format_arguments) # type: ignore
253
254
 
254
255
  # Construct parameters
255
256
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -268,7 +269,7 @@ def build_clear_legal_hold_request(
268
269
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
269
270
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
270
271
 
271
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
272
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
272
273
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
273
274
  accept = _headers.pop("Accept", "application/json")
274
275
 
@@ -286,7 +287,7 @@ def build_clear_legal_hold_request(
286
287
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
287
288
  }
288
289
 
289
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
290
+ _url: str = _url.format(**path_format_arguments) # type: ignore
290
291
 
291
292
  # Construct parameters
292
293
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -299,7 +300,7 @@ def build_clear_legal_hold_request(
299
300
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
300
301
 
301
302
 
302
- def build_create_or_update_immutability_policy_request(
303
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
303
304
  resource_group_name: str,
304
305
  account_name: str,
305
306
  container_name: str,
@@ -312,7 +313,7 @@ def build_create_or_update_immutability_policy_request(
312
313
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
313
314
 
314
315
  immutability_policy_name: Literal["default"] = kwargs.pop("immutability_policy_name", "default")
315
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
316
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
316
317
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
317
318
  accept = _headers.pop("Accept", "application/json")
318
319
 
@@ -331,7 +332,7 @@ def build_create_or_update_immutability_policy_request(
331
332
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
332
333
  }
333
334
 
334
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
335
+ _url: str = _url.format(**path_format_arguments) # type: ignore
335
336
 
336
337
  # Construct parameters
337
338
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -359,7 +360,7 @@ def build_get_immutability_policy_request(
359
360
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
360
361
 
361
362
  immutability_policy_name: Literal["default"] = kwargs.pop("immutability_policy_name", "default")
362
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
363
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
363
364
  accept = _headers.pop("Accept", "application/json")
364
365
 
365
366
  # Construct URL
@@ -377,7 +378,7 @@ def build_get_immutability_policy_request(
377
378
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
378
379
  }
379
380
 
380
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
381
+ _url: str = _url.format(**path_format_arguments) # type: ignore
381
382
 
382
383
  # Construct parameters
383
384
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -403,7 +404,7 @@ def build_delete_immutability_policy_request(
403
404
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
404
405
 
405
406
  immutability_policy_name: Literal["default"] = kwargs.pop("immutability_policy_name", "default")
406
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
407
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
407
408
  accept = _headers.pop("Accept", "application/json")
408
409
 
409
410
  # Construct URL
@@ -421,7 +422,7 @@ def build_delete_immutability_policy_request(
421
422
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
422
423
  }
423
424
 
424
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
425
+ _url: str = _url.format(**path_format_arguments) # type: ignore
425
426
 
426
427
  # Construct parameters
427
428
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -445,7 +446,7 @@ def build_lock_immutability_policy_request(
445
446
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
446
447
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
447
448
 
448
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
449
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
449
450
  accept = _headers.pop("Accept", "application/json")
450
451
 
451
452
  # Construct URL
@@ -462,7 +463,7 @@ def build_lock_immutability_policy_request(
462
463
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
463
464
  }
464
465
 
465
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
466
+ _url: str = _url.format(**path_format_arguments) # type: ignore
466
467
 
467
468
  # Construct parameters
468
469
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -486,7 +487,7 @@ def build_extend_immutability_policy_request(
486
487
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
487
488
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
488
489
 
489
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
490
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
490
491
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
491
492
  accept = _headers.pop("Accept", "application/json")
492
493
 
@@ -504,7 +505,7 @@ def build_extend_immutability_policy_request(
504
505
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
505
506
  }
506
507
 
507
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
508
+ _url: str = _url.format(**path_format_arguments) # type: ignore
508
509
 
509
510
  # Construct parameters
510
511
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -524,7 +525,7 @@ def build_lease_request(
524
525
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
525
526
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
526
527
 
527
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
528
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
528
529
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
529
530
  accept = _headers.pop("Accept", "application/json")
530
531
 
@@ -542,7 +543,7 @@ def build_lease_request(
542
543
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
543
544
  }
544
545
 
545
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
546
+ _url: str = _url.format(**path_format_arguments) # type: ignore
546
547
 
547
548
  # Construct parameters
548
549
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -561,7 +562,7 @@ def build_object_level_worm_request(
561
562
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
562
563
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
563
564
 
564
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
565
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
565
566
  accept = _headers.pop("Accept", "application/json")
566
567
 
567
568
  # Construct URL
@@ -578,7 +579,7 @@ def build_object_level_worm_request(
578
579
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
579
580
  }
580
581
 
581
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
582
+ _url: str = _url.format(**path_format_arguments) # type: ignore
582
583
 
583
584
  # Construct parameters
584
585
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -607,6 +608,7 @@ class BlobContainersOperations:
607
608
  self._config = input_args.pop(0) if input_args else kwargs.pop("config")
608
609
  self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
609
610
  self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
611
+ self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
610
612
 
611
613
  @distributed_trace
612
614
  def list(
@@ -637,7 +639,6 @@ class BlobContainersOperations:
637
639
  :param include: Optional, used to include the properties for soft deleted blob containers.
638
640
  "deleted" Default value is None.
639
641
  :type include: str or ~azure.mgmt.storage.v2021_08_01.models.ListContainersInclude
640
- :keyword callable cls: A custom type or function that will be passed the direct response
641
642
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
642
643
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_08_01.models.ListContainerItem]
643
644
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -645,10 +646,10 @@ class BlobContainersOperations:
645
646
  _headers = kwargs.pop("headers", {}) or {}
646
647
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
647
648
 
648
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
649
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
649
650
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
650
651
 
651
- error_map = {
652
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
652
653
  401: ClientAuthenticationError,
653
654
  404: ResourceNotFoundError,
654
655
  409: ResourceExistsError,
@@ -659,7 +660,7 @@ class BlobContainersOperations:
659
660
  def prepare_request(next_link=None):
660
661
  if not next_link:
661
662
 
662
- request = build_list_request(
663
+ _request = build_list_request(
663
664
  resource_group_name=resource_group_name,
664
665
  account_name=account_name,
665
666
  subscription_id=self._config.subscription_id,
@@ -667,12 +668,11 @@ class BlobContainersOperations:
667
668
  filter=filter,
668
669
  include=include,
669
670
  api_version=api_version,
670
- template_url=self.list.metadata["url"],
671
671
  headers=_headers,
672
672
  params=_params,
673
673
  )
674
- request = _convert_request(request)
675
- request.url = self._client.format_url(request.url)
674
+ _request = _convert_request(_request)
675
+ _request.url = self._client.format_url(_request.url)
676
676
 
677
677
  else:
678
678
  # make call to next link with the client's api-version
@@ -683,14 +683,14 @@ class BlobContainersOperations:
683
683
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
684
684
  }
685
685
  )
686
- _next_request_params["api-version"] = self._config.api_version
687
- request = HttpRequest(
686
+ _next_request_params["api-version"] = self._api_version
687
+ _request = HttpRequest(
688
688
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
689
689
  )
690
- request = _convert_request(request)
691
- request.url = self._client.format_url(request.url)
692
- request.method = "GET"
693
- return request
690
+ _request = _convert_request(_request)
691
+ _request.url = self._client.format_url(_request.url)
692
+ _request.method = "GET"
693
+ return _request
694
694
 
695
695
  def extract_data(pipeline_response):
696
696
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -700,10 +700,11 @@ class BlobContainersOperations:
700
700
  return deserialized.next_link or None, iter(list_of_elem)
701
701
 
702
702
  def get_next(next_link=None):
703
- request = prepare_request(next_link)
703
+ _request = prepare_request(next_link)
704
704
 
705
+ _stream = False
705
706
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
706
- request, stream=False, **kwargs
707
+ _request, stream=_stream, **kwargs
707
708
  )
708
709
  response = pipeline_response.http_response
709
710
 
@@ -715,10 +716,6 @@ class BlobContainersOperations:
715
716
 
716
717
  return ItemPaged(get_next, extract_data)
717
718
 
718
- list.metadata = {
719
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
720
- }
721
-
722
719
  @overload
723
720
  def create(
724
721
  self,
@@ -751,7 +748,6 @@ class BlobContainersOperations:
751
748
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
752
749
  Default value is "application/json".
753
750
  :paramtype content_type: str
754
- :keyword callable cls: A custom type or function that will be passed the direct response
755
751
  :return: BlobContainer or the result of cls(response)
756
752
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
757
753
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -763,7 +759,7 @@ class BlobContainersOperations:
763
759
  resource_group_name: str,
764
760
  account_name: str,
765
761
  container_name: str,
766
- blob_container: IO,
762
+ blob_container: IO[bytes],
767
763
  *,
768
764
  content_type: str = "application/json",
769
765
  **kwargs: Any
@@ -785,11 +781,10 @@ class BlobContainersOperations:
785
781
  by a letter or number. Required.
786
782
  :type container_name: str
787
783
  :param blob_container: Properties of the blob container to create. Required.
788
- :type blob_container: IO
784
+ :type blob_container: IO[bytes]
789
785
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
790
786
  Default value is "application/json".
791
787
  :paramtype content_type: str
792
- :keyword callable cls: A custom type or function that will be passed the direct response
793
788
  :return: BlobContainer or the result of cls(response)
794
789
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
795
790
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -801,7 +796,7 @@ class BlobContainersOperations:
801
796
  resource_group_name: str,
802
797
  account_name: str,
803
798
  container_name: str,
804
- blob_container: Union[_models.BlobContainer, IO],
799
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
805
800
  **kwargs: Any
806
801
  ) -> _models.BlobContainer:
807
802
  """Creates a new container under the specified account as described by request body. The container
@@ -821,17 +816,13 @@ class BlobContainersOperations:
821
816
  by a letter or number. Required.
822
817
  :type container_name: str
823
818
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
824
- type or a IO type. Required.
825
- :type blob_container: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer or IO
826
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
827
- Default value is None.
828
- :paramtype content_type: str
829
- :keyword callable cls: A custom type or function that will be passed the direct response
819
+ type or a IO[bytes] type. Required.
820
+ :type blob_container: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer or IO[bytes]
830
821
  :return: BlobContainer or the result of cls(response)
831
822
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
832
823
  :raises ~azure.core.exceptions.HttpResponseError:
833
824
  """
834
- error_map = {
825
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
835
826
  401: ClientAuthenticationError,
836
827
  404: ResourceNotFoundError,
837
828
  409: ResourceExistsError,
@@ -842,19 +833,19 @@ class BlobContainersOperations:
842
833
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
843
834
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
844
835
 
845
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
836
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
846
837
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
847
838
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
848
839
 
849
840
  content_type = content_type or "application/json"
850
841
  _json = None
851
842
  _content = None
852
- if isinstance(blob_container, (IO, bytes)):
843
+ if isinstance(blob_container, (IOBase, bytes)):
853
844
  _content = blob_container
854
845
  else:
855
846
  _json = self._serialize.body(blob_container, "BlobContainer")
856
847
 
857
- request = build_create_request(
848
+ _request = build_create_request(
858
849
  resource_group_name=resource_group_name,
859
850
  account_name=account_name,
860
851
  container_name=container_name,
@@ -863,15 +854,15 @@ class BlobContainersOperations:
863
854
  content_type=content_type,
864
855
  json=_json,
865
856
  content=_content,
866
- template_url=self.create.metadata["url"],
867
857
  headers=_headers,
868
858
  params=_params,
869
859
  )
870
- request = _convert_request(request)
871
- request.url = self._client.format_url(request.url)
860
+ _request = _convert_request(_request)
861
+ _request.url = self._client.format_url(_request.url)
872
862
 
863
+ _stream = False
873
864
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
874
- request, stream=False, **kwargs
865
+ _request, stream=_stream, **kwargs
875
866
  )
876
867
 
877
868
  response = pipeline_response.http_response
@@ -891,10 +882,6 @@ class BlobContainersOperations:
891
882
 
892
883
  return deserialized # type: ignore
893
884
 
894
- create.metadata = {
895
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
896
- }
897
-
898
885
  @overload
899
886
  def update(
900
887
  self,
@@ -926,7 +913,6 @@ class BlobContainersOperations:
926
913
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
927
914
  Default value is "application/json".
928
915
  :paramtype content_type: str
929
- :keyword callable cls: A custom type or function that will be passed the direct response
930
916
  :return: BlobContainer or the result of cls(response)
931
917
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
932
918
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -938,7 +924,7 @@ class BlobContainersOperations:
938
924
  resource_group_name: str,
939
925
  account_name: str,
940
926
  container_name: str,
941
- blob_container: IO,
927
+ blob_container: IO[bytes],
942
928
  *,
943
929
  content_type: str = "application/json",
944
930
  **kwargs: Any
@@ -959,11 +945,10 @@ class BlobContainersOperations:
959
945
  by a letter or number. Required.
960
946
  :type container_name: str
961
947
  :param blob_container: Properties to update for the blob container. Required.
962
- :type blob_container: IO
948
+ :type blob_container: IO[bytes]
963
949
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
964
950
  Default value is "application/json".
965
951
  :paramtype content_type: str
966
- :keyword callable cls: A custom type or function that will be passed the direct response
967
952
  :return: BlobContainer or the result of cls(response)
968
953
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
969
954
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -975,7 +960,7 @@ class BlobContainersOperations:
975
960
  resource_group_name: str,
976
961
  account_name: str,
977
962
  container_name: str,
978
- blob_container: Union[_models.BlobContainer, IO],
963
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
979
964
  **kwargs: Any
980
965
  ) -> _models.BlobContainer:
981
966
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -994,17 +979,13 @@ class BlobContainersOperations:
994
979
  by a letter or number. Required.
995
980
  :type container_name: str
996
981
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
997
- type or a IO type. Required.
998
- :type blob_container: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer or IO
999
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1000
- Default value is None.
1001
- :paramtype content_type: str
1002
- :keyword callable cls: A custom type or function that will be passed the direct response
982
+ type or a IO[bytes] type. Required.
983
+ :type blob_container: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer or IO[bytes]
1003
984
  :return: BlobContainer or the result of cls(response)
1004
985
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
1005
986
  :raises ~azure.core.exceptions.HttpResponseError:
1006
987
  """
1007
- error_map = {
988
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1008
989
  401: ClientAuthenticationError,
1009
990
  404: ResourceNotFoundError,
1010
991
  409: ResourceExistsError,
@@ -1015,19 +996,19 @@ class BlobContainersOperations:
1015
996
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1016
997
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1017
998
 
1018
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
999
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1019
1000
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1020
1001
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1021
1002
 
1022
1003
  content_type = content_type or "application/json"
1023
1004
  _json = None
1024
1005
  _content = None
1025
- if isinstance(blob_container, (IO, bytes)):
1006
+ if isinstance(blob_container, (IOBase, bytes)):
1026
1007
  _content = blob_container
1027
1008
  else:
1028
1009
  _json = self._serialize.body(blob_container, "BlobContainer")
1029
1010
 
1030
- request = build_update_request(
1011
+ _request = build_update_request(
1031
1012
  resource_group_name=resource_group_name,
1032
1013
  account_name=account_name,
1033
1014
  container_name=container_name,
@@ -1036,15 +1017,15 @@ class BlobContainersOperations:
1036
1017
  content_type=content_type,
1037
1018
  json=_json,
1038
1019
  content=_content,
1039
- template_url=self.update.metadata["url"],
1040
1020
  headers=_headers,
1041
1021
  params=_params,
1042
1022
  )
1043
- request = _convert_request(request)
1044
- request.url = self._client.format_url(request.url)
1023
+ _request = _convert_request(_request)
1024
+ _request.url = self._client.format_url(_request.url)
1045
1025
 
1026
+ _stream = False
1046
1027
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1047
- request, stream=False, **kwargs
1028
+ _request, stream=_stream, **kwargs
1048
1029
  )
1049
1030
 
1050
1031
  response = pipeline_response.http_response
@@ -1056,13 +1037,9 @@ class BlobContainersOperations:
1056
1037
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1057
1038
 
1058
1039
  if cls:
1059
- return cls(pipeline_response, deserialized, {})
1060
-
1061
- return deserialized
1040
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1062
1041
 
1063
- update.metadata = {
1064
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1065
- }
1042
+ return deserialized # type: ignore
1066
1043
 
1067
1044
  @distributed_trace
1068
1045
  def get(
@@ -1082,12 +1059,11 @@ class BlobContainersOperations:
1082
1059
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1083
1060
  by a letter or number. Required.
1084
1061
  :type container_name: str
1085
- :keyword callable cls: A custom type or function that will be passed the direct response
1086
1062
  :return: BlobContainer or the result of cls(response)
1087
1063
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.BlobContainer
1088
1064
  :raises ~azure.core.exceptions.HttpResponseError:
1089
1065
  """
1090
- error_map = {
1066
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1091
1067
  401: ClientAuthenticationError,
1092
1068
  404: ResourceNotFoundError,
1093
1069
  409: ResourceExistsError,
@@ -1098,24 +1074,24 @@ class BlobContainersOperations:
1098
1074
  _headers = kwargs.pop("headers", {}) or {}
1099
1075
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1100
1076
 
1101
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
1077
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1102
1078
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1103
1079
 
1104
- request = build_get_request(
1080
+ _request = build_get_request(
1105
1081
  resource_group_name=resource_group_name,
1106
1082
  account_name=account_name,
1107
1083
  container_name=container_name,
1108
1084
  subscription_id=self._config.subscription_id,
1109
1085
  api_version=api_version,
1110
- template_url=self.get.metadata["url"],
1111
1086
  headers=_headers,
1112
1087
  params=_params,
1113
1088
  )
1114
- request = _convert_request(request)
1115
- request.url = self._client.format_url(request.url)
1089
+ _request = _convert_request(_request)
1090
+ _request.url = self._client.format_url(_request.url)
1116
1091
 
1092
+ _stream = False
1117
1093
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1118
- request, stream=False, **kwargs
1094
+ _request, stream=_stream, **kwargs
1119
1095
  )
1120
1096
 
1121
1097
  response = pipeline_response.http_response
@@ -1127,13 +1103,9 @@ class BlobContainersOperations:
1127
1103
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1128
1104
 
1129
1105
  if cls:
1130
- return cls(pipeline_response, deserialized, {})
1131
-
1132
- return deserialized
1106
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1133
1107
 
1134
- get.metadata = {
1135
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1136
- }
1108
+ return deserialized # type: ignore
1137
1109
 
1138
1110
  @distributed_trace
1139
1111
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1153,12 +1125,11 @@ class BlobContainersOperations:
1153
1125
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1154
1126
  by a letter or number. Required.
1155
1127
  :type container_name: str
1156
- :keyword callable cls: A custom type or function that will be passed the direct response
1157
1128
  :return: None or the result of cls(response)
1158
1129
  :rtype: None
1159
1130
  :raises ~azure.core.exceptions.HttpResponseError:
1160
1131
  """
1161
- error_map = {
1132
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1162
1133
  401: ClientAuthenticationError,
1163
1134
  404: ResourceNotFoundError,
1164
1135
  409: ResourceExistsError,
@@ -1169,24 +1140,24 @@ class BlobContainersOperations:
1169
1140
  _headers = kwargs.pop("headers", {}) or {}
1170
1141
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1171
1142
 
1172
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
1143
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1173
1144
  cls: ClsType[None] = kwargs.pop("cls", None)
1174
1145
 
1175
- request = build_delete_request(
1146
+ _request = build_delete_request(
1176
1147
  resource_group_name=resource_group_name,
1177
1148
  account_name=account_name,
1178
1149
  container_name=container_name,
1179
1150
  subscription_id=self._config.subscription_id,
1180
1151
  api_version=api_version,
1181
- template_url=self.delete.metadata["url"],
1182
1152
  headers=_headers,
1183
1153
  params=_params,
1184
1154
  )
1185
- request = _convert_request(request)
1186
- request.url = self._client.format_url(request.url)
1155
+ _request = _convert_request(_request)
1156
+ _request.url = self._client.format_url(_request.url)
1187
1157
 
1158
+ _stream = False
1188
1159
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1189
- request, stream=False, **kwargs
1160
+ _request, stream=_stream, **kwargs
1190
1161
  )
1191
1162
 
1192
1163
  response = pipeline_response.http_response
@@ -1196,11 +1167,7 @@ class BlobContainersOperations:
1196
1167
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1197
1168
 
1198
1169
  if cls:
1199
- return cls(pipeline_response, None, {})
1200
-
1201
- delete.metadata = {
1202
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1203
- }
1170
+ return cls(pipeline_response, None, {}) # type: ignore
1204
1171
 
1205
1172
  @overload
1206
1173
  def set_legal_hold(
@@ -1234,7 +1201,6 @@ class BlobContainersOperations:
1234
1201
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1235
1202
  Default value is "application/json".
1236
1203
  :paramtype content_type: str
1237
- :keyword callable cls: A custom type or function that will be passed the direct response
1238
1204
  :return: LegalHold or the result of cls(response)
1239
1205
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1240
1206
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1246,7 +1212,7 @@ class BlobContainersOperations:
1246
1212
  resource_group_name: str,
1247
1213
  account_name: str,
1248
1214
  container_name: str,
1249
- legal_hold: IO,
1215
+ legal_hold: IO[bytes],
1250
1216
  *,
1251
1217
  content_type: str = "application/json",
1252
1218
  **kwargs: Any
@@ -1268,11 +1234,10 @@ class BlobContainersOperations:
1268
1234
  by a letter or number. Required.
1269
1235
  :type container_name: str
1270
1236
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1271
- :type legal_hold: IO
1237
+ :type legal_hold: IO[bytes]
1272
1238
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1273
1239
  Default value is "application/json".
1274
1240
  :paramtype content_type: str
1275
- :keyword callable cls: A custom type or function that will be passed the direct response
1276
1241
  :return: LegalHold or the result of cls(response)
1277
1242
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1278
1243
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1284,7 +1249,7 @@ class BlobContainersOperations:
1284
1249
  resource_group_name: str,
1285
1250
  account_name: str,
1286
1251
  container_name: str,
1287
- legal_hold: Union[_models.LegalHold, IO],
1252
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1288
1253
  **kwargs: Any
1289
1254
  ) -> _models.LegalHold:
1290
1255
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1304,17 +1269,13 @@ class BlobContainersOperations:
1304
1269
  by a letter or number. Required.
1305
1270
  :type container_name: str
1306
1271
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1307
- LegalHold type or a IO type. Required.
1308
- :type legal_hold: ~azure.mgmt.storage.v2021_08_01.models.LegalHold or IO
1309
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1310
- Default value is None.
1311
- :paramtype content_type: str
1312
- :keyword callable cls: A custom type or function that will be passed the direct response
1272
+ LegalHold type or a IO[bytes] type. Required.
1273
+ :type legal_hold: ~azure.mgmt.storage.v2021_08_01.models.LegalHold or IO[bytes]
1313
1274
  :return: LegalHold or the result of cls(response)
1314
1275
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1315
1276
  :raises ~azure.core.exceptions.HttpResponseError:
1316
1277
  """
1317
- error_map = {
1278
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1318
1279
  401: ClientAuthenticationError,
1319
1280
  404: ResourceNotFoundError,
1320
1281
  409: ResourceExistsError,
@@ -1325,19 +1286,19 @@ class BlobContainersOperations:
1325
1286
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1326
1287
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1327
1288
 
1328
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
1289
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1329
1290
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1330
1291
  cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
1331
1292
 
1332
1293
  content_type = content_type or "application/json"
1333
1294
  _json = None
1334
1295
  _content = None
1335
- if isinstance(legal_hold, (IO, bytes)):
1296
+ if isinstance(legal_hold, (IOBase, bytes)):
1336
1297
  _content = legal_hold
1337
1298
  else:
1338
1299
  _json = self._serialize.body(legal_hold, "LegalHold")
1339
1300
 
1340
- request = build_set_legal_hold_request(
1301
+ _request = build_set_legal_hold_request(
1341
1302
  resource_group_name=resource_group_name,
1342
1303
  account_name=account_name,
1343
1304
  container_name=container_name,
@@ -1346,15 +1307,15 @@ class BlobContainersOperations:
1346
1307
  content_type=content_type,
1347
1308
  json=_json,
1348
1309
  content=_content,
1349
- template_url=self.set_legal_hold.metadata["url"],
1350
1310
  headers=_headers,
1351
1311
  params=_params,
1352
1312
  )
1353
- request = _convert_request(request)
1354
- request.url = self._client.format_url(request.url)
1313
+ _request = _convert_request(_request)
1314
+ _request.url = self._client.format_url(_request.url)
1355
1315
 
1316
+ _stream = False
1356
1317
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1357
- request, stream=False, **kwargs
1318
+ _request, stream=_stream, **kwargs
1358
1319
  )
1359
1320
 
1360
1321
  response = pipeline_response.http_response
@@ -1366,13 +1327,9 @@ class BlobContainersOperations:
1366
1327
  deserialized = self._deserialize("LegalHold", pipeline_response)
1367
1328
 
1368
1329
  if cls:
1369
- return cls(pipeline_response, deserialized, {})
1370
-
1371
- return deserialized
1330
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1372
1331
 
1373
- set_legal_hold.metadata = {
1374
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1375
- }
1332
+ return deserialized # type: ignore
1376
1333
 
1377
1334
  @overload
1378
1335
  def clear_legal_hold(
@@ -1405,7 +1362,6 @@ class BlobContainersOperations:
1405
1362
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1406
1363
  Default value is "application/json".
1407
1364
  :paramtype content_type: str
1408
- :keyword callable cls: A custom type or function that will be passed the direct response
1409
1365
  :return: LegalHold or the result of cls(response)
1410
1366
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1411
1367
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1417,7 +1373,7 @@ class BlobContainersOperations:
1417
1373
  resource_group_name: str,
1418
1374
  account_name: str,
1419
1375
  container_name: str,
1420
- legal_hold: IO,
1376
+ legal_hold: IO[bytes],
1421
1377
  *,
1422
1378
  content_type: str = "application/json",
1423
1379
  **kwargs: Any
@@ -1438,11 +1394,10 @@ class BlobContainersOperations:
1438
1394
  by a letter or number. Required.
1439
1395
  :type container_name: str
1440
1396
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1441
- :type legal_hold: IO
1397
+ :type legal_hold: IO[bytes]
1442
1398
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1443
1399
  Default value is "application/json".
1444
1400
  :paramtype content_type: str
1445
- :keyword callable cls: A custom type or function that will be passed the direct response
1446
1401
  :return: LegalHold or the result of cls(response)
1447
1402
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1448
1403
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1454,7 +1409,7 @@ class BlobContainersOperations:
1454
1409
  resource_group_name: str,
1455
1410
  account_name: str,
1456
1411
  container_name: str,
1457
- legal_hold: Union[_models.LegalHold, IO],
1412
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1458
1413
  **kwargs: Any
1459
1414
  ) -> _models.LegalHold:
1460
1415
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1473,17 +1428,13 @@ class BlobContainersOperations:
1473
1428
  by a letter or number. Required.
1474
1429
  :type container_name: str
1475
1430
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1476
- LegalHold type or a IO type. Required.
1477
- :type legal_hold: ~azure.mgmt.storage.v2021_08_01.models.LegalHold or IO
1478
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1479
- Default value is None.
1480
- :paramtype content_type: str
1481
- :keyword callable cls: A custom type or function that will be passed the direct response
1431
+ LegalHold type or a IO[bytes] type. Required.
1432
+ :type legal_hold: ~azure.mgmt.storage.v2021_08_01.models.LegalHold or IO[bytes]
1482
1433
  :return: LegalHold or the result of cls(response)
1483
1434
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LegalHold
1484
1435
  :raises ~azure.core.exceptions.HttpResponseError:
1485
1436
  """
1486
- error_map = {
1437
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1487
1438
  401: ClientAuthenticationError,
1488
1439
  404: ResourceNotFoundError,
1489
1440
  409: ResourceExistsError,
@@ -1494,19 +1445,19 @@ class BlobContainersOperations:
1494
1445
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1495
1446
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1496
1447
 
1497
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
1448
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1498
1449
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1499
1450
  cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
1500
1451
 
1501
1452
  content_type = content_type or "application/json"
1502
1453
  _json = None
1503
1454
  _content = None
1504
- if isinstance(legal_hold, (IO, bytes)):
1455
+ if isinstance(legal_hold, (IOBase, bytes)):
1505
1456
  _content = legal_hold
1506
1457
  else:
1507
1458
  _json = self._serialize.body(legal_hold, "LegalHold")
1508
1459
 
1509
- request = build_clear_legal_hold_request(
1460
+ _request = build_clear_legal_hold_request(
1510
1461
  resource_group_name=resource_group_name,
1511
1462
  account_name=account_name,
1512
1463
  container_name=container_name,
@@ -1515,15 +1466,15 @@ class BlobContainersOperations:
1515
1466
  content_type=content_type,
1516
1467
  json=_json,
1517
1468
  content=_content,
1518
- template_url=self.clear_legal_hold.metadata["url"],
1519
1469
  headers=_headers,
1520
1470
  params=_params,
1521
1471
  )
1522
- request = _convert_request(request)
1523
- request.url = self._client.format_url(request.url)
1472
+ _request = _convert_request(_request)
1473
+ _request.url = self._client.format_url(_request.url)
1524
1474
 
1475
+ _stream = False
1525
1476
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1526
- request, stream=False, **kwargs
1477
+ _request, stream=_stream, **kwargs
1527
1478
  )
1528
1479
 
1529
1480
  response = pipeline_response.http_response
@@ -1535,13 +1486,9 @@ class BlobContainersOperations:
1535
1486
  deserialized = self._deserialize("LegalHold", pipeline_response)
1536
1487
 
1537
1488
  if cls:
1538
- return cls(pipeline_response, deserialized, {})
1539
-
1540
- return deserialized
1489
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1541
1490
 
1542
- clear_legal_hold.metadata = {
1543
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1544
- }
1491
+ return deserialized # type: ignore
1545
1492
 
1546
1493
  @overload
1547
1494
  def create_or_update_immutability_policy(
@@ -1580,11 +1527,6 @@ class BlobContainersOperations:
1580
1527
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1581
1528
  Default value is "application/json".
1582
1529
  :paramtype content_type: str
1583
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1584
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1585
- "default". Note that overriding this default value may result in unsupported behavior.
1586
- :paramtype immutability_policy_name: str
1587
- :keyword callable cls: A custom type or function that will be passed the direct response
1588
1530
  :return: ImmutabilityPolicy or the result of cls(response)
1589
1531
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1590
1532
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1597,7 +1539,7 @@ class BlobContainersOperations:
1597
1539
  account_name: str,
1598
1540
  container_name: str,
1599
1541
  if_match: Optional[str] = None,
1600
- parameters: Optional[IO] = None,
1542
+ parameters: Optional[IO[bytes]] = None,
1601
1543
  *,
1602
1544
  content_type: str = "application/json",
1603
1545
  **kwargs: Any
@@ -1623,15 +1565,10 @@ class BlobContainersOperations:
1623
1565
  :type if_match: str
1624
1566
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1625
1567
  container. Default value is None.
1626
- :type parameters: IO
1568
+ :type parameters: IO[bytes]
1627
1569
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1628
1570
  Default value is "application/json".
1629
1571
  :paramtype content_type: str
1630
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1631
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1632
- "default". Note that overriding this default value may result in unsupported behavior.
1633
- :paramtype immutability_policy_name: str
1634
- :keyword callable cls: A custom type or function that will be passed the direct response
1635
1572
  :return: ImmutabilityPolicy or the result of cls(response)
1636
1573
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1637
1574
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1644,7 +1581,7 @@ class BlobContainersOperations:
1644
1581
  account_name: str,
1645
1582
  container_name: str,
1646
1583
  if_match: Optional[str] = None,
1647
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1584
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1648
1585
  **kwargs: Any
1649
1586
  ) -> _models.ImmutabilityPolicy:
1650
1587
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1667,21 +1604,13 @@ class BlobContainersOperations:
1667
1604
  omitted, this operation will always be applied. Default value is None.
1668
1605
  :type if_match: str
1669
1606
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1670
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1671
- :type parameters: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy or IO
1672
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1673
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1674
- "default". Note that overriding this default value may result in unsupported behavior.
1675
- :paramtype immutability_policy_name: str
1676
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1677
- Default value is None.
1678
- :paramtype content_type: str
1679
- :keyword callable cls: A custom type or function that will be passed the direct response
1607
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1608
+ :type parameters: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy or IO[bytes]
1680
1609
  :return: ImmutabilityPolicy or the result of cls(response)
1681
1610
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1682
1611
  :raises ~azure.core.exceptions.HttpResponseError:
1683
1612
  """
1684
- error_map = {
1613
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1685
1614
  401: ClientAuthenticationError,
1686
1615
  404: ResourceNotFoundError,
1687
1616
  409: ResourceExistsError,
@@ -1693,14 +1622,14 @@ class BlobContainersOperations:
1693
1622
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1694
1623
 
1695
1624
  immutability_policy_name: Literal["default"] = kwargs.pop("immutability_policy_name", "default")
1696
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
1625
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1697
1626
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1698
1627
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1699
1628
 
1700
1629
  content_type = content_type or "application/json"
1701
1630
  _json = None
1702
1631
  _content = None
1703
- if isinstance(parameters, (IO, bytes)):
1632
+ if isinstance(parameters, (IOBase, bytes)):
1704
1633
  _content = parameters
1705
1634
  else:
1706
1635
  if parameters is not None:
@@ -1708,7 +1637,7 @@ class BlobContainersOperations:
1708
1637
  else:
1709
1638
  _json = None
1710
1639
 
1711
- request = build_create_or_update_immutability_policy_request(
1640
+ _request = build_create_or_update_immutability_policy_request(
1712
1641
  resource_group_name=resource_group_name,
1713
1642
  account_name=account_name,
1714
1643
  container_name=container_name,
@@ -1719,15 +1648,15 @@ class BlobContainersOperations:
1719
1648
  content_type=content_type,
1720
1649
  json=_json,
1721
1650
  content=_content,
1722
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1723
1651
  headers=_headers,
1724
1652
  params=_params,
1725
1653
  )
1726
- request = _convert_request(request)
1727
- request.url = self._client.format_url(request.url)
1654
+ _request = _convert_request(_request)
1655
+ _request.url = self._client.format_url(_request.url)
1728
1656
 
1657
+ _stream = False
1729
1658
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1730
- request, stream=False, **kwargs
1659
+ _request, stream=_stream, **kwargs
1731
1660
  )
1732
1661
 
1733
1662
  response = pipeline_response.http_response
@@ -1742,13 +1671,9 @@ class BlobContainersOperations:
1742
1671
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1743
1672
 
1744
1673
  if cls:
1745
- return cls(pipeline_response, deserialized, response_headers)
1746
-
1747
- return deserialized
1674
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1748
1675
 
1749
- create_or_update_immutability_policy.metadata = {
1750
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1751
- }
1676
+ return deserialized # type: ignore
1752
1677
 
1753
1678
  @distributed_trace
1754
1679
  def get_immutability_policy(
@@ -1778,16 +1703,11 @@ class BlobContainersOperations:
1778
1703
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1779
1704
  omitted, this operation will always be applied. Default value is None.
1780
1705
  :type if_match: str
1781
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1782
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1783
- "default". Note that overriding this default value may result in unsupported behavior.
1784
- :paramtype immutability_policy_name: str
1785
- :keyword callable cls: A custom type or function that will be passed the direct response
1786
1706
  :return: ImmutabilityPolicy or the result of cls(response)
1787
1707
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1788
1708
  :raises ~azure.core.exceptions.HttpResponseError:
1789
1709
  """
1790
- error_map = {
1710
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1791
1711
  401: ClientAuthenticationError,
1792
1712
  404: ResourceNotFoundError,
1793
1713
  409: ResourceExistsError,
@@ -1799,10 +1719,10 @@ class BlobContainersOperations:
1799
1719
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1800
1720
 
1801
1721
  immutability_policy_name: Literal["default"] = kwargs.pop("immutability_policy_name", "default")
1802
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
1722
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1803
1723
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1804
1724
 
1805
- request = build_get_immutability_policy_request(
1725
+ _request = build_get_immutability_policy_request(
1806
1726
  resource_group_name=resource_group_name,
1807
1727
  account_name=account_name,
1808
1728
  container_name=container_name,
@@ -1810,15 +1730,15 @@ class BlobContainersOperations:
1810
1730
  if_match=if_match,
1811
1731
  immutability_policy_name=immutability_policy_name,
1812
1732
  api_version=api_version,
1813
- template_url=self.get_immutability_policy.metadata["url"],
1814
1733
  headers=_headers,
1815
1734
  params=_params,
1816
1735
  )
1817
- request = _convert_request(request)
1818
- request.url = self._client.format_url(request.url)
1736
+ _request = _convert_request(_request)
1737
+ _request.url = self._client.format_url(_request.url)
1819
1738
 
1739
+ _stream = False
1820
1740
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1821
- request, stream=False, **kwargs
1741
+ _request, stream=_stream, **kwargs
1822
1742
  )
1823
1743
 
1824
1744
  response = pipeline_response.http_response
@@ -1833,13 +1753,9 @@ class BlobContainersOperations:
1833
1753
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1834
1754
 
1835
1755
  if cls:
1836
- return cls(pipeline_response, deserialized, response_headers)
1756
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1837
1757
 
1838
- return deserialized
1839
-
1840
- get_immutability_policy.metadata = {
1841
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1842
- }
1758
+ return deserialized # type: ignore
1843
1759
 
1844
1760
  @distributed_trace
1845
1761
  def delete_immutability_policy(
@@ -1866,16 +1782,11 @@ class BlobContainersOperations:
1866
1782
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1867
1783
  omitted, this operation will always be applied. Required.
1868
1784
  :type if_match: str
1869
- :keyword immutability_policy_name: The name of the blob container immutabilityPolicy within the
1870
- specified storage account. ImmutabilityPolicy Name must be 'default'. Default value is
1871
- "default". Note that overriding this default value may result in unsupported behavior.
1872
- :paramtype immutability_policy_name: str
1873
- :keyword callable cls: A custom type or function that will be passed the direct response
1874
1785
  :return: ImmutabilityPolicy or the result of cls(response)
1875
1786
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1876
1787
  :raises ~azure.core.exceptions.HttpResponseError:
1877
1788
  """
1878
- error_map = {
1789
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1879
1790
  401: ClientAuthenticationError,
1880
1791
  404: ResourceNotFoundError,
1881
1792
  409: ResourceExistsError,
@@ -1887,10 +1798,10 @@ class BlobContainersOperations:
1887
1798
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1888
1799
 
1889
1800
  immutability_policy_name: Literal["default"] = kwargs.pop("immutability_policy_name", "default")
1890
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
1801
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1891
1802
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1892
1803
 
1893
- request = build_delete_immutability_policy_request(
1804
+ _request = build_delete_immutability_policy_request(
1894
1805
  resource_group_name=resource_group_name,
1895
1806
  account_name=account_name,
1896
1807
  container_name=container_name,
@@ -1898,15 +1809,15 @@ class BlobContainersOperations:
1898
1809
  if_match=if_match,
1899
1810
  immutability_policy_name=immutability_policy_name,
1900
1811
  api_version=api_version,
1901
- template_url=self.delete_immutability_policy.metadata["url"],
1902
1812
  headers=_headers,
1903
1813
  params=_params,
1904
1814
  )
1905
- request = _convert_request(request)
1906
- request.url = self._client.format_url(request.url)
1815
+ _request = _convert_request(_request)
1816
+ _request.url = self._client.format_url(_request.url)
1907
1817
 
1818
+ _stream = False
1908
1819
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1909
- request, stream=False, **kwargs
1820
+ _request, stream=_stream, **kwargs
1910
1821
  )
1911
1822
 
1912
1823
  response = pipeline_response.http_response
@@ -1921,13 +1832,9 @@ class BlobContainersOperations:
1921
1832
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1922
1833
 
1923
1834
  if cls:
1924
- return cls(pipeline_response, deserialized, response_headers)
1835
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1925
1836
 
1926
- return deserialized
1927
-
1928
- delete_immutability_policy.metadata = {
1929
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1930
- }
1837
+ return deserialized # type: ignore
1931
1838
 
1932
1839
  @distributed_trace
1933
1840
  def lock_immutability_policy(
@@ -1952,12 +1859,11 @@ class BlobContainersOperations:
1952
1859
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1953
1860
  omitted, this operation will always be applied. Required.
1954
1861
  :type if_match: str
1955
- :keyword callable cls: A custom type or function that will be passed the direct response
1956
1862
  :return: ImmutabilityPolicy or the result of cls(response)
1957
1863
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
1958
1864
  :raises ~azure.core.exceptions.HttpResponseError:
1959
1865
  """
1960
- error_map = {
1866
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1961
1867
  401: ClientAuthenticationError,
1962
1868
  404: ResourceNotFoundError,
1963
1869
  409: ResourceExistsError,
@@ -1968,25 +1874,25 @@ class BlobContainersOperations:
1968
1874
  _headers = kwargs.pop("headers", {}) or {}
1969
1875
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1970
1876
 
1971
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
1877
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
1972
1878
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1973
1879
 
1974
- request = build_lock_immutability_policy_request(
1880
+ _request = build_lock_immutability_policy_request(
1975
1881
  resource_group_name=resource_group_name,
1976
1882
  account_name=account_name,
1977
1883
  container_name=container_name,
1978
1884
  subscription_id=self._config.subscription_id,
1979
1885
  if_match=if_match,
1980
1886
  api_version=api_version,
1981
- template_url=self.lock_immutability_policy.metadata["url"],
1982
1887
  headers=_headers,
1983
1888
  params=_params,
1984
1889
  )
1985
- request = _convert_request(request)
1986
- request.url = self._client.format_url(request.url)
1890
+ _request = _convert_request(_request)
1891
+ _request.url = self._client.format_url(_request.url)
1987
1892
 
1893
+ _stream = False
1988
1894
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1989
- request, stream=False, **kwargs
1895
+ _request, stream=_stream, **kwargs
1990
1896
  )
1991
1897
 
1992
1898
  response = pipeline_response.http_response
@@ -2001,13 +1907,9 @@ class BlobContainersOperations:
2001
1907
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2002
1908
 
2003
1909
  if cls:
2004
- return cls(pipeline_response, deserialized, response_headers)
1910
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2005
1911
 
2006
- return deserialized
2007
-
2008
- lock_immutability_policy.metadata = {
2009
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
2010
- }
1912
+ return deserialized # type: ignore
2011
1913
 
2012
1914
  @overload
2013
1915
  def extend_immutability_policy(
@@ -2047,7 +1949,6 @@ class BlobContainersOperations:
2047
1949
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2048
1950
  Default value is "application/json".
2049
1951
  :paramtype content_type: str
2050
- :keyword callable cls: A custom type or function that will be passed the direct response
2051
1952
  :return: ImmutabilityPolicy or the result of cls(response)
2052
1953
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
2053
1954
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2060,7 +1961,7 @@ class BlobContainersOperations:
2060
1961
  account_name: str,
2061
1962
  container_name: str,
2062
1963
  if_match: str,
2063
- parameters: Optional[IO] = None,
1964
+ parameters: Optional[IO[bytes]] = None,
2064
1965
  *,
2065
1966
  content_type: str = "application/json",
2066
1967
  **kwargs: Any
@@ -2087,11 +1988,10 @@ class BlobContainersOperations:
2087
1988
  :type if_match: str
2088
1989
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2089
1990
  container. Default value is None.
2090
- :type parameters: IO
1991
+ :type parameters: IO[bytes]
2091
1992
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2092
1993
  Default value is "application/json".
2093
1994
  :paramtype content_type: str
2094
- :keyword callable cls: A custom type or function that will be passed the direct response
2095
1995
  :return: ImmutabilityPolicy or the result of cls(response)
2096
1996
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
2097
1997
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2104,7 +2004,7 @@ class BlobContainersOperations:
2104
2004
  account_name: str,
2105
2005
  container_name: str,
2106
2006
  if_match: str,
2107
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
2007
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2108
2008
  **kwargs: Any
2109
2009
  ) -> _models.ImmutabilityPolicy:
2110
2010
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2128,17 +2028,13 @@ class BlobContainersOperations:
2128
2028
  omitted, this operation will always be applied. Required.
2129
2029
  :type if_match: str
2130
2030
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2131
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2132
- :type parameters: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy or IO
2133
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2134
- Default value is None.
2135
- :paramtype content_type: str
2136
- :keyword callable cls: A custom type or function that will be passed the direct response
2031
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
2032
+ :type parameters: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy or IO[bytes]
2137
2033
  :return: ImmutabilityPolicy or the result of cls(response)
2138
2034
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.ImmutabilityPolicy
2139
2035
  :raises ~azure.core.exceptions.HttpResponseError:
2140
2036
  """
2141
- error_map = {
2037
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2142
2038
  401: ClientAuthenticationError,
2143
2039
  404: ResourceNotFoundError,
2144
2040
  409: ResourceExistsError,
@@ -2149,14 +2045,14 @@ class BlobContainersOperations:
2149
2045
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2150
2046
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2151
2047
 
2152
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
2048
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
2153
2049
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2154
2050
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
2155
2051
 
2156
2052
  content_type = content_type or "application/json"
2157
2053
  _json = None
2158
2054
  _content = None
2159
- if isinstance(parameters, (IO, bytes)):
2055
+ if isinstance(parameters, (IOBase, bytes)):
2160
2056
  _content = parameters
2161
2057
  else:
2162
2058
  if parameters is not None:
@@ -2164,7 +2060,7 @@ class BlobContainersOperations:
2164
2060
  else:
2165
2061
  _json = None
2166
2062
 
2167
- request = build_extend_immutability_policy_request(
2063
+ _request = build_extend_immutability_policy_request(
2168
2064
  resource_group_name=resource_group_name,
2169
2065
  account_name=account_name,
2170
2066
  container_name=container_name,
@@ -2174,15 +2070,15 @@ class BlobContainersOperations:
2174
2070
  content_type=content_type,
2175
2071
  json=_json,
2176
2072
  content=_content,
2177
- template_url=self.extend_immutability_policy.metadata["url"],
2178
2073
  headers=_headers,
2179
2074
  params=_params,
2180
2075
  )
2181
- request = _convert_request(request)
2182
- request.url = self._client.format_url(request.url)
2076
+ _request = _convert_request(_request)
2077
+ _request.url = self._client.format_url(_request.url)
2183
2078
 
2079
+ _stream = False
2184
2080
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2185
- request, stream=False, **kwargs
2081
+ _request, stream=_stream, **kwargs
2186
2082
  )
2187
2083
 
2188
2084
  response = pipeline_response.http_response
@@ -2197,13 +2093,9 @@ class BlobContainersOperations:
2197
2093
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2198
2094
 
2199
2095
  if cls:
2200
- return cls(pipeline_response, deserialized, response_headers)
2201
-
2202
- return deserialized
2096
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2203
2097
 
2204
- extend_immutability_policy.metadata = {
2205
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2206
- }
2098
+ return deserialized # type: ignore
2207
2099
 
2208
2100
  @overload
2209
2101
  def lease(
@@ -2236,7 +2128,6 @@ class BlobContainersOperations:
2236
2128
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2237
2129
  Default value is "application/json".
2238
2130
  :paramtype content_type: str
2239
- :keyword callable cls: A custom type or function that will be passed the direct response
2240
2131
  :return: LeaseContainerResponse or the result of cls(response)
2241
2132
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerResponse
2242
2133
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2248,7 +2139,7 @@ class BlobContainersOperations:
2248
2139
  resource_group_name: str,
2249
2140
  account_name: str,
2250
2141
  container_name: str,
2251
- parameters: Optional[IO] = None,
2142
+ parameters: Optional[IO[bytes]] = None,
2252
2143
  *,
2253
2144
  content_type: str = "application/json",
2254
2145
  **kwargs: Any
@@ -2269,11 +2160,10 @@ class BlobContainersOperations:
2269
2160
  by a letter or number. Required.
2270
2161
  :type container_name: str
2271
2162
  :param parameters: Lease Container request body. Default value is None.
2272
- :type parameters: IO
2163
+ :type parameters: IO[bytes]
2273
2164
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2274
2165
  Default value is "application/json".
2275
2166
  :paramtype content_type: str
2276
- :keyword callable cls: A custom type or function that will be passed the direct response
2277
2167
  :return: LeaseContainerResponse or the result of cls(response)
2278
2168
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerResponse
2279
2169
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2285,7 +2175,7 @@ class BlobContainersOperations:
2285
2175
  resource_group_name: str,
2286
2176
  account_name: str,
2287
2177
  container_name: str,
2288
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2178
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2289
2179
  **kwargs: Any
2290
2180
  ) -> _models.LeaseContainerResponse:
2291
2181
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2303,18 +2193,14 @@ class BlobContainersOperations:
2303
2193
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2304
2194
  by a letter or number. Required.
2305
2195
  :type container_name: str
2306
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2307
- type. Default value is None.
2308
- :type parameters: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerRequest or IO
2309
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2310
- Default value is None.
2311
- :paramtype content_type: str
2312
- :keyword callable cls: A custom type or function that will be passed the direct response
2196
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2197
+ IO[bytes] type. Default value is None.
2198
+ :type parameters: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerRequest or IO[bytes]
2313
2199
  :return: LeaseContainerResponse or the result of cls(response)
2314
2200
  :rtype: ~azure.mgmt.storage.v2021_08_01.models.LeaseContainerResponse
2315
2201
  :raises ~azure.core.exceptions.HttpResponseError:
2316
2202
  """
2317
- error_map = {
2203
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2318
2204
  401: ClientAuthenticationError,
2319
2205
  404: ResourceNotFoundError,
2320
2206
  409: ResourceExistsError,
@@ -2325,14 +2211,14 @@ class BlobContainersOperations:
2325
2211
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2326
2212
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2327
2213
 
2328
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
2214
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
2329
2215
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2330
2216
  cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
2331
2217
 
2332
2218
  content_type = content_type or "application/json"
2333
2219
  _json = None
2334
2220
  _content = None
2335
- if isinstance(parameters, (IO, bytes)):
2221
+ if isinstance(parameters, (IOBase, bytes)):
2336
2222
  _content = parameters
2337
2223
  else:
2338
2224
  if parameters is not None:
@@ -2340,7 +2226,7 @@ class BlobContainersOperations:
2340
2226
  else:
2341
2227
  _json = None
2342
2228
 
2343
- request = build_lease_request(
2229
+ _request = build_lease_request(
2344
2230
  resource_group_name=resource_group_name,
2345
2231
  account_name=account_name,
2346
2232
  container_name=container_name,
@@ -2349,15 +2235,15 @@ class BlobContainersOperations:
2349
2235
  content_type=content_type,
2350
2236
  json=_json,
2351
2237
  content=_content,
2352
- template_url=self.lease.metadata["url"],
2353
2238
  headers=_headers,
2354
2239
  params=_params,
2355
2240
  )
2356
- request = _convert_request(request)
2357
- request.url = self._client.format_url(request.url)
2241
+ _request = _convert_request(_request)
2242
+ _request.url = self._client.format_url(_request.url)
2358
2243
 
2244
+ _stream = False
2359
2245
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2360
- request, stream=False, **kwargs
2246
+ _request, stream=_stream, **kwargs
2361
2247
  )
2362
2248
 
2363
2249
  response = pipeline_response.http_response
@@ -2369,18 +2255,14 @@ class BlobContainersOperations:
2369
2255
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2370
2256
 
2371
2257
  if cls:
2372
- return cls(pipeline_response, deserialized, {})
2373
-
2374
- return deserialized
2258
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2375
2259
 
2376
- lease.metadata = {
2377
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2378
- }
2260
+ return deserialized # type: ignore
2379
2261
 
2380
2262
  def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
2381
2263
  self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
2382
2264
  ) -> None:
2383
- error_map = {
2265
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2384
2266
  401: ClientAuthenticationError,
2385
2267
  404: ResourceNotFoundError,
2386
2268
  409: ResourceExistsError,
@@ -2391,24 +2273,24 @@ class BlobContainersOperations:
2391
2273
  _headers = kwargs.pop("headers", {}) or {}
2392
2274
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2393
2275
 
2394
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
2276
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
2395
2277
  cls: ClsType[None] = kwargs.pop("cls", None)
2396
2278
 
2397
- request = build_object_level_worm_request(
2279
+ _request = build_object_level_worm_request(
2398
2280
  resource_group_name=resource_group_name,
2399
2281
  account_name=account_name,
2400
2282
  container_name=container_name,
2401
2283
  subscription_id=self._config.subscription_id,
2402
2284
  api_version=api_version,
2403
- template_url=self._object_level_worm_initial.metadata["url"],
2404
2285
  headers=_headers,
2405
2286
  params=_params,
2406
2287
  )
2407
- request = _convert_request(request)
2408
- request.url = self._client.format_url(request.url)
2288
+ _request = _convert_request(_request)
2289
+ _request.url = self._client.format_url(_request.url)
2409
2290
 
2291
+ _stream = False
2410
2292
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2411
- request, stream=False, **kwargs
2293
+ _request, stream=_stream, **kwargs
2412
2294
  )
2413
2295
 
2414
2296
  response = pipeline_response.http_response
@@ -2418,11 +2300,7 @@ class BlobContainersOperations:
2418
2300
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2419
2301
 
2420
2302
  if cls:
2421
- return cls(pipeline_response, None, {})
2422
-
2423
- _object_level_worm_initial.metadata = {
2424
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
2425
- }
2303
+ return cls(pipeline_response, None, {}) # type: ignore
2426
2304
 
2427
2305
  @distributed_trace
2428
2306
  def begin_object_level_worm(
@@ -2445,14 +2323,6 @@ class BlobContainersOperations:
2445
2323
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2446
2324
  by a letter or number. Required.
2447
2325
  :type container_name: str
2448
- :keyword callable cls: A custom type or function that will be passed the direct response
2449
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2450
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2451
- operation to not poll, or pass in your own initialized polling object for a personal polling
2452
- strategy.
2453
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2454
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2455
- Retry-After header is present.
2456
2326
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2457
2327
  :rtype: ~azure.core.polling.LROPoller[None]
2458
2328
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2460,7 +2330,7 @@ class BlobContainersOperations:
2460
2330
  _headers = kwargs.pop("headers", {}) or {}
2461
2331
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2462
2332
 
2463
- api_version: Literal["2021-08-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-08-01"))
2333
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-08-01"))
2464
2334
  cls: ClsType[None] = kwargs.pop("cls", None)
2465
2335
  polling: Union[bool, PollingMethod] = kwargs.pop("polling", True)
2466
2336
  lro_delay = kwargs.pop("polling_interval", self._config.polling_interval)
@@ -2480,7 +2350,7 @@ class BlobContainersOperations:
2480
2350
 
2481
2351
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2482
2352
  if cls:
2483
- return cls(pipeline_response, None, {})
2353
+ return cls(pipeline_response, None, {}) # type: ignore
2484
2354
 
2485
2355
  if polling is True:
2486
2356
  polling_method: PollingMethod = cast(
@@ -2491,14 +2361,10 @@ class BlobContainersOperations:
2491
2361
  else:
2492
2362
  polling_method = polling
2493
2363
  if cont_token:
2494
- return LROPoller.from_continuation_token(
2364
+ return LROPoller[None].from_continuation_token(
2495
2365
  polling_method=polling_method,
2496
2366
  continuation_token=cont_token,
2497
2367
  client=self._client,
2498
2368
  deserialization_callback=get_long_running_output,
2499
2369
  )
2500
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2501
-
2502
- begin_object_level_worm.metadata = {
2503
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
2504
- }
2370
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore