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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,7 +7,8 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
- from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
10
+ import sys
11
+ from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.async_paging import AsyncItemPaged, AsyncList
@@ -45,6 +46,10 @@ from ...operations._blob_containers_operations import (
45
46
  build_update_request,
46
47
  )
47
48
 
49
+ if sys.version_info >= (3, 9):
50
+ from collections.abc import MutableMapping
51
+ else:
52
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
48
53
  T = TypeVar("T")
49
54
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
50
55
 
@@ -98,7 +103,6 @@ class BlobContainersOperations:
98
103
  :param include: Optional, used to include the properties for soft deleted blob containers.
99
104
  "deleted" Default value is None.
100
105
  :type include: str or ~azure.mgmt.storage.v2020_08_01_preview.models.ListContainersInclude
101
- :keyword callable cls: A custom type or function that will be passed the direct response
102
106
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
103
107
  :rtype:
104
108
  ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.ListContainerItem]
@@ -112,7 +116,7 @@ class BlobContainersOperations:
112
116
  )
113
117
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
114
118
 
115
- error_map = {
119
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
116
120
  401: ClientAuthenticationError,
117
121
  404: ResourceNotFoundError,
118
122
  409: ResourceExistsError,
@@ -123,7 +127,7 @@ class BlobContainersOperations:
123
127
  def prepare_request(next_link=None):
124
128
  if not next_link:
125
129
 
126
- request = build_list_request(
130
+ _request = build_list_request(
127
131
  resource_group_name=resource_group_name,
128
132
  account_name=account_name,
129
133
  subscription_id=self._config.subscription_id,
@@ -131,12 +135,11 @@ class BlobContainersOperations:
131
135
  filter=filter,
132
136
  include=include,
133
137
  api_version=api_version,
134
- template_url=self.list.metadata["url"],
135
138
  headers=_headers,
136
139
  params=_params,
137
140
  )
138
- request = _convert_request(request)
139
- request.url = self._client.format_url(request.url)
141
+ _request = _convert_request(_request)
142
+ _request.url = self._client.format_url(_request.url)
140
143
 
141
144
  else:
142
145
  # make call to next link with the client's api-version
@@ -147,14 +150,14 @@ class BlobContainersOperations:
147
150
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
148
151
  }
149
152
  )
150
- _next_request_params["api-version"] = self._config.api_version
151
- request = HttpRequest(
153
+ _next_request_params["api-version"] = self._api_version
154
+ _request = HttpRequest(
152
155
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
153
156
  )
154
- request = _convert_request(request)
155
- request.url = self._client.format_url(request.url)
156
- request.method = "GET"
157
- return request
157
+ _request = _convert_request(_request)
158
+ _request.url = self._client.format_url(_request.url)
159
+ _request.method = "GET"
160
+ return _request
158
161
 
159
162
  async def extract_data(pipeline_response):
160
163
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -164,11 +167,11 @@ class BlobContainersOperations:
164
167
  return deserialized.next_link or None, AsyncList(list_of_elem)
165
168
 
166
169
  async def get_next(next_link=None):
167
- request = prepare_request(next_link)
170
+ _request = prepare_request(next_link)
168
171
 
169
172
  _stream = False
170
173
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
171
- request, stream=_stream, **kwargs
174
+ _request, stream=_stream, **kwargs
172
175
  )
173
176
  response = pipeline_response.http_response
174
177
 
@@ -180,10 +183,6 @@ class BlobContainersOperations:
180
183
 
181
184
  return AsyncItemPaged(get_next, extract_data)
182
185
 
183
- list.metadata = {
184
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
185
- }
186
-
187
186
  @overload
188
187
  async def create(
189
188
  self,
@@ -216,7 +215,6 @@ class BlobContainersOperations:
216
215
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
217
216
  Default value is "application/json".
218
217
  :paramtype content_type: str
219
- :keyword callable cls: A custom type or function that will be passed the direct response
220
218
  :return: BlobContainer or the result of cls(response)
221
219
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
222
220
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -228,7 +226,7 @@ class BlobContainersOperations:
228
226
  resource_group_name: str,
229
227
  account_name: str,
230
228
  container_name: str,
231
- blob_container: IO,
229
+ blob_container: IO[bytes],
232
230
  *,
233
231
  content_type: str = "application/json",
234
232
  **kwargs: Any
@@ -250,11 +248,10 @@ class BlobContainersOperations:
250
248
  by a letter or number. Required.
251
249
  :type container_name: str
252
250
  :param blob_container: Properties of the blob container to create. Required.
253
- :type blob_container: IO
251
+ :type blob_container: IO[bytes]
254
252
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
255
253
  Default value is "application/json".
256
254
  :paramtype content_type: str
257
- :keyword callable cls: A custom type or function that will be passed the direct response
258
255
  :return: BlobContainer or the result of cls(response)
259
256
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
260
257
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -266,7 +263,7 @@ class BlobContainersOperations:
266
263
  resource_group_name: str,
267
264
  account_name: str,
268
265
  container_name: str,
269
- blob_container: Union[_models.BlobContainer, IO],
266
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
270
267
  **kwargs: Any
271
268
  ) -> _models.BlobContainer:
272
269
  """Creates a new container under the specified account as described by request body. The container
@@ -286,17 +283,13 @@ class BlobContainersOperations:
286
283
  by a letter or number. Required.
287
284
  :type container_name: str
288
285
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
289
- type or a IO type. Required.
290
- :type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
291
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
292
- Default value is None.
293
- :paramtype content_type: str
294
- :keyword callable cls: A custom type or function that will be passed the direct response
286
+ type or a IO[bytes] type. Required.
287
+ :type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
295
288
  :return: BlobContainer or the result of cls(response)
296
289
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
297
290
  :raises ~azure.core.exceptions.HttpResponseError:
298
291
  """
299
- error_map = {
292
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
300
293
  401: ClientAuthenticationError,
301
294
  404: ResourceNotFoundError,
302
295
  409: ResourceExistsError,
@@ -321,7 +314,7 @@ class BlobContainersOperations:
321
314
  else:
322
315
  _json = self._serialize.body(blob_container, "BlobContainer")
323
316
 
324
- request = build_create_request(
317
+ _request = build_create_request(
325
318
  resource_group_name=resource_group_name,
326
319
  account_name=account_name,
327
320
  container_name=container_name,
@@ -330,16 +323,15 @@ class BlobContainersOperations:
330
323
  content_type=content_type,
331
324
  json=_json,
332
325
  content=_content,
333
- template_url=self.create.metadata["url"],
334
326
  headers=_headers,
335
327
  params=_params,
336
328
  )
337
- request = _convert_request(request)
338
- request.url = self._client.format_url(request.url)
329
+ _request = _convert_request(_request)
330
+ _request.url = self._client.format_url(_request.url)
339
331
 
340
332
  _stream = False
341
333
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
342
- request, stream=_stream, **kwargs
334
+ _request, stream=_stream, **kwargs
343
335
  )
344
336
 
345
337
  response = pipeline_response.http_response
@@ -359,10 +351,6 @@ class BlobContainersOperations:
359
351
 
360
352
  return deserialized # type: ignore
361
353
 
362
- create.metadata = {
363
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
364
- }
365
-
366
354
  @overload
367
355
  async def update(
368
356
  self,
@@ -394,7 +382,6 @@ class BlobContainersOperations:
394
382
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
395
383
  Default value is "application/json".
396
384
  :paramtype content_type: str
397
- :keyword callable cls: A custom type or function that will be passed the direct response
398
385
  :return: BlobContainer or the result of cls(response)
399
386
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
400
387
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -406,7 +393,7 @@ class BlobContainersOperations:
406
393
  resource_group_name: str,
407
394
  account_name: str,
408
395
  container_name: str,
409
- blob_container: IO,
396
+ blob_container: IO[bytes],
410
397
  *,
411
398
  content_type: str = "application/json",
412
399
  **kwargs: Any
@@ -427,11 +414,10 @@ class BlobContainersOperations:
427
414
  by a letter or number. Required.
428
415
  :type container_name: str
429
416
  :param blob_container: Properties to update for the blob container. Required.
430
- :type blob_container: IO
417
+ :type blob_container: IO[bytes]
431
418
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
432
419
  Default value is "application/json".
433
420
  :paramtype content_type: str
434
- :keyword callable cls: A custom type or function that will be passed the direct response
435
421
  :return: BlobContainer or the result of cls(response)
436
422
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
437
423
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -443,7 +429,7 @@ class BlobContainersOperations:
443
429
  resource_group_name: str,
444
430
  account_name: str,
445
431
  container_name: str,
446
- blob_container: Union[_models.BlobContainer, IO],
432
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
447
433
  **kwargs: Any
448
434
  ) -> _models.BlobContainer:
449
435
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -462,17 +448,13 @@ class BlobContainersOperations:
462
448
  by a letter or number. Required.
463
449
  :type container_name: str
464
450
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
465
- type or a IO type. Required.
466
- :type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
467
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
468
- Default value is None.
469
- :paramtype content_type: str
470
- :keyword callable cls: A custom type or function that will be passed the direct response
451
+ type or a IO[bytes] type. Required.
452
+ :type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
471
453
  :return: BlobContainer or the result of cls(response)
472
454
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
473
455
  :raises ~azure.core.exceptions.HttpResponseError:
474
456
  """
475
- error_map = {
457
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
476
458
  401: ClientAuthenticationError,
477
459
  404: ResourceNotFoundError,
478
460
  409: ResourceExistsError,
@@ -497,7 +479,7 @@ class BlobContainersOperations:
497
479
  else:
498
480
  _json = self._serialize.body(blob_container, "BlobContainer")
499
481
 
500
- request = build_update_request(
482
+ _request = build_update_request(
501
483
  resource_group_name=resource_group_name,
502
484
  account_name=account_name,
503
485
  container_name=container_name,
@@ -506,16 +488,15 @@ class BlobContainersOperations:
506
488
  content_type=content_type,
507
489
  json=_json,
508
490
  content=_content,
509
- template_url=self.update.metadata["url"],
510
491
  headers=_headers,
511
492
  params=_params,
512
493
  )
513
- request = _convert_request(request)
514
- request.url = self._client.format_url(request.url)
494
+ _request = _convert_request(_request)
495
+ _request.url = self._client.format_url(_request.url)
515
496
 
516
497
  _stream = False
517
498
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
518
- request, stream=_stream, **kwargs
499
+ _request, stream=_stream, **kwargs
519
500
  )
520
501
 
521
502
  response = pipeline_response.http_response
@@ -527,13 +508,9 @@ class BlobContainersOperations:
527
508
  deserialized = self._deserialize("BlobContainer", pipeline_response)
528
509
 
529
510
  if cls:
530
- return cls(pipeline_response, deserialized, {})
531
-
532
- return deserialized
511
+ return cls(pipeline_response, deserialized, {}) # type: ignore
533
512
 
534
- update.metadata = {
535
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
536
- }
513
+ return deserialized # type: ignore
537
514
 
538
515
  @distributed_trace_async
539
516
  async def get(
@@ -553,12 +530,11 @@ class BlobContainersOperations:
553
530
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
554
531
  by a letter or number. Required.
555
532
  :type container_name: str
556
- :keyword callable cls: A custom type or function that will be passed the direct response
557
533
  :return: BlobContainer or the result of cls(response)
558
534
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
559
535
  :raises ~azure.core.exceptions.HttpResponseError:
560
536
  """
561
- error_map = {
537
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
562
538
  401: ClientAuthenticationError,
563
539
  404: ResourceNotFoundError,
564
540
  409: ResourceExistsError,
@@ -574,22 +550,21 @@ class BlobContainersOperations:
574
550
  )
575
551
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
576
552
 
577
- request = build_get_request(
553
+ _request = build_get_request(
578
554
  resource_group_name=resource_group_name,
579
555
  account_name=account_name,
580
556
  container_name=container_name,
581
557
  subscription_id=self._config.subscription_id,
582
558
  api_version=api_version,
583
- template_url=self.get.metadata["url"],
584
559
  headers=_headers,
585
560
  params=_params,
586
561
  )
587
- request = _convert_request(request)
588
- request.url = self._client.format_url(request.url)
562
+ _request = _convert_request(_request)
563
+ _request.url = self._client.format_url(_request.url)
589
564
 
590
565
  _stream = False
591
566
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
592
- request, stream=_stream, **kwargs
567
+ _request, stream=_stream, **kwargs
593
568
  )
594
569
 
595
570
  response = pipeline_response.http_response
@@ -601,13 +576,9 @@ class BlobContainersOperations:
601
576
  deserialized = self._deserialize("BlobContainer", pipeline_response)
602
577
 
603
578
  if cls:
604
- return cls(pipeline_response, deserialized, {})
605
-
606
- return deserialized
579
+ return cls(pipeline_response, deserialized, {}) # type: ignore
607
580
 
608
- get.metadata = {
609
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
610
- }
581
+ return deserialized # type: ignore
611
582
 
612
583
  @distributed_trace_async
613
584
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -627,12 +598,11 @@ class BlobContainersOperations:
627
598
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
628
599
  by a letter or number. Required.
629
600
  :type container_name: str
630
- :keyword callable cls: A custom type or function that will be passed the direct response
631
601
  :return: None or the result of cls(response)
632
602
  :rtype: None
633
603
  :raises ~azure.core.exceptions.HttpResponseError:
634
604
  """
635
- error_map = {
605
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
636
606
  401: ClientAuthenticationError,
637
607
  404: ResourceNotFoundError,
638
608
  409: ResourceExistsError,
@@ -648,22 +618,21 @@ class BlobContainersOperations:
648
618
  )
649
619
  cls: ClsType[None] = kwargs.pop("cls", None)
650
620
 
651
- request = build_delete_request(
621
+ _request = build_delete_request(
652
622
  resource_group_name=resource_group_name,
653
623
  account_name=account_name,
654
624
  container_name=container_name,
655
625
  subscription_id=self._config.subscription_id,
656
626
  api_version=api_version,
657
- template_url=self.delete.metadata["url"],
658
627
  headers=_headers,
659
628
  params=_params,
660
629
  )
661
- request = _convert_request(request)
662
- request.url = self._client.format_url(request.url)
630
+ _request = _convert_request(_request)
631
+ _request.url = self._client.format_url(_request.url)
663
632
 
664
633
  _stream = False
665
634
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
666
- request, stream=_stream, **kwargs
635
+ _request, stream=_stream, **kwargs
667
636
  )
668
637
 
669
638
  response = pipeline_response.http_response
@@ -673,11 +642,7 @@ class BlobContainersOperations:
673
642
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
674
643
 
675
644
  if cls:
676
- return cls(pipeline_response, None, {})
677
-
678
- delete.metadata = {
679
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
680
- }
645
+ return cls(pipeline_response, None, {}) # type: ignore
681
646
 
682
647
  @overload
683
648
  async def set_legal_hold(
@@ -711,7 +676,6 @@ class BlobContainersOperations:
711
676
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
712
677
  Default value is "application/json".
713
678
  :paramtype content_type: str
714
- :keyword callable cls: A custom type or function that will be passed the direct response
715
679
  :return: LegalHold or the result of cls(response)
716
680
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
717
681
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -723,7 +687,7 @@ class BlobContainersOperations:
723
687
  resource_group_name: str,
724
688
  account_name: str,
725
689
  container_name: str,
726
- legal_hold: IO,
690
+ legal_hold: IO[bytes],
727
691
  *,
728
692
  content_type: str = "application/json",
729
693
  **kwargs: Any
@@ -745,11 +709,10 @@ class BlobContainersOperations:
745
709
  by a letter or number. Required.
746
710
  :type container_name: str
747
711
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
748
- :type legal_hold: IO
712
+ :type legal_hold: IO[bytes]
749
713
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
750
714
  Default value is "application/json".
751
715
  :paramtype content_type: str
752
- :keyword callable cls: A custom type or function that will be passed the direct response
753
716
  :return: LegalHold or the result of cls(response)
754
717
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
755
718
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -761,7 +724,7 @@ class BlobContainersOperations:
761
724
  resource_group_name: str,
762
725
  account_name: str,
763
726
  container_name: str,
764
- legal_hold: Union[_models.LegalHold, IO],
727
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
765
728
  **kwargs: Any
766
729
  ) -> _models.LegalHold:
767
730
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -781,17 +744,13 @@ class BlobContainersOperations:
781
744
  by a letter or number. Required.
782
745
  :type container_name: str
783
746
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
784
- LegalHold type or a IO type. Required.
785
- :type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
786
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
787
- Default value is None.
788
- :paramtype content_type: str
789
- :keyword callable cls: A custom type or function that will be passed the direct response
747
+ LegalHold type or a IO[bytes] type. Required.
748
+ :type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
790
749
  :return: LegalHold or the result of cls(response)
791
750
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
792
751
  :raises ~azure.core.exceptions.HttpResponseError:
793
752
  """
794
- error_map = {
753
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
795
754
  401: ClientAuthenticationError,
796
755
  404: ResourceNotFoundError,
797
756
  409: ResourceExistsError,
@@ -816,7 +775,7 @@ class BlobContainersOperations:
816
775
  else:
817
776
  _json = self._serialize.body(legal_hold, "LegalHold")
818
777
 
819
- request = build_set_legal_hold_request(
778
+ _request = build_set_legal_hold_request(
820
779
  resource_group_name=resource_group_name,
821
780
  account_name=account_name,
822
781
  container_name=container_name,
@@ -825,16 +784,15 @@ class BlobContainersOperations:
825
784
  content_type=content_type,
826
785
  json=_json,
827
786
  content=_content,
828
- template_url=self.set_legal_hold.metadata["url"],
829
787
  headers=_headers,
830
788
  params=_params,
831
789
  )
832
- request = _convert_request(request)
833
- request.url = self._client.format_url(request.url)
790
+ _request = _convert_request(_request)
791
+ _request.url = self._client.format_url(_request.url)
834
792
 
835
793
  _stream = False
836
794
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
837
- request, stream=_stream, **kwargs
795
+ _request, stream=_stream, **kwargs
838
796
  )
839
797
 
840
798
  response = pipeline_response.http_response
@@ -846,13 +804,9 @@ class BlobContainersOperations:
846
804
  deserialized = self._deserialize("LegalHold", pipeline_response)
847
805
 
848
806
  if cls:
849
- return cls(pipeline_response, deserialized, {})
850
-
851
- return deserialized
807
+ return cls(pipeline_response, deserialized, {}) # type: ignore
852
808
 
853
- set_legal_hold.metadata = {
854
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
855
- }
809
+ return deserialized # type: ignore
856
810
 
857
811
  @overload
858
812
  async def clear_legal_hold(
@@ -885,7 +839,6 @@ class BlobContainersOperations:
885
839
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
886
840
  Default value is "application/json".
887
841
  :paramtype content_type: str
888
- :keyword callable cls: A custom type or function that will be passed the direct response
889
842
  :return: LegalHold or the result of cls(response)
890
843
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
891
844
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -897,7 +850,7 @@ class BlobContainersOperations:
897
850
  resource_group_name: str,
898
851
  account_name: str,
899
852
  container_name: str,
900
- legal_hold: IO,
853
+ legal_hold: IO[bytes],
901
854
  *,
902
855
  content_type: str = "application/json",
903
856
  **kwargs: Any
@@ -918,11 +871,10 @@ class BlobContainersOperations:
918
871
  by a letter or number. Required.
919
872
  :type container_name: str
920
873
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
921
- :type legal_hold: IO
874
+ :type legal_hold: IO[bytes]
922
875
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
923
876
  Default value is "application/json".
924
877
  :paramtype content_type: str
925
- :keyword callable cls: A custom type or function that will be passed the direct response
926
878
  :return: LegalHold or the result of cls(response)
927
879
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
928
880
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -934,7 +886,7 @@ class BlobContainersOperations:
934
886
  resource_group_name: str,
935
887
  account_name: str,
936
888
  container_name: str,
937
- legal_hold: Union[_models.LegalHold, IO],
889
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
938
890
  **kwargs: Any
939
891
  ) -> _models.LegalHold:
940
892
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -953,17 +905,13 @@ class BlobContainersOperations:
953
905
  by a letter or number. Required.
954
906
  :type container_name: str
955
907
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
956
- LegalHold type or a IO type. Required.
957
- :type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
958
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
959
- Default value is None.
960
- :paramtype content_type: str
961
- :keyword callable cls: A custom type or function that will be passed the direct response
908
+ LegalHold type or a IO[bytes] type. Required.
909
+ :type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
962
910
  :return: LegalHold or the result of cls(response)
963
911
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
964
912
  :raises ~azure.core.exceptions.HttpResponseError:
965
913
  """
966
- error_map = {
914
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
967
915
  401: ClientAuthenticationError,
968
916
  404: ResourceNotFoundError,
969
917
  409: ResourceExistsError,
@@ -988,7 +936,7 @@ class BlobContainersOperations:
988
936
  else:
989
937
  _json = self._serialize.body(legal_hold, "LegalHold")
990
938
 
991
- request = build_clear_legal_hold_request(
939
+ _request = build_clear_legal_hold_request(
992
940
  resource_group_name=resource_group_name,
993
941
  account_name=account_name,
994
942
  container_name=container_name,
@@ -997,16 +945,15 @@ class BlobContainersOperations:
997
945
  content_type=content_type,
998
946
  json=_json,
999
947
  content=_content,
1000
- template_url=self.clear_legal_hold.metadata["url"],
1001
948
  headers=_headers,
1002
949
  params=_params,
1003
950
  )
1004
- request = _convert_request(request)
1005
- request.url = self._client.format_url(request.url)
951
+ _request = _convert_request(_request)
952
+ _request.url = self._client.format_url(_request.url)
1006
953
 
1007
954
  _stream = False
1008
955
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1009
- request, stream=_stream, **kwargs
956
+ _request, stream=_stream, **kwargs
1010
957
  )
1011
958
 
1012
959
  response = pipeline_response.http_response
@@ -1018,13 +965,9 @@ class BlobContainersOperations:
1018
965
  deserialized = self._deserialize("LegalHold", pipeline_response)
1019
966
 
1020
967
  if cls:
1021
- return cls(pipeline_response, deserialized, {})
1022
-
1023
- return deserialized
968
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1024
969
 
1025
- clear_legal_hold.metadata = {
1026
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1027
- }
970
+ return deserialized # type: ignore
1028
971
 
1029
972
  @overload
1030
973
  async def create_or_update_immutability_policy(
@@ -1067,7 +1010,6 @@ class BlobContainersOperations:
1067
1010
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1068
1011
  Default value is "application/json".
1069
1012
  :paramtype content_type: str
1070
- :keyword callable cls: A custom type or function that will be passed the direct response
1071
1013
  :return: ImmutabilityPolicy or the result of cls(response)
1072
1014
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1073
1015
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1081,7 +1023,7 @@ class BlobContainersOperations:
1081
1023
  container_name: str,
1082
1024
  immutability_policy_name: Union[str, _models.Enum28],
1083
1025
  if_match: Optional[str] = None,
1084
- parameters: Optional[IO] = None,
1026
+ parameters: Optional[IO[bytes]] = None,
1085
1027
  *,
1086
1028
  content_type: str = "application/json",
1087
1029
  **kwargs: Any
@@ -1110,11 +1052,10 @@ class BlobContainersOperations:
1110
1052
  :type if_match: str
1111
1053
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1112
1054
  container. Default value is None.
1113
- :type parameters: IO
1055
+ :type parameters: IO[bytes]
1114
1056
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1115
1057
  Default value is "application/json".
1116
1058
  :paramtype content_type: str
1117
- :keyword callable cls: A custom type or function that will be passed the direct response
1118
1059
  :return: ImmutabilityPolicy or the result of cls(response)
1119
1060
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1120
1061
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1128,7 +1069,7 @@ class BlobContainersOperations:
1128
1069
  container_name: str,
1129
1070
  immutability_policy_name: Union[str, _models.Enum28],
1130
1071
  if_match: Optional[str] = None,
1131
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1072
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1132
1073
  **kwargs: Any
1133
1074
  ) -> _models.ImmutabilityPolicy:
1134
1075
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1154,17 +1095,14 @@ class BlobContainersOperations:
1154
1095
  omitted, this operation will always be applied. Default value is None.
1155
1096
  :type if_match: str
1156
1097
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1157
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1158
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or IO
1159
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1160
- Default value is None.
1161
- :paramtype content_type: str
1162
- :keyword callable cls: A custom type or function that will be passed the direct response
1098
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1099
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
1100
+ IO[bytes]
1163
1101
  :return: ImmutabilityPolicy or the result of cls(response)
1164
1102
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1165
1103
  :raises ~azure.core.exceptions.HttpResponseError:
1166
1104
  """
1167
- error_map = {
1105
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1168
1106
  401: ClientAuthenticationError,
1169
1107
  404: ResourceNotFoundError,
1170
1108
  409: ResourceExistsError,
@@ -1192,7 +1130,7 @@ class BlobContainersOperations:
1192
1130
  else:
1193
1131
  _json = None
1194
1132
 
1195
- request = build_create_or_update_immutability_policy_request(
1133
+ _request = build_create_or_update_immutability_policy_request(
1196
1134
  resource_group_name=resource_group_name,
1197
1135
  account_name=account_name,
1198
1136
  container_name=container_name,
@@ -1203,16 +1141,15 @@ class BlobContainersOperations:
1203
1141
  content_type=content_type,
1204
1142
  json=_json,
1205
1143
  content=_content,
1206
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1207
1144
  headers=_headers,
1208
1145
  params=_params,
1209
1146
  )
1210
- request = _convert_request(request)
1211
- request.url = self._client.format_url(request.url)
1147
+ _request = _convert_request(_request)
1148
+ _request.url = self._client.format_url(_request.url)
1212
1149
 
1213
1150
  _stream = False
1214
1151
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1215
- request, stream=_stream, **kwargs
1152
+ _request, stream=_stream, **kwargs
1216
1153
  )
1217
1154
 
1218
1155
  response = pipeline_response.http_response
@@ -1227,13 +1164,9 @@ class BlobContainersOperations:
1227
1164
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1228
1165
 
1229
1166
  if cls:
1230
- return cls(pipeline_response, deserialized, response_headers)
1231
-
1232
- return deserialized
1167
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1233
1168
 
1234
- create_or_update_immutability_policy.metadata = {
1235
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1236
- }
1169
+ return deserialized # type: ignore
1237
1170
 
1238
1171
  @distributed_trace_async
1239
1172
  async def get_immutability_policy(
@@ -1267,12 +1200,11 @@ class BlobContainersOperations:
1267
1200
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1268
1201
  omitted, this operation will always be applied. Default value is None.
1269
1202
  :type if_match: str
1270
- :keyword callable cls: A custom type or function that will be passed the direct response
1271
1203
  :return: ImmutabilityPolicy or the result of cls(response)
1272
1204
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1273
1205
  :raises ~azure.core.exceptions.HttpResponseError:
1274
1206
  """
1275
- error_map = {
1207
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1276
1208
  401: ClientAuthenticationError,
1277
1209
  404: ResourceNotFoundError,
1278
1210
  409: ResourceExistsError,
@@ -1288,7 +1220,7 @@ class BlobContainersOperations:
1288
1220
  )
1289
1221
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1290
1222
 
1291
- request = build_get_immutability_policy_request(
1223
+ _request = build_get_immutability_policy_request(
1292
1224
  resource_group_name=resource_group_name,
1293
1225
  account_name=account_name,
1294
1226
  container_name=container_name,
@@ -1296,16 +1228,15 @@ class BlobContainersOperations:
1296
1228
  subscription_id=self._config.subscription_id,
1297
1229
  if_match=if_match,
1298
1230
  api_version=api_version,
1299
- template_url=self.get_immutability_policy.metadata["url"],
1300
1231
  headers=_headers,
1301
1232
  params=_params,
1302
1233
  )
1303
- request = _convert_request(request)
1304
- request.url = self._client.format_url(request.url)
1234
+ _request = _convert_request(_request)
1235
+ _request.url = self._client.format_url(_request.url)
1305
1236
 
1306
1237
  _stream = False
1307
1238
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1308
- request, stream=_stream, **kwargs
1239
+ _request, stream=_stream, **kwargs
1309
1240
  )
1310
1241
 
1311
1242
  response = pipeline_response.http_response
@@ -1320,13 +1251,9 @@ class BlobContainersOperations:
1320
1251
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1321
1252
 
1322
1253
  if cls:
1323
- return cls(pipeline_response, deserialized, response_headers)
1324
-
1325
- return deserialized
1254
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1326
1255
 
1327
- get_immutability_policy.metadata = {
1328
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1329
- }
1256
+ return deserialized # type: ignore
1330
1257
 
1331
1258
  @distributed_trace_async
1332
1259
  async def delete_immutability_policy(
@@ -1362,12 +1289,11 @@ class BlobContainersOperations:
1362
1289
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1363
1290
  omitted, this operation will always be applied. Required.
1364
1291
  :type if_match: str
1365
- :keyword callable cls: A custom type or function that will be passed the direct response
1366
1292
  :return: ImmutabilityPolicy or the result of cls(response)
1367
1293
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1368
1294
  :raises ~azure.core.exceptions.HttpResponseError:
1369
1295
  """
1370
- error_map = {
1296
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1371
1297
  401: ClientAuthenticationError,
1372
1298
  404: ResourceNotFoundError,
1373
1299
  409: ResourceExistsError,
@@ -1383,7 +1309,7 @@ class BlobContainersOperations:
1383
1309
  )
1384
1310
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1385
1311
 
1386
- request = build_delete_immutability_policy_request(
1312
+ _request = build_delete_immutability_policy_request(
1387
1313
  resource_group_name=resource_group_name,
1388
1314
  account_name=account_name,
1389
1315
  container_name=container_name,
@@ -1391,16 +1317,15 @@ class BlobContainersOperations:
1391
1317
  subscription_id=self._config.subscription_id,
1392
1318
  if_match=if_match,
1393
1319
  api_version=api_version,
1394
- template_url=self.delete_immutability_policy.metadata["url"],
1395
1320
  headers=_headers,
1396
1321
  params=_params,
1397
1322
  )
1398
- request = _convert_request(request)
1399
- request.url = self._client.format_url(request.url)
1323
+ _request = _convert_request(_request)
1324
+ _request.url = self._client.format_url(_request.url)
1400
1325
 
1401
1326
  _stream = False
1402
1327
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1403
- request, stream=_stream, **kwargs
1328
+ _request, stream=_stream, **kwargs
1404
1329
  )
1405
1330
 
1406
1331
  response = pipeline_response.http_response
@@ -1415,13 +1340,9 @@ class BlobContainersOperations:
1415
1340
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1416
1341
 
1417
1342
  if cls:
1418
- return cls(pipeline_response, deserialized, response_headers)
1419
-
1420
- return deserialized
1343
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1421
1344
 
1422
- delete_immutability_policy.metadata = {
1423
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1424
- }
1345
+ return deserialized # type: ignore
1425
1346
 
1426
1347
  @distributed_trace_async
1427
1348
  async def lock_immutability_policy(
@@ -1446,12 +1367,11 @@ class BlobContainersOperations:
1446
1367
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1447
1368
  omitted, this operation will always be applied. Required.
1448
1369
  :type if_match: str
1449
- :keyword callable cls: A custom type or function that will be passed the direct response
1450
1370
  :return: ImmutabilityPolicy or the result of cls(response)
1451
1371
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1452
1372
  :raises ~azure.core.exceptions.HttpResponseError:
1453
1373
  """
1454
- error_map = {
1374
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1455
1375
  401: ClientAuthenticationError,
1456
1376
  404: ResourceNotFoundError,
1457
1377
  409: ResourceExistsError,
@@ -1467,23 +1387,22 @@ class BlobContainersOperations:
1467
1387
  )
1468
1388
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1469
1389
 
1470
- request = build_lock_immutability_policy_request(
1390
+ _request = build_lock_immutability_policy_request(
1471
1391
  resource_group_name=resource_group_name,
1472
1392
  account_name=account_name,
1473
1393
  container_name=container_name,
1474
1394
  subscription_id=self._config.subscription_id,
1475
1395
  if_match=if_match,
1476
1396
  api_version=api_version,
1477
- template_url=self.lock_immutability_policy.metadata["url"],
1478
1397
  headers=_headers,
1479
1398
  params=_params,
1480
1399
  )
1481
- request = _convert_request(request)
1482
- request.url = self._client.format_url(request.url)
1400
+ _request = _convert_request(_request)
1401
+ _request.url = self._client.format_url(_request.url)
1483
1402
 
1484
1403
  _stream = False
1485
1404
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1486
- request, stream=_stream, **kwargs
1405
+ _request, stream=_stream, **kwargs
1487
1406
  )
1488
1407
 
1489
1408
  response = pipeline_response.http_response
@@ -1498,13 +1417,9 @@ class BlobContainersOperations:
1498
1417
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1499
1418
 
1500
1419
  if cls:
1501
- return cls(pipeline_response, deserialized, response_headers)
1502
-
1503
- return deserialized
1420
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1504
1421
 
1505
- lock_immutability_policy.metadata = {
1506
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1507
- }
1422
+ return deserialized # type: ignore
1508
1423
 
1509
1424
  @overload
1510
1425
  async def extend_immutability_policy(
@@ -1544,7 +1459,6 @@ class BlobContainersOperations:
1544
1459
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1545
1460
  Default value is "application/json".
1546
1461
  :paramtype content_type: str
1547
- :keyword callable cls: A custom type or function that will be passed the direct response
1548
1462
  :return: ImmutabilityPolicy or the result of cls(response)
1549
1463
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1550
1464
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1557,7 +1471,7 @@ class BlobContainersOperations:
1557
1471
  account_name: str,
1558
1472
  container_name: str,
1559
1473
  if_match: str,
1560
- parameters: Optional[IO] = None,
1474
+ parameters: Optional[IO[bytes]] = None,
1561
1475
  *,
1562
1476
  content_type: str = "application/json",
1563
1477
  **kwargs: Any
@@ -1584,11 +1498,10 @@ class BlobContainersOperations:
1584
1498
  :type if_match: str
1585
1499
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1586
1500
  container. Default value is None.
1587
- :type parameters: IO
1501
+ :type parameters: IO[bytes]
1588
1502
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1589
1503
  Default value is "application/json".
1590
1504
  :paramtype content_type: str
1591
- :keyword callable cls: A custom type or function that will be passed the direct response
1592
1505
  :return: ImmutabilityPolicy or the result of cls(response)
1593
1506
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1594
1507
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1601,7 +1514,7 @@ class BlobContainersOperations:
1601
1514
  account_name: str,
1602
1515
  container_name: str,
1603
1516
  if_match: str,
1604
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1517
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1605
1518
  **kwargs: Any
1606
1519
  ) -> _models.ImmutabilityPolicy:
1607
1520
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -1625,17 +1538,14 @@ class BlobContainersOperations:
1625
1538
  omitted, this operation will always be applied. Required.
1626
1539
  :type if_match: str
1627
1540
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1628
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1629
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or IO
1630
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1631
- Default value is None.
1632
- :paramtype content_type: str
1633
- :keyword callable cls: A custom type or function that will be passed the direct response
1541
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1542
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
1543
+ IO[bytes]
1634
1544
  :return: ImmutabilityPolicy or the result of cls(response)
1635
1545
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1636
1546
  :raises ~azure.core.exceptions.HttpResponseError:
1637
1547
  """
1638
- error_map = {
1548
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1639
1549
  401: ClientAuthenticationError,
1640
1550
  404: ResourceNotFoundError,
1641
1551
  409: ResourceExistsError,
@@ -1663,7 +1573,7 @@ class BlobContainersOperations:
1663
1573
  else:
1664
1574
  _json = None
1665
1575
 
1666
- request = build_extend_immutability_policy_request(
1576
+ _request = build_extend_immutability_policy_request(
1667
1577
  resource_group_name=resource_group_name,
1668
1578
  account_name=account_name,
1669
1579
  container_name=container_name,
@@ -1673,16 +1583,15 @@ class BlobContainersOperations:
1673
1583
  content_type=content_type,
1674
1584
  json=_json,
1675
1585
  content=_content,
1676
- template_url=self.extend_immutability_policy.metadata["url"],
1677
1586
  headers=_headers,
1678
1587
  params=_params,
1679
1588
  )
1680
- request = _convert_request(request)
1681
- request.url = self._client.format_url(request.url)
1589
+ _request = _convert_request(_request)
1590
+ _request.url = self._client.format_url(_request.url)
1682
1591
 
1683
1592
  _stream = False
1684
1593
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1685
- request, stream=_stream, **kwargs
1594
+ _request, stream=_stream, **kwargs
1686
1595
  )
1687
1596
 
1688
1597
  response = pipeline_response.http_response
@@ -1697,13 +1606,9 @@ class BlobContainersOperations:
1697
1606
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1698
1607
 
1699
1608
  if cls:
1700
- return cls(pipeline_response, deserialized, response_headers)
1609
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1701
1610
 
1702
- return deserialized
1703
-
1704
- extend_immutability_policy.metadata = {
1705
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
1706
- }
1611
+ return deserialized # type: ignore
1707
1612
 
1708
1613
  @overload
1709
1614
  async def lease(
@@ -1736,7 +1641,6 @@ class BlobContainersOperations:
1736
1641
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1737
1642
  Default value is "application/json".
1738
1643
  :paramtype content_type: str
1739
- :keyword callable cls: A custom type or function that will be passed the direct response
1740
1644
  :return: LeaseContainerResponse or the result of cls(response)
1741
1645
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
1742
1646
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1748,7 +1652,7 @@ class BlobContainersOperations:
1748
1652
  resource_group_name: str,
1749
1653
  account_name: str,
1750
1654
  container_name: str,
1751
- parameters: Optional[IO] = None,
1655
+ parameters: Optional[IO[bytes]] = None,
1752
1656
  *,
1753
1657
  content_type: str = "application/json",
1754
1658
  **kwargs: Any
@@ -1769,11 +1673,10 @@ class BlobContainersOperations:
1769
1673
  by a letter or number. Required.
1770
1674
  :type container_name: str
1771
1675
  :param parameters: Lease Container request body. Default value is None.
1772
- :type parameters: IO
1676
+ :type parameters: IO[bytes]
1773
1677
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1774
1678
  Default value is "application/json".
1775
1679
  :paramtype content_type: str
1776
- :keyword callable cls: A custom type or function that will be passed the direct response
1777
1680
  :return: LeaseContainerResponse or the result of cls(response)
1778
1681
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
1779
1682
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1785,7 +1688,7 @@ class BlobContainersOperations:
1785
1688
  resource_group_name: str,
1786
1689
  account_name: str,
1787
1690
  container_name: str,
1788
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
1691
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
1789
1692
  **kwargs: Any
1790
1693
  ) -> _models.LeaseContainerResponse:
1791
1694
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -1803,18 +1706,15 @@ class BlobContainersOperations:
1803
1706
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1804
1707
  by a letter or number. Required.
1805
1708
  :type container_name: str
1806
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
1807
- type. Default value is None.
1808
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or IO
1809
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1810
- Default value is None.
1811
- :paramtype content_type: str
1812
- :keyword callable cls: A custom type or function that will be passed the direct response
1709
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
1710
+ IO[bytes] type. Default value is None.
1711
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or
1712
+ IO[bytes]
1813
1713
  :return: LeaseContainerResponse or the result of cls(response)
1814
1714
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
1815
1715
  :raises ~azure.core.exceptions.HttpResponseError:
1816
1716
  """
1817
- error_map = {
1717
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1818
1718
  401: ClientAuthenticationError,
1819
1719
  404: ResourceNotFoundError,
1820
1720
  409: ResourceExistsError,
@@ -1842,7 +1742,7 @@ class BlobContainersOperations:
1842
1742
  else:
1843
1743
  _json = None
1844
1744
 
1845
- request = build_lease_request(
1745
+ _request = build_lease_request(
1846
1746
  resource_group_name=resource_group_name,
1847
1747
  account_name=account_name,
1848
1748
  container_name=container_name,
@@ -1851,16 +1751,15 @@ class BlobContainersOperations:
1851
1751
  content_type=content_type,
1852
1752
  json=_json,
1853
1753
  content=_content,
1854
- template_url=self.lease.metadata["url"],
1855
1754
  headers=_headers,
1856
1755
  params=_params,
1857
1756
  )
1858
- request = _convert_request(request)
1859
- request.url = self._client.format_url(request.url)
1757
+ _request = _convert_request(_request)
1758
+ _request.url = self._client.format_url(_request.url)
1860
1759
 
1861
1760
  _stream = False
1862
1761
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1863
- request, stream=_stream, **kwargs
1762
+ _request, stream=_stream, **kwargs
1864
1763
  )
1865
1764
 
1866
1765
  response = pipeline_response.http_response
@@ -1872,10 +1771,6 @@ class BlobContainersOperations:
1872
1771
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
1873
1772
 
1874
1773
  if cls:
1875
- return cls(pipeline_response, deserialized, {})
1876
-
1877
- return deserialized
1774
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1878
1775
 
1879
- lease.metadata = {
1880
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
1881
- }
1776
+ return deserialized # type: ignore