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, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
11
+ from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.async_paging import AsyncItemPaged, AsyncList
@@ -45,10 +46,10 @@ from ...operations._blob_containers_operations import (
45
46
  build_update_request,
46
47
  )
47
48
 
48
- if sys.version_info >= (3, 8):
49
- from typing import Literal # pylint: disable=no-name-in-module, ungrouped-imports
49
+ if sys.version_info >= (3, 9):
50
+ from collections.abc import MutableMapping
50
51
  else:
51
- from typing_extensions import Literal # type: ignore # pylint: disable=ungrouped-imports
52
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
52
53
  T = TypeVar("T")
53
54
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
54
55
 
@@ -71,6 +72,7 @@ class BlobContainersOperations:
71
72
  self._config = input_args.pop(0) if input_args else kwargs.pop("config")
72
73
  self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
73
74
  self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
75
+ self._api_version = input_args.pop(0) if input_args else kwargs.pop("api_version")
74
76
 
75
77
  @distributed_trace
76
78
  def list(
@@ -100,7 +102,6 @@ class BlobContainersOperations:
100
102
  :param filter: Optional. When specified, only container names starting with the filter will be
101
103
  listed. Default value is None.
102
104
  :type filter: str
103
- :keyword callable cls: A custom type or function that will be passed the direct response
104
105
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
105
106
  :rtype:
106
107
  ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2019_04_01.models.ListContainerItem]
@@ -109,10 +110,10 @@ class BlobContainersOperations:
109
110
  _headers = kwargs.pop("headers", {}) or {}
110
111
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
111
112
 
112
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
113
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
113
114
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
114
115
 
115
- error_map = {
116
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
116
117
  401: ClientAuthenticationError,
117
118
  404: ResourceNotFoundError,
118
119
  409: ResourceExistsError,
@@ -123,7 +124,7 @@ class BlobContainersOperations:
123
124
  def prepare_request(next_link=None):
124
125
  if not next_link:
125
126
 
126
- request = build_list_request(
127
+ _request = build_list_request(
127
128
  resource_group_name=resource_group_name,
128
129
  account_name=account_name,
129
130
  subscription_id=self._config.subscription_id,
@@ -131,12 +132,11 @@ class BlobContainersOperations:
131
132
  maxpagesize=maxpagesize,
132
133
  filter=filter,
133
134
  api_version=api_version,
134
- template_url=self.list.metadata["url"],
135
135
  headers=_headers,
136
136
  params=_params,
137
137
  )
138
- request = _convert_request(request)
139
- request.url = self._client.format_url(request.url)
138
+ _request = _convert_request(_request)
139
+ _request.url = self._client.format_url(_request.url)
140
140
 
141
141
  else:
142
142
  # make call to next link with the client's api-version
@@ -147,14 +147,14 @@ class BlobContainersOperations:
147
147
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
148
148
  }
149
149
  )
150
- _next_request_params["api-version"] = self._config.api_version
151
- request = HttpRequest(
150
+ _next_request_params["api-version"] = self._api_version
151
+ _request = HttpRequest(
152
152
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
153
153
  )
154
- request = _convert_request(request)
155
- request.url = self._client.format_url(request.url)
156
- request.method = "GET"
157
- return request
154
+ _request = _convert_request(_request)
155
+ _request.url = self._client.format_url(_request.url)
156
+ _request.method = "GET"
157
+ return _request
158
158
 
159
159
  async def extract_data(pipeline_response):
160
160
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -164,10 +164,11 @@ class BlobContainersOperations:
164
164
  return deserialized.next_link or None, AsyncList(list_of_elem)
165
165
 
166
166
  async def get_next(next_link=None):
167
- request = prepare_request(next_link)
167
+ _request = prepare_request(next_link)
168
168
 
169
+ _stream = False
169
170
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
170
- request, stream=False, **kwargs
171
+ _request, stream=_stream, **kwargs
171
172
  )
172
173
  response = pipeline_response.http_response
173
174
 
@@ -179,10 +180,6 @@ class BlobContainersOperations:
179
180
 
180
181
  return AsyncItemPaged(get_next, extract_data)
181
182
 
182
- list.metadata = {
183
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
184
- }
185
-
186
183
  @overload
187
184
  async def create(
188
185
  self,
@@ -215,7 +212,6 @@ class BlobContainersOperations:
215
212
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
216
213
  Default value is "application/json".
217
214
  :paramtype content_type: str
218
- :keyword callable cls: A custom type or function that will be passed the direct response
219
215
  :return: BlobContainer or the result of cls(response)
220
216
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
221
217
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -227,7 +223,7 @@ class BlobContainersOperations:
227
223
  resource_group_name: str,
228
224
  account_name: str,
229
225
  container_name: str,
230
- blob_container: IO,
226
+ blob_container: IO[bytes],
231
227
  *,
232
228
  content_type: str = "application/json",
233
229
  **kwargs: Any
@@ -249,11 +245,10 @@ class BlobContainersOperations:
249
245
  by a letter or number. Required.
250
246
  :type container_name: str
251
247
  :param blob_container: Properties of the blob container to create. Required.
252
- :type blob_container: IO
248
+ :type blob_container: IO[bytes]
253
249
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
254
250
  Default value is "application/json".
255
251
  :paramtype content_type: str
256
- :keyword callable cls: A custom type or function that will be passed the direct response
257
252
  :return: BlobContainer or the result of cls(response)
258
253
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
259
254
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -265,7 +260,7 @@ class BlobContainersOperations:
265
260
  resource_group_name: str,
266
261
  account_name: str,
267
262
  container_name: str,
268
- blob_container: Union[_models.BlobContainer, IO],
263
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
269
264
  **kwargs: Any
270
265
  ) -> _models.BlobContainer:
271
266
  """Creates a new container under the specified account as described by request body. The container
@@ -285,17 +280,13 @@ class BlobContainersOperations:
285
280
  by a letter or number. Required.
286
281
  :type container_name: str
287
282
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
288
- type or a IO type. Required.
289
- :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
290
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
291
- Default value is None.
292
- :paramtype content_type: str
293
- :keyword callable cls: A custom type or function that will be passed the direct response
283
+ type or a IO[bytes] type. Required.
284
+ :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
294
285
  :return: BlobContainer or the result of cls(response)
295
286
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
296
287
  :raises ~azure.core.exceptions.HttpResponseError:
297
288
  """
298
- error_map = {
289
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
299
290
  401: ClientAuthenticationError,
300
291
  404: ResourceNotFoundError,
301
292
  409: ResourceExistsError,
@@ -306,19 +297,19 @@ class BlobContainersOperations:
306
297
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
307
298
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
308
299
 
309
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
300
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
310
301
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
311
302
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
312
303
 
313
304
  content_type = content_type or "application/json"
314
305
  _json = None
315
306
  _content = None
316
- if isinstance(blob_container, (IO, bytes)):
307
+ if isinstance(blob_container, (IOBase, bytes)):
317
308
  _content = blob_container
318
309
  else:
319
310
  _json = self._serialize.body(blob_container, "BlobContainer")
320
311
 
321
- request = build_create_request(
312
+ _request = build_create_request(
322
313
  resource_group_name=resource_group_name,
323
314
  account_name=account_name,
324
315
  container_name=container_name,
@@ -327,15 +318,15 @@ class BlobContainersOperations:
327
318
  content_type=content_type,
328
319
  json=_json,
329
320
  content=_content,
330
- template_url=self.create.metadata["url"],
331
321
  headers=_headers,
332
322
  params=_params,
333
323
  )
334
- request = _convert_request(request)
335
- request.url = self._client.format_url(request.url)
324
+ _request = _convert_request(_request)
325
+ _request.url = self._client.format_url(_request.url)
336
326
 
327
+ _stream = False
337
328
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
338
- request, stream=False, **kwargs
329
+ _request, stream=_stream, **kwargs
339
330
  )
340
331
 
341
332
  response = pipeline_response.http_response
@@ -355,10 +346,6 @@ class BlobContainersOperations:
355
346
 
356
347
  return deserialized # type: ignore
357
348
 
358
- create.metadata = {
359
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
360
- }
361
-
362
349
  @overload
363
350
  async def update(
364
351
  self,
@@ -390,7 +377,6 @@ class BlobContainersOperations:
390
377
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
391
378
  Default value is "application/json".
392
379
  :paramtype content_type: str
393
- :keyword callable cls: A custom type or function that will be passed the direct response
394
380
  :return: BlobContainer or the result of cls(response)
395
381
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
396
382
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -402,7 +388,7 @@ class BlobContainersOperations:
402
388
  resource_group_name: str,
403
389
  account_name: str,
404
390
  container_name: str,
405
- blob_container: IO,
391
+ blob_container: IO[bytes],
406
392
  *,
407
393
  content_type: str = "application/json",
408
394
  **kwargs: Any
@@ -423,11 +409,10 @@ class BlobContainersOperations:
423
409
  by a letter or number. Required.
424
410
  :type container_name: str
425
411
  :param blob_container: Properties to update for the blob container. Required.
426
- :type blob_container: IO
412
+ :type blob_container: IO[bytes]
427
413
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
428
414
  Default value is "application/json".
429
415
  :paramtype content_type: str
430
- :keyword callable cls: A custom type or function that will be passed the direct response
431
416
  :return: BlobContainer or the result of cls(response)
432
417
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
433
418
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -439,7 +424,7 @@ class BlobContainersOperations:
439
424
  resource_group_name: str,
440
425
  account_name: str,
441
426
  container_name: str,
442
- blob_container: Union[_models.BlobContainer, IO],
427
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
443
428
  **kwargs: Any
444
429
  ) -> _models.BlobContainer:
445
430
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -458,17 +443,13 @@ class BlobContainersOperations:
458
443
  by a letter or number. Required.
459
444
  :type container_name: str
460
445
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
461
- type or a IO type. Required.
462
- :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
463
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
464
- Default value is None.
465
- :paramtype content_type: str
466
- :keyword callable cls: A custom type or function that will be passed the direct response
446
+ type or a IO[bytes] type. Required.
447
+ :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
467
448
  :return: BlobContainer or the result of cls(response)
468
449
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
469
450
  :raises ~azure.core.exceptions.HttpResponseError:
470
451
  """
471
- error_map = {
452
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
472
453
  401: ClientAuthenticationError,
473
454
  404: ResourceNotFoundError,
474
455
  409: ResourceExistsError,
@@ -479,19 +460,19 @@ class BlobContainersOperations:
479
460
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
480
461
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
481
462
 
482
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
463
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
483
464
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
484
465
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
485
466
 
486
467
  content_type = content_type or "application/json"
487
468
  _json = None
488
469
  _content = None
489
- if isinstance(blob_container, (IO, bytes)):
470
+ if isinstance(blob_container, (IOBase, bytes)):
490
471
  _content = blob_container
491
472
  else:
492
473
  _json = self._serialize.body(blob_container, "BlobContainer")
493
474
 
494
- request = build_update_request(
475
+ _request = build_update_request(
495
476
  resource_group_name=resource_group_name,
496
477
  account_name=account_name,
497
478
  container_name=container_name,
@@ -500,15 +481,15 @@ class BlobContainersOperations:
500
481
  content_type=content_type,
501
482
  json=_json,
502
483
  content=_content,
503
- template_url=self.update.metadata["url"],
504
484
  headers=_headers,
505
485
  params=_params,
506
486
  )
507
- request = _convert_request(request)
508
- request.url = self._client.format_url(request.url)
487
+ _request = _convert_request(_request)
488
+ _request.url = self._client.format_url(_request.url)
509
489
 
490
+ _stream = False
510
491
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
511
- request, stream=False, **kwargs
492
+ _request, stream=_stream, **kwargs
512
493
  )
513
494
 
514
495
  response = pipeline_response.http_response
@@ -520,13 +501,9 @@ class BlobContainersOperations:
520
501
  deserialized = self._deserialize("BlobContainer", pipeline_response)
521
502
 
522
503
  if cls:
523
- return cls(pipeline_response, deserialized, {})
524
-
525
- return deserialized
504
+ return cls(pipeline_response, deserialized, {}) # type: ignore
526
505
 
527
- update.metadata = {
528
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
529
- }
506
+ return deserialized # type: ignore
530
507
 
531
508
  @distributed_trace_async
532
509
  async def get(
@@ -546,12 +523,11 @@ class BlobContainersOperations:
546
523
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
547
524
  by a letter or number. Required.
548
525
  :type container_name: str
549
- :keyword callable cls: A custom type or function that will be passed the direct response
550
526
  :return: BlobContainer or the result of cls(response)
551
527
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
552
528
  :raises ~azure.core.exceptions.HttpResponseError:
553
529
  """
554
- error_map = {
530
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
555
531
  401: ClientAuthenticationError,
556
532
  404: ResourceNotFoundError,
557
533
  409: ResourceExistsError,
@@ -562,24 +538,24 @@ class BlobContainersOperations:
562
538
  _headers = kwargs.pop("headers", {}) or {}
563
539
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
564
540
 
565
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
541
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
566
542
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
567
543
 
568
- request = build_get_request(
544
+ _request = build_get_request(
569
545
  resource_group_name=resource_group_name,
570
546
  account_name=account_name,
571
547
  container_name=container_name,
572
548
  subscription_id=self._config.subscription_id,
573
549
  api_version=api_version,
574
- template_url=self.get.metadata["url"],
575
550
  headers=_headers,
576
551
  params=_params,
577
552
  )
578
- request = _convert_request(request)
579
- request.url = self._client.format_url(request.url)
553
+ _request = _convert_request(_request)
554
+ _request.url = self._client.format_url(_request.url)
580
555
 
556
+ _stream = False
581
557
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
582
- request, stream=False, **kwargs
558
+ _request, stream=_stream, **kwargs
583
559
  )
584
560
 
585
561
  response = pipeline_response.http_response
@@ -591,13 +567,9 @@ class BlobContainersOperations:
591
567
  deserialized = self._deserialize("BlobContainer", pipeline_response)
592
568
 
593
569
  if cls:
594
- return cls(pipeline_response, deserialized, {})
595
-
596
- return deserialized
570
+ return cls(pipeline_response, deserialized, {}) # type: ignore
597
571
 
598
- get.metadata = {
599
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
600
- }
572
+ return deserialized # type: ignore
601
573
 
602
574
  @distributed_trace_async
603
575
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -617,12 +589,11 @@ class BlobContainersOperations:
617
589
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
618
590
  by a letter or number. Required.
619
591
  :type container_name: str
620
- :keyword callable cls: A custom type or function that will be passed the direct response
621
592
  :return: None or the result of cls(response)
622
593
  :rtype: None
623
594
  :raises ~azure.core.exceptions.HttpResponseError:
624
595
  """
625
- error_map = {
596
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
626
597
  401: ClientAuthenticationError,
627
598
  404: ResourceNotFoundError,
628
599
  409: ResourceExistsError,
@@ -633,24 +604,24 @@ class BlobContainersOperations:
633
604
  _headers = kwargs.pop("headers", {}) or {}
634
605
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
635
606
 
636
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
607
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
637
608
  cls: ClsType[None] = kwargs.pop("cls", None)
638
609
 
639
- request = build_delete_request(
610
+ _request = build_delete_request(
640
611
  resource_group_name=resource_group_name,
641
612
  account_name=account_name,
642
613
  container_name=container_name,
643
614
  subscription_id=self._config.subscription_id,
644
615
  api_version=api_version,
645
- template_url=self.delete.metadata["url"],
646
616
  headers=_headers,
647
617
  params=_params,
648
618
  )
649
- request = _convert_request(request)
650
- request.url = self._client.format_url(request.url)
619
+ _request = _convert_request(_request)
620
+ _request.url = self._client.format_url(_request.url)
651
621
 
622
+ _stream = False
652
623
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
653
- request, stream=False, **kwargs
624
+ _request, stream=_stream, **kwargs
654
625
  )
655
626
 
656
627
  response = pipeline_response.http_response
@@ -660,11 +631,7 @@ class BlobContainersOperations:
660
631
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
661
632
 
662
633
  if cls:
663
- return cls(pipeline_response, None, {})
664
-
665
- delete.metadata = {
666
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
667
- }
634
+ return cls(pipeline_response, None, {}) # type: ignore
668
635
 
669
636
  @overload
670
637
  async def set_legal_hold(
@@ -698,7 +665,6 @@ class BlobContainersOperations:
698
665
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
699
666
  Default value is "application/json".
700
667
  :paramtype content_type: str
701
- :keyword callable cls: A custom type or function that will be passed the direct response
702
668
  :return: LegalHold or the result of cls(response)
703
669
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
704
670
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -710,7 +676,7 @@ class BlobContainersOperations:
710
676
  resource_group_name: str,
711
677
  account_name: str,
712
678
  container_name: str,
713
- legal_hold: IO,
679
+ legal_hold: IO[bytes],
714
680
  *,
715
681
  content_type: str = "application/json",
716
682
  **kwargs: Any
@@ -732,11 +698,10 @@ class BlobContainersOperations:
732
698
  by a letter or number. Required.
733
699
  :type container_name: str
734
700
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
735
- :type legal_hold: IO
701
+ :type legal_hold: IO[bytes]
736
702
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
737
703
  Default value is "application/json".
738
704
  :paramtype content_type: str
739
- :keyword callable cls: A custom type or function that will be passed the direct response
740
705
  :return: LegalHold or the result of cls(response)
741
706
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
742
707
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -748,7 +713,7 @@ class BlobContainersOperations:
748
713
  resource_group_name: str,
749
714
  account_name: str,
750
715
  container_name: str,
751
- legal_hold: Union[_models.LegalHold, IO],
716
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
752
717
  **kwargs: Any
753
718
  ) -> _models.LegalHold:
754
719
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -768,17 +733,13 @@ class BlobContainersOperations:
768
733
  by a letter or number. Required.
769
734
  :type container_name: str
770
735
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
771
- LegalHold type or a IO type. Required.
772
- :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
773
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
774
- Default value is None.
775
- :paramtype content_type: str
776
- :keyword callable cls: A custom type or function that will be passed the direct response
736
+ LegalHold type or a IO[bytes] type. Required.
737
+ :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
777
738
  :return: LegalHold or the result of cls(response)
778
739
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
779
740
  :raises ~azure.core.exceptions.HttpResponseError:
780
741
  """
781
- error_map = {
742
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
782
743
  401: ClientAuthenticationError,
783
744
  404: ResourceNotFoundError,
784
745
  409: ResourceExistsError,
@@ -789,19 +750,19 @@ class BlobContainersOperations:
789
750
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
790
751
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
791
752
 
792
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
753
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
793
754
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
794
755
  cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
795
756
 
796
757
  content_type = content_type or "application/json"
797
758
  _json = None
798
759
  _content = None
799
- if isinstance(legal_hold, (IO, bytes)):
760
+ if isinstance(legal_hold, (IOBase, bytes)):
800
761
  _content = legal_hold
801
762
  else:
802
763
  _json = self._serialize.body(legal_hold, "LegalHold")
803
764
 
804
- request = build_set_legal_hold_request(
765
+ _request = build_set_legal_hold_request(
805
766
  resource_group_name=resource_group_name,
806
767
  account_name=account_name,
807
768
  container_name=container_name,
@@ -810,15 +771,15 @@ class BlobContainersOperations:
810
771
  content_type=content_type,
811
772
  json=_json,
812
773
  content=_content,
813
- template_url=self.set_legal_hold.metadata["url"],
814
774
  headers=_headers,
815
775
  params=_params,
816
776
  )
817
- request = _convert_request(request)
818
- request.url = self._client.format_url(request.url)
777
+ _request = _convert_request(_request)
778
+ _request.url = self._client.format_url(_request.url)
819
779
 
780
+ _stream = False
820
781
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
821
- request, stream=False, **kwargs
782
+ _request, stream=_stream, **kwargs
822
783
  )
823
784
 
824
785
  response = pipeline_response.http_response
@@ -830,13 +791,9 @@ class BlobContainersOperations:
830
791
  deserialized = self._deserialize("LegalHold", pipeline_response)
831
792
 
832
793
  if cls:
833
- return cls(pipeline_response, deserialized, {})
834
-
835
- return deserialized
794
+ return cls(pipeline_response, deserialized, {}) # type: ignore
836
795
 
837
- set_legal_hold.metadata = {
838
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
839
- }
796
+ return deserialized # type: ignore
840
797
 
841
798
  @overload
842
799
  async def clear_legal_hold(
@@ -869,7 +826,6 @@ class BlobContainersOperations:
869
826
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
870
827
  Default value is "application/json".
871
828
  :paramtype content_type: str
872
- :keyword callable cls: A custom type or function that will be passed the direct response
873
829
  :return: LegalHold or the result of cls(response)
874
830
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
875
831
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -881,7 +837,7 @@ class BlobContainersOperations:
881
837
  resource_group_name: str,
882
838
  account_name: str,
883
839
  container_name: str,
884
- legal_hold: IO,
840
+ legal_hold: IO[bytes],
885
841
  *,
886
842
  content_type: str = "application/json",
887
843
  **kwargs: Any
@@ -902,11 +858,10 @@ class BlobContainersOperations:
902
858
  by a letter or number. Required.
903
859
  :type container_name: str
904
860
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
905
- :type legal_hold: IO
861
+ :type legal_hold: IO[bytes]
906
862
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
907
863
  Default value is "application/json".
908
864
  :paramtype content_type: str
909
- :keyword callable cls: A custom type or function that will be passed the direct response
910
865
  :return: LegalHold or the result of cls(response)
911
866
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
912
867
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -918,7 +873,7 @@ class BlobContainersOperations:
918
873
  resource_group_name: str,
919
874
  account_name: str,
920
875
  container_name: str,
921
- legal_hold: Union[_models.LegalHold, IO],
876
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
922
877
  **kwargs: Any
923
878
  ) -> _models.LegalHold:
924
879
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -937,17 +892,13 @@ class BlobContainersOperations:
937
892
  by a letter or number. Required.
938
893
  :type container_name: str
939
894
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
940
- LegalHold type or a IO type. Required.
941
- :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
942
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
943
- Default value is None.
944
- :paramtype content_type: str
945
- :keyword callable cls: A custom type or function that will be passed the direct response
895
+ LegalHold type or a IO[bytes] type. Required.
896
+ :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
946
897
  :return: LegalHold or the result of cls(response)
947
898
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
948
899
  :raises ~azure.core.exceptions.HttpResponseError:
949
900
  """
950
- error_map = {
901
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
951
902
  401: ClientAuthenticationError,
952
903
  404: ResourceNotFoundError,
953
904
  409: ResourceExistsError,
@@ -958,19 +909,19 @@ class BlobContainersOperations:
958
909
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
959
910
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
960
911
 
961
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
912
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
962
913
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
963
914
  cls: ClsType[_models.LegalHold] = kwargs.pop("cls", None)
964
915
 
965
916
  content_type = content_type or "application/json"
966
917
  _json = None
967
918
  _content = None
968
- if isinstance(legal_hold, (IO, bytes)):
919
+ if isinstance(legal_hold, (IOBase, bytes)):
969
920
  _content = legal_hold
970
921
  else:
971
922
  _json = self._serialize.body(legal_hold, "LegalHold")
972
923
 
973
- request = build_clear_legal_hold_request(
924
+ _request = build_clear_legal_hold_request(
974
925
  resource_group_name=resource_group_name,
975
926
  account_name=account_name,
976
927
  container_name=container_name,
@@ -979,15 +930,15 @@ class BlobContainersOperations:
979
930
  content_type=content_type,
980
931
  json=_json,
981
932
  content=_content,
982
- template_url=self.clear_legal_hold.metadata["url"],
983
933
  headers=_headers,
984
934
  params=_params,
985
935
  )
986
- request = _convert_request(request)
987
- request.url = self._client.format_url(request.url)
936
+ _request = _convert_request(_request)
937
+ _request.url = self._client.format_url(_request.url)
988
938
 
939
+ _stream = False
989
940
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
990
- request, stream=False, **kwargs
941
+ _request, stream=_stream, **kwargs
991
942
  )
992
943
 
993
944
  response = pipeline_response.http_response
@@ -999,13 +950,9 @@ class BlobContainersOperations:
999
950
  deserialized = self._deserialize("LegalHold", pipeline_response)
1000
951
 
1001
952
  if cls:
1002
- return cls(pipeline_response, deserialized, {})
1003
-
1004
- return deserialized
953
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1005
954
 
1006
- clear_legal_hold.metadata = {
1007
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1008
- }
955
+ return deserialized # type: ignore
1009
956
 
1010
957
  @overload
1011
958
  async def create_or_update_immutability_policy(
@@ -1048,7 +995,6 @@ class BlobContainersOperations:
1048
995
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1049
996
  Default value is "application/json".
1050
997
  :paramtype content_type: str
1051
- :keyword callable cls: A custom type or function that will be passed the direct response
1052
998
  :return: ImmutabilityPolicy or the result of cls(response)
1053
999
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1054
1000
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1062,7 +1008,7 @@ class BlobContainersOperations:
1062
1008
  container_name: str,
1063
1009
  immutability_policy_name: Union[str, _models.Enum16],
1064
1010
  if_match: Optional[str] = None,
1065
- parameters: Optional[IO] = None,
1011
+ parameters: Optional[IO[bytes]] = None,
1066
1012
  *,
1067
1013
  content_type: str = "application/json",
1068
1014
  **kwargs: Any
@@ -1091,11 +1037,10 @@ class BlobContainersOperations:
1091
1037
  :type if_match: str
1092
1038
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1093
1039
  container. Default value is None.
1094
- :type parameters: IO
1040
+ :type parameters: IO[bytes]
1095
1041
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1096
1042
  Default value is "application/json".
1097
1043
  :paramtype content_type: str
1098
- :keyword callable cls: A custom type or function that will be passed the direct response
1099
1044
  :return: ImmutabilityPolicy or the result of cls(response)
1100
1045
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1101
1046
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1109,7 +1054,7 @@ class BlobContainersOperations:
1109
1054
  container_name: str,
1110
1055
  immutability_policy_name: Union[str, _models.Enum16],
1111
1056
  if_match: Optional[str] = None,
1112
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1057
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1113
1058
  **kwargs: Any
1114
1059
  ) -> _models.ImmutabilityPolicy:
1115
1060
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1135,17 +1080,13 @@ class BlobContainersOperations:
1135
1080
  omitted, this operation will always be applied. Default value is None.
1136
1081
  :type if_match: str
1137
1082
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1138
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1139
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
1140
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1141
- Default value is None.
1142
- :paramtype content_type: str
1143
- :keyword callable cls: A custom type or function that will be passed the direct response
1083
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1084
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
1144
1085
  :return: ImmutabilityPolicy or the result of cls(response)
1145
1086
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1146
1087
  :raises ~azure.core.exceptions.HttpResponseError:
1147
1088
  """
1148
- error_map = {
1089
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1149
1090
  401: ClientAuthenticationError,
1150
1091
  404: ResourceNotFoundError,
1151
1092
  409: ResourceExistsError,
@@ -1156,14 +1097,14 @@ class BlobContainersOperations:
1156
1097
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1157
1098
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1158
1099
 
1159
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1100
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1160
1101
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1161
1102
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1162
1103
 
1163
1104
  content_type = content_type or "application/json"
1164
1105
  _json = None
1165
1106
  _content = None
1166
- if isinstance(parameters, (IO, bytes)):
1107
+ if isinstance(parameters, (IOBase, bytes)):
1167
1108
  _content = parameters
1168
1109
  else:
1169
1110
  if parameters is not None:
@@ -1171,7 +1112,7 @@ class BlobContainersOperations:
1171
1112
  else:
1172
1113
  _json = None
1173
1114
 
1174
- request = build_create_or_update_immutability_policy_request(
1115
+ _request = build_create_or_update_immutability_policy_request(
1175
1116
  resource_group_name=resource_group_name,
1176
1117
  account_name=account_name,
1177
1118
  container_name=container_name,
@@ -1182,15 +1123,15 @@ class BlobContainersOperations:
1182
1123
  content_type=content_type,
1183
1124
  json=_json,
1184
1125
  content=_content,
1185
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1186
1126
  headers=_headers,
1187
1127
  params=_params,
1188
1128
  )
1189
- request = _convert_request(request)
1190
- request.url = self._client.format_url(request.url)
1129
+ _request = _convert_request(_request)
1130
+ _request.url = self._client.format_url(_request.url)
1191
1131
 
1132
+ _stream = False
1192
1133
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1193
- request, stream=False, **kwargs
1134
+ _request, stream=_stream, **kwargs
1194
1135
  )
1195
1136
 
1196
1137
  response = pipeline_response.http_response
@@ -1205,13 +1146,9 @@ class BlobContainersOperations:
1205
1146
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1206
1147
 
1207
1148
  if cls:
1208
- return cls(pipeline_response, deserialized, response_headers)
1209
-
1210
- return deserialized
1149
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1211
1150
 
1212
- create_or_update_immutability_policy.metadata = {
1213
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1214
- }
1151
+ return deserialized # type: ignore
1215
1152
 
1216
1153
  @distributed_trace_async
1217
1154
  async def get_immutability_policy(
@@ -1245,12 +1182,11 @@ class BlobContainersOperations:
1245
1182
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1246
1183
  omitted, this operation will always be applied. Default value is None.
1247
1184
  :type if_match: str
1248
- :keyword callable cls: A custom type or function that will be passed the direct response
1249
1185
  :return: ImmutabilityPolicy or the result of cls(response)
1250
1186
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1251
1187
  :raises ~azure.core.exceptions.HttpResponseError:
1252
1188
  """
1253
- error_map = {
1189
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1254
1190
  401: ClientAuthenticationError,
1255
1191
  404: ResourceNotFoundError,
1256
1192
  409: ResourceExistsError,
@@ -1261,10 +1197,10 @@ class BlobContainersOperations:
1261
1197
  _headers = kwargs.pop("headers", {}) or {}
1262
1198
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1263
1199
 
1264
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1200
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1265
1201
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1266
1202
 
1267
- request = build_get_immutability_policy_request(
1203
+ _request = build_get_immutability_policy_request(
1268
1204
  resource_group_name=resource_group_name,
1269
1205
  account_name=account_name,
1270
1206
  container_name=container_name,
@@ -1272,15 +1208,15 @@ class BlobContainersOperations:
1272
1208
  subscription_id=self._config.subscription_id,
1273
1209
  if_match=if_match,
1274
1210
  api_version=api_version,
1275
- template_url=self.get_immutability_policy.metadata["url"],
1276
1211
  headers=_headers,
1277
1212
  params=_params,
1278
1213
  )
1279
- request = _convert_request(request)
1280
- request.url = self._client.format_url(request.url)
1214
+ _request = _convert_request(_request)
1215
+ _request.url = self._client.format_url(_request.url)
1281
1216
 
1217
+ _stream = False
1282
1218
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1283
- request, stream=False, **kwargs
1219
+ _request, stream=_stream, **kwargs
1284
1220
  )
1285
1221
 
1286
1222
  response = pipeline_response.http_response
@@ -1295,13 +1231,9 @@ class BlobContainersOperations:
1295
1231
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1296
1232
 
1297
1233
  if cls:
1298
- return cls(pipeline_response, deserialized, response_headers)
1299
-
1300
- return deserialized
1234
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1301
1235
 
1302
- get_immutability_policy.metadata = {
1303
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1304
- }
1236
+ return deserialized # type: ignore
1305
1237
 
1306
1238
  @distributed_trace_async
1307
1239
  async def delete_immutability_policy(
@@ -1337,12 +1269,11 @@ class BlobContainersOperations:
1337
1269
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1338
1270
  omitted, this operation will always be applied. Required.
1339
1271
  :type if_match: str
1340
- :keyword callable cls: A custom type or function that will be passed the direct response
1341
1272
  :return: ImmutabilityPolicy or the result of cls(response)
1342
1273
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1343
1274
  :raises ~azure.core.exceptions.HttpResponseError:
1344
1275
  """
1345
- error_map = {
1276
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1346
1277
  401: ClientAuthenticationError,
1347
1278
  404: ResourceNotFoundError,
1348
1279
  409: ResourceExistsError,
@@ -1353,10 +1284,10 @@ class BlobContainersOperations:
1353
1284
  _headers = kwargs.pop("headers", {}) or {}
1354
1285
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1355
1286
 
1356
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1287
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1357
1288
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1358
1289
 
1359
- request = build_delete_immutability_policy_request(
1290
+ _request = build_delete_immutability_policy_request(
1360
1291
  resource_group_name=resource_group_name,
1361
1292
  account_name=account_name,
1362
1293
  container_name=container_name,
@@ -1364,15 +1295,15 @@ class BlobContainersOperations:
1364
1295
  subscription_id=self._config.subscription_id,
1365
1296
  if_match=if_match,
1366
1297
  api_version=api_version,
1367
- template_url=self.delete_immutability_policy.metadata["url"],
1368
1298
  headers=_headers,
1369
1299
  params=_params,
1370
1300
  )
1371
- request = _convert_request(request)
1372
- request.url = self._client.format_url(request.url)
1301
+ _request = _convert_request(_request)
1302
+ _request.url = self._client.format_url(_request.url)
1373
1303
 
1304
+ _stream = False
1374
1305
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1375
- request, stream=False, **kwargs
1306
+ _request, stream=_stream, **kwargs
1376
1307
  )
1377
1308
 
1378
1309
  response = pipeline_response.http_response
@@ -1387,13 +1318,9 @@ class BlobContainersOperations:
1387
1318
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1388
1319
 
1389
1320
  if cls:
1390
- return cls(pipeline_response, deserialized, response_headers)
1391
-
1392
- return deserialized
1321
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1393
1322
 
1394
- delete_immutability_policy.metadata = {
1395
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1396
- }
1323
+ return deserialized # type: ignore
1397
1324
 
1398
1325
  @distributed_trace_async
1399
1326
  async def lock_immutability_policy(
@@ -1418,12 +1345,11 @@ class BlobContainersOperations:
1418
1345
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1419
1346
  omitted, this operation will always be applied. Required.
1420
1347
  :type if_match: str
1421
- :keyword callable cls: A custom type or function that will be passed the direct response
1422
1348
  :return: ImmutabilityPolicy or the result of cls(response)
1423
1349
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1424
1350
  :raises ~azure.core.exceptions.HttpResponseError:
1425
1351
  """
1426
- error_map = {
1352
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1427
1353
  401: ClientAuthenticationError,
1428
1354
  404: ResourceNotFoundError,
1429
1355
  409: ResourceExistsError,
@@ -1434,25 +1360,25 @@ class BlobContainersOperations:
1434
1360
  _headers = kwargs.pop("headers", {}) or {}
1435
1361
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1436
1362
 
1437
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1363
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1438
1364
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1439
1365
 
1440
- request = build_lock_immutability_policy_request(
1366
+ _request = build_lock_immutability_policy_request(
1441
1367
  resource_group_name=resource_group_name,
1442
1368
  account_name=account_name,
1443
1369
  container_name=container_name,
1444
1370
  subscription_id=self._config.subscription_id,
1445
1371
  if_match=if_match,
1446
1372
  api_version=api_version,
1447
- template_url=self.lock_immutability_policy.metadata["url"],
1448
1373
  headers=_headers,
1449
1374
  params=_params,
1450
1375
  )
1451
- request = _convert_request(request)
1452
- request.url = self._client.format_url(request.url)
1376
+ _request = _convert_request(_request)
1377
+ _request.url = self._client.format_url(_request.url)
1453
1378
 
1379
+ _stream = False
1454
1380
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1455
- request, stream=False, **kwargs
1381
+ _request, stream=_stream, **kwargs
1456
1382
  )
1457
1383
 
1458
1384
  response = pipeline_response.http_response
@@ -1467,13 +1393,9 @@ class BlobContainersOperations:
1467
1393
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1468
1394
 
1469
1395
  if cls:
1470
- return cls(pipeline_response, deserialized, response_headers)
1471
-
1472
- return deserialized
1396
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1473
1397
 
1474
- lock_immutability_policy.metadata = {
1475
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1476
- }
1398
+ return deserialized # type: ignore
1477
1399
 
1478
1400
  @overload
1479
1401
  async def extend_immutability_policy(
@@ -1513,7 +1435,6 @@ class BlobContainersOperations:
1513
1435
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1514
1436
  Default value is "application/json".
1515
1437
  :paramtype content_type: str
1516
- :keyword callable cls: A custom type or function that will be passed the direct response
1517
1438
  :return: ImmutabilityPolicy or the result of cls(response)
1518
1439
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1519
1440
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1526,7 +1447,7 @@ class BlobContainersOperations:
1526
1447
  account_name: str,
1527
1448
  container_name: str,
1528
1449
  if_match: str,
1529
- parameters: Optional[IO] = None,
1450
+ parameters: Optional[IO[bytes]] = None,
1530
1451
  *,
1531
1452
  content_type: str = "application/json",
1532
1453
  **kwargs: Any
@@ -1553,11 +1474,10 @@ class BlobContainersOperations:
1553
1474
  :type if_match: str
1554
1475
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1555
1476
  container. Default value is None.
1556
- :type parameters: IO
1477
+ :type parameters: IO[bytes]
1557
1478
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1558
1479
  Default value is "application/json".
1559
1480
  :paramtype content_type: str
1560
- :keyword callable cls: A custom type or function that will be passed the direct response
1561
1481
  :return: ImmutabilityPolicy or the result of cls(response)
1562
1482
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1563
1483
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1570,7 +1490,7 @@ class BlobContainersOperations:
1570
1490
  account_name: str,
1571
1491
  container_name: str,
1572
1492
  if_match: str,
1573
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1493
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1574
1494
  **kwargs: Any
1575
1495
  ) -> _models.ImmutabilityPolicy:
1576
1496
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -1594,17 +1514,13 @@ class BlobContainersOperations:
1594
1514
  omitted, this operation will always be applied. Required.
1595
1515
  :type if_match: str
1596
1516
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1597
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1598
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
1599
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1600
- Default value is None.
1601
- :paramtype content_type: str
1602
- :keyword callable cls: A custom type or function that will be passed the direct response
1517
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1518
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
1603
1519
  :return: ImmutabilityPolicy or the result of cls(response)
1604
1520
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1605
1521
  :raises ~azure.core.exceptions.HttpResponseError:
1606
1522
  """
1607
- error_map = {
1523
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1608
1524
  401: ClientAuthenticationError,
1609
1525
  404: ResourceNotFoundError,
1610
1526
  409: ResourceExistsError,
@@ -1615,14 +1531,14 @@ class BlobContainersOperations:
1615
1531
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1616
1532
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1617
1533
 
1618
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1534
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1619
1535
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1620
1536
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1621
1537
 
1622
1538
  content_type = content_type or "application/json"
1623
1539
  _json = None
1624
1540
  _content = None
1625
- if isinstance(parameters, (IO, bytes)):
1541
+ if isinstance(parameters, (IOBase, bytes)):
1626
1542
  _content = parameters
1627
1543
  else:
1628
1544
  if parameters is not None:
@@ -1630,7 +1546,7 @@ class BlobContainersOperations:
1630
1546
  else:
1631
1547
  _json = None
1632
1548
 
1633
- request = build_extend_immutability_policy_request(
1549
+ _request = build_extend_immutability_policy_request(
1634
1550
  resource_group_name=resource_group_name,
1635
1551
  account_name=account_name,
1636
1552
  container_name=container_name,
@@ -1640,15 +1556,15 @@ class BlobContainersOperations:
1640
1556
  content_type=content_type,
1641
1557
  json=_json,
1642
1558
  content=_content,
1643
- template_url=self.extend_immutability_policy.metadata["url"],
1644
1559
  headers=_headers,
1645
1560
  params=_params,
1646
1561
  )
1647
- request = _convert_request(request)
1648
- request.url = self._client.format_url(request.url)
1562
+ _request = _convert_request(_request)
1563
+ _request.url = self._client.format_url(_request.url)
1649
1564
 
1565
+ _stream = False
1650
1566
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1651
- request, stream=False, **kwargs
1567
+ _request, stream=_stream, **kwargs
1652
1568
  )
1653
1569
 
1654
1570
  response = pipeline_response.http_response
@@ -1663,13 +1579,9 @@ class BlobContainersOperations:
1663
1579
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1664
1580
 
1665
1581
  if cls:
1666
- return cls(pipeline_response, deserialized, response_headers)
1582
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1667
1583
 
1668
- return deserialized
1669
-
1670
- extend_immutability_policy.metadata = {
1671
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
1672
- }
1584
+ return deserialized # type: ignore
1673
1585
 
1674
1586
  @overload
1675
1587
  async def lease(
@@ -1702,7 +1614,6 @@ class BlobContainersOperations:
1702
1614
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1703
1615
  Default value is "application/json".
1704
1616
  :paramtype content_type: str
1705
- :keyword callable cls: A custom type or function that will be passed the direct response
1706
1617
  :return: LeaseContainerResponse or the result of cls(response)
1707
1618
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
1708
1619
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1714,7 +1625,7 @@ class BlobContainersOperations:
1714
1625
  resource_group_name: str,
1715
1626
  account_name: str,
1716
1627
  container_name: str,
1717
- parameters: Optional[IO] = None,
1628
+ parameters: Optional[IO[bytes]] = None,
1718
1629
  *,
1719
1630
  content_type: str = "application/json",
1720
1631
  **kwargs: Any
@@ -1735,11 +1646,10 @@ class BlobContainersOperations:
1735
1646
  by a letter or number. Required.
1736
1647
  :type container_name: str
1737
1648
  :param parameters: Lease Container request body. Default value is None.
1738
- :type parameters: IO
1649
+ :type parameters: IO[bytes]
1739
1650
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1740
1651
  Default value is "application/json".
1741
1652
  :paramtype content_type: str
1742
- :keyword callable cls: A custom type or function that will be passed the direct response
1743
1653
  :return: LeaseContainerResponse or the result of cls(response)
1744
1654
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
1745
1655
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1751,7 +1661,7 @@ class BlobContainersOperations:
1751
1661
  resource_group_name: str,
1752
1662
  account_name: str,
1753
1663
  container_name: str,
1754
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
1664
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
1755
1665
  **kwargs: Any
1756
1666
  ) -> _models.LeaseContainerResponse:
1757
1667
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -1769,18 +1679,14 @@ class BlobContainersOperations:
1769
1679
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1770
1680
  by a letter or number. Required.
1771
1681
  :type container_name: str
1772
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
1773
- type. Default value is None.
1774
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO
1775
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1776
- Default value is None.
1777
- :paramtype content_type: str
1778
- :keyword callable cls: A custom type or function that will be passed the direct response
1682
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
1683
+ IO[bytes] type. Default value is None.
1684
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO[bytes]
1779
1685
  :return: LeaseContainerResponse or the result of cls(response)
1780
1686
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
1781
1687
  :raises ~azure.core.exceptions.HttpResponseError:
1782
1688
  """
1783
- error_map = {
1689
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1784
1690
  401: ClientAuthenticationError,
1785
1691
  404: ResourceNotFoundError,
1786
1692
  409: ResourceExistsError,
@@ -1791,14 +1697,14 @@ class BlobContainersOperations:
1791
1697
  _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
1792
1698
  _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
1793
1699
 
1794
- api_version: Literal["2019-04-01"] = kwargs.pop("api_version", _params.pop("api-version", "2019-04-01"))
1700
+ api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1795
1701
  content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
1796
1702
  cls: ClsType[_models.LeaseContainerResponse] = kwargs.pop("cls", None)
1797
1703
 
1798
1704
  content_type = content_type or "application/json"
1799
1705
  _json = None
1800
1706
  _content = None
1801
- if isinstance(parameters, (IO, bytes)):
1707
+ if isinstance(parameters, (IOBase, bytes)):
1802
1708
  _content = parameters
1803
1709
  else:
1804
1710
  if parameters is not None:
@@ -1806,7 +1712,7 @@ class BlobContainersOperations:
1806
1712
  else:
1807
1713
  _json = None
1808
1714
 
1809
- request = build_lease_request(
1715
+ _request = build_lease_request(
1810
1716
  resource_group_name=resource_group_name,
1811
1717
  account_name=account_name,
1812
1718
  container_name=container_name,
@@ -1815,15 +1721,15 @@ class BlobContainersOperations:
1815
1721
  content_type=content_type,
1816
1722
  json=_json,
1817
1723
  content=_content,
1818
- template_url=self.lease.metadata["url"],
1819
1724
  headers=_headers,
1820
1725
  params=_params,
1821
1726
  )
1822
- request = _convert_request(request)
1823
- request.url = self._client.format_url(request.url)
1727
+ _request = _convert_request(_request)
1728
+ _request.url = self._client.format_url(_request.url)
1824
1729
 
1730
+ _stream = False
1825
1731
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1826
- request, stream=False, **kwargs
1732
+ _request, stream=_stream, **kwargs
1827
1733
  )
1828
1734
 
1829
1735
  response = pipeline_response.http_response
@@ -1835,10 +1741,6 @@ class BlobContainersOperations:
1835
1741
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
1836
1742
 
1837
1743
  if cls:
1838
- return cls(pipeline_response, deserialized, {})
1839
-
1840
- return deserialized
1744
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1841
1745
 
1842
- lease.metadata = {
1843
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
1844
- }
1746
+ return deserialized # type: ignore