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, Callable, Dict, IO, Optional, TypeVar, Union, overload
10
+ import sys
11
+ from typing import Any, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
11
12
 
12
13
  from azure.core.exceptions import (
13
14
  ClientAuthenticationError,
@@ -42,6 +43,10 @@ from ...operations._blob_containers_operations import (
42
43
  build_update_request,
43
44
  )
44
45
 
46
+ if sys.version_info >= (3, 9):
47
+ from collections.abc import MutableMapping
48
+ else:
49
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
45
50
  T = TypeVar("T")
46
51
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
47
52
 
@@ -78,12 +83,11 @@ class BlobContainersOperations:
78
83
  Storage account names must be between 3 and 24 characters in length and use numbers and
79
84
  lower-case letters only. Required.
80
85
  :type account_name: str
81
- :keyword callable cls: A custom type or function that will be passed the direct response
82
86
  :return: ListContainerItems or the result of cls(response)
83
87
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ListContainerItems
84
88
  :raises ~azure.core.exceptions.HttpResponseError:
85
89
  """
86
- error_map = {
90
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
87
91
  401: ClientAuthenticationError,
88
92
  404: ResourceNotFoundError,
89
93
  409: ResourceExistsError,
@@ -97,21 +101,20 @@ class BlobContainersOperations:
97
101
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
98
102
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
99
103
 
100
- request = build_list_request(
104
+ _request = build_list_request(
101
105
  resource_group_name=resource_group_name,
102
106
  account_name=account_name,
103
107
  subscription_id=self._config.subscription_id,
104
108
  api_version=api_version,
105
- template_url=self.list.metadata["url"],
106
109
  headers=_headers,
107
110
  params=_params,
108
111
  )
109
- request = _convert_request(request)
110
- request.url = self._client.format_url(request.url)
112
+ _request = _convert_request(_request)
113
+ _request.url = self._client.format_url(_request.url)
111
114
 
112
115
  _stream = False
113
116
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
114
- request, stream=_stream, **kwargs
117
+ _request, stream=_stream, **kwargs
115
118
  )
116
119
 
117
120
  response = pipeline_response.http_response
@@ -123,13 +126,9 @@ class BlobContainersOperations:
123
126
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
124
127
 
125
128
  if cls:
126
- return cls(pipeline_response, deserialized, {})
129
+ return cls(pipeline_response, deserialized, {}) # type: ignore
127
130
 
128
- return deserialized
129
-
130
- list.metadata = {
131
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
132
- }
131
+ return deserialized # type: ignore
133
132
 
134
133
  @overload
135
134
  async def create(
@@ -163,7 +162,6 @@ class BlobContainersOperations:
163
162
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
164
163
  Default value is "application/json".
165
164
  :paramtype content_type: str
166
- :keyword callable cls: A custom type or function that will be passed the direct response
167
165
  :return: BlobContainer or the result of cls(response)
168
166
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
169
167
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -175,7 +173,7 @@ class BlobContainersOperations:
175
173
  resource_group_name: str,
176
174
  account_name: str,
177
175
  container_name: str,
178
- blob_container: IO,
176
+ blob_container: IO[bytes],
179
177
  *,
180
178
  content_type: str = "application/json",
181
179
  **kwargs: Any
@@ -197,11 +195,10 @@ class BlobContainersOperations:
197
195
  by a letter or number. Required.
198
196
  :type container_name: str
199
197
  :param blob_container: Properties of the blob container to create. Required.
200
- :type blob_container: IO
198
+ :type blob_container: IO[bytes]
201
199
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
202
200
  Default value is "application/json".
203
201
  :paramtype content_type: str
204
- :keyword callable cls: A custom type or function that will be passed the direct response
205
202
  :return: BlobContainer or the result of cls(response)
206
203
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
207
204
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -213,7 +210,7 @@ class BlobContainersOperations:
213
210
  resource_group_name: str,
214
211
  account_name: str,
215
212
  container_name: str,
216
- blob_container: Union[_models.BlobContainer, IO],
213
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
217
214
  **kwargs: Any
218
215
  ) -> _models.BlobContainer:
219
216
  """Creates a new container under the specified account as described by request body. The container
@@ -233,17 +230,13 @@ class BlobContainersOperations:
233
230
  by a letter or number. Required.
234
231
  :type container_name: str
235
232
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
236
- type or a IO type. Required.
237
- :type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO
238
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
239
- Default value is None.
240
- :paramtype content_type: str
241
- :keyword callable cls: A custom type or function that will be passed the direct response
233
+ type or a IO[bytes] type. Required.
234
+ :type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO[bytes]
242
235
  :return: BlobContainer or the result of cls(response)
243
236
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
244
237
  :raises ~azure.core.exceptions.HttpResponseError:
245
238
  """
246
- error_map = {
239
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
247
240
  401: ClientAuthenticationError,
248
241
  404: ResourceNotFoundError,
249
242
  409: ResourceExistsError,
@@ -266,7 +259,7 @@ class BlobContainersOperations:
266
259
  else:
267
260
  _json = self._serialize.body(blob_container, "BlobContainer")
268
261
 
269
- request = build_create_request(
262
+ _request = build_create_request(
270
263
  resource_group_name=resource_group_name,
271
264
  account_name=account_name,
272
265
  container_name=container_name,
@@ -275,16 +268,15 @@ class BlobContainersOperations:
275
268
  content_type=content_type,
276
269
  json=_json,
277
270
  content=_content,
278
- template_url=self.create.metadata["url"],
279
271
  headers=_headers,
280
272
  params=_params,
281
273
  )
282
- request = _convert_request(request)
283
- request.url = self._client.format_url(request.url)
274
+ _request = _convert_request(_request)
275
+ _request.url = self._client.format_url(_request.url)
284
276
 
285
277
  _stream = False
286
278
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
287
- request, stream=_stream, **kwargs
279
+ _request, stream=_stream, **kwargs
288
280
  )
289
281
 
290
282
  response = pipeline_response.http_response
@@ -296,13 +288,9 @@ class BlobContainersOperations:
296
288
  deserialized = self._deserialize("BlobContainer", pipeline_response)
297
289
 
298
290
  if cls:
299
- return cls(pipeline_response, deserialized, {})
300
-
301
- return deserialized
291
+ return cls(pipeline_response, deserialized, {}) # type: ignore
302
292
 
303
- create.metadata = {
304
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
305
- }
293
+ return deserialized # type: ignore
306
294
 
307
295
  @overload
308
296
  async def update(
@@ -335,7 +323,6 @@ class BlobContainersOperations:
335
323
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
336
324
  Default value is "application/json".
337
325
  :paramtype content_type: str
338
- :keyword callable cls: A custom type or function that will be passed the direct response
339
326
  :return: BlobContainer or the result of cls(response)
340
327
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
341
328
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -347,7 +334,7 @@ class BlobContainersOperations:
347
334
  resource_group_name: str,
348
335
  account_name: str,
349
336
  container_name: str,
350
- blob_container: IO,
337
+ blob_container: IO[bytes],
351
338
  *,
352
339
  content_type: str = "application/json",
353
340
  **kwargs: Any
@@ -368,11 +355,10 @@ class BlobContainersOperations:
368
355
  by a letter or number. Required.
369
356
  :type container_name: str
370
357
  :param blob_container: Properties to update for the blob container. Required.
371
- :type blob_container: IO
358
+ :type blob_container: IO[bytes]
372
359
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
373
360
  Default value is "application/json".
374
361
  :paramtype content_type: str
375
- :keyword callable cls: A custom type or function that will be passed the direct response
376
362
  :return: BlobContainer or the result of cls(response)
377
363
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
378
364
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -384,7 +370,7 @@ class BlobContainersOperations:
384
370
  resource_group_name: str,
385
371
  account_name: str,
386
372
  container_name: str,
387
- blob_container: Union[_models.BlobContainer, IO],
373
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
388
374
  **kwargs: Any
389
375
  ) -> _models.BlobContainer:
390
376
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -403,17 +389,13 @@ class BlobContainersOperations:
403
389
  by a letter or number. Required.
404
390
  :type container_name: str
405
391
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
406
- type or a IO type. Required.
407
- :type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO
408
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
409
- Default value is None.
410
- :paramtype content_type: str
411
- :keyword callable cls: A custom type or function that will be passed the direct response
392
+ type or a IO[bytes] type. Required.
393
+ :type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO[bytes]
412
394
  :return: BlobContainer or the result of cls(response)
413
395
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
414
396
  :raises ~azure.core.exceptions.HttpResponseError:
415
397
  """
416
- error_map = {
398
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
417
399
  401: ClientAuthenticationError,
418
400
  404: ResourceNotFoundError,
419
401
  409: ResourceExistsError,
@@ -436,7 +418,7 @@ class BlobContainersOperations:
436
418
  else:
437
419
  _json = self._serialize.body(blob_container, "BlobContainer")
438
420
 
439
- request = build_update_request(
421
+ _request = build_update_request(
440
422
  resource_group_name=resource_group_name,
441
423
  account_name=account_name,
442
424
  container_name=container_name,
@@ -445,16 +427,15 @@ class BlobContainersOperations:
445
427
  content_type=content_type,
446
428
  json=_json,
447
429
  content=_content,
448
- template_url=self.update.metadata["url"],
449
430
  headers=_headers,
450
431
  params=_params,
451
432
  )
452
- request = _convert_request(request)
453
- request.url = self._client.format_url(request.url)
433
+ _request = _convert_request(_request)
434
+ _request.url = self._client.format_url(_request.url)
454
435
 
455
436
  _stream = False
456
437
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
457
- request, stream=_stream, **kwargs
438
+ _request, stream=_stream, **kwargs
458
439
  )
459
440
 
460
441
  response = pipeline_response.http_response
@@ -466,13 +447,9 @@ class BlobContainersOperations:
466
447
  deserialized = self._deserialize("BlobContainer", pipeline_response)
467
448
 
468
449
  if cls:
469
- return cls(pipeline_response, deserialized, {})
470
-
471
- return deserialized
450
+ return cls(pipeline_response, deserialized, {}) # type: ignore
472
451
 
473
- update.metadata = {
474
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
475
- }
452
+ return deserialized # type: ignore
476
453
 
477
454
  @distributed_trace_async
478
455
  async def get(
@@ -492,12 +469,11 @@ class BlobContainersOperations:
492
469
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
493
470
  by a letter or number. Required.
494
471
  :type container_name: str
495
- :keyword callable cls: A custom type or function that will be passed the direct response
496
472
  :return: BlobContainer or the result of cls(response)
497
473
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
498
474
  :raises ~azure.core.exceptions.HttpResponseError:
499
475
  """
500
- error_map = {
476
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
501
477
  401: ClientAuthenticationError,
502
478
  404: ResourceNotFoundError,
503
479
  409: ResourceExistsError,
@@ -511,22 +487,21 @@ class BlobContainersOperations:
511
487
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
512
488
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
513
489
 
514
- request = build_get_request(
490
+ _request = build_get_request(
515
491
  resource_group_name=resource_group_name,
516
492
  account_name=account_name,
517
493
  container_name=container_name,
518
494
  subscription_id=self._config.subscription_id,
519
495
  api_version=api_version,
520
- template_url=self.get.metadata["url"],
521
496
  headers=_headers,
522
497
  params=_params,
523
498
  )
524
- request = _convert_request(request)
525
- request.url = self._client.format_url(request.url)
499
+ _request = _convert_request(_request)
500
+ _request.url = self._client.format_url(_request.url)
526
501
 
527
502
  _stream = False
528
503
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
529
- request, stream=_stream, **kwargs
504
+ _request, stream=_stream, **kwargs
530
505
  )
531
506
 
532
507
  response = pipeline_response.http_response
@@ -538,13 +513,9 @@ class BlobContainersOperations:
538
513
  deserialized = self._deserialize("BlobContainer", pipeline_response)
539
514
 
540
515
  if cls:
541
- return cls(pipeline_response, deserialized, {})
516
+ return cls(pipeline_response, deserialized, {}) # type: ignore
542
517
 
543
- return deserialized
544
-
545
- get.metadata = {
546
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
547
- }
518
+ return deserialized # type: ignore
548
519
 
549
520
  @distributed_trace_async
550
521
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -564,12 +535,11 @@ class BlobContainersOperations:
564
535
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
565
536
  by a letter or number. Required.
566
537
  :type container_name: str
567
- :keyword callable cls: A custom type or function that will be passed the direct response
568
538
  :return: None or the result of cls(response)
569
539
  :rtype: None
570
540
  :raises ~azure.core.exceptions.HttpResponseError:
571
541
  """
572
- error_map = {
542
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
573
543
  401: ClientAuthenticationError,
574
544
  404: ResourceNotFoundError,
575
545
  409: ResourceExistsError,
@@ -583,22 +553,21 @@ class BlobContainersOperations:
583
553
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
584
554
  cls: ClsType[None] = kwargs.pop("cls", None)
585
555
 
586
- request = build_delete_request(
556
+ _request = build_delete_request(
587
557
  resource_group_name=resource_group_name,
588
558
  account_name=account_name,
589
559
  container_name=container_name,
590
560
  subscription_id=self._config.subscription_id,
591
561
  api_version=api_version,
592
- template_url=self.delete.metadata["url"],
593
562
  headers=_headers,
594
563
  params=_params,
595
564
  )
596
- request = _convert_request(request)
597
- request.url = self._client.format_url(request.url)
565
+ _request = _convert_request(_request)
566
+ _request.url = self._client.format_url(_request.url)
598
567
 
599
568
  _stream = False
600
569
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
601
- request, stream=_stream, **kwargs
570
+ _request, stream=_stream, **kwargs
602
571
  )
603
572
 
604
573
  response = pipeline_response.http_response
@@ -608,11 +577,7 @@ class BlobContainersOperations:
608
577
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
609
578
 
610
579
  if cls:
611
- return cls(pipeline_response, None, {})
612
-
613
- delete.metadata = {
614
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
615
- }
580
+ return cls(pipeline_response, None, {}) # type: ignore
616
581
 
617
582
  @overload
618
583
  async def set_legal_hold(
@@ -646,7 +611,6 @@ class BlobContainersOperations:
646
611
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
647
612
  Default value is "application/json".
648
613
  :paramtype content_type: str
649
- :keyword callable cls: A custom type or function that will be passed the direct response
650
614
  :return: LegalHold or the result of cls(response)
651
615
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
652
616
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -658,7 +622,7 @@ class BlobContainersOperations:
658
622
  resource_group_name: str,
659
623
  account_name: str,
660
624
  container_name: str,
661
- legal_hold: IO,
625
+ legal_hold: IO[bytes],
662
626
  *,
663
627
  content_type: str = "application/json",
664
628
  **kwargs: Any
@@ -680,11 +644,10 @@ class BlobContainersOperations:
680
644
  by a letter or number. Required.
681
645
  :type container_name: str
682
646
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
683
- :type legal_hold: IO
647
+ :type legal_hold: IO[bytes]
684
648
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
685
649
  Default value is "application/json".
686
650
  :paramtype content_type: str
687
- :keyword callable cls: A custom type or function that will be passed the direct response
688
651
  :return: LegalHold or the result of cls(response)
689
652
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
690
653
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -696,7 +659,7 @@ class BlobContainersOperations:
696
659
  resource_group_name: str,
697
660
  account_name: str,
698
661
  container_name: str,
699
- legal_hold: Union[_models.LegalHold, IO],
662
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
700
663
  **kwargs: Any
701
664
  ) -> _models.LegalHold:
702
665
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -716,17 +679,13 @@ class BlobContainersOperations:
716
679
  by a letter or number. Required.
717
680
  :type container_name: str
718
681
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
719
- LegalHold type or a IO type. Required.
720
- :type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO
721
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
722
- Default value is None.
723
- :paramtype content_type: str
724
- :keyword callable cls: A custom type or function that will be passed the direct response
682
+ LegalHold type or a IO[bytes] type. Required.
683
+ :type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO[bytes]
725
684
  :return: LegalHold or the result of cls(response)
726
685
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
727
686
  :raises ~azure.core.exceptions.HttpResponseError:
728
687
  """
729
- error_map = {
688
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
730
689
  401: ClientAuthenticationError,
731
690
  404: ResourceNotFoundError,
732
691
  409: ResourceExistsError,
@@ -749,7 +708,7 @@ class BlobContainersOperations:
749
708
  else:
750
709
  _json = self._serialize.body(legal_hold, "LegalHold")
751
710
 
752
- request = build_set_legal_hold_request(
711
+ _request = build_set_legal_hold_request(
753
712
  resource_group_name=resource_group_name,
754
713
  account_name=account_name,
755
714
  container_name=container_name,
@@ -758,16 +717,15 @@ class BlobContainersOperations:
758
717
  content_type=content_type,
759
718
  json=_json,
760
719
  content=_content,
761
- template_url=self.set_legal_hold.metadata["url"],
762
720
  headers=_headers,
763
721
  params=_params,
764
722
  )
765
- request = _convert_request(request)
766
- request.url = self._client.format_url(request.url)
723
+ _request = _convert_request(_request)
724
+ _request.url = self._client.format_url(_request.url)
767
725
 
768
726
  _stream = False
769
727
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
770
- request, stream=_stream, **kwargs
728
+ _request, stream=_stream, **kwargs
771
729
  )
772
730
 
773
731
  response = pipeline_response.http_response
@@ -779,13 +737,9 @@ class BlobContainersOperations:
779
737
  deserialized = self._deserialize("LegalHold", pipeline_response)
780
738
 
781
739
  if cls:
782
- return cls(pipeline_response, deserialized, {})
740
+ return cls(pipeline_response, deserialized, {}) # type: ignore
783
741
 
784
- return deserialized
785
-
786
- set_legal_hold.metadata = {
787
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
788
- }
742
+ return deserialized # type: ignore
789
743
 
790
744
  @overload
791
745
  async def clear_legal_hold(
@@ -818,7 +772,6 @@ class BlobContainersOperations:
818
772
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
819
773
  Default value is "application/json".
820
774
  :paramtype content_type: str
821
- :keyword callable cls: A custom type or function that will be passed the direct response
822
775
  :return: LegalHold or the result of cls(response)
823
776
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
824
777
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -830,7 +783,7 @@ class BlobContainersOperations:
830
783
  resource_group_name: str,
831
784
  account_name: str,
832
785
  container_name: str,
833
- legal_hold: IO,
786
+ legal_hold: IO[bytes],
834
787
  *,
835
788
  content_type: str = "application/json",
836
789
  **kwargs: Any
@@ -851,11 +804,10 @@ class BlobContainersOperations:
851
804
  by a letter or number. Required.
852
805
  :type container_name: str
853
806
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
854
- :type legal_hold: IO
807
+ :type legal_hold: IO[bytes]
855
808
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
856
809
  Default value is "application/json".
857
810
  :paramtype content_type: str
858
- :keyword callable cls: A custom type or function that will be passed the direct response
859
811
  :return: LegalHold or the result of cls(response)
860
812
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
861
813
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -867,7 +819,7 @@ class BlobContainersOperations:
867
819
  resource_group_name: str,
868
820
  account_name: str,
869
821
  container_name: str,
870
- legal_hold: Union[_models.LegalHold, IO],
822
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
871
823
  **kwargs: Any
872
824
  ) -> _models.LegalHold:
873
825
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -886,17 +838,13 @@ class BlobContainersOperations:
886
838
  by a letter or number. Required.
887
839
  :type container_name: str
888
840
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
889
- LegalHold type or a IO type. Required.
890
- :type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO
891
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
892
- Default value is None.
893
- :paramtype content_type: str
894
- :keyword callable cls: A custom type or function that will be passed the direct response
841
+ LegalHold type or a IO[bytes] type. Required.
842
+ :type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO[bytes]
895
843
  :return: LegalHold or the result of cls(response)
896
844
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
897
845
  :raises ~azure.core.exceptions.HttpResponseError:
898
846
  """
899
- error_map = {
847
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
900
848
  401: ClientAuthenticationError,
901
849
  404: ResourceNotFoundError,
902
850
  409: ResourceExistsError,
@@ -919,7 +867,7 @@ class BlobContainersOperations:
919
867
  else:
920
868
  _json = self._serialize.body(legal_hold, "LegalHold")
921
869
 
922
- request = build_clear_legal_hold_request(
870
+ _request = build_clear_legal_hold_request(
923
871
  resource_group_name=resource_group_name,
924
872
  account_name=account_name,
925
873
  container_name=container_name,
@@ -928,16 +876,15 @@ class BlobContainersOperations:
928
876
  content_type=content_type,
929
877
  json=_json,
930
878
  content=_content,
931
- template_url=self.clear_legal_hold.metadata["url"],
932
879
  headers=_headers,
933
880
  params=_params,
934
881
  )
935
- request = _convert_request(request)
936
- request.url = self._client.format_url(request.url)
882
+ _request = _convert_request(_request)
883
+ _request.url = self._client.format_url(_request.url)
937
884
 
938
885
  _stream = False
939
886
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
940
- request, stream=_stream, **kwargs
887
+ _request, stream=_stream, **kwargs
941
888
  )
942
889
 
943
890
  response = pipeline_response.http_response
@@ -949,13 +896,9 @@ class BlobContainersOperations:
949
896
  deserialized = self._deserialize("LegalHold", pipeline_response)
950
897
 
951
898
  if cls:
952
- return cls(pipeline_response, deserialized, {})
899
+ return cls(pipeline_response, deserialized, {}) # type: ignore
953
900
 
954
- return deserialized
955
-
956
- clear_legal_hold.metadata = {
957
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
958
- }
901
+ return deserialized # type: ignore
959
902
 
960
903
  @overload
961
904
  async def create_or_update_immutability_policy(
@@ -998,7 +941,6 @@ class BlobContainersOperations:
998
941
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
999
942
  Default value is "application/json".
1000
943
  :paramtype content_type: str
1001
- :keyword callable cls: A custom type or function that will be passed the direct response
1002
944
  :return: ImmutabilityPolicy or the result of cls(response)
1003
945
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1004
946
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1012,7 +954,7 @@ class BlobContainersOperations:
1012
954
  container_name: str,
1013
955
  immutability_policy_name: Union[str, _models.Enum12],
1014
956
  if_match: Optional[str] = None,
1015
- parameters: Optional[IO] = None,
957
+ parameters: Optional[IO[bytes]] = None,
1016
958
  *,
1017
959
  content_type: str = "application/json",
1018
960
  **kwargs: Any
@@ -1041,11 +983,10 @@ class BlobContainersOperations:
1041
983
  :type if_match: str
1042
984
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1043
985
  container. Default value is None.
1044
- :type parameters: IO
986
+ :type parameters: IO[bytes]
1045
987
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1046
988
  Default value is "application/json".
1047
989
  :paramtype content_type: str
1048
- :keyword callable cls: A custom type or function that will be passed the direct response
1049
990
  :return: ImmutabilityPolicy or the result of cls(response)
1050
991
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1051
992
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1059,7 +1000,7 @@ class BlobContainersOperations:
1059
1000
  container_name: str,
1060
1001
  immutability_policy_name: Union[str, _models.Enum12],
1061
1002
  if_match: Optional[str] = None,
1062
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1003
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1063
1004
  **kwargs: Any
1064
1005
  ) -> _models.ImmutabilityPolicy:
1065
1006
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1085,17 +1026,13 @@ class BlobContainersOperations:
1085
1026
  omitted, this operation will always be applied. Default value is None.
1086
1027
  :type if_match: str
1087
1028
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1088
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1089
- :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO
1090
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1091
- Default value is None.
1092
- :paramtype content_type: str
1093
- :keyword callable cls: A custom type or function that will be passed the direct response
1029
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1030
+ :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO[bytes]
1094
1031
  :return: ImmutabilityPolicy or the result of cls(response)
1095
1032
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1096
1033
  :raises ~azure.core.exceptions.HttpResponseError:
1097
1034
  """
1098
- error_map = {
1035
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1099
1036
  401: ClientAuthenticationError,
1100
1037
  404: ResourceNotFoundError,
1101
1038
  409: ResourceExistsError,
@@ -1121,7 +1058,7 @@ class BlobContainersOperations:
1121
1058
  else:
1122
1059
  _json = None
1123
1060
 
1124
- request = build_create_or_update_immutability_policy_request(
1061
+ _request = build_create_or_update_immutability_policy_request(
1125
1062
  resource_group_name=resource_group_name,
1126
1063
  account_name=account_name,
1127
1064
  container_name=container_name,
@@ -1132,16 +1069,15 @@ class BlobContainersOperations:
1132
1069
  content_type=content_type,
1133
1070
  json=_json,
1134
1071
  content=_content,
1135
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1136
1072
  headers=_headers,
1137
1073
  params=_params,
1138
1074
  )
1139
- request = _convert_request(request)
1140
- request.url = self._client.format_url(request.url)
1075
+ _request = _convert_request(_request)
1076
+ _request.url = self._client.format_url(_request.url)
1141
1077
 
1142
1078
  _stream = False
1143
1079
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1144
- request, stream=_stream, **kwargs
1080
+ _request, stream=_stream, **kwargs
1145
1081
  )
1146
1082
 
1147
1083
  response = pipeline_response.http_response
@@ -1156,13 +1092,9 @@ class BlobContainersOperations:
1156
1092
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1157
1093
 
1158
1094
  if cls:
1159
- return cls(pipeline_response, deserialized, response_headers)
1160
-
1161
- return deserialized
1095
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1162
1096
 
1163
- create_or_update_immutability_policy.metadata = {
1164
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1165
- }
1097
+ return deserialized # type: ignore
1166
1098
 
1167
1099
  @distributed_trace_async
1168
1100
  async def get_immutability_policy(
@@ -1196,12 +1128,11 @@ class BlobContainersOperations:
1196
1128
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1197
1129
  omitted, this operation will always be applied. Default value is None.
1198
1130
  :type if_match: str
1199
- :keyword callable cls: A custom type or function that will be passed the direct response
1200
1131
  :return: ImmutabilityPolicy or the result of cls(response)
1201
1132
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1202
1133
  :raises ~azure.core.exceptions.HttpResponseError:
1203
1134
  """
1204
- error_map = {
1135
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1205
1136
  401: ClientAuthenticationError,
1206
1137
  404: ResourceNotFoundError,
1207
1138
  409: ResourceExistsError,
@@ -1215,7 +1146,7 @@ class BlobContainersOperations:
1215
1146
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
1216
1147
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1217
1148
 
1218
- request = build_get_immutability_policy_request(
1149
+ _request = build_get_immutability_policy_request(
1219
1150
  resource_group_name=resource_group_name,
1220
1151
  account_name=account_name,
1221
1152
  container_name=container_name,
@@ -1223,16 +1154,15 @@ class BlobContainersOperations:
1223
1154
  subscription_id=self._config.subscription_id,
1224
1155
  if_match=if_match,
1225
1156
  api_version=api_version,
1226
- template_url=self.get_immutability_policy.metadata["url"],
1227
1157
  headers=_headers,
1228
1158
  params=_params,
1229
1159
  )
1230
- request = _convert_request(request)
1231
- request.url = self._client.format_url(request.url)
1160
+ _request = _convert_request(_request)
1161
+ _request.url = self._client.format_url(_request.url)
1232
1162
 
1233
1163
  _stream = False
1234
1164
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1235
- request, stream=_stream, **kwargs
1165
+ _request, stream=_stream, **kwargs
1236
1166
  )
1237
1167
 
1238
1168
  response = pipeline_response.http_response
@@ -1247,13 +1177,9 @@ class BlobContainersOperations:
1247
1177
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1248
1178
 
1249
1179
  if cls:
1250
- return cls(pipeline_response, deserialized, response_headers)
1180
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1251
1181
 
1252
- return deserialized
1253
-
1254
- get_immutability_policy.metadata = {
1255
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1256
- }
1182
+ return deserialized # type: ignore
1257
1183
 
1258
1184
  @distributed_trace_async
1259
1185
  async def delete_immutability_policy(
@@ -1289,12 +1215,11 @@ class BlobContainersOperations:
1289
1215
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1290
1216
  omitted, this operation will always be applied. Required.
1291
1217
  :type if_match: str
1292
- :keyword callable cls: A custom type or function that will be passed the direct response
1293
1218
  :return: ImmutabilityPolicy or the result of cls(response)
1294
1219
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1295
1220
  :raises ~azure.core.exceptions.HttpResponseError:
1296
1221
  """
1297
- error_map = {
1222
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1298
1223
  401: ClientAuthenticationError,
1299
1224
  404: ResourceNotFoundError,
1300
1225
  409: ResourceExistsError,
@@ -1308,7 +1233,7 @@ class BlobContainersOperations:
1308
1233
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
1309
1234
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1310
1235
 
1311
- request = build_delete_immutability_policy_request(
1236
+ _request = build_delete_immutability_policy_request(
1312
1237
  resource_group_name=resource_group_name,
1313
1238
  account_name=account_name,
1314
1239
  container_name=container_name,
@@ -1316,16 +1241,15 @@ class BlobContainersOperations:
1316
1241
  subscription_id=self._config.subscription_id,
1317
1242
  if_match=if_match,
1318
1243
  api_version=api_version,
1319
- template_url=self.delete_immutability_policy.metadata["url"],
1320
1244
  headers=_headers,
1321
1245
  params=_params,
1322
1246
  )
1323
- request = _convert_request(request)
1324
- request.url = self._client.format_url(request.url)
1247
+ _request = _convert_request(_request)
1248
+ _request.url = self._client.format_url(_request.url)
1325
1249
 
1326
1250
  _stream = False
1327
1251
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1328
- request, stream=_stream, **kwargs
1252
+ _request, stream=_stream, **kwargs
1329
1253
  )
1330
1254
 
1331
1255
  response = pipeline_response.http_response
@@ -1340,13 +1264,9 @@ class BlobContainersOperations:
1340
1264
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1341
1265
 
1342
1266
  if cls:
1343
- return cls(pipeline_response, deserialized, response_headers)
1344
-
1345
- return deserialized
1267
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1346
1268
 
1347
- delete_immutability_policy.metadata = {
1348
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1349
- }
1269
+ return deserialized # type: ignore
1350
1270
 
1351
1271
  @distributed_trace_async
1352
1272
  async def lock_immutability_policy(
@@ -1371,12 +1291,11 @@ class BlobContainersOperations:
1371
1291
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1372
1292
  omitted, this operation will always be applied. Required.
1373
1293
  :type if_match: str
1374
- :keyword callable cls: A custom type or function that will be passed the direct response
1375
1294
  :return: ImmutabilityPolicy or the result of cls(response)
1376
1295
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1377
1296
  :raises ~azure.core.exceptions.HttpResponseError:
1378
1297
  """
1379
- error_map = {
1298
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1380
1299
  401: ClientAuthenticationError,
1381
1300
  404: ResourceNotFoundError,
1382
1301
  409: ResourceExistsError,
@@ -1390,23 +1309,22 @@ class BlobContainersOperations:
1390
1309
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
1391
1310
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1392
1311
 
1393
- request = build_lock_immutability_policy_request(
1312
+ _request = build_lock_immutability_policy_request(
1394
1313
  resource_group_name=resource_group_name,
1395
1314
  account_name=account_name,
1396
1315
  container_name=container_name,
1397
1316
  subscription_id=self._config.subscription_id,
1398
1317
  if_match=if_match,
1399
1318
  api_version=api_version,
1400
- template_url=self.lock_immutability_policy.metadata["url"],
1401
1319
  headers=_headers,
1402
1320
  params=_params,
1403
1321
  )
1404
- request = _convert_request(request)
1405
- request.url = self._client.format_url(request.url)
1322
+ _request = _convert_request(_request)
1323
+ _request.url = self._client.format_url(_request.url)
1406
1324
 
1407
1325
  _stream = False
1408
1326
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1409
- request, stream=_stream, **kwargs
1327
+ _request, stream=_stream, **kwargs
1410
1328
  )
1411
1329
 
1412
1330
  response = pipeline_response.http_response
@@ -1421,13 +1339,9 @@ class BlobContainersOperations:
1421
1339
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1422
1340
 
1423
1341
  if cls:
1424
- return cls(pipeline_response, deserialized, response_headers)
1342
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1425
1343
 
1426
- return deserialized
1427
-
1428
- lock_immutability_policy.metadata = {
1429
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1430
- }
1344
+ return deserialized # type: ignore
1431
1345
 
1432
1346
  @overload
1433
1347
  async def extend_immutability_policy(
@@ -1467,7 +1381,6 @@ class BlobContainersOperations:
1467
1381
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1468
1382
  Default value is "application/json".
1469
1383
  :paramtype content_type: str
1470
- :keyword callable cls: A custom type or function that will be passed the direct response
1471
1384
  :return: ImmutabilityPolicy or the result of cls(response)
1472
1385
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1473
1386
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1480,7 +1393,7 @@ class BlobContainersOperations:
1480
1393
  account_name: str,
1481
1394
  container_name: str,
1482
1395
  if_match: str,
1483
- parameters: Optional[IO] = None,
1396
+ parameters: Optional[IO[bytes]] = None,
1484
1397
  *,
1485
1398
  content_type: str = "application/json",
1486
1399
  **kwargs: Any
@@ -1507,11 +1420,10 @@ class BlobContainersOperations:
1507
1420
  :type if_match: str
1508
1421
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1509
1422
  container. Default value is None.
1510
- :type parameters: IO
1423
+ :type parameters: IO[bytes]
1511
1424
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1512
1425
  Default value is "application/json".
1513
1426
  :paramtype content_type: str
1514
- :keyword callable cls: A custom type or function that will be passed the direct response
1515
1427
  :return: ImmutabilityPolicy or the result of cls(response)
1516
1428
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1517
1429
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1524,7 +1436,7 @@ class BlobContainersOperations:
1524
1436
  account_name: str,
1525
1437
  container_name: str,
1526
1438
  if_match: str,
1527
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1439
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1528
1440
  **kwargs: Any
1529
1441
  ) -> _models.ImmutabilityPolicy:
1530
1442
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -1548,17 +1460,13 @@ class BlobContainersOperations:
1548
1460
  omitted, this operation will always be applied. Required.
1549
1461
  :type if_match: str
1550
1462
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1551
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1552
- :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO
1553
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1554
- Default value is None.
1555
- :paramtype content_type: str
1556
- :keyword callable cls: A custom type or function that will be passed the direct response
1463
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1464
+ :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO[bytes]
1557
1465
  :return: ImmutabilityPolicy or the result of cls(response)
1558
1466
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1559
1467
  :raises ~azure.core.exceptions.HttpResponseError:
1560
1468
  """
1561
- error_map = {
1469
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1562
1470
  401: ClientAuthenticationError,
1563
1471
  404: ResourceNotFoundError,
1564
1472
  409: ResourceExistsError,
@@ -1584,7 +1492,7 @@ class BlobContainersOperations:
1584
1492
  else:
1585
1493
  _json = None
1586
1494
 
1587
- request = build_extend_immutability_policy_request(
1495
+ _request = build_extend_immutability_policy_request(
1588
1496
  resource_group_name=resource_group_name,
1589
1497
  account_name=account_name,
1590
1498
  container_name=container_name,
@@ -1594,16 +1502,15 @@ class BlobContainersOperations:
1594
1502
  content_type=content_type,
1595
1503
  json=_json,
1596
1504
  content=_content,
1597
- template_url=self.extend_immutability_policy.metadata["url"],
1598
1505
  headers=_headers,
1599
1506
  params=_params,
1600
1507
  )
1601
- request = _convert_request(request)
1602
- request.url = self._client.format_url(request.url)
1508
+ _request = _convert_request(_request)
1509
+ _request.url = self._client.format_url(_request.url)
1603
1510
 
1604
1511
  _stream = False
1605
1512
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1606
- request, stream=_stream, **kwargs
1513
+ _request, stream=_stream, **kwargs
1607
1514
  )
1608
1515
 
1609
1516
  response = pipeline_response.http_response
@@ -1618,13 +1525,9 @@ class BlobContainersOperations:
1618
1525
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1619
1526
 
1620
1527
  if cls:
1621
- return cls(pipeline_response, deserialized, response_headers)
1622
-
1623
- return deserialized
1528
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1624
1529
 
1625
- extend_immutability_policy.metadata = {
1626
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
1627
- }
1530
+ return deserialized # type: ignore
1628
1531
 
1629
1532
  @overload
1630
1533
  async def lease(
@@ -1657,7 +1560,6 @@ class BlobContainersOperations:
1657
1560
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1658
1561
  Default value is "application/json".
1659
1562
  :paramtype content_type: str
1660
- :keyword callable cls: A custom type or function that will be passed the direct response
1661
1563
  :return: LeaseContainerResponse or the result of cls(response)
1662
1564
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
1663
1565
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1669,7 +1571,7 @@ class BlobContainersOperations:
1669
1571
  resource_group_name: str,
1670
1572
  account_name: str,
1671
1573
  container_name: str,
1672
- parameters: Optional[IO] = None,
1574
+ parameters: Optional[IO[bytes]] = None,
1673
1575
  *,
1674
1576
  content_type: str = "application/json",
1675
1577
  **kwargs: Any
@@ -1690,11 +1592,10 @@ class BlobContainersOperations:
1690
1592
  by a letter or number. Required.
1691
1593
  :type container_name: str
1692
1594
  :param parameters: Lease Container request body. Default value is None.
1693
- :type parameters: IO
1595
+ :type parameters: IO[bytes]
1694
1596
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1695
1597
  Default value is "application/json".
1696
1598
  :paramtype content_type: str
1697
- :keyword callable cls: A custom type or function that will be passed the direct response
1698
1599
  :return: LeaseContainerResponse or the result of cls(response)
1699
1600
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
1700
1601
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1706,7 +1607,7 @@ class BlobContainersOperations:
1706
1607
  resource_group_name: str,
1707
1608
  account_name: str,
1708
1609
  container_name: str,
1709
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
1610
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
1710
1611
  **kwargs: Any
1711
1612
  ) -> _models.LeaseContainerResponse:
1712
1613
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -1724,18 +1625,14 @@ class BlobContainersOperations:
1724
1625
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1725
1626
  by a letter or number. Required.
1726
1627
  :type container_name: str
1727
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
1728
- type. Default value is None.
1729
- :type parameters: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerRequest or IO
1730
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1731
- Default value is None.
1732
- :paramtype content_type: str
1733
- :keyword callable cls: A custom type or function that will be passed the direct response
1628
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
1629
+ IO[bytes] type. Default value is None.
1630
+ :type parameters: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerRequest or IO[bytes]
1734
1631
  :return: LeaseContainerResponse or the result of cls(response)
1735
1632
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
1736
1633
  :raises ~azure.core.exceptions.HttpResponseError:
1737
1634
  """
1738
- error_map = {
1635
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1739
1636
  401: ClientAuthenticationError,
1740
1637
  404: ResourceNotFoundError,
1741
1638
  409: ResourceExistsError,
@@ -1761,7 +1658,7 @@ class BlobContainersOperations:
1761
1658
  else:
1762
1659
  _json = None
1763
1660
 
1764
- request = build_lease_request(
1661
+ _request = build_lease_request(
1765
1662
  resource_group_name=resource_group_name,
1766
1663
  account_name=account_name,
1767
1664
  container_name=container_name,
@@ -1770,16 +1667,15 @@ class BlobContainersOperations:
1770
1667
  content_type=content_type,
1771
1668
  json=_json,
1772
1669
  content=_content,
1773
- template_url=self.lease.metadata["url"],
1774
1670
  headers=_headers,
1775
1671
  params=_params,
1776
1672
  )
1777
- request = _convert_request(request)
1778
- request.url = self._client.format_url(request.url)
1673
+ _request = _convert_request(_request)
1674
+ _request.url = self._client.format_url(_request.url)
1779
1675
 
1780
1676
  _stream = False
1781
1677
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1782
- request, stream=_stream, **kwargs
1678
+ _request, stream=_stream, **kwargs
1783
1679
  )
1784
1680
 
1785
1681
  response = pipeline_response.http_response
@@ -1791,10 +1687,6 @@ class BlobContainersOperations:
1791
1687
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
1792
1688
 
1793
1689
  if cls:
1794
- return cls(pipeline_response, deserialized, {})
1795
-
1796
- return deserialized
1690
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1797
1691
 
1798
- lease.metadata = {
1799
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
1800
- }
1692
+ return deserialized # type: ignore