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_11_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-11-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, {})
127
-
128
- return deserialized
129
+ return cls(pipeline_response, deserialized, {}) # type: ignore
129
130
 
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_11_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_11_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_11_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_11_01.models.BlobContainer or IO[bytes]
242
235
  :return: BlobContainer or the result of cls(response)
243
236
  :rtype: ~azure.mgmt.storage.v2018_11_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
@@ -304,10 +296,6 @@ class BlobContainersOperations:
304
296
 
305
297
  return deserialized # type: ignore
306
298
 
307
- create.metadata = {
308
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
309
- }
310
-
311
299
  @overload
312
300
  async def update(
313
301
  self,
@@ -339,7 +327,6 @@ class BlobContainersOperations:
339
327
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
340
328
  Default value is "application/json".
341
329
  :paramtype content_type: str
342
- :keyword callable cls: A custom type or function that will be passed the direct response
343
330
  :return: BlobContainer or the result of cls(response)
344
331
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
345
332
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -351,7 +338,7 @@ class BlobContainersOperations:
351
338
  resource_group_name: str,
352
339
  account_name: str,
353
340
  container_name: str,
354
- blob_container: IO,
341
+ blob_container: IO[bytes],
355
342
  *,
356
343
  content_type: str = "application/json",
357
344
  **kwargs: Any
@@ -372,11 +359,10 @@ class BlobContainersOperations:
372
359
  by a letter or number. Required.
373
360
  :type container_name: str
374
361
  :param blob_container: Properties to update for the blob container. Required.
375
- :type blob_container: IO
362
+ :type blob_container: IO[bytes]
376
363
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
377
364
  Default value is "application/json".
378
365
  :paramtype content_type: str
379
- :keyword callable cls: A custom type or function that will be passed the direct response
380
366
  :return: BlobContainer or the result of cls(response)
381
367
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
382
368
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -388,7 +374,7 @@ class BlobContainersOperations:
388
374
  resource_group_name: str,
389
375
  account_name: str,
390
376
  container_name: str,
391
- blob_container: Union[_models.BlobContainer, IO],
377
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
392
378
  **kwargs: Any
393
379
  ) -> _models.BlobContainer:
394
380
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -407,17 +393,13 @@ class BlobContainersOperations:
407
393
  by a letter or number. Required.
408
394
  :type container_name: str
409
395
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
410
- type or a IO type. Required.
411
- :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
412
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
413
- Default value is None.
414
- :paramtype content_type: str
415
- :keyword callable cls: A custom type or function that will be passed the direct response
396
+ type or a IO[bytes] type. Required.
397
+ :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
416
398
  :return: BlobContainer or the result of cls(response)
417
399
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
418
400
  :raises ~azure.core.exceptions.HttpResponseError:
419
401
  """
420
- error_map = {
402
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
421
403
  401: ClientAuthenticationError,
422
404
  404: ResourceNotFoundError,
423
405
  409: ResourceExistsError,
@@ -440,7 +422,7 @@ class BlobContainersOperations:
440
422
  else:
441
423
  _json = self._serialize.body(blob_container, "BlobContainer")
442
424
 
443
- request = build_update_request(
425
+ _request = build_update_request(
444
426
  resource_group_name=resource_group_name,
445
427
  account_name=account_name,
446
428
  container_name=container_name,
@@ -449,16 +431,15 @@ class BlobContainersOperations:
449
431
  content_type=content_type,
450
432
  json=_json,
451
433
  content=_content,
452
- template_url=self.update.metadata["url"],
453
434
  headers=_headers,
454
435
  params=_params,
455
436
  )
456
- request = _convert_request(request)
457
- request.url = self._client.format_url(request.url)
437
+ _request = _convert_request(_request)
438
+ _request.url = self._client.format_url(_request.url)
458
439
 
459
440
  _stream = False
460
441
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
461
- request, stream=_stream, **kwargs
442
+ _request, stream=_stream, **kwargs
462
443
  )
463
444
 
464
445
  response = pipeline_response.http_response
@@ -470,13 +451,9 @@ class BlobContainersOperations:
470
451
  deserialized = self._deserialize("BlobContainer", pipeline_response)
471
452
 
472
453
  if cls:
473
- return cls(pipeline_response, deserialized, {})
474
-
475
- return deserialized
454
+ return cls(pipeline_response, deserialized, {}) # type: ignore
476
455
 
477
- update.metadata = {
478
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
479
- }
456
+ return deserialized # type: ignore
480
457
 
481
458
  @distributed_trace_async
482
459
  async def get(
@@ -496,12 +473,11 @@ class BlobContainersOperations:
496
473
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
497
474
  by a letter or number. Required.
498
475
  :type container_name: str
499
- :keyword callable cls: A custom type or function that will be passed the direct response
500
476
  :return: BlobContainer or the result of cls(response)
501
477
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
502
478
  :raises ~azure.core.exceptions.HttpResponseError:
503
479
  """
504
- error_map = {
480
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
505
481
  401: ClientAuthenticationError,
506
482
  404: ResourceNotFoundError,
507
483
  409: ResourceExistsError,
@@ -515,22 +491,21 @@ class BlobContainersOperations:
515
491
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
516
492
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
517
493
 
518
- request = build_get_request(
494
+ _request = build_get_request(
519
495
  resource_group_name=resource_group_name,
520
496
  account_name=account_name,
521
497
  container_name=container_name,
522
498
  subscription_id=self._config.subscription_id,
523
499
  api_version=api_version,
524
- template_url=self.get.metadata["url"],
525
500
  headers=_headers,
526
501
  params=_params,
527
502
  )
528
- request = _convert_request(request)
529
- request.url = self._client.format_url(request.url)
503
+ _request = _convert_request(_request)
504
+ _request.url = self._client.format_url(_request.url)
530
505
 
531
506
  _stream = False
532
507
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
533
- request, stream=_stream, **kwargs
508
+ _request, stream=_stream, **kwargs
534
509
  )
535
510
 
536
511
  response = pipeline_response.http_response
@@ -542,13 +517,9 @@ class BlobContainersOperations:
542
517
  deserialized = self._deserialize("BlobContainer", pipeline_response)
543
518
 
544
519
  if cls:
545
- return cls(pipeline_response, deserialized, {})
546
-
547
- return deserialized
520
+ return cls(pipeline_response, deserialized, {}) # type: ignore
548
521
 
549
- get.metadata = {
550
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
551
- }
522
+ return deserialized # type: ignore
552
523
 
553
524
  @distributed_trace_async
554
525
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -568,12 +539,11 @@ class BlobContainersOperations:
568
539
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
569
540
  by a letter or number. Required.
570
541
  :type container_name: str
571
- :keyword callable cls: A custom type or function that will be passed the direct response
572
542
  :return: None or the result of cls(response)
573
543
  :rtype: None
574
544
  :raises ~azure.core.exceptions.HttpResponseError:
575
545
  """
576
- error_map = {
546
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
577
547
  401: ClientAuthenticationError,
578
548
  404: ResourceNotFoundError,
579
549
  409: ResourceExistsError,
@@ -587,22 +557,21 @@ class BlobContainersOperations:
587
557
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
588
558
  cls: ClsType[None] = kwargs.pop("cls", None)
589
559
 
590
- request = build_delete_request(
560
+ _request = build_delete_request(
591
561
  resource_group_name=resource_group_name,
592
562
  account_name=account_name,
593
563
  container_name=container_name,
594
564
  subscription_id=self._config.subscription_id,
595
565
  api_version=api_version,
596
- template_url=self.delete.metadata["url"],
597
566
  headers=_headers,
598
567
  params=_params,
599
568
  )
600
- request = _convert_request(request)
601
- request.url = self._client.format_url(request.url)
569
+ _request = _convert_request(_request)
570
+ _request.url = self._client.format_url(_request.url)
602
571
 
603
572
  _stream = False
604
573
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
605
- request, stream=_stream, **kwargs
574
+ _request, stream=_stream, **kwargs
606
575
  )
607
576
 
608
577
  response = pipeline_response.http_response
@@ -612,11 +581,7 @@ class BlobContainersOperations:
612
581
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
613
582
 
614
583
  if cls:
615
- return cls(pipeline_response, None, {})
616
-
617
- delete.metadata = {
618
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
619
- }
584
+ return cls(pipeline_response, None, {}) # type: ignore
620
585
 
621
586
  @overload
622
587
  async def set_legal_hold(
@@ -650,7 +615,6 @@ class BlobContainersOperations:
650
615
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
651
616
  Default value is "application/json".
652
617
  :paramtype content_type: str
653
- :keyword callable cls: A custom type or function that will be passed the direct response
654
618
  :return: LegalHold or the result of cls(response)
655
619
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
656
620
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -662,7 +626,7 @@ class BlobContainersOperations:
662
626
  resource_group_name: str,
663
627
  account_name: str,
664
628
  container_name: str,
665
- legal_hold: IO,
629
+ legal_hold: IO[bytes],
666
630
  *,
667
631
  content_type: str = "application/json",
668
632
  **kwargs: Any
@@ -684,11 +648,10 @@ class BlobContainersOperations:
684
648
  by a letter or number. Required.
685
649
  :type container_name: str
686
650
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
687
- :type legal_hold: IO
651
+ :type legal_hold: IO[bytes]
688
652
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
689
653
  Default value is "application/json".
690
654
  :paramtype content_type: str
691
- :keyword callable cls: A custom type or function that will be passed the direct response
692
655
  :return: LegalHold or the result of cls(response)
693
656
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
694
657
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -700,7 +663,7 @@ class BlobContainersOperations:
700
663
  resource_group_name: str,
701
664
  account_name: str,
702
665
  container_name: str,
703
- legal_hold: Union[_models.LegalHold, IO],
666
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
704
667
  **kwargs: Any
705
668
  ) -> _models.LegalHold:
706
669
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -720,17 +683,13 @@ class BlobContainersOperations:
720
683
  by a letter or number. Required.
721
684
  :type container_name: str
722
685
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
723
- LegalHold type or a IO type. Required.
724
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
725
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
726
- Default value is None.
727
- :paramtype content_type: str
728
- :keyword callable cls: A custom type or function that will be passed the direct response
686
+ LegalHold type or a IO[bytes] type. Required.
687
+ :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
729
688
  :return: LegalHold or the result of cls(response)
730
689
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
731
690
  :raises ~azure.core.exceptions.HttpResponseError:
732
691
  """
733
- error_map = {
692
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
734
693
  401: ClientAuthenticationError,
735
694
  404: ResourceNotFoundError,
736
695
  409: ResourceExistsError,
@@ -753,7 +712,7 @@ class BlobContainersOperations:
753
712
  else:
754
713
  _json = self._serialize.body(legal_hold, "LegalHold")
755
714
 
756
- request = build_set_legal_hold_request(
715
+ _request = build_set_legal_hold_request(
757
716
  resource_group_name=resource_group_name,
758
717
  account_name=account_name,
759
718
  container_name=container_name,
@@ -762,16 +721,15 @@ class BlobContainersOperations:
762
721
  content_type=content_type,
763
722
  json=_json,
764
723
  content=_content,
765
- template_url=self.set_legal_hold.metadata["url"],
766
724
  headers=_headers,
767
725
  params=_params,
768
726
  )
769
- request = _convert_request(request)
770
- request.url = self._client.format_url(request.url)
727
+ _request = _convert_request(_request)
728
+ _request.url = self._client.format_url(_request.url)
771
729
 
772
730
  _stream = False
773
731
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
774
- request, stream=_stream, **kwargs
732
+ _request, stream=_stream, **kwargs
775
733
  )
776
734
 
777
735
  response = pipeline_response.http_response
@@ -783,13 +741,9 @@ class BlobContainersOperations:
783
741
  deserialized = self._deserialize("LegalHold", pipeline_response)
784
742
 
785
743
  if cls:
786
- return cls(pipeline_response, deserialized, {})
787
-
788
- return deserialized
744
+ return cls(pipeline_response, deserialized, {}) # type: ignore
789
745
 
790
- set_legal_hold.metadata = {
791
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
792
- }
746
+ return deserialized # type: ignore
793
747
 
794
748
  @overload
795
749
  async def clear_legal_hold(
@@ -822,7 +776,6 @@ class BlobContainersOperations:
822
776
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
823
777
  Default value is "application/json".
824
778
  :paramtype content_type: str
825
- :keyword callable cls: A custom type or function that will be passed the direct response
826
779
  :return: LegalHold or the result of cls(response)
827
780
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
828
781
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -834,7 +787,7 @@ class BlobContainersOperations:
834
787
  resource_group_name: str,
835
788
  account_name: str,
836
789
  container_name: str,
837
- legal_hold: IO,
790
+ legal_hold: IO[bytes],
838
791
  *,
839
792
  content_type: str = "application/json",
840
793
  **kwargs: Any
@@ -855,11 +808,10 @@ class BlobContainersOperations:
855
808
  by a letter or number. Required.
856
809
  :type container_name: str
857
810
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
858
- :type legal_hold: IO
811
+ :type legal_hold: IO[bytes]
859
812
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
860
813
  Default value is "application/json".
861
814
  :paramtype content_type: str
862
- :keyword callable cls: A custom type or function that will be passed the direct response
863
815
  :return: LegalHold or the result of cls(response)
864
816
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
865
817
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -871,7 +823,7 @@ class BlobContainersOperations:
871
823
  resource_group_name: str,
872
824
  account_name: str,
873
825
  container_name: str,
874
- legal_hold: Union[_models.LegalHold, IO],
826
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
875
827
  **kwargs: Any
876
828
  ) -> _models.LegalHold:
877
829
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -890,17 +842,13 @@ class BlobContainersOperations:
890
842
  by a letter or number. Required.
891
843
  :type container_name: str
892
844
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
893
- LegalHold type or a IO type. Required.
894
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
895
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
896
- Default value is None.
897
- :paramtype content_type: str
898
- :keyword callable cls: A custom type or function that will be passed the direct response
845
+ LegalHold type or a IO[bytes] type. Required.
846
+ :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
899
847
  :return: LegalHold or the result of cls(response)
900
848
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
901
849
  :raises ~azure.core.exceptions.HttpResponseError:
902
850
  """
903
- error_map = {
851
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
904
852
  401: ClientAuthenticationError,
905
853
  404: ResourceNotFoundError,
906
854
  409: ResourceExistsError,
@@ -923,7 +871,7 @@ class BlobContainersOperations:
923
871
  else:
924
872
  _json = self._serialize.body(legal_hold, "LegalHold")
925
873
 
926
- request = build_clear_legal_hold_request(
874
+ _request = build_clear_legal_hold_request(
927
875
  resource_group_name=resource_group_name,
928
876
  account_name=account_name,
929
877
  container_name=container_name,
@@ -932,16 +880,15 @@ class BlobContainersOperations:
932
880
  content_type=content_type,
933
881
  json=_json,
934
882
  content=_content,
935
- template_url=self.clear_legal_hold.metadata["url"],
936
883
  headers=_headers,
937
884
  params=_params,
938
885
  )
939
- request = _convert_request(request)
940
- request.url = self._client.format_url(request.url)
886
+ _request = _convert_request(_request)
887
+ _request.url = self._client.format_url(_request.url)
941
888
 
942
889
  _stream = False
943
890
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
944
- request, stream=_stream, **kwargs
891
+ _request, stream=_stream, **kwargs
945
892
  )
946
893
 
947
894
  response = pipeline_response.http_response
@@ -953,13 +900,9 @@ class BlobContainersOperations:
953
900
  deserialized = self._deserialize("LegalHold", pipeline_response)
954
901
 
955
902
  if cls:
956
- return cls(pipeline_response, deserialized, {})
957
-
958
- return deserialized
903
+ return cls(pipeline_response, deserialized, {}) # type: ignore
959
904
 
960
- clear_legal_hold.metadata = {
961
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
962
- }
905
+ return deserialized # type: ignore
963
906
 
964
907
  @overload
965
908
  async def create_or_update_immutability_policy(
@@ -1002,7 +945,6 @@ class BlobContainersOperations:
1002
945
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1003
946
  Default value is "application/json".
1004
947
  :paramtype content_type: str
1005
- :keyword callable cls: A custom type or function that will be passed the direct response
1006
948
  :return: ImmutabilityPolicy or the result of cls(response)
1007
949
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1008
950
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1016,7 +958,7 @@ class BlobContainersOperations:
1016
958
  container_name: str,
1017
959
  immutability_policy_name: Union[str, _models.Enum10],
1018
960
  if_match: Optional[str] = None,
1019
- parameters: Optional[IO] = None,
961
+ parameters: Optional[IO[bytes]] = None,
1020
962
  *,
1021
963
  content_type: str = "application/json",
1022
964
  **kwargs: Any
@@ -1045,11 +987,10 @@ class BlobContainersOperations:
1045
987
  :type if_match: str
1046
988
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1047
989
  container. Default value is None.
1048
- :type parameters: IO
990
+ :type parameters: IO[bytes]
1049
991
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1050
992
  Default value is "application/json".
1051
993
  :paramtype content_type: str
1052
- :keyword callable cls: A custom type or function that will be passed the direct response
1053
994
  :return: ImmutabilityPolicy or the result of cls(response)
1054
995
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1055
996
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1063,7 +1004,7 @@ class BlobContainersOperations:
1063
1004
  container_name: str,
1064
1005
  immutability_policy_name: Union[str, _models.Enum10],
1065
1006
  if_match: Optional[str] = None,
1066
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1007
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1067
1008
  **kwargs: Any
1068
1009
  ) -> _models.ImmutabilityPolicy:
1069
1010
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1089,17 +1030,13 @@ class BlobContainersOperations:
1089
1030
  omitted, this operation will always be applied. Default value is None.
1090
1031
  :type if_match: str
1091
1032
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1092
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1093
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
1094
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1095
- Default value is None.
1096
- :paramtype content_type: str
1097
- :keyword callable cls: A custom type or function that will be passed the direct response
1033
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1034
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
1098
1035
  :return: ImmutabilityPolicy or the result of cls(response)
1099
1036
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1100
1037
  :raises ~azure.core.exceptions.HttpResponseError:
1101
1038
  """
1102
- error_map = {
1039
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1103
1040
  401: ClientAuthenticationError,
1104
1041
  404: ResourceNotFoundError,
1105
1042
  409: ResourceExistsError,
@@ -1125,7 +1062,7 @@ class BlobContainersOperations:
1125
1062
  else:
1126
1063
  _json = None
1127
1064
 
1128
- request = build_create_or_update_immutability_policy_request(
1065
+ _request = build_create_or_update_immutability_policy_request(
1129
1066
  resource_group_name=resource_group_name,
1130
1067
  account_name=account_name,
1131
1068
  container_name=container_name,
@@ -1136,16 +1073,15 @@ class BlobContainersOperations:
1136
1073
  content_type=content_type,
1137
1074
  json=_json,
1138
1075
  content=_content,
1139
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1140
1076
  headers=_headers,
1141
1077
  params=_params,
1142
1078
  )
1143
- request = _convert_request(request)
1144
- request.url = self._client.format_url(request.url)
1079
+ _request = _convert_request(_request)
1080
+ _request.url = self._client.format_url(_request.url)
1145
1081
 
1146
1082
  _stream = False
1147
1083
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1148
- request, stream=_stream, **kwargs
1084
+ _request, stream=_stream, **kwargs
1149
1085
  )
1150
1086
 
1151
1087
  response = pipeline_response.http_response
@@ -1160,13 +1096,9 @@ class BlobContainersOperations:
1160
1096
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1161
1097
 
1162
1098
  if cls:
1163
- return cls(pipeline_response, deserialized, response_headers)
1099
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1164
1100
 
1165
- return deserialized
1166
-
1167
- create_or_update_immutability_policy.metadata = {
1168
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1169
- }
1101
+ return deserialized # type: ignore
1170
1102
 
1171
1103
  @distributed_trace_async
1172
1104
  async def get_immutability_policy(
@@ -1200,12 +1132,11 @@ class BlobContainersOperations:
1200
1132
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1201
1133
  omitted, this operation will always be applied. Default value is None.
1202
1134
  :type if_match: str
1203
- :keyword callable cls: A custom type or function that will be passed the direct response
1204
1135
  :return: ImmutabilityPolicy or the result of cls(response)
1205
1136
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1206
1137
  :raises ~azure.core.exceptions.HttpResponseError:
1207
1138
  """
1208
- error_map = {
1139
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1209
1140
  401: ClientAuthenticationError,
1210
1141
  404: ResourceNotFoundError,
1211
1142
  409: ResourceExistsError,
@@ -1219,7 +1150,7 @@ class BlobContainersOperations:
1219
1150
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1220
1151
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1221
1152
 
1222
- request = build_get_immutability_policy_request(
1153
+ _request = build_get_immutability_policy_request(
1223
1154
  resource_group_name=resource_group_name,
1224
1155
  account_name=account_name,
1225
1156
  container_name=container_name,
@@ -1227,16 +1158,15 @@ class BlobContainersOperations:
1227
1158
  subscription_id=self._config.subscription_id,
1228
1159
  if_match=if_match,
1229
1160
  api_version=api_version,
1230
- template_url=self.get_immutability_policy.metadata["url"],
1231
1161
  headers=_headers,
1232
1162
  params=_params,
1233
1163
  )
1234
- request = _convert_request(request)
1235
- request.url = self._client.format_url(request.url)
1164
+ _request = _convert_request(_request)
1165
+ _request.url = self._client.format_url(_request.url)
1236
1166
 
1237
1167
  _stream = False
1238
1168
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1239
- request, stream=_stream, **kwargs
1169
+ _request, stream=_stream, **kwargs
1240
1170
  )
1241
1171
 
1242
1172
  response = pipeline_response.http_response
@@ -1251,13 +1181,9 @@ class BlobContainersOperations:
1251
1181
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1252
1182
 
1253
1183
  if cls:
1254
- return cls(pipeline_response, deserialized, response_headers)
1184
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1255
1185
 
1256
- return deserialized
1257
-
1258
- get_immutability_policy.metadata = {
1259
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1260
- }
1186
+ return deserialized # type: ignore
1261
1187
 
1262
1188
  @distributed_trace_async
1263
1189
  async def delete_immutability_policy(
@@ -1293,12 +1219,11 @@ class BlobContainersOperations:
1293
1219
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1294
1220
  omitted, this operation will always be applied. Required.
1295
1221
  :type if_match: str
1296
- :keyword callable cls: A custom type or function that will be passed the direct response
1297
1222
  :return: ImmutabilityPolicy or the result of cls(response)
1298
1223
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1299
1224
  :raises ~azure.core.exceptions.HttpResponseError:
1300
1225
  """
1301
- error_map = {
1226
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1302
1227
  401: ClientAuthenticationError,
1303
1228
  404: ResourceNotFoundError,
1304
1229
  409: ResourceExistsError,
@@ -1312,7 +1237,7 @@ class BlobContainersOperations:
1312
1237
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1313
1238
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1314
1239
 
1315
- request = build_delete_immutability_policy_request(
1240
+ _request = build_delete_immutability_policy_request(
1316
1241
  resource_group_name=resource_group_name,
1317
1242
  account_name=account_name,
1318
1243
  container_name=container_name,
@@ -1320,16 +1245,15 @@ class BlobContainersOperations:
1320
1245
  subscription_id=self._config.subscription_id,
1321
1246
  if_match=if_match,
1322
1247
  api_version=api_version,
1323
- template_url=self.delete_immutability_policy.metadata["url"],
1324
1248
  headers=_headers,
1325
1249
  params=_params,
1326
1250
  )
1327
- request = _convert_request(request)
1328
- request.url = self._client.format_url(request.url)
1251
+ _request = _convert_request(_request)
1252
+ _request.url = self._client.format_url(_request.url)
1329
1253
 
1330
1254
  _stream = False
1331
1255
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1332
- request, stream=_stream, **kwargs
1256
+ _request, stream=_stream, **kwargs
1333
1257
  )
1334
1258
 
1335
1259
  response = pipeline_response.http_response
@@ -1344,13 +1268,9 @@ class BlobContainersOperations:
1344
1268
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1345
1269
 
1346
1270
  if cls:
1347
- return cls(pipeline_response, deserialized, response_headers)
1271
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1348
1272
 
1349
- return deserialized
1350
-
1351
- delete_immutability_policy.metadata = {
1352
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1353
- }
1273
+ return deserialized # type: ignore
1354
1274
 
1355
1275
  @distributed_trace_async
1356
1276
  async def lock_immutability_policy(
@@ -1375,12 +1295,11 @@ class BlobContainersOperations:
1375
1295
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1376
1296
  omitted, this operation will always be applied. Required.
1377
1297
  :type if_match: str
1378
- :keyword callable cls: A custom type or function that will be passed the direct response
1379
1298
  :return: ImmutabilityPolicy or the result of cls(response)
1380
1299
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1381
1300
  :raises ~azure.core.exceptions.HttpResponseError:
1382
1301
  """
1383
- error_map = {
1302
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1384
1303
  401: ClientAuthenticationError,
1385
1304
  404: ResourceNotFoundError,
1386
1305
  409: ResourceExistsError,
@@ -1394,23 +1313,22 @@ class BlobContainersOperations:
1394
1313
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1395
1314
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1396
1315
 
1397
- request = build_lock_immutability_policy_request(
1316
+ _request = build_lock_immutability_policy_request(
1398
1317
  resource_group_name=resource_group_name,
1399
1318
  account_name=account_name,
1400
1319
  container_name=container_name,
1401
1320
  subscription_id=self._config.subscription_id,
1402
1321
  if_match=if_match,
1403
1322
  api_version=api_version,
1404
- template_url=self.lock_immutability_policy.metadata["url"],
1405
1323
  headers=_headers,
1406
1324
  params=_params,
1407
1325
  )
1408
- request = _convert_request(request)
1409
- request.url = self._client.format_url(request.url)
1326
+ _request = _convert_request(_request)
1327
+ _request.url = self._client.format_url(_request.url)
1410
1328
 
1411
1329
  _stream = False
1412
1330
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1413
- request, stream=_stream, **kwargs
1331
+ _request, stream=_stream, **kwargs
1414
1332
  )
1415
1333
 
1416
1334
  response = pipeline_response.http_response
@@ -1425,13 +1343,9 @@ class BlobContainersOperations:
1425
1343
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1426
1344
 
1427
1345
  if cls:
1428
- return cls(pipeline_response, deserialized, response_headers)
1346
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1429
1347
 
1430
- return deserialized
1431
-
1432
- lock_immutability_policy.metadata = {
1433
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1434
- }
1348
+ return deserialized # type: ignore
1435
1349
 
1436
1350
  @overload
1437
1351
  async def extend_immutability_policy(
@@ -1471,7 +1385,6 @@ class BlobContainersOperations:
1471
1385
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1472
1386
  Default value is "application/json".
1473
1387
  :paramtype content_type: str
1474
- :keyword callable cls: A custom type or function that will be passed the direct response
1475
1388
  :return: ImmutabilityPolicy or the result of cls(response)
1476
1389
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1477
1390
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1484,7 +1397,7 @@ class BlobContainersOperations:
1484
1397
  account_name: str,
1485
1398
  container_name: str,
1486
1399
  if_match: str,
1487
- parameters: Optional[IO] = None,
1400
+ parameters: Optional[IO[bytes]] = None,
1488
1401
  *,
1489
1402
  content_type: str = "application/json",
1490
1403
  **kwargs: Any
@@ -1511,11 +1424,10 @@ class BlobContainersOperations:
1511
1424
  :type if_match: str
1512
1425
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1513
1426
  container. Default value is None.
1514
- :type parameters: IO
1427
+ :type parameters: IO[bytes]
1515
1428
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1516
1429
  Default value is "application/json".
1517
1430
  :paramtype content_type: str
1518
- :keyword callable cls: A custom type or function that will be passed the direct response
1519
1431
  :return: ImmutabilityPolicy or the result of cls(response)
1520
1432
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1521
1433
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1528,7 +1440,7 @@ class BlobContainersOperations:
1528
1440
  account_name: str,
1529
1441
  container_name: str,
1530
1442
  if_match: str,
1531
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1443
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1532
1444
  **kwargs: Any
1533
1445
  ) -> _models.ImmutabilityPolicy:
1534
1446
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -1552,17 +1464,13 @@ class BlobContainersOperations:
1552
1464
  omitted, this operation will always be applied. Required.
1553
1465
  :type if_match: str
1554
1466
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1555
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1556
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
1557
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1558
- Default value is None.
1559
- :paramtype content_type: str
1560
- :keyword callable cls: A custom type or function that will be passed the direct response
1467
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1468
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
1561
1469
  :return: ImmutabilityPolicy or the result of cls(response)
1562
1470
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1563
1471
  :raises ~azure.core.exceptions.HttpResponseError:
1564
1472
  """
1565
- error_map = {
1473
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1566
1474
  401: ClientAuthenticationError,
1567
1475
  404: ResourceNotFoundError,
1568
1476
  409: ResourceExistsError,
@@ -1588,7 +1496,7 @@ class BlobContainersOperations:
1588
1496
  else:
1589
1497
  _json = None
1590
1498
 
1591
- request = build_extend_immutability_policy_request(
1499
+ _request = build_extend_immutability_policy_request(
1592
1500
  resource_group_name=resource_group_name,
1593
1501
  account_name=account_name,
1594
1502
  container_name=container_name,
@@ -1598,16 +1506,15 @@ class BlobContainersOperations:
1598
1506
  content_type=content_type,
1599
1507
  json=_json,
1600
1508
  content=_content,
1601
- template_url=self.extend_immutability_policy.metadata["url"],
1602
1509
  headers=_headers,
1603
1510
  params=_params,
1604
1511
  )
1605
- request = _convert_request(request)
1606
- request.url = self._client.format_url(request.url)
1512
+ _request = _convert_request(_request)
1513
+ _request.url = self._client.format_url(_request.url)
1607
1514
 
1608
1515
  _stream = False
1609
1516
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1610
- request, stream=_stream, **kwargs
1517
+ _request, stream=_stream, **kwargs
1611
1518
  )
1612
1519
 
1613
1520
  response = pipeline_response.http_response
@@ -1622,13 +1529,9 @@ class BlobContainersOperations:
1622
1529
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1623
1530
 
1624
1531
  if cls:
1625
- return cls(pipeline_response, deserialized, response_headers)
1532
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1626
1533
 
1627
- return deserialized
1628
-
1629
- extend_immutability_policy.metadata = {
1630
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
1631
- }
1534
+ return deserialized # type: ignore
1632
1535
 
1633
1536
  @overload
1634
1537
  async def lease(
@@ -1661,7 +1564,6 @@ class BlobContainersOperations:
1661
1564
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1662
1565
  Default value is "application/json".
1663
1566
  :paramtype content_type: str
1664
- :keyword callable cls: A custom type or function that will be passed the direct response
1665
1567
  :return: LeaseContainerResponse or the result of cls(response)
1666
1568
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
1667
1569
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1673,7 +1575,7 @@ class BlobContainersOperations:
1673
1575
  resource_group_name: str,
1674
1576
  account_name: str,
1675
1577
  container_name: str,
1676
- parameters: Optional[IO] = None,
1578
+ parameters: Optional[IO[bytes]] = None,
1677
1579
  *,
1678
1580
  content_type: str = "application/json",
1679
1581
  **kwargs: Any
@@ -1694,11 +1596,10 @@ class BlobContainersOperations:
1694
1596
  by a letter or number. Required.
1695
1597
  :type container_name: str
1696
1598
  :param parameters: Lease Container request body. Default value is None.
1697
- :type parameters: IO
1599
+ :type parameters: IO[bytes]
1698
1600
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1699
1601
  Default value is "application/json".
1700
1602
  :paramtype content_type: str
1701
- :keyword callable cls: A custom type or function that will be passed the direct response
1702
1603
  :return: LeaseContainerResponse or the result of cls(response)
1703
1604
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
1704
1605
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1710,7 +1611,7 @@ class BlobContainersOperations:
1710
1611
  resource_group_name: str,
1711
1612
  account_name: str,
1712
1613
  container_name: str,
1713
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
1614
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
1714
1615
  **kwargs: Any
1715
1616
  ) -> _models.LeaseContainerResponse:
1716
1617
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -1728,18 +1629,14 @@ class BlobContainersOperations:
1728
1629
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1729
1630
  by a letter or number. Required.
1730
1631
  :type container_name: str
1731
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
1732
- type. Default value is None.
1733
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO
1734
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1735
- Default value is None.
1736
- :paramtype content_type: str
1737
- :keyword callable cls: A custom type or function that will be passed the direct response
1632
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
1633
+ IO[bytes] type. Default value is None.
1634
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO[bytes]
1738
1635
  :return: LeaseContainerResponse or the result of cls(response)
1739
1636
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
1740
1637
  :raises ~azure.core.exceptions.HttpResponseError:
1741
1638
  """
1742
- error_map = {
1639
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1743
1640
  401: ClientAuthenticationError,
1744
1641
  404: ResourceNotFoundError,
1745
1642
  409: ResourceExistsError,
@@ -1765,7 +1662,7 @@ class BlobContainersOperations:
1765
1662
  else:
1766
1663
  _json = None
1767
1664
 
1768
- request = build_lease_request(
1665
+ _request = build_lease_request(
1769
1666
  resource_group_name=resource_group_name,
1770
1667
  account_name=account_name,
1771
1668
  container_name=container_name,
@@ -1774,16 +1671,15 @@ class BlobContainersOperations:
1774
1671
  content_type=content_type,
1775
1672
  json=_json,
1776
1673
  content=_content,
1777
- template_url=self.lease.metadata["url"],
1778
1674
  headers=_headers,
1779
1675
  params=_params,
1780
1676
  )
1781
- request = _convert_request(request)
1782
- request.url = self._client.format_url(request.url)
1677
+ _request = _convert_request(_request)
1678
+ _request.url = self._client.format_url(_request.url)
1783
1679
 
1784
1680
  _stream = False
1785
1681
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1786
- request, stream=_stream, **kwargs
1682
+ _request, stream=_stream, **kwargs
1787
1683
  )
1788
1684
 
1789
1685
  response = pipeline_response.http_response
@@ -1795,10 +1691,6 @@ class BlobContainersOperations:
1795
1691
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
1796
1692
 
1797
1693
  if cls:
1798
- return cls(pipeline_response, deserialized, {})
1799
-
1800
- return deserialized
1694
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1801
1695
 
1802
- lease.metadata = {
1803
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
1804
- }
1696
+ return deserialized # type: ignore