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, overload
11
+ from typing import Any, Callable, Dict, IO, Iterable, Optional, Type, TypeVar, Union, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.exceptions import (
@@ -28,12 +29,12 @@ from azure.mgmt.core.exceptions import ARMErrorFormat
28
29
 
29
30
  from .. import models as _models
30
31
  from ..._serialization import Serializer
31
- from .._vendor import _convert_request, _format_url_section
32
+ from .._vendor import _convert_request
32
33
 
33
- if sys.version_info >= (3, 8):
34
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
34
+ if sys.version_info >= (3, 9):
35
+ from collections.abc import MutableMapping
35
36
  else:
36
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
37
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
37
38
  T = TypeVar("T")
38
39
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
39
40
 
@@ -54,7 +55,7 @@ def build_list_request(
54
55
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
55
56
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
56
57
 
57
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
58
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
58
59
  accept = _headers.pop("Accept", "application/json")
59
60
 
60
61
  # Construct URL
@@ -70,7 +71,7 @@ def build_list_request(
70
71
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
71
72
  }
72
73
 
73
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
74
+ _url: str = _url.format(**path_format_arguments) # type: ignore
74
75
 
75
76
  # Construct parameters
76
77
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -93,7 +94,7 @@ def build_create_request(
93
94
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
94
95
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
95
96
 
96
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
97
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
97
98
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
98
99
  accept = _headers.pop("Accept", "application/json")
99
100
 
@@ -111,7 +112,7 @@ def build_create_request(
111
112
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
112
113
  }
113
114
 
114
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
115
+ _url: str = _url.format(**path_format_arguments) # type: ignore
115
116
 
116
117
  # Construct parameters
117
118
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -130,7 +131,7 @@ def build_update_request(
130
131
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
131
132
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
132
133
 
133
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
134
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
134
135
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
135
136
  accept = _headers.pop("Accept", "application/json")
136
137
 
@@ -148,7 +149,7 @@ def build_update_request(
148
149
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
149
150
  }
150
151
 
151
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
152
+ _url: str = _url.format(**path_format_arguments) # type: ignore
152
153
 
153
154
  # Construct parameters
154
155
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -167,7 +168,7 @@ def build_get_request(
167
168
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
168
169
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
169
170
 
170
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
171
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
171
172
  accept = _headers.pop("Accept", "application/json")
172
173
 
173
174
  # Construct URL
@@ -184,7 +185,7 @@ def build_get_request(
184
185
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
185
186
  }
186
187
 
187
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
188
+ _url: str = _url.format(**path_format_arguments) # type: ignore
188
189
 
189
190
  # Construct parameters
190
191
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -200,7 +201,7 @@ def build_delete_request(
200
201
  ) -> HttpRequest:
201
202
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
202
203
 
203
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
204
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
204
205
  # Construct URL
205
206
  _url = kwargs.pop(
206
207
  "template_url",
@@ -215,7 +216,7 @@ def build_delete_request(
215
216
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
216
217
  }
217
218
 
218
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
219
+ _url: str = _url.format(**path_format_arguments) # type: ignore
219
220
 
220
221
  # Construct parameters
221
222
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -229,7 +230,7 @@ def build_set_legal_hold_request(
229
230
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
230
231
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
231
232
 
232
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
233
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
233
234
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
234
235
  accept = _headers.pop("Accept", "application/json")
235
236
 
@@ -247,7 +248,7 @@ def build_set_legal_hold_request(
247
248
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
248
249
  }
249
250
 
250
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
251
+ _url: str = _url.format(**path_format_arguments) # type: ignore
251
252
 
252
253
  # Construct parameters
253
254
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -266,7 +267,7 @@ def build_clear_legal_hold_request(
266
267
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
267
268
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
268
269
 
269
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
270
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
270
271
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
271
272
  accept = _headers.pop("Accept", "application/json")
272
273
 
@@ -284,7 +285,7 @@ def build_clear_legal_hold_request(
284
285
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
285
286
  }
286
287
 
287
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
288
+ _url: str = _url.format(**path_format_arguments) # type: ignore
288
289
 
289
290
  # Construct parameters
290
291
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -297,7 +298,7 @@ def build_clear_legal_hold_request(
297
298
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
298
299
 
299
300
 
300
- def build_create_or_update_immutability_policy_request(
301
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
301
302
  resource_group_name: str,
302
303
  account_name: str,
303
304
  container_name: str,
@@ -310,7 +311,7 @@ def build_create_or_update_immutability_policy_request(
310
311
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
311
312
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
312
313
 
313
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
314
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
314
315
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
315
316
  accept = _headers.pop("Accept", "application/json")
316
317
 
@@ -329,7 +330,7 @@ def build_create_or_update_immutability_policy_request(
329
330
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
330
331
  }
331
332
 
332
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
333
+ _url: str = _url.format(**path_format_arguments) # type: ignore
333
334
 
334
335
  # Construct parameters
335
336
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -357,7 +358,7 @@ def build_get_immutability_policy_request(
357
358
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
358
359
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
359
360
 
360
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
361
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
361
362
  accept = _headers.pop("Accept", "application/json")
362
363
 
363
364
  # Construct URL
@@ -375,7 +376,7 @@ def build_get_immutability_policy_request(
375
376
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
376
377
  }
377
378
 
378
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
379
+ _url: str = _url.format(**path_format_arguments) # type: ignore
379
380
 
380
381
  # Construct parameters
381
382
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -401,7 +402,7 @@ def build_delete_immutability_policy_request(
401
402
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
402
403
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
403
404
 
404
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
405
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
405
406
  accept = _headers.pop("Accept", "application/json")
406
407
 
407
408
  # Construct URL
@@ -419,7 +420,7 @@ def build_delete_immutability_policy_request(
419
420
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
420
421
  }
421
422
 
422
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
423
+ _url: str = _url.format(**path_format_arguments) # type: ignore
423
424
 
424
425
  # Construct parameters
425
426
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -443,7 +444,7 @@ def build_lock_immutability_policy_request(
443
444
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
444
445
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
445
446
 
446
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
447
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
447
448
  accept = _headers.pop("Accept", "application/json")
448
449
 
449
450
  # Construct URL
@@ -460,7 +461,7 @@ def build_lock_immutability_policy_request(
460
461
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
461
462
  }
462
463
 
463
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
464
+ _url: str = _url.format(**path_format_arguments) # type: ignore
464
465
 
465
466
  # Construct parameters
466
467
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -484,7 +485,7 @@ def build_extend_immutability_policy_request(
484
485
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
485
486
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
486
487
 
487
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
488
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
488
489
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
489
490
  accept = _headers.pop("Accept", "application/json")
490
491
 
@@ -502,7 +503,7 @@ def build_extend_immutability_policy_request(
502
503
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
503
504
  }
504
505
 
505
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
506
+ _url: str = _url.format(**path_format_arguments) # type: ignore
506
507
 
507
508
  # Construct parameters
508
509
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -522,7 +523,7 @@ def build_lease_request(
522
523
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
523
524
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
524
525
 
525
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
526
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
526
527
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
527
528
  accept = _headers.pop("Accept", "application/json")
528
529
 
@@ -540,7 +541,7 @@ def build_lease_request(
540
541
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
541
542
  }
542
543
 
543
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
544
+ _url: str = _url.format(**path_format_arguments) # type: ignore
544
545
 
545
546
  # Construct parameters
546
547
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -571,6 +572,7 @@ class BlobContainersOperations:
571
572
  self._config = input_args.pop(0) if input_args else kwargs.pop("config")
572
573
  self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
573
574
  self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
575
+ self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
574
576
 
575
577
  @distributed_trace
576
578
  def list(
@@ -601,7 +603,6 @@ class BlobContainersOperations:
601
603
  :param include: Optional, used to include the properties for soft deleted blob containers.
602
604
  "deleted" Default value is None.
603
605
  :type include: str or ~azure.mgmt.storage.v2021_01_01.models.ListContainersInclude
604
- :keyword callable cls: A custom type or function that will be passed the direct response
605
606
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
606
607
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_01_01.models.ListContainerItem]
607
608
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -609,10 +610,10 @@ class BlobContainersOperations:
609
610
  _headers = kwargs.pop("headers", {}) or {}
610
611
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
611
612
 
612
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
613
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
613
614
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
614
615
 
615
- error_map = {
616
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
616
617
  401: ClientAuthenticationError,
617
618
  404: ResourceNotFoundError,
618
619
  409: ResourceExistsError,
@@ -623,7 +624,7 @@ class BlobContainersOperations:
623
624
  def prepare_request(next_link=None):
624
625
  if not next_link:
625
626
 
626
- request = build_list_request(
627
+ _request = build_list_request(
627
628
  resource_group_name=resource_group_name,
628
629
  account_name=account_name,
629
630
  subscription_id=self._config.subscription_id,
@@ -631,12 +632,11 @@ class BlobContainersOperations:
631
632
  filter=filter,
632
633
  include=include,
633
634
  api_version=api_version,
634
- template_url=self.list.metadata["url"],
635
635
  headers=_headers,
636
636
  params=_params,
637
637
  )
638
- request = _convert_request(request)
639
- request.url = self._client.format_url(request.url)
638
+ _request = _convert_request(_request)
639
+ _request.url = self._client.format_url(_request.url)
640
640
 
641
641
  else:
642
642
  # make call to next link with the client's api-version
@@ -647,14 +647,14 @@ class BlobContainersOperations:
647
647
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
648
648
  }
649
649
  )
650
- _next_request_params["api-version"] = self._config.api_version
651
- request = HttpRequest(
650
+ _next_request_params["api-version"] = self._api_version
651
+ _request = HttpRequest(
652
652
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
653
653
  )
654
- request = _convert_request(request)
655
- request.url = self._client.format_url(request.url)
656
- request.method = "GET"
657
- return request
654
+ _request = _convert_request(_request)
655
+ _request.url = self._client.format_url(_request.url)
656
+ _request.method = "GET"
657
+ return _request
658
658
 
659
659
  def extract_data(pipeline_response):
660
660
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -664,10 +664,11 @@ class BlobContainersOperations:
664
664
  return deserialized.next_link or None, iter(list_of_elem)
665
665
 
666
666
  def get_next(next_link=None):
667
- request = prepare_request(next_link)
667
+ _request = prepare_request(next_link)
668
668
 
669
+ _stream = False
669
670
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
670
- request, stream=False, **kwargs
671
+ _request, stream=_stream, **kwargs
671
672
  )
672
673
  response = pipeline_response.http_response
673
674
 
@@ -679,10 +680,6 @@ class BlobContainersOperations:
679
680
 
680
681
  return ItemPaged(get_next, extract_data)
681
682
 
682
- list.metadata = {
683
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
684
- }
685
-
686
683
  @overload
687
684
  def create(
688
685
  self,
@@ -715,7 +712,6 @@ class BlobContainersOperations:
715
712
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
716
713
  Default value is "application/json".
717
714
  :paramtype content_type: str
718
- :keyword callable cls: A custom type or function that will be passed the direct response
719
715
  :return: BlobContainer or the result of cls(response)
720
716
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer
721
717
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -727,7 +723,7 @@ class BlobContainersOperations:
727
723
  resource_group_name: str,
728
724
  account_name: str,
729
725
  container_name: str,
730
- blob_container: IO,
726
+ blob_container: IO[bytes],
731
727
  *,
732
728
  content_type: str = "application/json",
733
729
  **kwargs: Any
@@ -749,11 +745,10 @@ class BlobContainersOperations:
749
745
  by a letter or number. Required.
750
746
  :type container_name: str
751
747
  :param blob_container: Properties of the blob container to create. Required.
752
- :type blob_container: IO
748
+ :type blob_container: IO[bytes]
753
749
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
754
750
  Default value is "application/json".
755
751
  :paramtype content_type: str
756
- :keyword callable cls: A custom type or function that will be passed the direct response
757
752
  :return: BlobContainer or the result of cls(response)
758
753
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer
759
754
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -765,7 +760,7 @@ class BlobContainersOperations:
765
760
  resource_group_name: str,
766
761
  account_name: str,
767
762
  container_name: str,
768
- blob_container: Union[_models.BlobContainer, IO],
763
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
769
764
  **kwargs: Any
770
765
  ) -> _models.BlobContainer:
771
766
  """Creates a new container under the specified account as described by request body. The container
@@ -785,17 +780,13 @@ class BlobContainersOperations:
785
780
  by a letter or number. Required.
786
781
  :type container_name: str
787
782
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
788
- type or a IO type. Required.
789
- :type blob_container: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer or IO
790
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
791
- Default value is None.
792
- :paramtype content_type: str
793
- :keyword callable cls: A custom type or function that will be passed the direct response
783
+ type or a IO[bytes] type. Required.
784
+ :type blob_container: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer or IO[bytes]
794
785
  :return: BlobContainer or the result of cls(response)
795
786
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer
796
787
  :raises ~azure.core.exceptions.HttpResponseError:
797
788
  """
798
- error_map = {
789
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
799
790
  401: ClientAuthenticationError,
800
791
  404: ResourceNotFoundError,
801
792
  409: ResourceExistsError,
@@ -806,19 +797,19 @@ class BlobContainersOperations:
806
797
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
807
798
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
808
799
 
809
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
800
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
810
801
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
811
802
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
812
803
 
813
804
  content_type = content_type or "application/json"
814
805
  _json = None
815
806
  _content = None
816
- if isinstance(blob_container, (IO, bytes)):
807
+ if isinstance(blob_container, (IOBase, bytes)):
817
808
  _content = blob_container
818
809
  else:
819
810
  _json = self._serialize.body(blob_container, "BlobContainer")
820
811
 
821
- request = build_create_request(
812
+ _request = build_create_request(
822
813
  resource_group_name=resource_group_name,
823
814
  account_name=account_name,
824
815
  container_name=container_name,
@@ -827,15 +818,15 @@ class BlobContainersOperations:
827
818
  content_type=content_type,
828
819
  json=_json,
829
820
  content=_content,
830
- template_url=self.create.metadata["url"],
831
821
  headers=_headers,
832
822
  params=_params,
833
823
  )
834
- request = _convert_request(request)
835
- request.url = self._client.format_url(request.url)
824
+ _request = _convert_request(_request)
825
+ _request.url = self._client.format_url(_request.url)
836
826
 
827
+ _stream = False
837
828
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
838
- request, stream=False, **kwargs
829
+ _request, stream=_stream, **kwargs
839
830
  )
840
831
 
841
832
  response = pipeline_response.http_response
@@ -855,10 +846,6 @@ class BlobContainersOperations:
855
846
 
856
847
  return deserialized # type: ignore
857
848
 
858
- create.metadata = {
859
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
860
- }
861
-
862
849
  @overload
863
850
  def update(
864
851
  self,
@@ -890,7 +877,6 @@ class BlobContainersOperations:
890
877
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
891
878
  Default value is "application/json".
892
879
  :paramtype content_type: str
893
- :keyword callable cls: A custom type or function that will be passed the direct response
894
880
  :return: BlobContainer or the result of cls(response)
895
881
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer
896
882
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -902,7 +888,7 @@ class BlobContainersOperations:
902
888
  resource_group_name: str,
903
889
  account_name: str,
904
890
  container_name: str,
905
- blob_container: IO,
891
+ blob_container: IO[bytes],
906
892
  *,
907
893
  content_type: str = "application/json",
908
894
  **kwargs: Any
@@ -923,11 +909,10 @@ class BlobContainersOperations:
923
909
  by a letter or number. Required.
924
910
  :type container_name: str
925
911
  :param blob_container: Properties to update for the blob container. Required.
926
- :type blob_container: IO
912
+ :type blob_container: IO[bytes]
927
913
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
928
914
  Default value is "application/json".
929
915
  :paramtype content_type: str
930
- :keyword callable cls: A custom type or function that will be passed the direct response
931
916
  :return: BlobContainer or the result of cls(response)
932
917
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer
933
918
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -939,7 +924,7 @@ class BlobContainersOperations:
939
924
  resource_group_name: str,
940
925
  account_name: str,
941
926
  container_name: str,
942
- blob_container: Union[_models.BlobContainer, IO],
927
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
943
928
  **kwargs: Any
944
929
  ) -> _models.BlobContainer:
945
930
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -958,17 +943,13 @@ class BlobContainersOperations:
958
943
  by a letter or number. Required.
959
944
  :type container_name: str
960
945
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
961
- type or a IO type. Required.
962
- :type blob_container: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer or IO
963
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
964
- Default value is None.
965
- :paramtype content_type: str
966
- :keyword callable cls: A custom type or function that will be passed the direct response
946
+ type or a IO[bytes] type. Required.
947
+ :type blob_container: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer or IO[bytes]
967
948
  :return: BlobContainer or the result of cls(response)
968
949
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer
969
950
  :raises ~azure.core.exceptions.HttpResponseError:
970
951
  """
971
- error_map = {
952
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
972
953
  401: ClientAuthenticationError,
973
954
  404: ResourceNotFoundError,
974
955
  409: ResourceExistsError,
@@ -979,19 +960,19 @@ class BlobContainersOperations:
979
960
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
980
961
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
981
962
 
982
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
963
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
983
964
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
984
965
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
985
966
 
986
967
  content_type = content_type or "application/json"
987
968
  _json = None
988
969
  _content = None
989
- if isinstance(blob_container, (IO, bytes)):
970
+ if isinstance(blob_container, (IOBase, bytes)):
990
971
  _content = blob_container
991
972
  else:
992
973
  _json = self._serialize.body(blob_container, "BlobContainer")
993
974
 
994
- request = build_update_request(
975
+ _request = build_update_request(
995
976
  resource_group_name=resource_group_name,
996
977
  account_name=account_name,
997
978
  container_name=container_name,
@@ -1000,15 +981,15 @@ class BlobContainersOperations:
1000
981
  content_type=content_type,
1001
982
  json=_json,
1002
983
  content=_content,
1003
- template_url=self.update.metadata["url"],
1004
984
  headers=_headers,
1005
985
  params=_params,
1006
986
  )
1007
- request = _convert_request(request)
1008
- request.url = self._client.format_url(request.url)
987
+ _request = _convert_request(_request)
988
+ _request.url = self._client.format_url(_request.url)
1009
989
 
990
+ _stream = False
1010
991
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1011
- request, stream=False, **kwargs
992
+ _request, stream=_stream, **kwargs
1012
993
  )
1013
994
 
1014
995
  response = pipeline_response.http_response
@@ -1020,13 +1001,9 @@ class BlobContainersOperations:
1020
1001
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1021
1002
 
1022
1003
  if cls:
1023
- return cls(pipeline_response, deserialized, {})
1024
-
1025
- return deserialized
1004
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1026
1005
 
1027
- update.metadata = {
1028
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1029
- }
1006
+ return deserialized # type: ignore
1030
1007
 
1031
1008
  @distributed_trace
1032
1009
  def get(
@@ -1046,12 +1023,11 @@ class BlobContainersOperations:
1046
1023
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1047
1024
  by a letter or number. Required.
1048
1025
  :type container_name: str
1049
- :keyword callable cls: A custom type or function that will be passed the direct response
1050
1026
  :return: BlobContainer or the result of cls(response)
1051
1027
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.BlobContainer
1052
1028
  :raises ~azure.core.exceptions.HttpResponseError:
1053
1029
  """
1054
- error_map = {
1030
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1055
1031
  401: ClientAuthenticationError,
1056
1032
  404: ResourceNotFoundError,
1057
1033
  409: ResourceExistsError,
@@ -1062,24 +1038,24 @@ class BlobContainersOperations:
1062
1038
  _headers = kwargs.pop("headers", {}) or {}
1063
1039
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1064
1040
 
1065
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
1041
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
1066
1042
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1067
1043
 
1068
- request = build_get_request(
1044
+ _request = build_get_request(
1069
1045
  resource_group_name=resource_group_name,
1070
1046
  account_name=account_name,
1071
1047
  container_name=container_name,
1072
1048
  subscription_id=self._config.subscription_id,
1073
1049
  api_version=api_version,
1074
- template_url=self.get.metadata["url"],
1075
1050
  headers=_headers,
1076
1051
  params=_params,
1077
1052
  )
1078
- request = _convert_request(request)
1079
- request.url = self._client.format_url(request.url)
1053
+ _request = _convert_request(_request)
1054
+ _request.url = self._client.format_url(_request.url)
1080
1055
 
1056
+ _stream = False
1081
1057
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1082
- request, stream=False, **kwargs
1058
+ _request, stream=_stream, **kwargs
1083
1059
  )
1084
1060
 
1085
1061
  response = pipeline_response.http_response
@@ -1091,13 +1067,9 @@ class BlobContainersOperations:
1091
1067
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1092
1068
 
1093
1069
  if cls:
1094
- return cls(pipeline_response, deserialized, {})
1095
-
1096
- return deserialized
1070
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1097
1071
 
1098
- get.metadata = {
1099
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1100
- }
1072
+ return deserialized # type: ignore
1101
1073
 
1102
1074
  @distributed_trace
1103
1075
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1117,12 +1089,11 @@ class BlobContainersOperations:
1117
1089
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1118
1090
  by a letter or number. Required.
1119
1091
  :type container_name: str
1120
- :keyword callable cls: A custom type or function that will be passed the direct response
1121
1092
  :return: None or the result of cls(response)
1122
1093
  :rtype: None
1123
1094
  :raises ~azure.core.exceptions.HttpResponseError:
1124
1095
  """
1125
- error_map = {
1096
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1126
1097
  401: ClientAuthenticationError,
1127
1098
  404: ResourceNotFoundError,
1128
1099
  409: ResourceExistsError,
@@ -1133,24 +1104,24 @@ class BlobContainersOperations:
1133
1104
  _headers = kwargs.pop("headers", {}) or {}
1134
1105
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1135
1106
 
1136
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
1107
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
1137
1108
  cls: ClsType[None] = kwargs.pop("cls", None)
1138
1109
 
1139
- request = build_delete_request(
1110
+ _request = build_delete_request(
1140
1111
  resource_group_name=resource_group_name,
1141
1112
  account_name=account_name,
1142
1113
  container_name=container_name,
1143
1114
  subscription_id=self._config.subscription_id,
1144
1115
  api_version=api_version,
1145
- template_url=self.delete.metadata["url"],
1146
1116
  headers=_headers,
1147
1117
  params=_params,
1148
1118
  )
1149
- request = _convert_request(request)
1150
- request.url = self._client.format_url(request.url)
1119
+ _request = _convert_request(_request)
1120
+ _request.url = self._client.format_url(_request.url)
1151
1121
 
1122
+ _stream = False
1152
1123
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1153
- request, stream=False, **kwargs
1124
+ _request, stream=_stream, **kwargs
1154
1125
  )
1155
1126
 
1156
1127
  response = pipeline_response.http_response
@@ -1160,11 +1131,7 @@ class BlobContainersOperations:
1160
1131
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1161
1132
 
1162
1133
  if cls:
1163
- return cls(pipeline_response, None, {})
1164
-
1165
- delete.metadata = {
1166
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1167
- }
1134
+ return cls(pipeline_response, None, {}) # type: ignore
1168
1135
 
1169
1136
  @overload
1170
1137
  def set_legal_hold(
@@ -1198,7 +1165,6 @@ class BlobContainersOperations:
1198
1165
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1199
1166
  Default value is "application/json".
1200
1167
  :paramtype content_type: str
1201
- :keyword callable cls: A custom type or function that will be passed the direct response
1202
1168
  :return: LegalHold or the result of cls(response)
1203
1169
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold
1204
1170
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1210,7 +1176,7 @@ class BlobContainersOperations:
1210
1176
  resource_group_name: str,
1211
1177
  account_name: str,
1212
1178
  container_name: str,
1213
- legal_hold: IO,
1179
+ legal_hold: IO[bytes],
1214
1180
  *,
1215
1181
  content_type: str = "application/json",
1216
1182
  **kwargs: Any
@@ -1232,11 +1198,10 @@ class BlobContainersOperations:
1232
1198
  by a letter or number. Required.
1233
1199
  :type container_name: str
1234
1200
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1235
- :type legal_hold: IO
1201
+ :type legal_hold: IO[bytes]
1236
1202
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1237
1203
  Default value is "application/json".
1238
1204
  :paramtype content_type: str
1239
- :keyword callable cls: A custom type or function that will be passed the direct response
1240
1205
  :return: LegalHold or the result of cls(response)
1241
1206
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold
1242
1207
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1248,7 +1213,7 @@ class BlobContainersOperations:
1248
1213
  resource_group_name: str,
1249
1214
  account_name: str,
1250
1215
  container_name: str,
1251
- legal_hold: Union[_models.LegalHold, IO],
1216
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1252
1217
  **kwargs: Any
1253
1218
  ) -> _models.LegalHold:
1254
1219
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1268,17 +1233,13 @@ class BlobContainersOperations:
1268
1233
  by a letter or number. Required.
1269
1234
  :type container_name: str
1270
1235
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1271
- LegalHold type or a IO type. Required.
1272
- :type legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHold or IO
1273
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1274
- Default value is None.
1275
- :paramtype content_type: str
1276
- :keyword callable cls: A custom type or function that will be passed the direct response
1236
+ LegalHold type or a IO[bytes] type. Required.
1237
+ :type legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHold or IO[bytes]
1277
1238
  :return: LegalHold or the result of cls(response)
1278
1239
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold
1279
1240
  :raises ~azure.core.exceptions.HttpResponseError:
1280
1241
  """
1281
- error_map = {
1242
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1282
1243
  401: ClientAuthenticationError,
1283
1244
  404: ResourceNotFoundError,
1284
1245
  409: ResourceExistsError,
@@ -1289,19 +1250,19 @@ class BlobContainersOperations:
1289
1250
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1290
1251
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1291
1252
 
1292
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
1253
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
1293
1254
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1294
1255
  cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
1295
1256
 
1296
1257
  content_type = content_type or "application/json"
1297
1258
  _json = None
1298
1259
  _content = None
1299
- if isinstance(legal_hold, (IO, bytes)):
1260
+ if isinstance(legal_hold, (IOBase, bytes)):
1300
1261
  _content = legal_hold
1301
1262
  else:
1302
1263
  _json = self._serialize.body(legal_hold, "LegalHold")
1303
1264
 
1304
- request = build_set_legal_hold_request(
1265
+ _request = build_set_legal_hold_request(
1305
1266
  resource_group_name=resource_group_name,
1306
1267
  account_name=account_name,
1307
1268
  container_name=container_name,
@@ -1310,15 +1271,15 @@ class BlobContainersOperations:
1310
1271
  content_type=content_type,
1311
1272
  json=_json,
1312
1273
  content=_content,
1313
- template_url=self.set_legal_hold.metadata["url"],
1314
1274
  headers=_headers,
1315
1275
  params=_params,
1316
1276
  )
1317
- request = _convert_request(request)
1318
- request.url = self._client.format_url(request.url)
1277
+ _request = _convert_request(_request)
1278
+ _request.url = self._client.format_url(_request.url)
1319
1279
 
1280
+ _stream = False
1320
1281
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1321
- request, stream=False, **kwargs
1282
+ _request, stream=_stream, **kwargs
1322
1283
  )
1323
1284
 
1324
1285
  response = pipeline_response.http_response
@@ -1330,13 +1291,9 @@ class BlobContainersOperations:
1330
1291
  deserialized = self._deserialize("LegalHold", pipeline_response)
1331
1292
 
1332
1293
  if cls:
1333
- return cls(pipeline_response, deserialized, {})
1334
-
1335
- return deserialized
1294
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1336
1295
 
1337
- set_legal_hold.metadata = {
1338
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1339
- }
1296
+ return deserialized # type: ignore
1340
1297
 
1341
1298
  @overload
1342
1299
  def clear_legal_hold(
@@ -1369,7 +1326,6 @@ class BlobContainersOperations:
1369
1326
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1370
1327
  Default value is "application/json".
1371
1328
  :paramtype content_type: str
1372
- :keyword callable cls: A custom type or function that will be passed the direct response
1373
1329
  :return: LegalHold or the result of cls(response)
1374
1330
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold
1375
1331
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1381,7 +1337,7 @@ class BlobContainersOperations:
1381
1337
  resource_group_name: str,
1382
1338
  account_name: str,
1383
1339
  container_name: str,
1384
- legal_hold: IO,
1340
+ legal_hold: IO[bytes],
1385
1341
  *,
1386
1342
  content_type: str = "application/json",
1387
1343
  **kwargs: Any
@@ -1402,11 +1358,10 @@ class BlobContainersOperations:
1402
1358
  by a letter or number. Required.
1403
1359
  :type container_name: str
1404
1360
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1405
- :type legal_hold: IO
1361
+ :type legal_hold: IO[bytes]
1406
1362
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1407
1363
  Default value is "application/json".
1408
1364
  :paramtype content_type: str
1409
- :keyword callable cls: A custom type or function that will be passed the direct response
1410
1365
  :return: LegalHold or the result of cls(response)
1411
1366
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold
1412
1367
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1418,7 +1373,7 @@ class BlobContainersOperations:
1418
1373
  resource_group_name: str,
1419
1374
  account_name: str,
1420
1375
  container_name: str,
1421
- legal_hold: Union[_models.LegalHold, IO],
1376
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1422
1377
  **kwargs: Any
1423
1378
  ) -> _models.LegalHold:
1424
1379
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1437,17 +1392,13 @@ class BlobContainersOperations:
1437
1392
  by a letter or number. Required.
1438
1393
  :type container_name: str
1439
1394
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1440
- LegalHold type or a IO type. Required.
1441
- :type legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHold or IO
1442
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1443
- Default value is None.
1444
- :paramtype content_type: str
1445
- :keyword callable cls: A custom type or function that will be passed the direct response
1395
+ LegalHold type or a IO[bytes] type. Required.
1396
+ :type legal_hold: ~azure.mgmt.storage.v2021_01_01.models.LegalHold or IO[bytes]
1446
1397
  :return: LegalHold or the result of cls(response)
1447
1398
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LegalHold
1448
1399
  :raises ~azure.core.exceptions.HttpResponseError:
1449
1400
  """
1450
- error_map = {
1401
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1451
1402
  401: ClientAuthenticationError,
1452
1403
  404: ResourceNotFoundError,
1453
1404
  409: ResourceExistsError,
@@ -1458,19 +1409,19 @@ class BlobContainersOperations:
1458
1409
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1459
1410
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1460
1411
 
1461
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
1412
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
1462
1413
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1463
1414
  cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
1464
1415
 
1465
1416
  content_type = content_type or "application/json"
1466
1417
  _json = None
1467
1418
  _content = None
1468
- if isinstance(legal_hold, (IO, bytes)):
1419
+ if isinstance(legal_hold, (IOBase, bytes)):
1469
1420
  _content = legal_hold
1470
1421
  else:
1471
1422
  _json = self._serialize.body(legal_hold, "LegalHold")
1472
1423
 
1473
- request = build_clear_legal_hold_request(
1424
+ _request = build_clear_legal_hold_request(
1474
1425
  resource_group_name=resource_group_name,
1475
1426
  account_name=account_name,
1476
1427
  container_name=container_name,
@@ -1479,15 +1430,15 @@ class BlobContainersOperations:
1479
1430
  content_type=content_type,
1480
1431
  json=_json,
1481
1432
  content=_content,
1482
- template_url=self.clear_legal_hold.metadata["url"],
1483
1433
  headers=_headers,
1484
1434
  params=_params,
1485
1435
  )
1486
- request = _convert_request(request)
1487
- request.url = self._client.format_url(request.url)
1436
+ _request = _convert_request(_request)
1437
+ _request.url = self._client.format_url(_request.url)
1488
1438
 
1439
+ _stream = False
1489
1440
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1490
- request, stream=False, **kwargs
1441
+ _request, stream=_stream, **kwargs
1491
1442
  )
1492
1443
 
1493
1444
  response = pipeline_response.http_response
@@ -1499,13 +1450,9 @@ class BlobContainersOperations:
1499
1450
  deserialized = self._deserialize("LegalHold", pipeline_response)
1500
1451
 
1501
1452
  if cls:
1502
- return cls(pipeline_response, deserialized, {})
1503
-
1504
- return deserialized
1453
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1505
1454
 
1506
- clear_legal_hold.metadata = {
1507
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1508
- }
1455
+ return deserialized # type: ignore
1509
1456
 
1510
1457
  @overload
1511
1458
  def create_or_update_immutability_policy(
@@ -1548,7 +1495,6 @@ class BlobContainersOperations:
1548
1495
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1549
1496
  Default value is "application/json".
1550
1497
  :paramtype content_type: str
1551
- :keyword callable cls: A custom type or function that will be passed the direct response
1552
1498
  :return: ImmutabilityPolicy or the result of cls(response)
1553
1499
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
1554
1500
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1562,7 +1508,7 @@ class BlobContainersOperations:
1562
1508
  container_name: str,
1563
1509
  immutability_policy_name: Union[str, _models.Enum30],
1564
1510
  if_match: Optional[str] = None,
1565
- parameters: Optional[IO] = None,
1511
+ parameters: Optional[IO[bytes]] = None,
1566
1512
  *,
1567
1513
  content_type: str = "application/json",
1568
1514
  **kwargs: Any
@@ -1591,11 +1537,10 @@ class BlobContainersOperations:
1591
1537
  :type if_match: str
1592
1538
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1593
1539
  container. Default value is None.
1594
- :type parameters: IO
1540
+ :type parameters: IO[bytes]
1595
1541
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1596
1542
  Default value is "application/json".
1597
1543
  :paramtype content_type: str
1598
- :keyword callable cls: A custom type or function that will be passed the direct response
1599
1544
  :return: ImmutabilityPolicy or the result of cls(response)
1600
1545
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
1601
1546
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1609,7 +1554,7 @@ class BlobContainersOperations:
1609
1554
  container_name: str,
1610
1555
  immutability_policy_name: Union[str, _models.Enum30],
1611
1556
  if_match: Optional[str] = None,
1612
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1557
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1613
1558
  **kwargs: Any
1614
1559
  ) -> _models.ImmutabilityPolicy:
1615
1560
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1635,17 +1580,13 @@ class BlobContainersOperations:
1635
1580
  omitted, this operation will always be applied. Default value is None.
1636
1581
  :type if_match: str
1637
1582
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1638
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1639
- :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy or IO
1640
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1641
- Default value is None.
1642
- :paramtype content_type: str
1643
- :keyword callable cls: A custom type or function that will be passed the direct response
1583
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1584
+ :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy or IO[bytes]
1644
1585
  :return: ImmutabilityPolicy or the result of cls(response)
1645
1586
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
1646
1587
  :raises ~azure.core.exceptions.HttpResponseError:
1647
1588
  """
1648
- error_map = {
1589
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1649
1590
  401: ClientAuthenticationError,
1650
1591
  404: ResourceNotFoundError,
1651
1592
  409: ResourceExistsError,
@@ -1656,14 +1597,14 @@ class BlobContainersOperations:
1656
1597
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1657
1598
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1658
1599
 
1659
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
1600
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
1660
1601
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1661
1602
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1662
1603
 
1663
1604
  content_type = content_type or "application/json"
1664
1605
  _json = None
1665
1606
  _content = None
1666
- if isinstance(parameters, (IO, bytes)):
1607
+ if isinstance(parameters, (IOBase, bytes)):
1667
1608
  _content = parameters
1668
1609
  else:
1669
1610
  if parameters is not None:
@@ -1671,7 +1612,7 @@ class BlobContainersOperations:
1671
1612
  else:
1672
1613
  _json = None
1673
1614
 
1674
- request = build_create_or_update_immutability_policy_request(
1615
+ _request = build_create_or_update_immutability_policy_request(
1675
1616
  resource_group_name=resource_group_name,
1676
1617
  account_name=account_name,
1677
1618
  container_name=container_name,
@@ -1682,15 +1623,15 @@ class BlobContainersOperations:
1682
1623
  content_type=content_type,
1683
1624
  json=_json,
1684
1625
  content=_content,
1685
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1686
1626
  headers=_headers,
1687
1627
  params=_params,
1688
1628
  )
1689
- request = _convert_request(request)
1690
- request.url = self._client.format_url(request.url)
1629
+ _request = _convert_request(_request)
1630
+ _request.url = self._client.format_url(_request.url)
1691
1631
 
1632
+ _stream = False
1692
1633
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1693
- request, stream=False, **kwargs
1634
+ _request, stream=_stream, **kwargs
1694
1635
  )
1695
1636
 
1696
1637
  response = pipeline_response.http_response
@@ -1705,13 +1646,9 @@ class BlobContainersOperations:
1705
1646
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1706
1647
 
1707
1648
  if cls:
1708
- return cls(pipeline_response, deserialized, response_headers)
1649
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1709
1650
 
1710
- return deserialized
1711
-
1712
- create_or_update_immutability_policy.metadata = {
1713
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1714
- }
1651
+ return deserialized # type: ignore
1715
1652
 
1716
1653
  @distributed_trace
1717
1654
  def get_immutability_policy(
@@ -1745,12 +1682,11 @@ class BlobContainersOperations:
1745
1682
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1746
1683
  omitted, this operation will always be applied. Default value is None.
1747
1684
  :type if_match: str
1748
- :keyword callable cls: A custom type or function that will be passed the direct response
1749
1685
  :return: ImmutabilityPolicy or the result of cls(response)
1750
1686
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
1751
1687
  :raises ~azure.core.exceptions.HttpResponseError:
1752
1688
  """
1753
- error_map = {
1689
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1754
1690
  401: ClientAuthenticationError,
1755
1691
  404: ResourceNotFoundError,
1756
1692
  409: ResourceExistsError,
@@ -1761,10 +1697,10 @@ class BlobContainersOperations:
1761
1697
  _headers = kwargs.pop("headers", {}) or {}
1762
1698
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1763
1699
 
1764
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
1700
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
1765
1701
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1766
1702
 
1767
- request = build_get_immutability_policy_request(
1703
+ _request = build_get_immutability_policy_request(
1768
1704
  resource_group_name=resource_group_name,
1769
1705
  account_name=account_name,
1770
1706
  container_name=container_name,
@@ -1772,15 +1708,15 @@ class BlobContainersOperations:
1772
1708
  subscription_id=self._config.subscription_id,
1773
1709
  if_match=if_match,
1774
1710
  api_version=api_version,
1775
- template_url=self.get_immutability_policy.metadata["url"],
1776
1711
  headers=_headers,
1777
1712
  params=_params,
1778
1713
  )
1779
- request = _convert_request(request)
1780
- request.url = self._client.format_url(request.url)
1714
+ _request = _convert_request(_request)
1715
+ _request.url = self._client.format_url(_request.url)
1781
1716
 
1717
+ _stream = False
1782
1718
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1783
- request, stream=False, **kwargs
1719
+ _request, stream=_stream, **kwargs
1784
1720
  )
1785
1721
 
1786
1722
  response = pipeline_response.http_response
@@ -1795,13 +1731,9 @@ class BlobContainersOperations:
1795
1731
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1796
1732
 
1797
1733
  if cls:
1798
- return cls(pipeline_response, deserialized, response_headers)
1734
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1799
1735
 
1800
- return deserialized
1801
-
1802
- get_immutability_policy.metadata = {
1803
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1804
- }
1736
+ return deserialized # type: ignore
1805
1737
 
1806
1738
  @distributed_trace
1807
1739
  def delete_immutability_policy(
@@ -1837,12 +1769,11 @@ class BlobContainersOperations:
1837
1769
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1838
1770
  omitted, this operation will always be applied. Required.
1839
1771
  :type if_match: str
1840
- :keyword callable cls: A custom type or function that will be passed the direct response
1841
1772
  :return: ImmutabilityPolicy or the result of cls(response)
1842
1773
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
1843
1774
  :raises ~azure.core.exceptions.HttpResponseError:
1844
1775
  """
1845
- error_map = {
1776
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1846
1777
  401: ClientAuthenticationError,
1847
1778
  404: ResourceNotFoundError,
1848
1779
  409: ResourceExistsError,
@@ -1853,10 +1784,10 @@ class BlobContainersOperations:
1853
1784
  _headers = kwargs.pop("headers", {}) or {}
1854
1785
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1855
1786
 
1856
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
1787
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
1857
1788
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1858
1789
 
1859
- request = build_delete_immutability_policy_request(
1790
+ _request = build_delete_immutability_policy_request(
1860
1791
  resource_group_name=resource_group_name,
1861
1792
  account_name=account_name,
1862
1793
  container_name=container_name,
@@ -1864,15 +1795,15 @@ class BlobContainersOperations:
1864
1795
  subscription_id=self._config.subscription_id,
1865
1796
  if_match=if_match,
1866
1797
  api_version=api_version,
1867
- template_url=self.delete_immutability_policy.metadata["url"],
1868
1798
  headers=_headers,
1869
1799
  params=_params,
1870
1800
  )
1871
- request = _convert_request(request)
1872
- request.url = self._client.format_url(request.url)
1801
+ _request = _convert_request(_request)
1802
+ _request.url = self._client.format_url(_request.url)
1873
1803
 
1804
+ _stream = False
1874
1805
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1875
- request, stream=False, **kwargs
1806
+ _request, stream=_stream, **kwargs
1876
1807
  )
1877
1808
 
1878
1809
  response = pipeline_response.http_response
@@ -1887,13 +1818,9 @@ class BlobContainersOperations:
1887
1818
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1888
1819
 
1889
1820
  if cls:
1890
- return cls(pipeline_response, deserialized, response_headers)
1821
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1891
1822
 
1892
- return deserialized
1893
-
1894
- delete_immutability_policy.metadata = {
1895
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1896
- }
1823
+ return deserialized # type: ignore
1897
1824
 
1898
1825
  @distributed_trace
1899
1826
  def lock_immutability_policy(
@@ -1918,12 +1845,11 @@ class BlobContainersOperations:
1918
1845
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1919
1846
  omitted, this operation will always be applied. Required.
1920
1847
  :type if_match: str
1921
- :keyword callable cls: A custom type or function that will be passed the direct response
1922
1848
  :return: ImmutabilityPolicy or the result of cls(response)
1923
1849
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
1924
1850
  :raises ~azure.core.exceptions.HttpResponseError:
1925
1851
  """
1926
- error_map = {
1852
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1927
1853
  401: ClientAuthenticationError,
1928
1854
  404: ResourceNotFoundError,
1929
1855
  409: ResourceExistsError,
@@ -1934,25 +1860,25 @@ class BlobContainersOperations:
1934
1860
  _headers = kwargs.pop("headers", {}) or {}
1935
1861
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1936
1862
 
1937
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
1863
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
1938
1864
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1939
1865
 
1940
- request = build_lock_immutability_policy_request(
1866
+ _request = build_lock_immutability_policy_request(
1941
1867
  resource_group_name=resource_group_name,
1942
1868
  account_name=account_name,
1943
1869
  container_name=container_name,
1944
1870
  subscription_id=self._config.subscription_id,
1945
1871
  if_match=if_match,
1946
1872
  api_version=api_version,
1947
- template_url=self.lock_immutability_policy.metadata["url"],
1948
1873
  headers=_headers,
1949
1874
  params=_params,
1950
1875
  )
1951
- request = _convert_request(request)
1952
- request.url = self._client.format_url(request.url)
1876
+ _request = _convert_request(_request)
1877
+ _request.url = self._client.format_url(_request.url)
1953
1878
 
1879
+ _stream = False
1954
1880
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1955
- request, stream=False, **kwargs
1881
+ _request, stream=_stream, **kwargs
1956
1882
  )
1957
1883
 
1958
1884
  response = pipeline_response.http_response
@@ -1967,13 +1893,9 @@ class BlobContainersOperations:
1967
1893
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1968
1894
 
1969
1895
  if cls:
1970
- return cls(pipeline_response, deserialized, response_headers)
1896
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1971
1897
 
1972
- return deserialized
1973
-
1974
- lock_immutability_policy.metadata = {
1975
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1976
- }
1898
+ return deserialized # type: ignore
1977
1899
 
1978
1900
  @overload
1979
1901
  def extend_immutability_policy(
@@ -2013,7 +1935,6 @@ class BlobContainersOperations:
2013
1935
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2014
1936
  Default value is "application/json".
2015
1937
  :paramtype content_type: str
2016
- :keyword callable cls: A custom type or function that will be passed the direct response
2017
1938
  :return: ImmutabilityPolicy or the result of cls(response)
2018
1939
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
2019
1940
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2026,7 +1947,7 @@ class BlobContainersOperations:
2026
1947
  account_name: str,
2027
1948
  container_name: str,
2028
1949
  if_match: str,
2029
- parameters: Optional[IO] = None,
1950
+ parameters: Optional[IO[bytes]] = None,
2030
1951
  *,
2031
1952
  content_type: str = "application/json",
2032
1953
  **kwargs: Any
@@ -2053,11 +1974,10 @@ class BlobContainersOperations:
2053
1974
  :type if_match: str
2054
1975
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2055
1976
  container. Default value is None.
2056
- :type parameters: IO
1977
+ :type parameters: IO[bytes]
2057
1978
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2058
1979
  Default value is "application/json".
2059
1980
  :paramtype content_type: str
2060
- :keyword callable cls: A custom type or function that will be passed the direct response
2061
1981
  :return: ImmutabilityPolicy or the result of cls(response)
2062
1982
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
2063
1983
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2070,7 +1990,7 @@ class BlobContainersOperations:
2070
1990
  account_name: str,
2071
1991
  container_name: str,
2072
1992
  if_match: str,
2073
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1993
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2074
1994
  **kwargs: Any
2075
1995
  ) -> _models.ImmutabilityPolicy:
2076
1996
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2094,17 +2014,13 @@ class BlobContainersOperations:
2094
2014
  omitted, this operation will always be applied. Required.
2095
2015
  :type if_match: str
2096
2016
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2097
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2098
- :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy or IO
2099
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2100
- Default value is None.
2101
- :paramtype content_type: str
2102
- :keyword callable cls: A custom type or function that will be passed the direct response
2017
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
2018
+ :type parameters: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy or IO[bytes]
2103
2019
  :return: ImmutabilityPolicy or the result of cls(response)
2104
2020
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.ImmutabilityPolicy
2105
2021
  :raises ~azure.core.exceptions.HttpResponseError:
2106
2022
  """
2107
- error_map = {
2023
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2108
2024
  401: ClientAuthenticationError,
2109
2025
  404: ResourceNotFoundError,
2110
2026
  409: ResourceExistsError,
@@ -2115,14 +2031,14 @@ class BlobContainersOperations:
2115
2031
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2116
2032
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2117
2033
 
2118
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
2034
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
2119
2035
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2120
2036
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
2121
2037
 
2122
2038
  content_type = content_type or "application/json"
2123
2039
  _json = None
2124
2040
  _content = None
2125
- if isinstance(parameters, (IO, bytes)):
2041
+ if isinstance(parameters, (IOBase, bytes)):
2126
2042
  _content = parameters
2127
2043
  else:
2128
2044
  if parameters is not None:
@@ -2130,7 +2046,7 @@ class BlobContainersOperations:
2130
2046
  else:
2131
2047
  _json = None
2132
2048
 
2133
- request = build_extend_immutability_policy_request(
2049
+ _request = build_extend_immutability_policy_request(
2134
2050
  resource_group_name=resource_group_name,
2135
2051
  account_name=account_name,
2136
2052
  container_name=container_name,
@@ -2140,15 +2056,15 @@ class BlobContainersOperations:
2140
2056
  content_type=content_type,
2141
2057
  json=_json,
2142
2058
  content=_content,
2143
- template_url=self.extend_immutability_policy.metadata["url"],
2144
2059
  headers=_headers,
2145
2060
  params=_params,
2146
2061
  )
2147
- request = _convert_request(request)
2148
- request.url = self._client.format_url(request.url)
2062
+ _request = _convert_request(_request)
2063
+ _request.url = self._client.format_url(_request.url)
2149
2064
 
2065
+ _stream = False
2150
2066
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2151
- request, stream=False, **kwargs
2067
+ _request, stream=_stream, **kwargs
2152
2068
  )
2153
2069
 
2154
2070
  response = pipeline_response.http_response
@@ -2163,13 +2079,9 @@ class BlobContainersOperations:
2163
2079
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2164
2080
 
2165
2081
  if cls:
2166
- return cls(pipeline_response, deserialized, response_headers)
2167
-
2168
- return deserialized
2082
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2169
2083
 
2170
- extend_immutability_policy.metadata = {
2171
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2172
- }
2084
+ return deserialized # type: ignore
2173
2085
 
2174
2086
  @overload
2175
2087
  def lease(
@@ -2202,7 +2114,6 @@ class BlobContainersOperations:
2202
2114
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2203
2115
  Default value is "application/json".
2204
2116
  :paramtype content_type: str
2205
- :keyword callable cls: A custom type or function that will be passed the direct response
2206
2117
  :return: LeaseContainerResponse or the result of cls(response)
2207
2118
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerResponse
2208
2119
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2214,7 +2125,7 @@ class BlobContainersOperations:
2214
2125
  resource_group_name: str,
2215
2126
  account_name: str,
2216
2127
  container_name: str,
2217
- parameters: Optional[IO] = None,
2128
+ parameters: Optional[IO[bytes]] = None,
2218
2129
  *,
2219
2130
  content_type: str = "application/json",
2220
2131
  **kwargs: Any
@@ -2235,11 +2146,10 @@ class BlobContainersOperations:
2235
2146
  by a letter or number. Required.
2236
2147
  :type container_name: str
2237
2148
  :param parameters: Lease Container request body. Default value is None.
2238
- :type parameters: IO
2149
+ :type parameters: IO[bytes]
2239
2150
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2240
2151
  Default value is "application/json".
2241
2152
  :paramtype content_type: str
2242
- :keyword callable cls: A custom type or function that will be passed the direct response
2243
2153
  :return: LeaseContainerResponse or the result of cls(response)
2244
2154
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerResponse
2245
2155
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2251,7 +2161,7 @@ class BlobContainersOperations:
2251
2161
  resource_group_name: str,
2252
2162
  account_name: str,
2253
2163
  container_name: str,
2254
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2164
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2255
2165
  **kwargs: Any
2256
2166
  ) -> _models.LeaseContainerResponse:
2257
2167
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2269,18 +2179,14 @@ class BlobContainersOperations:
2269
2179
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2270
2180
  by a letter or number. Required.
2271
2181
  :type container_name: str
2272
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2273
- type. Default value is None.
2274
- :type parameters: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerRequest or IO
2275
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2276
- Default value is None.
2277
- :paramtype content_type: str
2278
- :keyword callable cls: A custom type or function that will be passed the direct response
2182
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2183
+ IO[bytes] type. Default value is None.
2184
+ :type parameters: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerRequest or IO[bytes]
2279
2185
  :return: LeaseContainerResponse or the result of cls(response)
2280
2186
  :rtype: ~azure.mgmt.storage.v2021_01_01.models.LeaseContainerResponse
2281
2187
  :raises ~azure.core.exceptions.HttpResponseError:
2282
2188
  """
2283
- error_map = {
2189
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2284
2190
  401: ClientAuthenticationError,
2285
2191
  404: ResourceNotFoundError,
2286
2192
  409: ResourceExistsError,
@@ -2291,14 +2197,14 @@ class BlobContainersOperations:
2291
2197
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2292
2198
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2293
2199
 
2294
- api_version: Literal["2021-01-01"] = kwargs.pop("api_version", _params.pop("api-version", "2021-01-01"))
2200
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-01-01"))
2295
2201
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2296
2202
  cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
2297
2203
 
2298
2204
  content_type = content_type or "application/json"
2299
2205
  _json = None
2300
2206
  _content = None
2301
- if isinstance(parameters, (IO, bytes)):
2207
+ if isinstance(parameters, (IOBase, bytes)):
2302
2208
  _content = parameters
2303
2209
  else:
2304
2210
  if parameters is not None:
@@ -2306,7 +2212,7 @@ class BlobContainersOperations:
2306
2212
  else:
2307
2213
  _json = None
2308
2214
 
2309
- request = build_lease_request(
2215
+ _request = build_lease_request(
2310
2216
  resource_group_name=resource_group_name,
2311
2217
  account_name=account_name,
2312
2218
  container_name=container_name,
@@ -2315,15 +2221,15 @@ class BlobContainersOperations:
2315
2221
  content_type=content_type,
2316
2222
  json=_json,
2317
2223
  content=_content,
2318
- template_url=self.lease.metadata["url"],
2319
2224
  headers=_headers,
2320
2225
  params=_params,
2321
2226
  )
2322
- request = _convert_request(request)
2323
- request.url = self._client.format_url(request.url)
2227
+ _request = _convert_request(_request)
2228
+ _request.url = self._client.format_url(_request.url)
2324
2229
 
2230
+ _stream = False
2325
2231
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2326
- request, stream=False, **kwargs
2232
+ _request, stream=_stream, **kwargs
2327
2233
  )
2328
2234
 
2329
2235
  response = pipeline_response.http_response
@@ -2335,10 +2241,6 @@ class BlobContainersOperations:
2335
2241
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2336
2242
 
2337
2243
  if cls:
2338
- return cls(pipeline_response, deserialized, {})
2339
-
2340
- return deserialized
2244
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2341
2245
 
2342
- lease.metadata = {
2343
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2344
- }
2246
+ return deserialized # type: ignore