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, Optional, TypeVar, Union, overload
11
+ from typing import Any, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
11
12
 
12
13
  from azure.core.exceptions import (
13
14
  ClientAuthenticationError,
@@ -26,12 +27,12 @@ from azure.mgmt.core.exceptions import ARMErrorFormat
26
27
 
27
28
  from .. import models as _models
28
29
  from ..._serialization import Serializer
29
- from .._vendor import _convert_request, _format_url_section
30
+ from .._vendor import _convert_request
30
31
 
31
- if sys.version_info >= (3, 8):
32
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
32
+ if sys.version_info >= (3, 9):
33
+ from collections.abc import MutableMapping
33
34
  else:
34
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
35
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
35
36
  T = TypeVar("T")
36
37
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
37
38
 
@@ -43,7 +44,7 @@ def build_list_request(resource_group_name: str, account_name: str, subscription
43
44
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
44
45
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
45
46
 
46
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
47
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
47
48
  accept = _headers.pop("Accept", "application/json")
48
49
 
49
50
  # Construct URL
@@ -59,7 +60,7 @@ def build_list_request(resource_group_name: str, account_name: str, subscription
59
60
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
60
61
  }
61
62
 
62
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
63
+ _url: str = _url.format(**path_format_arguments) # type: ignore
63
64
 
64
65
  # Construct parameters
65
66
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -76,7 +77,7 @@ def build_create_request(
76
77
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
77
78
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
78
79
 
79
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
80
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
80
81
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
81
82
  accept = _headers.pop("Accept", "application/json")
82
83
 
@@ -94,7 +95,7 @@ def build_create_request(
94
95
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
95
96
  }
96
97
 
97
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
98
+ _url: str = _url.format(**path_format_arguments) # type: ignore
98
99
 
99
100
  # Construct parameters
100
101
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -113,7 +114,7 @@ def build_update_request(
113
114
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
114
115
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
115
116
 
116
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
117
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
117
118
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
118
119
  accept = _headers.pop("Accept", "application/json")
119
120
 
@@ -131,7 +132,7 @@ def build_update_request(
131
132
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
132
133
  }
133
134
 
134
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
135
+ _url: str = _url.format(**path_format_arguments) # type: ignore
135
136
 
136
137
  # Construct parameters
137
138
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -150,7 +151,7 @@ def build_get_request(
150
151
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
151
152
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
152
153
 
153
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
154
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
154
155
  accept = _headers.pop("Accept", "application/json")
155
156
 
156
157
  # Construct URL
@@ -167,7 +168,7 @@ def build_get_request(
167
168
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
168
169
  }
169
170
 
170
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
171
+ _url: str = _url.format(**path_format_arguments) # type: ignore
171
172
 
172
173
  # Construct parameters
173
174
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -183,7 +184,7 @@ def build_delete_request(
183
184
  ) -> HttpRequest:
184
185
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
185
186
 
186
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
187
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
187
188
  # Construct URL
188
189
  _url = kwargs.pop(
189
190
  "template_url",
@@ -198,7 +199,7 @@ def build_delete_request(
198
199
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
199
200
  }
200
201
 
201
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
202
+ _url: str = _url.format(**path_format_arguments) # type: ignore
202
203
 
203
204
  # Construct parameters
204
205
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -212,7 +213,7 @@ def build_set_legal_hold_request(
212
213
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
213
214
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
214
215
 
215
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
216
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
216
217
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
217
218
  accept = _headers.pop("Accept", "application/json")
218
219
 
@@ -230,7 +231,7 @@ def build_set_legal_hold_request(
230
231
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
231
232
  }
232
233
 
233
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
234
+ _url: str = _url.format(**path_format_arguments) # type: ignore
234
235
 
235
236
  # Construct parameters
236
237
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -249,7 +250,7 @@ def build_clear_legal_hold_request(
249
250
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
250
251
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
251
252
 
252
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
253
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
253
254
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
254
255
  accept = _headers.pop("Accept", "application/json")
255
256
 
@@ -267,7 +268,7 @@ def build_clear_legal_hold_request(
267
268
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
268
269
  }
269
270
 
270
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
271
+ _url: str = _url.format(**path_format_arguments) # type: ignore
271
272
 
272
273
  # Construct parameters
273
274
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -280,7 +281,7 @@ def build_clear_legal_hold_request(
280
281
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
281
282
 
282
283
 
283
- def build_create_or_update_immutability_policy_request(
284
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
284
285
  resource_group_name: str,
285
286
  account_name: str,
286
287
  container_name: str,
@@ -293,7 +294,7 @@ def build_create_or_update_immutability_policy_request(
293
294
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
294
295
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
295
296
 
296
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
297
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
297
298
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
298
299
  accept = _headers.pop("Accept", "application/json")
299
300
 
@@ -312,7 +313,7 @@ def build_create_or_update_immutability_policy_request(
312
313
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
313
314
  }
314
315
 
315
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
316
+ _url: str = _url.format(**path_format_arguments) # type: ignore
316
317
 
317
318
  # Construct parameters
318
319
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -340,7 +341,7 @@ def build_get_immutability_policy_request(
340
341
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
341
342
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
342
343
 
343
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
344
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
344
345
  accept = _headers.pop("Accept", "application/json")
345
346
 
346
347
  # Construct URL
@@ -358,7 +359,7 @@ def build_get_immutability_policy_request(
358
359
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
359
360
  }
360
361
 
361
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
362
+ _url: str = _url.format(**path_format_arguments) # type: ignore
362
363
 
363
364
  # Construct parameters
364
365
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -384,7 +385,7 @@ def build_delete_immutability_policy_request(
384
385
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
385
386
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
386
387
 
387
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
388
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
388
389
  accept = _headers.pop("Accept", "application/json")
389
390
 
390
391
  # Construct URL
@@ -402,7 +403,7 @@ def build_delete_immutability_policy_request(
402
403
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
403
404
  }
404
405
 
405
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
406
+ _url: str = _url.format(**path_format_arguments) # type: ignore
406
407
 
407
408
  # Construct parameters
408
409
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -426,7 +427,7 @@ def build_lock_immutability_policy_request(
426
427
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
427
428
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
428
429
 
429
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
430
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
430
431
  accept = _headers.pop("Accept", "application/json")
431
432
 
432
433
  # Construct URL
@@ -443,7 +444,7 @@ def build_lock_immutability_policy_request(
443
444
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
444
445
  }
445
446
 
446
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
447
+ _url: str = _url.format(**path_format_arguments) # type: ignore
447
448
 
448
449
  # Construct parameters
449
450
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -467,7 +468,7 @@ def build_extend_immutability_policy_request(
467
468
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
468
469
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
469
470
 
470
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
471
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
471
472
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
472
473
  accept = _headers.pop("Accept", "application/json")
473
474
 
@@ -485,7 +486,7 @@ def build_extend_immutability_policy_request(
485
486
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
486
487
  }
487
488
 
488
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
489
+ _url: str = _url.format(**path_format_arguments) # type: ignore
489
490
 
490
491
  # Construct parameters
491
492
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -505,7 +506,7 @@ def build_lease_request(
505
506
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
506
507
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
507
508
 
508
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
509
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
509
510
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
510
511
  accept = _headers.pop("Accept", "application/json")
511
512
 
@@ -523,7 +524,7 @@ def build_lease_request(
523
524
  "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str", min_length=1),
524
525
  }
525
526
 
526
- _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
527
+ _url: str = _url.format(**path_format_arguments) # type: ignore
527
528
 
528
529
  # Construct parameters
529
530
  _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str")
@@ -554,6 +555,7 @@ class BlobContainersOperations:
554
555
  self._config = input_args.pop(0) if input_args else kwargs.pop("config")
555
556
  self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
556
557
  self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
558
+ self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
557
559
 
558
560
  @distributed_trace
559
561
  def list(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _models.ListContainerItems:
@@ -567,12 +569,11 @@ class BlobContainersOperations:
567
569
  Storage account names must be between 3 and 24 characters in length and use numbers and
568
570
  lower-case letters only. Required.
569
571
  :type account_name: str
570
- :keyword callable cls: A custom type or function that will be passed the direct response
571
572
  :return: ListContainerItems or the result of cls(response)
572
573
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ListContainerItems
573
574
  :raises ~azure.core.exceptions.HttpResponseError:
574
575
  """
575
- error_map = {
576
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
576
577
  401: ClientAuthenticationError,
577
578
  404: ResourceNotFoundError,
578
579
  409: ResourceExistsError,
@@ -583,23 +584,23 @@ class BlobContainersOperations:
583
584
  _headers = kwargs.pop("headers", {}) or {}
584
585
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
585
586
 
586
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
587
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
587
588
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
588
589
 
589
- request = build_list_request(
590
+ _request = build_list_request(
590
591
  resource_group_name=resource_group_name,
591
592
  account_name=account_name,
592
593
  subscription_id=self._config.subscription_id,
593
594
  api_version=api_version,
594
- template_url=self.list.metadata["url"],
595
595
  headers=_headers,
596
596
  params=_params,
597
597
  )
598
- request = _convert_request(request)
599
- request.url = self._client.format_url(request.url)
598
+ _request = _convert_request(_request)
599
+ _request.url = self._client.format_url(_request.url)
600
600
 
601
+ _stream = False
601
602
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
602
- request, stream=False, **kwargs
603
+ _request, stream=_stream, **kwargs
603
604
  )
604
605
 
605
606
  response = pipeline_response.http_response
@@ -611,13 +612,9 @@ class BlobContainersOperations:
611
612
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
612
613
 
613
614
  if cls:
614
- return cls(pipeline_response, deserialized, {})
615
-
616
- return deserialized
615
+ return cls(pipeline_response, deserialized, {}) # type: ignore
617
616
 
618
- list.metadata = {
619
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
620
- }
617
+ return deserialized # type: ignore
621
618
 
622
619
  @overload
623
620
  def create(
@@ -651,7 +648,6 @@ class BlobContainersOperations:
651
648
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
652
649
  Default value is "application/json".
653
650
  :paramtype content_type: str
654
- :keyword callable cls: A custom type or function that will be passed the direct response
655
651
  :return: BlobContainer or the result of cls(response)
656
652
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
657
653
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -663,7 +659,7 @@ class BlobContainersOperations:
663
659
  resource_group_name: str,
664
660
  account_name: str,
665
661
  container_name: str,
666
- blob_container: IO,
662
+ blob_container: IO[bytes],
667
663
  *,
668
664
  content_type: str = "application/json",
669
665
  **kwargs: Any
@@ -685,11 +681,10 @@ class BlobContainersOperations:
685
681
  by a letter or number. Required.
686
682
  :type container_name: str
687
683
  :param blob_container: Properties of the blob container to create. Required.
688
- :type blob_container: IO
684
+ :type blob_container: IO[bytes]
689
685
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
690
686
  Default value is "application/json".
691
687
  :paramtype content_type: str
692
- :keyword callable cls: A custom type or function that will be passed the direct response
693
688
  :return: BlobContainer or the result of cls(response)
694
689
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
695
690
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -701,7 +696,7 @@ class BlobContainersOperations:
701
696
  resource_group_name: str,
702
697
  account_name: str,
703
698
  container_name: str,
704
- blob_container: Union[_models.BlobContainer, IO],
699
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
705
700
  **kwargs: Any
706
701
  ) -> _models.BlobContainer:
707
702
  """Creates a new container under the specified account as described by request body. The container
@@ -721,17 +716,13 @@ class BlobContainersOperations:
721
716
  by a letter or number. Required.
722
717
  :type container_name: str
723
718
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
724
- type or a IO type. Required.
725
- :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
726
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
727
- Default value is None.
728
- :paramtype content_type: str
729
- :keyword callable cls: A custom type or function that will be passed the direct response
719
+ type or a IO[bytes] type. Required.
720
+ :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
730
721
  :return: BlobContainer or the result of cls(response)
731
722
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
732
723
  :raises ~azure.core.exceptions.HttpResponseError:
733
724
  """
734
- error_map = {
725
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
735
726
  401: ClientAuthenticationError,
736
727
  404: ResourceNotFoundError,
737
728
  409: ResourceExistsError,
@@ -742,19 +733,19 @@ class BlobContainersOperations:
742
733
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
743
734
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
744
735
 
745
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
736
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
746
737
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
747
738
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
748
739
 
749
740
  content_type = content_type or "application/json"
750
741
  _json = None
751
742
  _content = None
752
- if isinstance(blob_container, (IO, bytes)):
743
+ if isinstance(blob_container, (IOBase, bytes)):
753
744
  _content = blob_container
754
745
  else:
755
746
  _json = self._serialize.body(blob_container, "BlobContainer")
756
747
 
757
- request = build_create_request(
748
+ _request = build_create_request(
758
749
  resource_group_name=resource_group_name,
759
750
  account_name=account_name,
760
751
  container_name=container_name,
@@ -763,15 +754,15 @@ class BlobContainersOperations:
763
754
  content_type=content_type,
764
755
  json=_json,
765
756
  content=_content,
766
- template_url=self.create.metadata["url"],
767
757
  headers=_headers,
768
758
  params=_params,
769
759
  )
770
- request = _convert_request(request)
771
- request.url = self._client.format_url(request.url)
760
+ _request = _convert_request(_request)
761
+ _request.url = self._client.format_url(_request.url)
772
762
 
763
+ _stream = False
773
764
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
774
- request, stream=False, **kwargs
765
+ _request, stream=_stream, **kwargs
775
766
  )
776
767
 
777
768
  response = pipeline_response.http_response
@@ -791,10 +782,6 @@ class BlobContainersOperations:
791
782
 
792
783
  return deserialized # type: ignore
793
784
 
794
- create.metadata = {
795
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
796
- }
797
-
798
785
  @overload
799
786
  def update(
800
787
  self,
@@ -826,7 +813,6 @@ class BlobContainersOperations:
826
813
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
827
814
  Default value is "application/json".
828
815
  :paramtype content_type: str
829
- :keyword callable cls: A custom type or function that will be passed the direct response
830
816
  :return: BlobContainer or the result of cls(response)
831
817
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
832
818
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -838,7 +824,7 @@ class BlobContainersOperations:
838
824
  resource_group_name: str,
839
825
  account_name: str,
840
826
  container_name: str,
841
- blob_container: IO,
827
+ blob_container: IO[bytes],
842
828
  *,
843
829
  content_type: str = "application/json",
844
830
  **kwargs: Any
@@ -859,11 +845,10 @@ class BlobContainersOperations:
859
845
  by a letter or number. Required.
860
846
  :type container_name: str
861
847
  :param blob_container: Properties to update for the blob container. Required.
862
- :type blob_container: IO
848
+ :type blob_container: IO[bytes]
863
849
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
864
850
  Default value is "application/json".
865
851
  :paramtype content_type: str
866
- :keyword callable cls: A custom type or function that will be passed the direct response
867
852
  :return: BlobContainer or the result of cls(response)
868
853
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
869
854
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -875,7 +860,7 @@ class BlobContainersOperations:
875
860
  resource_group_name: str,
876
861
  account_name: str,
877
862
  container_name: str,
878
- blob_container: Union[_models.BlobContainer, IO],
863
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
879
864
  **kwargs: Any
880
865
  ) -> _models.BlobContainer:
881
866
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -894,17 +879,13 @@ class BlobContainersOperations:
894
879
  by a letter or number. Required.
895
880
  :type container_name: str
896
881
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
897
- type or a IO type. Required.
898
- :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
899
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
900
- Default value is None.
901
- :paramtype content_type: str
902
- :keyword callable cls: A custom type or function that will be passed the direct response
882
+ type or a IO[bytes] type. Required.
883
+ :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
903
884
  :return: BlobContainer or the result of cls(response)
904
885
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
905
886
  :raises ~azure.core.exceptions.HttpResponseError:
906
887
  """
907
- error_map = {
888
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
908
889
  401: ClientAuthenticationError,
909
890
  404: ResourceNotFoundError,
910
891
  409: ResourceExistsError,
@@ -915,19 +896,19 @@ class BlobContainersOperations:
915
896
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
916
897
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
917
898
 
918
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
899
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
919
900
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
920
901
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
921
902
 
922
903
  content_type = content_type or "application/json"
923
904
  _json = None
924
905
  _content = None
925
- if isinstance(blob_container, (IO, bytes)):
906
+ if isinstance(blob_container, (IOBase, bytes)):
926
907
  _content = blob_container
927
908
  else:
928
909
  _json = self._serialize.body(blob_container, "BlobContainer")
929
910
 
930
- request = build_update_request(
911
+ _request = build_update_request(
931
912
  resource_group_name=resource_group_name,
932
913
  account_name=account_name,
933
914
  container_name=container_name,
@@ -936,15 +917,15 @@ class BlobContainersOperations:
936
917
  content_type=content_type,
937
918
  json=_json,
938
919
  content=_content,
939
- template_url=self.update.metadata["url"],
940
920
  headers=_headers,
941
921
  params=_params,
942
922
  )
943
- request = _convert_request(request)
944
- request.url = self._client.format_url(request.url)
923
+ _request = _convert_request(_request)
924
+ _request.url = self._client.format_url(_request.url)
945
925
 
926
+ _stream = False
946
927
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
947
- request, stream=False, **kwargs
928
+ _request, stream=_stream, **kwargs
948
929
  )
949
930
 
950
931
  response = pipeline_response.http_response
@@ -956,13 +937,9 @@ class BlobContainersOperations:
956
937
  deserialized = self._deserialize("BlobContainer", pipeline_response)
957
938
 
958
939
  if cls:
959
- return cls(pipeline_response, deserialized, {})
960
-
961
- return deserialized
940
+ return cls(pipeline_response, deserialized, {}) # type: ignore
962
941
 
963
- update.metadata = {
964
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
965
- }
942
+ return deserialized # type: ignore
966
943
 
967
944
  @distributed_trace
968
945
  def get(
@@ -982,12 +959,11 @@ class BlobContainersOperations:
982
959
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
983
960
  by a letter or number. Required.
984
961
  :type container_name: str
985
- :keyword callable cls: A custom type or function that will be passed the direct response
986
962
  :return: BlobContainer or the result of cls(response)
987
963
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
988
964
  :raises ~azure.core.exceptions.HttpResponseError:
989
965
  """
990
- error_map = {
966
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
991
967
  401: ClientAuthenticationError,
992
968
  404: ResourceNotFoundError,
993
969
  409: ResourceExistsError,
@@ -998,24 +974,24 @@ class BlobContainersOperations:
998
974
  _headers = kwargs.pop("headers", {}) or {}
999
975
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1000
976
 
1001
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
977
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1002
978
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1003
979
 
1004
- request = build_get_request(
980
+ _request = build_get_request(
1005
981
  resource_group_name=resource_group_name,
1006
982
  account_name=account_name,
1007
983
  container_name=container_name,
1008
984
  subscription_id=self._config.subscription_id,
1009
985
  api_version=api_version,
1010
- template_url=self.get.metadata["url"],
1011
986
  headers=_headers,
1012
987
  params=_params,
1013
988
  )
1014
- request = _convert_request(request)
1015
- request.url = self._client.format_url(request.url)
989
+ _request = _convert_request(_request)
990
+ _request.url = self._client.format_url(_request.url)
1016
991
 
992
+ _stream = False
1017
993
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1018
- request, stream=False, **kwargs
994
+ _request, stream=_stream, **kwargs
1019
995
  )
1020
996
 
1021
997
  response = pipeline_response.http_response
@@ -1027,13 +1003,9 @@ class BlobContainersOperations:
1027
1003
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1028
1004
 
1029
1005
  if cls:
1030
- return cls(pipeline_response, deserialized, {})
1031
-
1032
- return deserialized
1006
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1033
1007
 
1034
- get.metadata = {
1035
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1036
- }
1008
+ return deserialized # type: ignore
1037
1009
 
1038
1010
  @distributed_trace
1039
1011
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1053,12 +1025,11 @@ class BlobContainersOperations:
1053
1025
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1054
1026
  by a letter or number. Required.
1055
1027
  :type container_name: str
1056
- :keyword callable cls: A custom type or function that will be passed the direct response
1057
1028
  :return: None or the result of cls(response)
1058
1029
  :rtype: None
1059
1030
  :raises ~azure.core.exceptions.HttpResponseError:
1060
1031
  """
1061
- error_map = {
1032
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1062
1033
  401: ClientAuthenticationError,
1063
1034
  404: ResourceNotFoundError,
1064
1035
  409: ResourceExistsError,
@@ -1069,24 +1040,24 @@ class BlobContainersOperations:
1069
1040
  _headers = kwargs.pop("headers", {}) or {}
1070
1041
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1071
1042
 
1072
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1043
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1073
1044
  cls: ClsType[None] = kwargs.pop("cls", None)
1074
1045
 
1075
- request = build_delete_request(
1046
+ _request = build_delete_request(
1076
1047
  resource_group_name=resource_group_name,
1077
1048
  account_name=account_name,
1078
1049
  container_name=container_name,
1079
1050
  subscription_id=self._config.subscription_id,
1080
1051
  api_version=api_version,
1081
- template_url=self.delete.metadata["url"],
1082
1052
  headers=_headers,
1083
1053
  params=_params,
1084
1054
  )
1085
- request = _convert_request(request)
1086
- request.url = self._client.format_url(request.url)
1055
+ _request = _convert_request(_request)
1056
+ _request.url = self._client.format_url(_request.url)
1087
1057
 
1058
+ _stream = False
1088
1059
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1089
- request, stream=False, **kwargs
1060
+ _request, stream=_stream, **kwargs
1090
1061
  )
1091
1062
 
1092
1063
  response = pipeline_response.http_response
@@ -1096,11 +1067,7 @@ class BlobContainersOperations:
1096
1067
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1097
1068
 
1098
1069
  if cls:
1099
- return cls(pipeline_response, None, {})
1100
-
1101
- delete.metadata = {
1102
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1103
- }
1070
+ return cls(pipeline_response, None, {}) # type: ignore
1104
1071
 
1105
1072
  @overload
1106
1073
  def set_legal_hold(
@@ -1134,7 +1101,6 @@ class BlobContainersOperations:
1134
1101
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1135
1102
  Default value is "application/json".
1136
1103
  :paramtype content_type: str
1137
- :keyword callable cls: A custom type or function that will be passed the direct response
1138
1104
  :return: LegalHold or the result of cls(response)
1139
1105
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1140
1106
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1146,7 +1112,7 @@ class BlobContainersOperations:
1146
1112
  resource_group_name: str,
1147
1113
  account_name: str,
1148
1114
  container_name: str,
1149
- legal_hold: IO,
1115
+ legal_hold: IO[bytes],
1150
1116
  *,
1151
1117
  content_type: str = "application/json",
1152
1118
  **kwargs: Any
@@ -1168,11 +1134,10 @@ class BlobContainersOperations:
1168
1134
  by a letter or number. Required.
1169
1135
  :type container_name: str
1170
1136
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1171
- :type legal_hold: IO
1137
+ :type legal_hold: IO[bytes]
1172
1138
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1173
1139
  Default value is "application/json".
1174
1140
  :paramtype content_type: str
1175
- :keyword callable cls: A custom type or function that will be passed the direct response
1176
1141
  :return: LegalHold or the result of cls(response)
1177
1142
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1178
1143
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1184,7 +1149,7 @@ class BlobContainersOperations:
1184
1149
  resource_group_name: str,
1185
1150
  account_name: str,
1186
1151
  container_name: str,
1187
- legal_hold: Union[_models.LegalHold, IO],
1152
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1188
1153
  **kwargs: Any
1189
1154
  ) -> _models.LegalHold:
1190
1155
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1204,17 +1169,13 @@ class BlobContainersOperations:
1204
1169
  by a letter or number. Required.
1205
1170
  :type container_name: str
1206
1171
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1207
- LegalHold type or a IO type. Required.
1208
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
1209
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1210
- Default value is None.
1211
- :paramtype content_type: str
1212
- :keyword callable cls: A custom type or function that will be passed the direct response
1172
+ LegalHold type or a IO[bytes] type. Required.
1173
+ :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
1213
1174
  :return: LegalHold or the result of cls(response)
1214
1175
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1215
1176
  :raises ~azure.core.exceptions.HttpResponseError:
1216
1177
  """
1217
- error_map = {
1178
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1218
1179
  401: ClientAuthenticationError,
1219
1180
  404: ResourceNotFoundError,
1220
1181
  409: ResourceExistsError,
@@ -1225,19 +1186,19 @@ class BlobContainersOperations:
1225
1186
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1226
1187
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1227
1188
 
1228
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1189
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1229
1190
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1230
1191
  cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
1231
1192
 
1232
1193
  content_type = content_type or "application/json"
1233
1194
  _json = None
1234
1195
  _content = None
1235
- if isinstance(legal_hold, (IO, bytes)):
1196
+ if isinstance(legal_hold, (IOBase, bytes)):
1236
1197
  _content = legal_hold
1237
1198
  else:
1238
1199
  _json = self._serialize.body(legal_hold, "LegalHold")
1239
1200
 
1240
- request = build_set_legal_hold_request(
1201
+ _request = build_set_legal_hold_request(
1241
1202
  resource_group_name=resource_group_name,
1242
1203
  account_name=account_name,
1243
1204
  container_name=container_name,
@@ -1246,15 +1207,15 @@ class BlobContainersOperations:
1246
1207
  content_type=content_type,
1247
1208
  json=_json,
1248
1209
  content=_content,
1249
- template_url=self.set_legal_hold.metadata["url"],
1250
1210
  headers=_headers,
1251
1211
  params=_params,
1252
1212
  )
1253
- request = _convert_request(request)
1254
- request.url = self._client.format_url(request.url)
1213
+ _request = _convert_request(_request)
1214
+ _request.url = self._client.format_url(_request.url)
1255
1215
 
1216
+ _stream = False
1256
1217
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1257
- request, stream=False, **kwargs
1218
+ _request, stream=_stream, **kwargs
1258
1219
  )
1259
1220
 
1260
1221
  response = pipeline_response.http_response
@@ -1266,13 +1227,9 @@ class BlobContainersOperations:
1266
1227
  deserialized = self._deserialize("LegalHold", pipeline_response)
1267
1228
 
1268
1229
  if cls:
1269
- return cls(pipeline_response, deserialized, {})
1270
-
1271
- return deserialized
1230
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1272
1231
 
1273
- set_legal_hold.metadata = {
1274
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1275
- }
1232
+ return deserialized # type: ignore
1276
1233
 
1277
1234
  @overload
1278
1235
  def clear_legal_hold(
@@ -1305,7 +1262,6 @@ class BlobContainersOperations:
1305
1262
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1306
1263
  Default value is "application/json".
1307
1264
  :paramtype content_type: str
1308
- :keyword callable cls: A custom type or function that will be passed the direct response
1309
1265
  :return: LegalHold or the result of cls(response)
1310
1266
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1311
1267
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1317,7 +1273,7 @@ class BlobContainersOperations:
1317
1273
  resource_group_name: str,
1318
1274
  account_name: str,
1319
1275
  container_name: str,
1320
- legal_hold: IO,
1276
+ legal_hold: IO[bytes],
1321
1277
  *,
1322
1278
  content_type: str = "application/json",
1323
1279
  **kwargs: Any
@@ -1338,11 +1294,10 @@ class BlobContainersOperations:
1338
1294
  by a letter or number. Required.
1339
1295
  :type container_name: str
1340
1296
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1341
- :type legal_hold: IO
1297
+ :type legal_hold: IO[bytes]
1342
1298
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1343
1299
  Default value is "application/json".
1344
1300
  :paramtype content_type: str
1345
- :keyword callable cls: A custom type or function that will be passed the direct response
1346
1301
  :return: LegalHold or the result of cls(response)
1347
1302
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1348
1303
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1354,7 +1309,7 @@ class BlobContainersOperations:
1354
1309
  resource_group_name: str,
1355
1310
  account_name: str,
1356
1311
  container_name: str,
1357
- legal_hold: Union[_models.LegalHold, IO],
1312
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1358
1313
  **kwargs: Any
1359
1314
  ) -> _models.LegalHold:
1360
1315
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1373,17 +1328,13 @@ class BlobContainersOperations:
1373
1328
  by a letter or number. Required.
1374
1329
  :type container_name: str
1375
1330
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1376
- LegalHold type or a IO type. Required.
1377
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
1378
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1379
- Default value is None.
1380
- :paramtype content_type: str
1381
- :keyword callable cls: A custom type or function that will be passed the direct response
1331
+ LegalHold type or a IO[bytes] type. Required.
1332
+ :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
1382
1333
  :return: LegalHold or the result of cls(response)
1383
1334
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1384
1335
  :raises ~azure.core.exceptions.HttpResponseError:
1385
1336
  """
1386
- error_map = {
1337
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1387
1338
  401: ClientAuthenticationError,
1388
1339
  404: ResourceNotFoundError,
1389
1340
  409: ResourceExistsError,
@@ -1394,19 +1345,19 @@ class BlobContainersOperations:
1394
1345
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1395
1346
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1396
1347
 
1397
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1348
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1398
1349
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1399
1350
  cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
1400
1351
 
1401
1352
  content_type = content_type or "application/json"
1402
1353
  _json = None
1403
1354
  _content = None
1404
- if isinstance(legal_hold, (IO, bytes)):
1355
+ if isinstance(legal_hold, (IOBase, bytes)):
1405
1356
  _content = legal_hold
1406
1357
  else:
1407
1358
  _json = self._serialize.body(legal_hold, "LegalHold")
1408
1359
 
1409
- request = build_clear_legal_hold_request(
1360
+ _request = build_clear_legal_hold_request(
1410
1361
  resource_group_name=resource_group_name,
1411
1362
  account_name=account_name,
1412
1363
  container_name=container_name,
@@ -1415,15 +1366,15 @@ class BlobContainersOperations:
1415
1366
  content_type=content_type,
1416
1367
  json=_json,
1417
1368
  content=_content,
1418
- template_url=self.clear_legal_hold.metadata["url"],
1419
1369
  headers=_headers,
1420
1370
  params=_params,
1421
1371
  )
1422
- request = _convert_request(request)
1423
- request.url = self._client.format_url(request.url)
1372
+ _request = _convert_request(_request)
1373
+ _request.url = self._client.format_url(_request.url)
1424
1374
 
1375
+ _stream = False
1425
1376
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1426
- request, stream=False, **kwargs
1377
+ _request, stream=_stream, **kwargs
1427
1378
  )
1428
1379
 
1429
1380
  response = pipeline_response.http_response
@@ -1435,13 +1386,9 @@ class BlobContainersOperations:
1435
1386
  deserialized = self._deserialize("LegalHold", pipeline_response)
1436
1387
 
1437
1388
  if cls:
1438
- return cls(pipeline_response, deserialized, {})
1439
-
1440
- return deserialized
1389
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1441
1390
 
1442
- clear_legal_hold.metadata = {
1443
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1444
- }
1391
+ return deserialized # type: ignore
1445
1392
 
1446
1393
  @overload
1447
1394
  def create_or_update_immutability_policy(
@@ -1484,7 +1431,6 @@ class BlobContainersOperations:
1484
1431
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1485
1432
  Default value is "application/json".
1486
1433
  :paramtype content_type: str
1487
- :keyword callable cls: A custom type or function that will be passed the direct response
1488
1434
  :return: ImmutabilityPolicy or the result of cls(response)
1489
1435
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1490
1436
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1498,7 +1444,7 @@ class BlobContainersOperations:
1498
1444
  container_name: str,
1499
1445
  immutability_policy_name: Union[str, _models.Enum10],
1500
1446
  if_match: Optional[str] = None,
1501
- parameters: Optional[IO] = None,
1447
+ parameters: Optional[IO[bytes]] = None,
1502
1448
  *,
1503
1449
  content_type: str = "application/json",
1504
1450
  **kwargs: Any
@@ -1527,11 +1473,10 @@ class BlobContainersOperations:
1527
1473
  :type if_match: str
1528
1474
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1529
1475
  container. Default value is None.
1530
- :type parameters: IO
1476
+ :type parameters: IO[bytes]
1531
1477
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1532
1478
  Default value is "application/json".
1533
1479
  :paramtype content_type: str
1534
- :keyword callable cls: A custom type or function that will be passed the direct response
1535
1480
  :return: ImmutabilityPolicy or the result of cls(response)
1536
1481
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1537
1482
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1545,7 +1490,7 @@ class BlobContainersOperations:
1545
1490
  container_name: str,
1546
1491
  immutability_policy_name: Union[str, _models.Enum10],
1547
1492
  if_match: Optional[str] = None,
1548
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1493
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1549
1494
  **kwargs: Any
1550
1495
  ) -> _models.ImmutabilityPolicy:
1551
1496
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1571,17 +1516,13 @@ class BlobContainersOperations:
1571
1516
  omitted, this operation will always be applied. Default value is None.
1572
1517
  :type if_match: str
1573
1518
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1574
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1575
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
1576
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1577
- Default value is None.
1578
- :paramtype content_type: str
1579
- :keyword callable cls: A custom type or function that will be passed the direct response
1519
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1520
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
1580
1521
  :return: ImmutabilityPolicy or the result of cls(response)
1581
1522
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1582
1523
  :raises ~azure.core.exceptions.HttpResponseError:
1583
1524
  """
1584
- error_map = {
1525
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1585
1526
  401: ClientAuthenticationError,
1586
1527
  404: ResourceNotFoundError,
1587
1528
  409: ResourceExistsError,
@@ -1592,14 +1533,14 @@ class BlobContainersOperations:
1592
1533
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1593
1534
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1594
1535
 
1595
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1536
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1596
1537
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1597
1538
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1598
1539
 
1599
1540
  content_type = content_type or "application/json"
1600
1541
  _json = None
1601
1542
  _content = None
1602
- if isinstance(parameters, (IO, bytes)):
1543
+ if isinstance(parameters, (IOBase, bytes)):
1603
1544
  _content = parameters
1604
1545
  else:
1605
1546
  if parameters is not None:
@@ -1607,7 +1548,7 @@ class BlobContainersOperations:
1607
1548
  else:
1608
1549
  _json = None
1609
1550
 
1610
- request = build_create_or_update_immutability_policy_request(
1551
+ _request = build_create_or_update_immutability_policy_request(
1611
1552
  resource_group_name=resource_group_name,
1612
1553
  account_name=account_name,
1613
1554
  container_name=container_name,
@@ -1618,15 +1559,15 @@ class BlobContainersOperations:
1618
1559
  content_type=content_type,
1619
1560
  json=_json,
1620
1561
  content=_content,
1621
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1622
1562
  headers=_headers,
1623
1563
  params=_params,
1624
1564
  )
1625
- request = _convert_request(request)
1626
- request.url = self._client.format_url(request.url)
1565
+ _request = _convert_request(_request)
1566
+ _request.url = self._client.format_url(_request.url)
1627
1567
 
1568
+ _stream = False
1628
1569
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1629
- request, stream=False, **kwargs
1570
+ _request, stream=_stream, **kwargs
1630
1571
  )
1631
1572
 
1632
1573
  response = pipeline_response.http_response
@@ -1641,13 +1582,9 @@ class BlobContainersOperations:
1641
1582
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1642
1583
 
1643
1584
  if cls:
1644
- return cls(pipeline_response, deserialized, response_headers)
1585
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1645
1586
 
1646
- return deserialized
1647
-
1648
- create_or_update_immutability_policy.metadata = {
1649
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1650
- }
1587
+ return deserialized # type: ignore
1651
1588
 
1652
1589
  @distributed_trace
1653
1590
  def get_immutability_policy(
@@ -1681,12 +1618,11 @@ class BlobContainersOperations:
1681
1618
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1682
1619
  omitted, this operation will always be applied. Default value is None.
1683
1620
  :type if_match: str
1684
- :keyword callable cls: A custom type or function that will be passed the direct response
1685
1621
  :return: ImmutabilityPolicy or the result of cls(response)
1686
1622
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1687
1623
  :raises ~azure.core.exceptions.HttpResponseError:
1688
1624
  """
1689
- error_map = {
1625
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1690
1626
  401: ClientAuthenticationError,
1691
1627
  404: ResourceNotFoundError,
1692
1628
  409: ResourceExistsError,
@@ -1697,10 +1633,10 @@ class BlobContainersOperations:
1697
1633
  _headers = kwargs.pop("headers", {}) or {}
1698
1634
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1699
1635
 
1700
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1636
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1701
1637
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1702
1638
 
1703
- request = build_get_immutability_policy_request(
1639
+ _request = build_get_immutability_policy_request(
1704
1640
  resource_group_name=resource_group_name,
1705
1641
  account_name=account_name,
1706
1642
  container_name=container_name,
@@ -1708,15 +1644,15 @@ class BlobContainersOperations:
1708
1644
  subscription_id=self._config.subscription_id,
1709
1645
  if_match=if_match,
1710
1646
  api_version=api_version,
1711
- template_url=self.get_immutability_policy.metadata["url"],
1712
1647
  headers=_headers,
1713
1648
  params=_params,
1714
1649
  )
1715
- request = _convert_request(request)
1716
- request.url = self._client.format_url(request.url)
1650
+ _request = _convert_request(_request)
1651
+ _request.url = self._client.format_url(_request.url)
1717
1652
 
1653
+ _stream = False
1718
1654
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1719
- request, stream=False, **kwargs
1655
+ _request, stream=_stream, **kwargs
1720
1656
  )
1721
1657
 
1722
1658
  response = pipeline_response.http_response
@@ -1731,13 +1667,9 @@ class BlobContainersOperations:
1731
1667
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1732
1668
 
1733
1669
  if cls:
1734
- return cls(pipeline_response, deserialized, response_headers)
1670
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1735
1671
 
1736
- return deserialized
1737
-
1738
- get_immutability_policy.metadata = {
1739
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1740
- }
1672
+ return deserialized # type: ignore
1741
1673
 
1742
1674
  @distributed_trace
1743
1675
  def delete_immutability_policy(
@@ -1773,12 +1705,11 @@ class BlobContainersOperations:
1773
1705
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1774
1706
  omitted, this operation will always be applied. Required.
1775
1707
  :type if_match: str
1776
- :keyword callable cls: A custom type or function that will be passed the direct response
1777
1708
  :return: ImmutabilityPolicy or the result of cls(response)
1778
1709
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1779
1710
  :raises ~azure.core.exceptions.HttpResponseError:
1780
1711
  """
1781
- error_map = {
1712
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1782
1713
  401: ClientAuthenticationError,
1783
1714
  404: ResourceNotFoundError,
1784
1715
  409: ResourceExistsError,
@@ -1789,10 +1720,10 @@ class BlobContainersOperations:
1789
1720
  _headers = kwargs.pop("headers", {}) or {}
1790
1721
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1791
1722
 
1792
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1723
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1793
1724
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1794
1725
 
1795
- request = build_delete_immutability_policy_request(
1726
+ _request = build_delete_immutability_policy_request(
1796
1727
  resource_group_name=resource_group_name,
1797
1728
  account_name=account_name,
1798
1729
  container_name=container_name,
@@ -1800,15 +1731,15 @@ class BlobContainersOperations:
1800
1731
  subscription_id=self._config.subscription_id,
1801
1732
  if_match=if_match,
1802
1733
  api_version=api_version,
1803
- template_url=self.delete_immutability_policy.metadata["url"],
1804
1734
  headers=_headers,
1805
1735
  params=_params,
1806
1736
  )
1807
- request = _convert_request(request)
1808
- request.url = self._client.format_url(request.url)
1737
+ _request = _convert_request(_request)
1738
+ _request.url = self._client.format_url(_request.url)
1809
1739
 
1740
+ _stream = False
1810
1741
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1811
- request, stream=False, **kwargs
1742
+ _request, stream=_stream, **kwargs
1812
1743
  )
1813
1744
 
1814
1745
  response = pipeline_response.http_response
@@ -1823,13 +1754,9 @@ class BlobContainersOperations:
1823
1754
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1824
1755
 
1825
1756
  if cls:
1826
- return cls(pipeline_response, deserialized, response_headers)
1757
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1827
1758
 
1828
- return deserialized
1829
-
1830
- delete_immutability_policy.metadata = {
1831
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1832
- }
1759
+ return deserialized # type: ignore
1833
1760
 
1834
1761
  @distributed_trace
1835
1762
  def lock_immutability_policy(
@@ -1854,12 +1781,11 @@ class BlobContainersOperations:
1854
1781
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1855
1782
  omitted, this operation will always be applied. Required.
1856
1783
  :type if_match: str
1857
- :keyword callable cls: A custom type or function that will be passed the direct response
1858
1784
  :return: ImmutabilityPolicy or the result of cls(response)
1859
1785
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1860
1786
  :raises ~azure.core.exceptions.HttpResponseError:
1861
1787
  """
1862
- error_map = {
1788
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1863
1789
  401: ClientAuthenticationError,
1864
1790
  404: ResourceNotFoundError,
1865
1791
  409: ResourceExistsError,
@@ -1870,25 +1796,25 @@ class BlobContainersOperations:
1870
1796
  _headers = kwargs.pop("headers", {}) or {}
1871
1797
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1872
1798
 
1873
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1799
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1874
1800
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1875
1801
 
1876
- request = build_lock_immutability_policy_request(
1802
+ _request = build_lock_immutability_policy_request(
1877
1803
  resource_group_name=resource_group_name,
1878
1804
  account_name=account_name,
1879
1805
  container_name=container_name,
1880
1806
  subscription_id=self._config.subscription_id,
1881
1807
  if_match=if_match,
1882
1808
  api_version=api_version,
1883
- template_url=self.lock_immutability_policy.metadata["url"],
1884
1809
  headers=_headers,
1885
1810
  params=_params,
1886
1811
  )
1887
- request = _convert_request(request)
1888
- request.url = self._client.format_url(request.url)
1812
+ _request = _convert_request(_request)
1813
+ _request.url = self._client.format_url(_request.url)
1889
1814
 
1815
+ _stream = False
1890
1816
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1891
- request, stream=False, **kwargs
1817
+ _request, stream=_stream, **kwargs
1892
1818
  )
1893
1819
 
1894
1820
  response = pipeline_response.http_response
@@ -1903,13 +1829,9 @@ class BlobContainersOperations:
1903
1829
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1904
1830
 
1905
1831
  if cls:
1906
- return cls(pipeline_response, deserialized, response_headers)
1832
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1907
1833
 
1908
- return deserialized
1909
-
1910
- lock_immutability_policy.metadata = {
1911
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1912
- }
1834
+ return deserialized # type: ignore
1913
1835
 
1914
1836
  @overload
1915
1837
  def extend_immutability_policy(
@@ -1949,7 +1871,6 @@ class BlobContainersOperations:
1949
1871
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1950
1872
  Default value is "application/json".
1951
1873
  :paramtype content_type: str
1952
- :keyword callable cls: A custom type or function that will be passed the direct response
1953
1874
  :return: ImmutabilityPolicy or the result of cls(response)
1954
1875
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1955
1876
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1962,7 +1883,7 @@ class BlobContainersOperations:
1962
1883
  account_name: str,
1963
1884
  container_name: str,
1964
1885
  if_match: str,
1965
- parameters: Optional[IO] = None,
1886
+ parameters: Optional[IO[bytes]] = None,
1966
1887
  *,
1967
1888
  content_type: str = "application/json",
1968
1889
  **kwargs: Any
@@ -1989,11 +1910,10 @@ class BlobContainersOperations:
1989
1910
  :type if_match: str
1990
1911
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1991
1912
  container. Default value is None.
1992
- :type parameters: IO
1913
+ :type parameters: IO[bytes]
1993
1914
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1994
1915
  Default value is "application/json".
1995
1916
  :paramtype content_type: str
1996
- :keyword callable cls: A custom type or function that will be passed the direct response
1997
1917
  :return: ImmutabilityPolicy or the result of cls(response)
1998
1918
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1999
1919
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2006,7 +1926,7 @@ class BlobContainersOperations:
2006
1926
  account_name: str,
2007
1927
  container_name: str,
2008
1928
  if_match: str,
2009
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1929
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2010
1930
  **kwargs: Any
2011
1931
  ) -> _models.ImmutabilityPolicy:
2012
1932
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2030,17 +1950,13 @@ class BlobContainersOperations:
2030
1950
  omitted, this operation will always be applied. Required.
2031
1951
  :type if_match: str
2032
1952
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2033
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2034
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
2035
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2036
- Default value is None.
2037
- :paramtype content_type: str
2038
- :keyword callable cls: A custom type or function that will be passed the direct response
1953
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1954
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
2039
1955
  :return: ImmutabilityPolicy or the result of cls(response)
2040
1956
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
2041
1957
  :raises ~azure.core.exceptions.HttpResponseError:
2042
1958
  """
2043
- error_map = {
1959
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2044
1960
  401: ClientAuthenticationError,
2045
1961
  404: ResourceNotFoundError,
2046
1962
  409: ResourceExistsError,
@@ -2051,14 +1967,14 @@ class BlobContainersOperations:
2051
1967
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2052
1968
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2053
1969
 
2054
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
1970
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
2055
1971
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2056
1972
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
2057
1973
 
2058
1974
  content_type = content_type or "application/json"
2059
1975
  _json = None
2060
1976
  _content = None
2061
- if isinstance(parameters, (IO, bytes)):
1977
+ if isinstance(parameters, (IOBase, bytes)):
2062
1978
  _content = parameters
2063
1979
  else:
2064
1980
  if parameters is not None:
@@ -2066,7 +1982,7 @@ class BlobContainersOperations:
2066
1982
  else:
2067
1983
  _json = None
2068
1984
 
2069
- request = build_extend_immutability_policy_request(
1985
+ _request = build_extend_immutability_policy_request(
2070
1986
  resource_group_name=resource_group_name,
2071
1987
  account_name=account_name,
2072
1988
  container_name=container_name,
@@ -2076,15 +1992,15 @@ class BlobContainersOperations:
2076
1992
  content_type=content_type,
2077
1993
  json=_json,
2078
1994
  content=_content,
2079
- template_url=self.extend_immutability_policy.metadata["url"],
2080
1995
  headers=_headers,
2081
1996
  params=_params,
2082
1997
  )
2083
- request = _convert_request(request)
2084
- request.url = self._client.format_url(request.url)
1998
+ _request = _convert_request(_request)
1999
+ _request.url = self._client.format_url(_request.url)
2085
2000
 
2001
+ _stream = False
2086
2002
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2087
- request, stream=False, **kwargs
2003
+ _request, stream=_stream, **kwargs
2088
2004
  )
2089
2005
 
2090
2006
  response = pipeline_response.http_response
@@ -2099,13 +2015,9 @@ class BlobContainersOperations:
2099
2015
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2100
2016
 
2101
2017
  if cls:
2102
- return cls(pipeline_response, deserialized, response_headers)
2103
-
2104
- return deserialized
2018
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2105
2019
 
2106
- extend_immutability_policy.metadata = {
2107
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2108
- }
2020
+ return deserialized # type: ignore
2109
2021
 
2110
2022
  @overload
2111
2023
  def lease(
@@ -2138,7 +2050,6 @@ class BlobContainersOperations:
2138
2050
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2139
2051
  Default value is "application/json".
2140
2052
  :paramtype content_type: str
2141
- :keyword callable cls: A custom type or function that will be passed the direct response
2142
2053
  :return: LeaseContainerResponse or the result of cls(response)
2143
2054
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
2144
2055
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2150,7 +2061,7 @@ class BlobContainersOperations:
2150
2061
  resource_group_name: str,
2151
2062
  account_name: str,
2152
2063
  container_name: str,
2153
- parameters: Optional[IO] = None,
2064
+ parameters: Optional[IO[bytes]] = None,
2154
2065
  *,
2155
2066
  content_type: str = "application/json",
2156
2067
  **kwargs: Any
@@ -2171,11 +2082,10 @@ class BlobContainersOperations:
2171
2082
  by a letter or number. Required.
2172
2083
  :type container_name: str
2173
2084
  :param parameters: Lease Container request body. Default value is None.
2174
- :type parameters: IO
2085
+ :type parameters: IO[bytes]
2175
2086
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2176
2087
  Default value is "application/json".
2177
2088
  :paramtype content_type: str
2178
- :keyword callable cls: A custom type or function that will be passed the direct response
2179
2089
  :return: LeaseContainerResponse or the result of cls(response)
2180
2090
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
2181
2091
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2187,7 +2097,7 @@ class BlobContainersOperations:
2187
2097
  resource_group_name: str,
2188
2098
  account_name: str,
2189
2099
  container_name: str,
2190
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2100
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2191
2101
  **kwargs: Any
2192
2102
  ) -> _models.LeaseContainerResponse:
2193
2103
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2205,18 +2115,14 @@ class BlobContainersOperations:
2205
2115
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2206
2116
  by a letter or number. Required.
2207
2117
  :type container_name: str
2208
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2209
- type. Default value is None.
2210
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO
2211
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2212
- Default value is None.
2213
- :paramtype content_type: str
2214
- :keyword callable cls: A custom type or function that will be passed the direct response
2118
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2119
+ IO[bytes] type. Default value is None.
2120
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO[bytes]
2215
2121
  :return: LeaseContainerResponse or the result of cls(response)
2216
2122
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
2217
2123
  :raises ~azure.core.exceptions.HttpResponseError:
2218
2124
  """
2219
- error_map = {
2125
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2220
2126
  401: ClientAuthenticationError,
2221
2127
  404: ResourceNotFoundError,
2222
2128
  409: ResourceExistsError,
@@ -2227,14 +2133,14 @@ class BlobContainersOperations:
2227
2133
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
2228
2134
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
2229
2135
 
2230
- api_version: Literal["2018-11-01"] = kwargs.pop("api_version", _params.pop("api-version", "2018-11-01"))
2136
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
2231
2137
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
2232
2138
  cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
2233
2139
 
2234
2140
  content_type = content_type or "application/json"
2235
2141
  _json = None
2236
2142
  _content = None
2237
- if isinstance(parameters, (IO, bytes)):
2143
+ if isinstance(parameters, (IOBase, bytes)):
2238
2144
  _content = parameters
2239
2145
  else:
2240
2146
  if parameters is not None:
@@ -2242,7 +2148,7 @@ class BlobContainersOperations:
2242
2148
  else:
2243
2149
  _json = None
2244
2150
 
2245
- request = build_lease_request(
2151
+ _request = build_lease_request(
2246
2152
  resource_group_name=resource_group_name,
2247
2153
  account_name=account_name,
2248
2154
  container_name=container_name,
@@ -2251,15 +2157,15 @@ class BlobContainersOperations:
2251
2157
  content_type=content_type,
2252
2158
  json=_json,
2253
2159
  content=_content,
2254
- template_url=self.lease.metadata["url"],
2255
2160
  headers=_headers,
2256
2161
  params=_params,
2257
2162
  )
2258
- request = _convert_request(request)
2259
- request.url = self._client.format_url(request.url)
2163
+ _request = _convert_request(_request)
2164
+ _request.url = self._client.format_url(_request.url)
2260
2165
 
2166
+ _stream = False
2261
2167
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2262
- request, stream=False, **kwargs
2168
+ _request, stream=_stream, **kwargs
2263
2169
  )
2264
2170
 
2265
2171
  response = pipeline_response.http_response
@@ -2271,10 +2177,6 @@ class BlobContainersOperations:
2271
2177
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2272
2178
 
2273
2179
  if cls:
2274
- return cls(pipeline_response, deserialized, {})
2275
-
2276
- return deserialized
2180
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2277
2181
 
2278
- lease.metadata = {
2279
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2280
- }
2182
+ return deserialized # type: ignore