azure-mgmt-storage 21.1.0__py3-none-any.whl → 21.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,7 +7,8 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
- from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
10
+ import sys
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,6 +46,10 @@ from ...operations._blob_containers_operations import (
45
46
  build_update_request,
46
47
  )
47
48
 
49
+ if sys.version_info >= (3, 9):
50
+ from collections.abc import MutableMapping
51
+ else:
52
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
48
53
  T = TypeVar("T")
49
54
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
50
55
 
@@ -97,7 +102,6 @@ class BlobContainersOperations:
97
102
  :param filter: Optional. When specified, only container names starting with the filter will be
98
103
  listed. Default value is None.
99
104
  :type filter: str
100
- :keyword callable cls: A custom type or function that will be passed the direct response
101
105
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
102
106
  :rtype:
103
107
  ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2019_04_01.models.ListContainerItem]
@@ -109,7 +113,7 @@ class BlobContainersOperations:
109
113
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
110
114
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
111
115
 
112
- error_map = {
116
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
113
117
  401: ClientAuthenticationError,
114
118
  404: ResourceNotFoundError,
115
119
  409: ResourceExistsError,
@@ -120,7 +124,7 @@ class BlobContainersOperations:
120
124
  def prepare_request(next_link=None):
121
125
  if not next_link:
122
126
 
123
- request = build_list_request(
127
+ _request = build_list_request(
124
128
  resource_group_name=resource_group_name,
125
129
  account_name=account_name,
126
130
  subscription_id=self._config.subscription_id,
@@ -128,12 +132,11 @@ class BlobContainersOperations:
128
132
  maxpagesize=maxpagesize,
129
133
  filter=filter,
130
134
  api_version=api_version,
131
- template_url=self.list.metadata["url"],
132
135
  headers=_headers,
133
136
  params=_params,
134
137
  )
135
- request = _convert_request(request)
136
- request.url = self._client.format_url(request.url)
138
+ _request = _convert_request(_request)
139
+ _request.url = self._client.format_url(_request.url)
137
140
 
138
141
  else:
139
142
  # make call to next link with the client's api-version
@@ -144,14 +147,14 @@ class BlobContainersOperations:
144
147
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
145
148
  }
146
149
  )
147
- _next_request_params["api-version"] = self._config.api_version
148
- request = HttpRequest(
150
+ _next_request_params["api-version"] = self._api_version
151
+ _request = HttpRequest(
149
152
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
150
153
  )
151
- request = _convert_request(request)
152
- request.url = self._client.format_url(request.url)
153
- request.method = "GET"
154
- return request
154
+ _request = _convert_request(_request)
155
+ _request.url = self._client.format_url(_request.url)
156
+ _request.method = "GET"
157
+ return _request
155
158
 
156
159
  async def extract_data(pipeline_response):
157
160
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -161,11 +164,11 @@ class BlobContainersOperations:
161
164
  return deserialized.next_link or None, AsyncList(list_of_elem)
162
165
 
163
166
  async def get_next(next_link=None):
164
- request = prepare_request(next_link)
167
+ _request = prepare_request(next_link)
165
168
 
166
169
  _stream = False
167
170
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
168
- request, stream=_stream, **kwargs
171
+ _request, stream=_stream, **kwargs
169
172
  )
170
173
  response = pipeline_response.http_response
171
174
 
@@ -177,10 +180,6 @@ class BlobContainersOperations:
177
180
 
178
181
  return AsyncItemPaged(get_next, extract_data)
179
182
 
180
- list.metadata = {
181
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
182
- }
183
-
184
183
  @overload
185
184
  async def create(
186
185
  self,
@@ -213,7 +212,6 @@ class BlobContainersOperations:
213
212
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
214
213
  Default value is "application/json".
215
214
  :paramtype content_type: str
216
- :keyword callable cls: A custom type or function that will be passed the direct response
217
215
  :return: BlobContainer or the result of cls(response)
218
216
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
219
217
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -225,7 +223,7 @@ class BlobContainersOperations:
225
223
  resource_group_name: str,
226
224
  account_name: str,
227
225
  container_name: str,
228
- blob_container: IO,
226
+ blob_container: IO[bytes],
229
227
  *,
230
228
  content_type: str = "application/json",
231
229
  **kwargs: Any
@@ -247,11 +245,10 @@ class BlobContainersOperations:
247
245
  by a letter or number. Required.
248
246
  :type container_name: str
249
247
  :param blob_container: Properties of the blob container to create. Required.
250
- :type blob_container: IO
248
+ :type blob_container: IO[bytes]
251
249
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
252
250
  Default value is "application/json".
253
251
  :paramtype content_type: str
254
- :keyword callable cls: A custom type or function that will be passed the direct response
255
252
  :return: BlobContainer or the result of cls(response)
256
253
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
257
254
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -263,7 +260,7 @@ class BlobContainersOperations:
263
260
  resource_group_name: str,
264
261
  account_name: str,
265
262
  container_name: str,
266
- blob_container: Union[_models.BlobContainer, IO],
263
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
267
264
  **kwargs: Any
268
265
  ) -> _models.BlobContainer:
269
266
  """Creates a new container under the specified account as described by request body. The container
@@ -283,17 +280,13 @@ class BlobContainersOperations:
283
280
  by a letter or number. Required.
284
281
  :type container_name: str
285
282
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
286
- type or a IO type. Required.
287
- :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
288
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
289
- Default value is None.
290
- :paramtype content_type: str
291
- :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]
292
285
  :return: BlobContainer or the result of cls(response)
293
286
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
294
287
  :raises ~azure.core.exceptions.HttpResponseError:
295
288
  """
296
- error_map = {
289
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
297
290
  401: ClientAuthenticationError,
298
291
  404: ResourceNotFoundError,
299
292
  409: ResourceExistsError,
@@ -316,7 +309,7 @@ class BlobContainersOperations:
316
309
  else:
317
310
  _json = self._serialize.body(blob_container, "BlobContainer")
318
311
 
319
- request = build_create_request(
312
+ _request = build_create_request(
320
313
  resource_group_name=resource_group_name,
321
314
  account_name=account_name,
322
315
  container_name=container_name,
@@ -325,16 +318,15 @@ class BlobContainersOperations:
325
318
  content_type=content_type,
326
319
  json=_json,
327
320
  content=_content,
328
- template_url=self.create.metadata["url"],
329
321
  headers=_headers,
330
322
  params=_params,
331
323
  )
332
- request = _convert_request(request)
333
- request.url = self._client.format_url(request.url)
324
+ _request = _convert_request(_request)
325
+ _request.url = self._client.format_url(_request.url)
334
326
 
335
327
  _stream = False
336
328
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
337
- request, stream=_stream, **kwargs
329
+ _request, stream=_stream, **kwargs
338
330
  )
339
331
 
340
332
  response = pipeline_response.http_response
@@ -354,10 +346,6 @@ class BlobContainersOperations:
354
346
 
355
347
  return deserialized # type: ignore
356
348
 
357
- create.metadata = {
358
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
359
- }
360
-
361
349
  @overload
362
350
  async def update(
363
351
  self,
@@ -389,7 +377,6 @@ class BlobContainersOperations:
389
377
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
390
378
  Default value is "application/json".
391
379
  :paramtype content_type: str
392
- :keyword callable cls: A custom type or function that will be passed the direct response
393
380
  :return: BlobContainer or the result of cls(response)
394
381
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
395
382
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -401,7 +388,7 @@ class BlobContainersOperations:
401
388
  resource_group_name: str,
402
389
  account_name: str,
403
390
  container_name: str,
404
- blob_container: IO,
391
+ blob_container: IO[bytes],
405
392
  *,
406
393
  content_type: str = "application/json",
407
394
  **kwargs: Any
@@ -422,11 +409,10 @@ class BlobContainersOperations:
422
409
  by a letter or number. Required.
423
410
  :type container_name: str
424
411
  :param blob_container: Properties to update for the blob container. Required.
425
- :type blob_container: IO
412
+ :type blob_container: IO[bytes]
426
413
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
427
414
  Default value is "application/json".
428
415
  :paramtype content_type: str
429
- :keyword callable cls: A custom type or function that will be passed the direct response
430
416
  :return: BlobContainer or the result of cls(response)
431
417
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
432
418
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -438,7 +424,7 @@ class BlobContainersOperations:
438
424
  resource_group_name: str,
439
425
  account_name: str,
440
426
  container_name: str,
441
- blob_container: Union[_models.BlobContainer, IO],
427
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
442
428
  **kwargs: Any
443
429
  ) -> _models.BlobContainer:
444
430
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -457,17 +443,13 @@ class BlobContainersOperations:
457
443
  by a letter or number. Required.
458
444
  :type container_name: str
459
445
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
460
- type or a IO type. Required.
461
- :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
462
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
463
- Default value is None.
464
- :paramtype content_type: str
465
- :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]
466
448
  :return: BlobContainer or the result of cls(response)
467
449
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
468
450
  :raises ~azure.core.exceptions.HttpResponseError:
469
451
  """
470
- error_map = {
452
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
471
453
  401: ClientAuthenticationError,
472
454
  404: ResourceNotFoundError,
473
455
  409: ResourceExistsError,
@@ -490,7 +472,7 @@ class BlobContainersOperations:
490
472
  else:
491
473
  _json = self._serialize.body(blob_container, "BlobContainer")
492
474
 
493
- request = build_update_request(
475
+ _request = build_update_request(
494
476
  resource_group_name=resource_group_name,
495
477
  account_name=account_name,
496
478
  container_name=container_name,
@@ -499,16 +481,15 @@ class BlobContainersOperations:
499
481
  content_type=content_type,
500
482
  json=_json,
501
483
  content=_content,
502
- template_url=self.update.metadata["url"],
503
484
  headers=_headers,
504
485
  params=_params,
505
486
  )
506
- request = _convert_request(request)
507
- request.url = self._client.format_url(request.url)
487
+ _request = _convert_request(_request)
488
+ _request.url = self._client.format_url(_request.url)
508
489
 
509
490
  _stream = False
510
491
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
511
- request, stream=_stream, **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,
@@ -565,22 +541,21 @@ class BlobContainersOperations:
565
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
 
581
556
  _stream = False
582
557
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
583
- request, stream=_stream, **kwargs
558
+ _request, stream=_stream, **kwargs
584
559
  )
585
560
 
586
561
  response = pipeline_response.http_response
@@ -592,13 +567,9 @@ class BlobContainersOperations:
592
567
  deserialized = self._deserialize("BlobContainer", pipeline_response)
593
568
 
594
569
  if cls:
595
- return cls(pipeline_response, deserialized, {})
596
-
597
- return deserialized
570
+ return cls(pipeline_response, deserialized, {}) # type: ignore
598
571
 
599
- get.metadata = {
600
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
601
- }
572
+ return deserialized # type: ignore
602
573
 
603
574
  @distributed_trace_async
604
575
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -618,12 +589,11 @@ class BlobContainersOperations:
618
589
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
619
590
  by a letter or number. Required.
620
591
  :type container_name: str
621
- :keyword callable cls: A custom type or function that will be passed the direct response
622
592
  :return: None or the result of cls(response)
623
593
  :rtype: None
624
594
  :raises ~azure.core.exceptions.HttpResponseError:
625
595
  """
626
- error_map = {
596
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
627
597
  401: ClientAuthenticationError,
628
598
  404: ResourceNotFoundError,
629
599
  409: ResourceExistsError,
@@ -637,22 +607,21 @@ class BlobContainersOperations:
637
607
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
638
608
  cls: ClsType[None] = kwargs.pop("cls", None)
639
609
 
640
- request = build_delete_request(
610
+ _request = build_delete_request(
641
611
  resource_group_name=resource_group_name,
642
612
  account_name=account_name,
643
613
  container_name=container_name,
644
614
  subscription_id=self._config.subscription_id,
645
615
  api_version=api_version,
646
- template_url=self.delete.metadata["url"],
647
616
  headers=_headers,
648
617
  params=_params,
649
618
  )
650
- request = _convert_request(request)
651
- request.url = self._client.format_url(request.url)
619
+ _request = _convert_request(_request)
620
+ _request.url = self._client.format_url(_request.url)
652
621
 
653
622
  _stream = False
654
623
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
655
- request, stream=_stream, **kwargs
624
+ _request, stream=_stream, **kwargs
656
625
  )
657
626
 
658
627
  response = pipeline_response.http_response
@@ -662,11 +631,7 @@ class BlobContainersOperations:
662
631
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
663
632
 
664
633
  if cls:
665
- return cls(pipeline_response, None, {})
666
-
667
- delete.metadata = {
668
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
669
- }
634
+ return cls(pipeline_response, None, {}) # type: ignore
670
635
 
671
636
  @overload
672
637
  async def set_legal_hold(
@@ -700,7 +665,6 @@ class BlobContainersOperations:
700
665
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
701
666
  Default value is "application/json".
702
667
  :paramtype content_type: str
703
- :keyword callable cls: A custom type or function that will be passed the direct response
704
668
  :return: LegalHold or the result of cls(response)
705
669
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
706
670
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -712,7 +676,7 @@ class BlobContainersOperations:
712
676
  resource_group_name: str,
713
677
  account_name: str,
714
678
  container_name: str,
715
- legal_hold: IO,
679
+ legal_hold: IO[bytes],
716
680
  *,
717
681
  content_type: str = "application/json",
718
682
  **kwargs: Any
@@ -734,11 +698,10 @@ class BlobContainersOperations:
734
698
  by a letter or number. Required.
735
699
  :type container_name: str
736
700
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
737
- :type legal_hold: IO
701
+ :type legal_hold: IO[bytes]
738
702
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
739
703
  Default value is "application/json".
740
704
  :paramtype content_type: str
741
- :keyword callable cls: A custom type or function that will be passed the direct response
742
705
  :return: LegalHold or the result of cls(response)
743
706
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
744
707
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -750,7 +713,7 @@ class BlobContainersOperations:
750
713
  resource_group_name: str,
751
714
  account_name: str,
752
715
  container_name: str,
753
- legal_hold: Union[_models.LegalHold, IO],
716
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
754
717
  **kwargs: Any
755
718
  ) -> _models.LegalHold:
756
719
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -770,17 +733,13 @@ class BlobContainersOperations:
770
733
  by a letter or number. Required.
771
734
  :type container_name: str
772
735
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
773
- LegalHold type or a IO type. Required.
774
- :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
775
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
776
- Default value is None.
777
- :paramtype content_type: str
778
- :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]
779
738
  :return: LegalHold or the result of cls(response)
780
739
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
781
740
  :raises ~azure.core.exceptions.HttpResponseError:
782
741
  """
783
- error_map = {
742
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
784
743
  401: ClientAuthenticationError,
785
744
  404: ResourceNotFoundError,
786
745
  409: ResourceExistsError,
@@ -803,7 +762,7 @@ class BlobContainersOperations:
803
762
  else:
804
763
  _json = self._serialize.body(legal_hold, "LegalHold")
805
764
 
806
- request = build_set_legal_hold_request(
765
+ _request = build_set_legal_hold_request(
807
766
  resource_group_name=resource_group_name,
808
767
  account_name=account_name,
809
768
  container_name=container_name,
@@ -812,16 +771,15 @@ class BlobContainersOperations:
812
771
  content_type=content_type,
813
772
  json=_json,
814
773
  content=_content,
815
- template_url=self.set_legal_hold.metadata["url"],
816
774
  headers=_headers,
817
775
  params=_params,
818
776
  )
819
- request = _convert_request(request)
820
- request.url = self._client.format_url(request.url)
777
+ _request = _convert_request(_request)
778
+ _request.url = self._client.format_url(_request.url)
821
779
 
822
780
  _stream = False
823
781
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
824
- request, stream=_stream, **kwargs
782
+ _request, stream=_stream, **kwargs
825
783
  )
826
784
 
827
785
  response = pipeline_response.http_response
@@ -833,13 +791,9 @@ class BlobContainersOperations:
833
791
  deserialized = self._deserialize("LegalHold", pipeline_response)
834
792
 
835
793
  if cls:
836
- return cls(pipeline_response, deserialized, {})
837
-
838
- return deserialized
794
+ return cls(pipeline_response, deserialized, {}) # type: ignore
839
795
 
840
- set_legal_hold.metadata = {
841
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
842
- }
796
+ return deserialized # type: ignore
843
797
 
844
798
  @overload
845
799
  async def clear_legal_hold(
@@ -872,7 +826,6 @@ class BlobContainersOperations:
872
826
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
873
827
  Default value is "application/json".
874
828
  :paramtype content_type: str
875
- :keyword callable cls: A custom type or function that will be passed the direct response
876
829
  :return: LegalHold or the result of cls(response)
877
830
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
878
831
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -884,7 +837,7 @@ class BlobContainersOperations:
884
837
  resource_group_name: str,
885
838
  account_name: str,
886
839
  container_name: str,
887
- legal_hold: IO,
840
+ legal_hold: IO[bytes],
888
841
  *,
889
842
  content_type: str = "application/json",
890
843
  **kwargs: Any
@@ -905,11 +858,10 @@ class BlobContainersOperations:
905
858
  by a letter or number. Required.
906
859
  :type container_name: str
907
860
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
908
- :type legal_hold: IO
861
+ :type legal_hold: IO[bytes]
909
862
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
910
863
  Default value is "application/json".
911
864
  :paramtype content_type: str
912
- :keyword callable cls: A custom type or function that will be passed the direct response
913
865
  :return: LegalHold or the result of cls(response)
914
866
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
915
867
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -921,7 +873,7 @@ class BlobContainersOperations:
921
873
  resource_group_name: str,
922
874
  account_name: str,
923
875
  container_name: str,
924
- legal_hold: Union[_models.LegalHold, IO],
876
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
925
877
  **kwargs: Any
926
878
  ) -> _models.LegalHold:
927
879
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -940,17 +892,13 @@ class BlobContainersOperations:
940
892
  by a letter or number. Required.
941
893
  :type container_name: str
942
894
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
943
- LegalHold type or a IO type. Required.
944
- :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
945
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
946
- Default value is None.
947
- :paramtype content_type: str
948
- :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]
949
897
  :return: LegalHold or the result of cls(response)
950
898
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
951
899
  :raises ~azure.core.exceptions.HttpResponseError:
952
900
  """
953
- error_map = {
901
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
954
902
  401: ClientAuthenticationError,
955
903
  404: ResourceNotFoundError,
956
904
  409: ResourceExistsError,
@@ -973,7 +921,7 @@ class BlobContainersOperations:
973
921
  else:
974
922
  _json = self._serialize.body(legal_hold, "LegalHold")
975
923
 
976
- request = build_clear_legal_hold_request(
924
+ _request = build_clear_legal_hold_request(
977
925
  resource_group_name=resource_group_name,
978
926
  account_name=account_name,
979
927
  container_name=container_name,
@@ -982,16 +930,15 @@ class BlobContainersOperations:
982
930
  content_type=content_type,
983
931
  json=_json,
984
932
  content=_content,
985
- template_url=self.clear_legal_hold.metadata["url"],
986
933
  headers=_headers,
987
934
  params=_params,
988
935
  )
989
- request = _convert_request(request)
990
- request.url = self._client.format_url(request.url)
936
+ _request = _convert_request(_request)
937
+ _request.url = self._client.format_url(_request.url)
991
938
 
992
939
  _stream = False
993
940
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
994
- request, stream=_stream, **kwargs
941
+ _request, stream=_stream, **kwargs
995
942
  )
996
943
 
997
944
  response = pipeline_response.http_response
@@ -1003,13 +950,9 @@ class BlobContainersOperations:
1003
950
  deserialized = self._deserialize("LegalHold", pipeline_response)
1004
951
 
1005
952
  if cls:
1006
- return cls(pipeline_response, deserialized, {})
1007
-
1008
- return deserialized
953
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1009
954
 
1010
- clear_legal_hold.metadata = {
1011
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1012
- }
955
+ return deserialized # type: ignore
1013
956
 
1014
957
  @overload
1015
958
  async def create_or_update_immutability_policy(
@@ -1052,7 +995,6 @@ class BlobContainersOperations:
1052
995
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1053
996
  Default value is "application/json".
1054
997
  :paramtype content_type: str
1055
- :keyword callable cls: A custom type or function that will be passed the direct response
1056
998
  :return: ImmutabilityPolicy or the result of cls(response)
1057
999
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1058
1000
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1066,7 +1008,7 @@ class BlobContainersOperations:
1066
1008
  container_name: str,
1067
1009
  immutability_policy_name: Union[str, _models.Enum16],
1068
1010
  if_match: Optional[str] = None,
1069
- parameters: Optional[IO] = None,
1011
+ parameters: Optional[IO[bytes]] = None,
1070
1012
  *,
1071
1013
  content_type: str = "application/json",
1072
1014
  **kwargs: Any
@@ -1095,11 +1037,10 @@ class BlobContainersOperations:
1095
1037
  :type if_match: str
1096
1038
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1097
1039
  container. Default value is None.
1098
- :type parameters: IO
1040
+ :type parameters: IO[bytes]
1099
1041
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1100
1042
  Default value is "application/json".
1101
1043
  :paramtype content_type: str
1102
- :keyword callable cls: A custom type or function that will be passed the direct response
1103
1044
  :return: ImmutabilityPolicy or the result of cls(response)
1104
1045
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1105
1046
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1113,7 +1054,7 @@ class BlobContainersOperations:
1113
1054
  container_name: str,
1114
1055
  immutability_policy_name: Union[str, _models.Enum16],
1115
1056
  if_match: Optional[str] = None,
1116
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1057
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1117
1058
  **kwargs: Any
1118
1059
  ) -> _models.ImmutabilityPolicy:
1119
1060
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1139,17 +1080,13 @@ class BlobContainersOperations:
1139
1080
  omitted, this operation will always be applied. Default value is None.
1140
1081
  :type if_match: str
1141
1082
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1142
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1143
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
1144
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1145
- Default value is None.
1146
- :paramtype content_type: str
1147
- :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]
1148
1085
  :return: ImmutabilityPolicy or the result of cls(response)
1149
1086
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1150
1087
  :raises ~azure.core.exceptions.HttpResponseError:
1151
1088
  """
1152
- error_map = {
1089
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1153
1090
  401: ClientAuthenticationError,
1154
1091
  404: ResourceNotFoundError,
1155
1092
  409: ResourceExistsError,
@@ -1175,7 +1112,7 @@ class BlobContainersOperations:
1175
1112
  else:
1176
1113
  _json = None
1177
1114
 
1178
- request = build_create_or_update_immutability_policy_request(
1115
+ _request = build_create_or_update_immutability_policy_request(
1179
1116
  resource_group_name=resource_group_name,
1180
1117
  account_name=account_name,
1181
1118
  container_name=container_name,
@@ -1186,16 +1123,15 @@ class BlobContainersOperations:
1186
1123
  content_type=content_type,
1187
1124
  json=_json,
1188
1125
  content=_content,
1189
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1190
1126
  headers=_headers,
1191
1127
  params=_params,
1192
1128
  )
1193
- request = _convert_request(request)
1194
- request.url = self._client.format_url(request.url)
1129
+ _request = _convert_request(_request)
1130
+ _request.url = self._client.format_url(_request.url)
1195
1131
 
1196
1132
  _stream = False
1197
1133
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1198
- request, stream=_stream, **kwargs
1134
+ _request, stream=_stream, **kwargs
1199
1135
  )
1200
1136
 
1201
1137
  response = pipeline_response.http_response
@@ -1210,13 +1146,9 @@ class BlobContainersOperations:
1210
1146
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1211
1147
 
1212
1148
  if cls:
1213
- return cls(pipeline_response, deserialized, response_headers)
1214
-
1215
- return deserialized
1149
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1216
1150
 
1217
- create_or_update_immutability_policy.metadata = {
1218
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1219
- }
1151
+ return deserialized # type: ignore
1220
1152
 
1221
1153
  @distributed_trace_async
1222
1154
  async def get_immutability_policy(
@@ -1250,12 +1182,11 @@ class BlobContainersOperations:
1250
1182
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1251
1183
  omitted, this operation will always be applied. Default value is None.
1252
1184
  :type if_match: str
1253
- :keyword callable cls: A custom type or function that will be passed the direct response
1254
1185
  :return: ImmutabilityPolicy or the result of cls(response)
1255
1186
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1256
1187
  :raises ~azure.core.exceptions.HttpResponseError:
1257
1188
  """
1258
- error_map = {
1189
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1259
1190
  401: ClientAuthenticationError,
1260
1191
  404: ResourceNotFoundError,
1261
1192
  409: ResourceExistsError,
@@ -1269,7 +1200,7 @@ class BlobContainersOperations:
1269
1200
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1270
1201
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1271
1202
 
1272
- request = build_get_immutability_policy_request(
1203
+ _request = build_get_immutability_policy_request(
1273
1204
  resource_group_name=resource_group_name,
1274
1205
  account_name=account_name,
1275
1206
  container_name=container_name,
@@ -1277,16 +1208,15 @@ class BlobContainersOperations:
1277
1208
  subscription_id=self._config.subscription_id,
1278
1209
  if_match=if_match,
1279
1210
  api_version=api_version,
1280
- template_url=self.get_immutability_policy.metadata["url"],
1281
1211
  headers=_headers,
1282
1212
  params=_params,
1283
1213
  )
1284
- request = _convert_request(request)
1285
- request.url = self._client.format_url(request.url)
1214
+ _request = _convert_request(_request)
1215
+ _request.url = self._client.format_url(_request.url)
1286
1216
 
1287
1217
  _stream = False
1288
1218
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1289
- request, stream=_stream, **kwargs
1219
+ _request, stream=_stream, **kwargs
1290
1220
  )
1291
1221
 
1292
1222
  response = pipeline_response.http_response
@@ -1301,13 +1231,9 @@ class BlobContainersOperations:
1301
1231
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1302
1232
 
1303
1233
  if cls:
1304
- return cls(pipeline_response, deserialized, response_headers)
1305
-
1306
- return deserialized
1234
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1307
1235
 
1308
- get_immutability_policy.metadata = {
1309
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1310
- }
1236
+ return deserialized # type: ignore
1311
1237
 
1312
1238
  @distributed_trace_async
1313
1239
  async def delete_immutability_policy(
@@ -1343,12 +1269,11 @@ class BlobContainersOperations:
1343
1269
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1344
1270
  omitted, this operation will always be applied. Required.
1345
1271
  :type if_match: str
1346
- :keyword callable cls: A custom type or function that will be passed the direct response
1347
1272
  :return: ImmutabilityPolicy or the result of cls(response)
1348
1273
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1349
1274
  :raises ~azure.core.exceptions.HttpResponseError:
1350
1275
  """
1351
- error_map = {
1276
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1352
1277
  401: ClientAuthenticationError,
1353
1278
  404: ResourceNotFoundError,
1354
1279
  409: ResourceExistsError,
@@ -1362,7 +1287,7 @@ class BlobContainersOperations:
1362
1287
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1363
1288
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1364
1289
 
1365
- request = build_delete_immutability_policy_request(
1290
+ _request = build_delete_immutability_policy_request(
1366
1291
  resource_group_name=resource_group_name,
1367
1292
  account_name=account_name,
1368
1293
  container_name=container_name,
@@ -1370,16 +1295,15 @@ class BlobContainersOperations:
1370
1295
  subscription_id=self._config.subscription_id,
1371
1296
  if_match=if_match,
1372
1297
  api_version=api_version,
1373
- template_url=self.delete_immutability_policy.metadata["url"],
1374
1298
  headers=_headers,
1375
1299
  params=_params,
1376
1300
  )
1377
- request = _convert_request(request)
1378
- request.url = self._client.format_url(request.url)
1301
+ _request = _convert_request(_request)
1302
+ _request.url = self._client.format_url(_request.url)
1379
1303
 
1380
1304
  _stream = False
1381
1305
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1382
- request, stream=_stream, **kwargs
1306
+ _request, stream=_stream, **kwargs
1383
1307
  )
1384
1308
 
1385
1309
  response = pipeline_response.http_response
@@ -1394,13 +1318,9 @@ class BlobContainersOperations:
1394
1318
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1395
1319
 
1396
1320
  if cls:
1397
- return cls(pipeline_response, deserialized, response_headers)
1398
-
1399
- return deserialized
1321
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1400
1322
 
1401
- delete_immutability_policy.metadata = {
1402
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1403
- }
1323
+ return deserialized # type: ignore
1404
1324
 
1405
1325
  @distributed_trace_async
1406
1326
  async def lock_immutability_policy(
@@ -1425,12 +1345,11 @@ class BlobContainersOperations:
1425
1345
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1426
1346
  omitted, this operation will always be applied. Required.
1427
1347
  :type if_match: str
1428
- :keyword callable cls: A custom type or function that will be passed the direct response
1429
1348
  :return: ImmutabilityPolicy or the result of cls(response)
1430
1349
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1431
1350
  :raises ~azure.core.exceptions.HttpResponseError:
1432
1351
  """
1433
- error_map = {
1352
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1434
1353
  401: ClientAuthenticationError,
1435
1354
  404: ResourceNotFoundError,
1436
1355
  409: ResourceExistsError,
@@ -1444,23 +1363,22 @@ class BlobContainersOperations:
1444
1363
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1445
1364
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1446
1365
 
1447
- request = build_lock_immutability_policy_request(
1366
+ _request = build_lock_immutability_policy_request(
1448
1367
  resource_group_name=resource_group_name,
1449
1368
  account_name=account_name,
1450
1369
  container_name=container_name,
1451
1370
  subscription_id=self._config.subscription_id,
1452
1371
  if_match=if_match,
1453
1372
  api_version=api_version,
1454
- template_url=self.lock_immutability_policy.metadata["url"],
1455
1373
  headers=_headers,
1456
1374
  params=_params,
1457
1375
  )
1458
- request = _convert_request(request)
1459
- request.url = self._client.format_url(request.url)
1376
+ _request = _convert_request(_request)
1377
+ _request.url = self._client.format_url(_request.url)
1460
1378
 
1461
1379
  _stream = False
1462
1380
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1463
- request, stream=_stream, **kwargs
1381
+ _request, stream=_stream, **kwargs
1464
1382
  )
1465
1383
 
1466
1384
  response = pipeline_response.http_response
@@ -1475,13 +1393,9 @@ class BlobContainersOperations:
1475
1393
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1476
1394
 
1477
1395
  if cls:
1478
- return cls(pipeline_response, deserialized, response_headers)
1479
-
1480
- return deserialized
1396
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1481
1397
 
1482
- lock_immutability_policy.metadata = {
1483
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1484
- }
1398
+ return deserialized # type: ignore
1485
1399
 
1486
1400
  @overload
1487
1401
  async def extend_immutability_policy(
@@ -1521,7 +1435,6 @@ class BlobContainersOperations:
1521
1435
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1522
1436
  Default value is "application/json".
1523
1437
  :paramtype content_type: str
1524
- :keyword callable cls: A custom type or function that will be passed the direct response
1525
1438
  :return: ImmutabilityPolicy or the result of cls(response)
1526
1439
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1527
1440
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1534,7 +1447,7 @@ class BlobContainersOperations:
1534
1447
  account_name: str,
1535
1448
  container_name: str,
1536
1449
  if_match: str,
1537
- parameters: Optional[IO] = None,
1450
+ parameters: Optional[IO[bytes]] = None,
1538
1451
  *,
1539
1452
  content_type: str = "application/json",
1540
1453
  **kwargs: Any
@@ -1561,11 +1474,10 @@ class BlobContainersOperations:
1561
1474
  :type if_match: str
1562
1475
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1563
1476
  container. Default value is None.
1564
- :type parameters: IO
1477
+ :type parameters: IO[bytes]
1565
1478
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1566
1479
  Default value is "application/json".
1567
1480
  :paramtype content_type: str
1568
- :keyword callable cls: A custom type or function that will be passed the direct response
1569
1481
  :return: ImmutabilityPolicy or the result of cls(response)
1570
1482
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1571
1483
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1578,7 +1490,7 @@ class BlobContainersOperations:
1578
1490
  account_name: str,
1579
1491
  container_name: str,
1580
1492
  if_match: str,
1581
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1493
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1582
1494
  **kwargs: Any
1583
1495
  ) -> _models.ImmutabilityPolicy:
1584
1496
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -1602,17 +1514,13 @@ class BlobContainersOperations:
1602
1514
  omitted, this operation will always be applied. Required.
1603
1515
  :type if_match: str
1604
1516
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1605
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1606
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
1607
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1608
- Default value is None.
1609
- :paramtype content_type: str
1610
- :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]
1611
1519
  :return: ImmutabilityPolicy or the result of cls(response)
1612
1520
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1613
1521
  :raises ~azure.core.exceptions.HttpResponseError:
1614
1522
  """
1615
- error_map = {
1523
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1616
1524
  401: ClientAuthenticationError,
1617
1525
  404: ResourceNotFoundError,
1618
1526
  409: ResourceExistsError,
@@ -1638,7 +1546,7 @@ class BlobContainersOperations:
1638
1546
  else:
1639
1547
  _json = None
1640
1548
 
1641
- request = build_extend_immutability_policy_request(
1549
+ _request = build_extend_immutability_policy_request(
1642
1550
  resource_group_name=resource_group_name,
1643
1551
  account_name=account_name,
1644
1552
  container_name=container_name,
@@ -1648,16 +1556,15 @@ class BlobContainersOperations:
1648
1556
  content_type=content_type,
1649
1557
  json=_json,
1650
1558
  content=_content,
1651
- template_url=self.extend_immutability_policy.metadata["url"],
1652
1559
  headers=_headers,
1653
1560
  params=_params,
1654
1561
  )
1655
- request = _convert_request(request)
1656
- request.url = self._client.format_url(request.url)
1562
+ _request = _convert_request(_request)
1563
+ _request.url = self._client.format_url(_request.url)
1657
1564
 
1658
1565
  _stream = False
1659
1566
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1660
- request, stream=_stream, **kwargs
1567
+ _request, stream=_stream, **kwargs
1661
1568
  )
1662
1569
 
1663
1570
  response = pipeline_response.http_response
@@ -1672,13 +1579,9 @@ class BlobContainersOperations:
1672
1579
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1673
1580
 
1674
1581
  if cls:
1675
- return cls(pipeline_response, deserialized, response_headers)
1582
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1676
1583
 
1677
- return deserialized
1678
-
1679
- extend_immutability_policy.metadata = {
1680
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
1681
- }
1584
+ return deserialized # type: ignore
1682
1585
 
1683
1586
  @overload
1684
1587
  async def lease(
@@ -1711,7 +1614,6 @@ class BlobContainersOperations:
1711
1614
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1712
1615
  Default value is "application/json".
1713
1616
  :paramtype content_type: str
1714
- :keyword callable cls: A custom type or function that will be passed the direct response
1715
1617
  :return: LeaseContainerResponse or the result of cls(response)
1716
1618
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
1717
1619
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1723,7 +1625,7 @@ class BlobContainersOperations:
1723
1625
  resource_group_name: str,
1724
1626
  account_name: str,
1725
1627
  container_name: str,
1726
- parameters: Optional[IO] = None,
1628
+ parameters: Optional[IO[bytes]] = None,
1727
1629
  *,
1728
1630
  content_type: str = "application/json",
1729
1631
  **kwargs: Any
@@ -1744,11 +1646,10 @@ class BlobContainersOperations:
1744
1646
  by a letter or number. Required.
1745
1647
  :type container_name: str
1746
1648
  :param parameters: Lease Container request body. Default value is None.
1747
- :type parameters: IO
1649
+ :type parameters: IO[bytes]
1748
1650
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1749
1651
  Default value is "application/json".
1750
1652
  :paramtype content_type: str
1751
- :keyword callable cls: A custom type or function that will be passed the direct response
1752
1653
  :return: LeaseContainerResponse or the result of cls(response)
1753
1654
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
1754
1655
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1760,7 +1661,7 @@ class BlobContainersOperations:
1760
1661
  resource_group_name: str,
1761
1662
  account_name: str,
1762
1663
  container_name: str,
1763
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
1664
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
1764
1665
  **kwargs: Any
1765
1666
  ) -> _models.LeaseContainerResponse:
1766
1667
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -1778,18 +1679,14 @@ class BlobContainersOperations:
1778
1679
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1779
1680
  by a letter or number. Required.
1780
1681
  :type container_name: str
1781
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
1782
- type. Default value is None.
1783
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO
1784
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1785
- Default value is None.
1786
- :paramtype content_type: str
1787
- :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]
1788
1685
  :return: LeaseContainerResponse or the result of cls(response)
1789
1686
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
1790
1687
  :raises ~azure.core.exceptions.HttpResponseError:
1791
1688
  """
1792
- error_map = {
1689
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1793
1690
  401: ClientAuthenticationError,
1794
1691
  404: ResourceNotFoundError,
1795
1692
  409: ResourceExistsError,
@@ -1815,7 +1712,7 @@ class BlobContainersOperations:
1815
1712
  else:
1816
1713
  _json = None
1817
1714
 
1818
- request = build_lease_request(
1715
+ _request = build_lease_request(
1819
1716
  resource_group_name=resource_group_name,
1820
1717
  account_name=account_name,
1821
1718
  container_name=container_name,
@@ -1824,16 +1721,15 @@ class BlobContainersOperations:
1824
1721
  content_type=content_type,
1825
1722
  json=_json,
1826
1723
  content=_content,
1827
- template_url=self.lease.metadata["url"],
1828
1724
  headers=_headers,
1829
1725
  params=_params,
1830
1726
  )
1831
- request = _convert_request(request)
1832
- request.url = self._client.format_url(request.url)
1727
+ _request = _convert_request(_request)
1728
+ _request.url = self._client.format_url(_request.url)
1833
1729
 
1834
1730
  _stream = False
1835
1731
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1836
- request, stream=_stream, **kwargs
1732
+ _request, stream=_stream, **kwargs
1837
1733
  )
1838
1734
 
1839
1735
  response = pipeline_response.http_response
@@ -1845,10 +1741,6 @@ class BlobContainersOperations:
1845
1741
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
1846
1742
 
1847
1743
  if cls:
1848
- return cls(pipeline_response, deserialized, {})
1849
-
1850
- return deserialized
1744
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1851
1745
 
1852
- lease.metadata = {
1853
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
1854
- }
1746
+ return deserialized # type: ignore