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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,7 +7,8 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
- from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
10
+ import sys
11
+ from typing import Any, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
11
12
 
12
13
  from azure.core.exceptions import (
13
14
  ClientAuthenticationError,
@@ -28,6 +29,10 @@ from .. import models as _models
28
29
  from ..._serialization import Serializer
29
30
  from .._vendor import _convert_request
30
31
 
32
+ if sys.version_info >= (3, 9):
33
+ from collections.abc import MutableMapping
34
+ else:
35
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
31
36
  T = TypeVar("T")
32
37
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
33
38
 
@@ -276,7 +281,7 @@ def build_clear_legal_hold_request(
276
281
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
277
282
 
278
283
 
279
- def build_create_or_update_immutability_policy_request(
284
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
280
285
  resource_group_name: str,
281
286
  account_name: str,
282
287
  container_name: str,
@@ -564,12 +569,11 @@ class BlobContainersOperations:
564
569
  Storage account names must be between 3 and 24 characters in length and use numbers and
565
570
  lower-case letters only. Required.
566
571
  :type account_name: str
567
- :keyword callable cls: A custom type or function that will be passed the direct response
568
572
  :return: ListContainerItems or the result of cls(response)
569
573
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListContainerItems
570
574
  :raises ~azure.core.exceptions.HttpResponseError:
571
575
  """
572
- error_map = {
576
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
573
577
  401: ClientAuthenticationError,
574
578
  404: ResourceNotFoundError,
575
579
  409: ResourceExistsError,
@@ -585,21 +589,20 @@ class BlobContainersOperations:
585
589
  )
586
590
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
587
591
 
588
- request = build_list_request(
592
+ _request = build_list_request(
589
593
  resource_group_name=resource_group_name,
590
594
  account_name=account_name,
591
595
  subscription_id=self._config.subscription_id,
592
596
  api_version=api_version,
593
- template_url=self.list.metadata["url"],
594
597
  headers=_headers,
595
598
  params=_params,
596
599
  )
597
- request = _convert_request(request)
598
- request.url = self._client.format_url(request.url)
600
+ _request = _convert_request(_request)
601
+ _request.url = self._client.format_url(_request.url)
599
602
 
600
603
  _stream = False
601
604
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
602
- request, stream=_stream, **kwargs
605
+ _request, stream=_stream, **kwargs
603
606
  )
604
607
 
605
608
  response = pipeline_response.http_response
@@ -611,13 +614,9 @@ class BlobContainersOperations:
611
614
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
612
615
 
613
616
  if cls:
614
- return cls(pipeline_response, deserialized, {})
617
+ return cls(pipeline_response, deserialized, {}) # type: ignore
615
618
 
616
- return deserialized
617
-
618
- list.metadata = {
619
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
620
- }
619
+ return deserialized # type: ignore
621
620
 
622
621
  @overload
623
622
  def create(
@@ -651,7 +650,6 @@ class BlobContainersOperations:
651
650
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
652
651
  Default value is "application/json".
653
652
  :paramtype content_type: str
654
- :keyword callable cls: A custom type or function that will be passed the direct response
655
653
  :return: BlobContainer or the result of cls(response)
656
654
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
657
655
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -663,7 +661,7 @@ class BlobContainersOperations:
663
661
  resource_group_name: str,
664
662
  account_name: str,
665
663
  container_name: str,
666
- blob_container: IO,
664
+ blob_container: IO[bytes],
667
665
  *,
668
666
  content_type: str = "application/json",
669
667
  **kwargs: Any
@@ -685,11 +683,10 @@ class BlobContainersOperations:
685
683
  by a letter or number. Required.
686
684
  :type container_name: str
687
685
  :param blob_container: Properties of the blob container to create. Required.
688
- :type blob_container: IO
686
+ :type blob_container: IO[bytes]
689
687
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
690
688
  Default value is "application/json".
691
689
  :paramtype content_type: str
692
- :keyword callable cls: A custom type or function that will be passed the direct response
693
690
  :return: BlobContainer or the result of cls(response)
694
691
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
695
692
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -701,7 +698,7 @@ class BlobContainersOperations:
701
698
  resource_group_name: str,
702
699
  account_name: str,
703
700
  container_name: str,
704
- blob_container: Union[_models.BlobContainer, IO],
701
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
705
702
  **kwargs: Any
706
703
  ) -> _models.BlobContainer:
707
704
  """Creates a new container under the specified account as described by request body. The container
@@ -721,17 +718,13 @@ class BlobContainersOperations:
721
718
  by a letter or number. Required.
722
719
  :type container_name: str
723
720
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
724
- type or a IO type. Required.
725
- :type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO
726
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
727
- Default value is None.
728
- :paramtype content_type: str
729
- :keyword callable cls: A custom type or function that will be passed the direct response
721
+ type or a IO[bytes] type. Required.
722
+ :type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO[bytes]
730
723
  :return: BlobContainer or the result of cls(response)
731
724
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
732
725
  :raises ~azure.core.exceptions.HttpResponseError:
733
726
  """
734
- error_map = {
727
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
735
728
  401: ClientAuthenticationError,
736
729
  404: ResourceNotFoundError,
737
730
  409: ResourceExistsError,
@@ -756,7 +749,7 @@ class BlobContainersOperations:
756
749
  else:
757
750
  _json = self._serialize.body(blob_container, "BlobContainer")
758
751
 
759
- request = build_create_request(
752
+ _request = build_create_request(
760
753
  resource_group_name=resource_group_name,
761
754
  account_name=account_name,
762
755
  container_name=container_name,
@@ -765,16 +758,15 @@ class BlobContainersOperations:
765
758
  content_type=content_type,
766
759
  json=_json,
767
760
  content=_content,
768
- template_url=self.create.metadata["url"],
769
761
  headers=_headers,
770
762
  params=_params,
771
763
  )
772
- request = _convert_request(request)
773
- request.url = self._client.format_url(request.url)
764
+ _request = _convert_request(_request)
765
+ _request.url = self._client.format_url(_request.url)
774
766
 
775
767
  _stream = False
776
768
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
777
- request, stream=_stream, **kwargs
769
+ _request, stream=_stream, **kwargs
778
770
  )
779
771
 
780
772
  response = pipeline_response.http_response
@@ -786,13 +778,9 @@ class BlobContainersOperations:
786
778
  deserialized = self._deserialize("BlobContainer", pipeline_response)
787
779
 
788
780
  if cls:
789
- return cls(pipeline_response, deserialized, {})
781
+ return cls(pipeline_response, deserialized, {}) # type: ignore
790
782
 
791
- return deserialized
792
-
793
- create.metadata = {
794
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
795
- }
783
+ return deserialized # type: ignore
796
784
 
797
785
  @overload
798
786
  def update(
@@ -825,7 +813,6 @@ class BlobContainersOperations:
825
813
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
826
814
  Default value is "application/json".
827
815
  :paramtype content_type: str
828
- :keyword callable cls: A custom type or function that will be passed the direct response
829
816
  :return: BlobContainer or the result of cls(response)
830
817
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
831
818
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -837,7 +824,7 @@ class BlobContainersOperations:
837
824
  resource_group_name: str,
838
825
  account_name: str,
839
826
  container_name: str,
840
- blob_container: IO,
827
+ blob_container: IO[bytes],
841
828
  *,
842
829
  content_type: str = "application/json",
843
830
  **kwargs: Any
@@ -858,11 +845,10 @@ class BlobContainersOperations:
858
845
  by a letter or number. Required.
859
846
  :type container_name: str
860
847
  :param blob_container: Properties to update for the blob container. Required.
861
- :type blob_container: IO
848
+ :type blob_container: IO[bytes]
862
849
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
863
850
  Default value is "application/json".
864
851
  :paramtype content_type: str
865
- :keyword callable cls: A custom type or function that will be passed the direct response
866
852
  :return: BlobContainer or the result of cls(response)
867
853
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
868
854
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -874,7 +860,7 @@ class BlobContainersOperations:
874
860
  resource_group_name: str,
875
861
  account_name: str,
876
862
  container_name: str,
877
- blob_container: Union[_models.BlobContainer, IO],
863
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
878
864
  **kwargs: Any
879
865
  ) -> _models.BlobContainer:
880
866
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -893,17 +879,13 @@ class BlobContainersOperations:
893
879
  by a letter or number. Required.
894
880
  :type container_name: str
895
881
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
896
- type or a IO type. Required.
897
- :type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO
898
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
899
- Default value is None.
900
- :paramtype content_type: str
901
- :keyword callable cls: A custom type or function that will be passed the direct response
882
+ type or a IO[bytes] type. Required.
883
+ :type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO[bytes]
902
884
  :return: BlobContainer or the result of cls(response)
903
885
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
904
886
  :raises ~azure.core.exceptions.HttpResponseError:
905
887
  """
906
- error_map = {
888
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
907
889
  401: ClientAuthenticationError,
908
890
  404: ResourceNotFoundError,
909
891
  409: ResourceExistsError,
@@ -928,7 +910,7 @@ class BlobContainersOperations:
928
910
  else:
929
911
  _json = self._serialize.body(blob_container, "BlobContainer")
930
912
 
931
- request = build_update_request(
913
+ _request = build_update_request(
932
914
  resource_group_name=resource_group_name,
933
915
  account_name=account_name,
934
916
  container_name=container_name,
@@ -937,16 +919,15 @@ class BlobContainersOperations:
937
919
  content_type=content_type,
938
920
  json=_json,
939
921
  content=_content,
940
- template_url=self.update.metadata["url"],
941
922
  headers=_headers,
942
923
  params=_params,
943
924
  )
944
- request = _convert_request(request)
945
- request.url = self._client.format_url(request.url)
925
+ _request = _convert_request(_request)
926
+ _request.url = self._client.format_url(_request.url)
946
927
 
947
928
  _stream = False
948
929
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
949
- request, stream=_stream, **kwargs
930
+ _request, stream=_stream, **kwargs
950
931
  )
951
932
 
952
933
  response = pipeline_response.http_response
@@ -958,13 +939,9 @@ class BlobContainersOperations:
958
939
  deserialized = self._deserialize("BlobContainer", pipeline_response)
959
940
 
960
941
  if cls:
961
- return cls(pipeline_response, deserialized, {})
962
-
963
- return deserialized
942
+ return cls(pipeline_response, deserialized, {}) # type: ignore
964
943
 
965
- update.metadata = {
966
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
967
- }
944
+ return deserialized # type: ignore
968
945
 
969
946
  @distributed_trace
970
947
  def get(
@@ -984,12 +961,11 @@ class BlobContainersOperations:
984
961
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
985
962
  by a letter or number. Required.
986
963
  :type container_name: str
987
- :keyword callable cls: A custom type or function that will be passed the direct response
988
964
  :return: BlobContainer or the result of cls(response)
989
965
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
990
966
  :raises ~azure.core.exceptions.HttpResponseError:
991
967
  """
992
- error_map = {
968
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
993
969
  401: ClientAuthenticationError,
994
970
  404: ResourceNotFoundError,
995
971
  409: ResourceExistsError,
@@ -1005,22 +981,21 @@ class BlobContainersOperations:
1005
981
  )
1006
982
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1007
983
 
1008
- request = build_get_request(
984
+ _request = build_get_request(
1009
985
  resource_group_name=resource_group_name,
1010
986
  account_name=account_name,
1011
987
  container_name=container_name,
1012
988
  subscription_id=self._config.subscription_id,
1013
989
  api_version=api_version,
1014
- template_url=self.get.metadata["url"],
1015
990
  headers=_headers,
1016
991
  params=_params,
1017
992
  )
1018
- request = _convert_request(request)
1019
- request.url = self._client.format_url(request.url)
993
+ _request = _convert_request(_request)
994
+ _request.url = self._client.format_url(_request.url)
1020
995
 
1021
996
  _stream = False
1022
997
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1023
- request, stream=_stream, **kwargs
998
+ _request, stream=_stream, **kwargs
1024
999
  )
1025
1000
 
1026
1001
  response = pipeline_response.http_response
@@ -1032,13 +1007,9 @@ class BlobContainersOperations:
1032
1007
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1033
1008
 
1034
1009
  if cls:
1035
- return cls(pipeline_response, deserialized, {})
1010
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1036
1011
 
1037
- return deserialized
1038
-
1039
- get.metadata = {
1040
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1041
- }
1012
+ return deserialized # type: ignore
1042
1013
 
1043
1014
  @distributed_trace
1044
1015
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1058,12 +1029,11 @@ class BlobContainersOperations:
1058
1029
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1059
1030
  by a letter or number. Required.
1060
1031
  :type container_name: str
1061
- :keyword callable cls: A custom type or function that will be passed the direct response
1062
1032
  :return: None or the result of cls(response)
1063
1033
  :rtype: None
1064
1034
  :raises ~azure.core.exceptions.HttpResponseError:
1065
1035
  """
1066
- error_map = {
1036
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1067
1037
  401: ClientAuthenticationError,
1068
1038
  404: ResourceNotFoundError,
1069
1039
  409: ResourceExistsError,
@@ -1079,22 +1049,21 @@ class BlobContainersOperations:
1079
1049
  )
1080
1050
  cls: ClsType[None] = kwargs.pop("cls", None)
1081
1051
 
1082
- request = build_delete_request(
1052
+ _request = build_delete_request(
1083
1053
  resource_group_name=resource_group_name,
1084
1054
  account_name=account_name,
1085
1055
  container_name=container_name,
1086
1056
  subscription_id=self._config.subscription_id,
1087
1057
  api_version=api_version,
1088
- template_url=self.delete.metadata["url"],
1089
1058
  headers=_headers,
1090
1059
  params=_params,
1091
1060
  )
1092
- request = _convert_request(request)
1093
- request.url = self._client.format_url(request.url)
1061
+ _request = _convert_request(_request)
1062
+ _request.url = self._client.format_url(_request.url)
1094
1063
 
1095
1064
  _stream = False
1096
1065
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1097
- request, stream=_stream, **kwargs
1066
+ _request, stream=_stream, **kwargs
1098
1067
  )
1099
1068
 
1100
1069
  response = pipeline_response.http_response
@@ -1104,11 +1073,7 @@ class BlobContainersOperations:
1104
1073
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1105
1074
 
1106
1075
  if cls:
1107
- return cls(pipeline_response, None, {})
1108
-
1109
- delete.metadata = {
1110
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1111
- }
1076
+ return cls(pipeline_response, None, {}) # type: ignore
1112
1077
 
1113
1078
  @overload
1114
1079
  def set_legal_hold(
@@ -1142,7 +1107,6 @@ class BlobContainersOperations:
1142
1107
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1143
1108
  Default value is "application/json".
1144
1109
  :paramtype content_type: str
1145
- :keyword callable cls: A custom type or function that will be passed the direct response
1146
1110
  :return: LegalHold or the result of cls(response)
1147
1111
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
1148
1112
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1154,7 +1118,7 @@ class BlobContainersOperations:
1154
1118
  resource_group_name: str,
1155
1119
  account_name: str,
1156
1120
  container_name: str,
1157
- legal_hold: IO,
1121
+ legal_hold: IO[bytes],
1158
1122
  *,
1159
1123
  content_type: str = "application/json",
1160
1124
  **kwargs: Any
@@ -1176,11 +1140,10 @@ class BlobContainersOperations:
1176
1140
  by a letter or number. Required.
1177
1141
  :type container_name: str
1178
1142
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1179
- :type legal_hold: IO
1143
+ :type legal_hold: IO[bytes]
1180
1144
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1181
1145
  Default value is "application/json".
1182
1146
  :paramtype content_type: str
1183
- :keyword callable cls: A custom type or function that will be passed the direct response
1184
1147
  :return: LegalHold or the result of cls(response)
1185
1148
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
1186
1149
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1192,7 +1155,7 @@ class BlobContainersOperations:
1192
1155
  resource_group_name: str,
1193
1156
  account_name: str,
1194
1157
  container_name: str,
1195
- legal_hold: Union[_models.LegalHold, IO],
1158
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1196
1159
  **kwargs: Any
1197
1160
  ) -> _models.LegalHold:
1198
1161
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1212,17 +1175,13 @@ class BlobContainersOperations:
1212
1175
  by a letter or number. Required.
1213
1176
  :type container_name: str
1214
1177
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1215
- LegalHold type or a IO type. Required.
1216
- :type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO
1217
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1218
- Default value is None.
1219
- :paramtype content_type: str
1220
- :keyword callable cls: A custom type or function that will be passed the direct response
1178
+ LegalHold type or a IO[bytes] type. Required.
1179
+ :type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO[bytes]
1221
1180
  :return: LegalHold or the result of cls(response)
1222
1181
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
1223
1182
  :raises ~azure.core.exceptions.HttpResponseError:
1224
1183
  """
1225
- error_map = {
1184
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1226
1185
  401: ClientAuthenticationError,
1227
1186
  404: ResourceNotFoundError,
1228
1187
  409: ResourceExistsError,
@@ -1247,7 +1206,7 @@ class BlobContainersOperations:
1247
1206
  else:
1248
1207
  _json = self._serialize.body(legal_hold, "LegalHold")
1249
1208
 
1250
- request = build_set_legal_hold_request(
1209
+ _request = build_set_legal_hold_request(
1251
1210
  resource_group_name=resource_group_name,
1252
1211
  account_name=account_name,
1253
1212
  container_name=container_name,
@@ -1256,16 +1215,15 @@ class BlobContainersOperations:
1256
1215
  content_type=content_type,
1257
1216
  json=_json,
1258
1217
  content=_content,
1259
- template_url=self.set_legal_hold.metadata["url"],
1260
1218
  headers=_headers,
1261
1219
  params=_params,
1262
1220
  )
1263
- request = _convert_request(request)
1264
- request.url = self._client.format_url(request.url)
1221
+ _request = _convert_request(_request)
1222
+ _request.url = self._client.format_url(_request.url)
1265
1223
 
1266
1224
  _stream = False
1267
1225
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1268
- request, stream=_stream, **kwargs
1226
+ _request, stream=_stream, **kwargs
1269
1227
  )
1270
1228
 
1271
1229
  response = pipeline_response.http_response
@@ -1277,13 +1235,9 @@ class BlobContainersOperations:
1277
1235
  deserialized = self._deserialize("LegalHold", pipeline_response)
1278
1236
 
1279
1237
  if cls:
1280
- return cls(pipeline_response, deserialized, {})
1238
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1281
1239
 
1282
- return deserialized
1283
-
1284
- set_legal_hold.metadata = {
1285
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1286
- }
1240
+ return deserialized # type: ignore
1287
1241
 
1288
1242
  @overload
1289
1243
  def clear_legal_hold(
@@ -1316,7 +1270,6 @@ class BlobContainersOperations:
1316
1270
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1317
1271
  Default value is "application/json".
1318
1272
  :paramtype content_type: str
1319
- :keyword callable cls: A custom type or function that will be passed the direct response
1320
1273
  :return: LegalHold or the result of cls(response)
1321
1274
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
1322
1275
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1328,7 +1281,7 @@ class BlobContainersOperations:
1328
1281
  resource_group_name: str,
1329
1282
  account_name: str,
1330
1283
  container_name: str,
1331
- legal_hold: IO,
1284
+ legal_hold: IO[bytes],
1332
1285
  *,
1333
1286
  content_type: str = "application/json",
1334
1287
  **kwargs: Any
@@ -1349,11 +1302,10 @@ class BlobContainersOperations:
1349
1302
  by a letter or number. Required.
1350
1303
  :type container_name: str
1351
1304
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1352
- :type legal_hold: IO
1305
+ :type legal_hold: IO[bytes]
1353
1306
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1354
1307
  Default value is "application/json".
1355
1308
  :paramtype content_type: str
1356
- :keyword callable cls: A custom type or function that will be passed the direct response
1357
1309
  :return: LegalHold or the result of cls(response)
1358
1310
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
1359
1311
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1365,7 +1317,7 @@ class BlobContainersOperations:
1365
1317
  resource_group_name: str,
1366
1318
  account_name: str,
1367
1319
  container_name: str,
1368
- legal_hold: Union[_models.LegalHold, IO],
1320
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1369
1321
  **kwargs: Any
1370
1322
  ) -> _models.LegalHold:
1371
1323
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1384,17 +1336,13 @@ class BlobContainersOperations:
1384
1336
  by a letter or number. Required.
1385
1337
  :type container_name: str
1386
1338
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1387
- LegalHold type or a IO type. Required.
1388
- :type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO
1389
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1390
- Default value is None.
1391
- :paramtype content_type: str
1392
- :keyword callable cls: A custom type or function that will be passed the direct response
1339
+ LegalHold type or a IO[bytes] type. Required.
1340
+ :type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO[bytes]
1393
1341
  :return: LegalHold or the result of cls(response)
1394
1342
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
1395
1343
  :raises ~azure.core.exceptions.HttpResponseError:
1396
1344
  """
1397
- error_map = {
1345
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1398
1346
  401: ClientAuthenticationError,
1399
1347
  404: ResourceNotFoundError,
1400
1348
  409: ResourceExistsError,
@@ -1419,7 +1367,7 @@ class BlobContainersOperations:
1419
1367
  else:
1420
1368
  _json = self._serialize.body(legal_hold, "LegalHold")
1421
1369
 
1422
- request = build_clear_legal_hold_request(
1370
+ _request = build_clear_legal_hold_request(
1423
1371
  resource_group_name=resource_group_name,
1424
1372
  account_name=account_name,
1425
1373
  container_name=container_name,
@@ -1428,16 +1376,15 @@ class BlobContainersOperations:
1428
1376
  content_type=content_type,
1429
1377
  json=_json,
1430
1378
  content=_content,
1431
- template_url=self.clear_legal_hold.metadata["url"],
1432
1379
  headers=_headers,
1433
1380
  params=_params,
1434
1381
  )
1435
- request = _convert_request(request)
1436
- request.url = self._client.format_url(request.url)
1382
+ _request = _convert_request(_request)
1383
+ _request.url = self._client.format_url(_request.url)
1437
1384
 
1438
1385
  _stream = False
1439
1386
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1440
- request, stream=_stream, **kwargs
1387
+ _request, stream=_stream, **kwargs
1441
1388
  )
1442
1389
 
1443
1390
  response = pipeline_response.http_response
@@ -1449,13 +1396,9 @@ class BlobContainersOperations:
1449
1396
  deserialized = self._deserialize("LegalHold", pipeline_response)
1450
1397
 
1451
1398
  if cls:
1452
- return cls(pipeline_response, deserialized, {})
1399
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1453
1400
 
1454
- return deserialized
1455
-
1456
- clear_legal_hold.metadata = {
1457
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1458
- }
1401
+ return deserialized # type: ignore
1459
1402
 
1460
1403
  @overload
1461
1404
  def create_or_update_immutability_policy(
@@ -1498,7 +1441,6 @@ class BlobContainersOperations:
1498
1441
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1499
1442
  Default value is "application/json".
1500
1443
  :paramtype content_type: str
1501
- :keyword callable cls: A custom type or function that will be passed the direct response
1502
1444
  :return: ImmutabilityPolicy or the result of cls(response)
1503
1445
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1504
1446
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1512,7 +1454,7 @@ class BlobContainersOperations:
1512
1454
  container_name: str,
1513
1455
  immutability_policy_name: Union[str, _models.Enum13],
1514
1456
  if_match: Optional[str] = None,
1515
- parameters: Optional[IO] = None,
1457
+ parameters: Optional[IO[bytes]] = None,
1516
1458
  *,
1517
1459
  content_type: str = "application/json",
1518
1460
  **kwargs: Any
@@ -1541,11 +1483,10 @@ class BlobContainersOperations:
1541
1483
  :type if_match: str
1542
1484
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1543
1485
  container. Default value is None.
1544
- :type parameters: IO
1486
+ :type parameters: IO[bytes]
1545
1487
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1546
1488
  Default value is "application/json".
1547
1489
  :paramtype content_type: str
1548
- :keyword callable cls: A custom type or function that will be passed the direct response
1549
1490
  :return: ImmutabilityPolicy or the result of cls(response)
1550
1491
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1551
1492
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1559,7 +1500,7 @@ class BlobContainersOperations:
1559
1500
  container_name: str,
1560
1501
  immutability_policy_name: Union[str, _models.Enum13],
1561
1502
  if_match: Optional[str] = None,
1562
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1503
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1563
1504
  **kwargs: Any
1564
1505
  ) -> _models.ImmutabilityPolicy:
1565
1506
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1585,17 +1526,14 @@ class BlobContainersOperations:
1585
1526
  omitted, this operation will always be applied. Default value is None.
1586
1527
  :type if_match: str
1587
1528
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1588
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1589
- :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or IO
1590
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1591
- Default value is None.
1592
- :paramtype content_type: str
1593
- :keyword callable cls: A custom type or function that will be passed the direct response
1529
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1530
+ :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
1531
+ IO[bytes]
1594
1532
  :return: ImmutabilityPolicy or the result of cls(response)
1595
1533
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1596
1534
  :raises ~azure.core.exceptions.HttpResponseError:
1597
1535
  """
1598
- error_map = {
1536
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1599
1537
  401: ClientAuthenticationError,
1600
1538
  404: ResourceNotFoundError,
1601
1539
  409: ResourceExistsError,
@@ -1623,7 +1561,7 @@ class BlobContainersOperations:
1623
1561
  else:
1624
1562
  _json = None
1625
1563
 
1626
- request = build_create_or_update_immutability_policy_request(
1564
+ _request = build_create_or_update_immutability_policy_request(
1627
1565
  resource_group_name=resource_group_name,
1628
1566
  account_name=account_name,
1629
1567
  container_name=container_name,
@@ -1634,16 +1572,15 @@ class BlobContainersOperations:
1634
1572
  content_type=content_type,
1635
1573
  json=_json,
1636
1574
  content=_content,
1637
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1638
1575
  headers=_headers,
1639
1576
  params=_params,
1640
1577
  )
1641
- request = _convert_request(request)
1642
- request.url = self._client.format_url(request.url)
1578
+ _request = _convert_request(_request)
1579
+ _request.url = self._client.format_url(_request.url)
1643
1580
 
1644
1581
  _stream = False
1645
1582
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1646
- request, stream=_stream, **kwargs
1583
+ _request, stream=_stream, **kwargs
1647
1584
  )
1648
1585
 
1649
1586
  response = pipeline_response.http_response
@@ -1658,13 +1595,9 @@ class BlobContainersOperations:
1658
1595
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1659
1596
 
1660
1597
  if cls:
1661
- return cls(pipeline_response, deserialized, response_headers)
1598
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1662
1599
 
1663
- return deserialized
1664
-
1665
- create_or_update_immutability_policy.metadata = {
1666
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1667
- }
1600
+ return deserialized # type: ignore
1668
1601
 
1669
1602
  @distributed_trace
1670
1603
  def get_immutability_policy(
@@ -1698,12 +1631,11 @@ class BlobContainersOperations:
1698
1631
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1699
1632
  omitted, this operation will always be applied. Default value is None.
1700
1633
  :type if_match: str
1701
- :keyword callable cls: A custom type or function that will be passed the direct response
1702
1634
  :return: ImmutabilityPolicy or the result of cls(response)
1703
1635
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1704
1636
  :raises ~azure.core.exceptions.HttpResponseError:
1705
1637
  """
1706
- error_map = {
1638
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1707
1639
  401: ClientAuthenticationError,
1708
1640
  404: ResourceNotFoundError,
1709
1641
  409: ResourceExistsError,
@@ -1719,7 +1651,7 @@ class BlobContainersOperations:
1719
1651
  )
1720
1652
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1721
1653
 
1722
- request = build_get_immutability_policy_request(
1654
+ _request = build_get_immutability_policy_request(
1723
1655
  resource_group_name=resource_group_name,
1724
1656
  account_name=account_name,
1725
1657
  container_name=container_name,
@@ -1727,16 +1659,15 @@ class BlobContainersOperations:
1727
1659
  subscription_id=self._config.subscription_id,
1728
1660
  if_match=if_match,
1729
1661
  api_version=api_version,
1730
- template_url=self.get_immutability_policy.metadata["url"],
1731
1662
  headers=_headers,
1732
1663
  params=_params,
1733
1664
  )
1734
- request = _convert_request(request)
1735
- request.url = self._client.format_url(request.url)
1665
+ _request = _convert_request(_request)
1666
+ _request.url = self._client.format_url(_request.url)
1736
1667
 
1737
1668
  _stream = False
1738
1669
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1739
- request, stream=_stream, **kwargs
1670
+ _request, stream=_stream, **kwargs
1740
1671
  )
1741
1672
 
1742
1673
  response = pipeline_response.http_response
@@ -1751,13 +1682,9 @@ class BlobContainersOperations:
1751
1682
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1752
1683
 
1753
1684
  if cls:
1754
- return cls(pipeline_response, deserialized, response_headers)
1685
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1755
1686
 
1756
- return deserialized
1757
-
1758
- get_immutability_policy.metadata = {
1759
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1760
- }
1687
+ return deserialized # type: ignore
1761
1688
 
1762
1689
  @distributed_trace
1763
1690
  def delete_immutability_policy(
@@ -1793,12 +1720,11 @@ class BlobContainersOperations:
1793
1720
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1794
1721
  omitted, this operation will always be applied. Required.
1795
1722
  :type if_match: str
1796
- :keyword callable cls: A custom type or function that will be passed the direct response
1797
1723
  :return: ImmutabilityPolicy or the result of cls(response)
1798
1724
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1799
1725
  :raises ~azure.core.exceptions.HttpResponseError:
1800
1726
  """
1801
- error_map = {
1727
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1802
1728
  401: ClientAuthenticationError,
1803
1729
  404: ResourceNotFoundError,
1804
1730
  409: ResourceExistsError,
@@ -1814,7 +1740,7 @@ class BlobContainersOperations:
1814
1740
  )
1815
1741
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1816
1742
 
1817
- request = build_delete_immutability_policy_request(
1743
+ _request = build_delete_immutability_policy_request(
1818
1744
  resource_group_name=resource_group_name,
1819
1745
  account_name=account_name,
1820
1746
  container_name=container_name,
@@ -1822,16 +1748,15 @@ class BlobContainersOperations:
1822
1748
  subscription_id=self._config.subscription_id,
1823
1749
  if_match=if_match,
1824
1750
  api_version=api_version,
1825
- template_url=self.delete_immutability_policy.metadata["url"],
1826
1751
  headers=_headers,
1827
1752
  params=_params,
1828
1753
  )
1829
- request = _convert_request(request)
1830
- request.url = self._client.format_url(request.url)
1754
+ _request = _convert_request(_request)
1755
+ _request.url = self._client.format_url(_request.url)
1831
1756
 
1832
1757
  _stream = False
1833
1758
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1834
- request, stream=_stream, **kwargs
1759
+ _request, stream=_stream, **kwargs
1835
1760
  )
1836
1761
 
1837
1762
  response = pipeline_response.http_response
@@ -1846,13 +1771,9 @@ class BlobContainersOperations:
1846
1771
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1847
1772
 
1848
1773
  if cls:
1849
- return cls(pipeline_response, deserialized, response_headers)
1774
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1850
1775
 
1851
- return deserialized
1852
-
1853
- delete_immutability_policy.metadata = {
1854
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1855
- }
1776
+ return deserialized # type: ignore
1856
1777
 
1857
1778
  @distributed_trace
1858
1779
  def lock_immutability_policy(
@@ -1877,12 +1798,11 @@ class BlobContainersOperations:
1877
1798
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1878
1799
  omitted, this operation will always be applied. Required.
1879
1800
  :type if_match: str
1880
- :keyword callable cls: A custom type or function that will be passed the direct response
1881
1801
  :return: ImmutabilityPolicy or the result of cls(response)
1882
1802
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1883
1803
  :raises ~azure.core.exceptions.HttpResponseError:
1884
1804
  """
1885
- error_map = {
1805
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1886
1806
  401: ClientAuthenticationError,
1887
1807
  404: ResourceNotFoundError,
1888
1808
  409: ResourceExistsError,
@@ -1898,23 +1818,22 @@ class BlobContainersOperations:
1898
1818
  )
1899
1819
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1900
1820
 
1901
- request = build_lock_immutability_policy_request(
1821
+ _request = build_lock_immutability_policy_request(
1902
1822
  resource_group_name=resource_group_name,
1903
1823
  account_name=account_name,
1904
1824
  container_name=container_name,
1905
1825
  subscription_id=self._config.subscription_id,
1906
1826
  if_match=if_match,
1907
1827
  api_version=api_version,
1908
- template_url=self.lock_immutability_policy.metadata["url"],
1909
1828
  headers=_headers,
1910
1829
  params=_params,
1911
1830
  )
1912
- request = _convert_request(request)
1913
- request.url = self._client.format_url(request.url)
1831
+ _request = _convert_request(_request)
1832
+ _request.url = self._client.format_url(_request.url)
1914
1833
 
1915
1834
  _stream = False
1916
1835
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1917
- request, stream=_stream, **kwargs
1836
+ _request, stream=_stream, **kwargs
1918
1837
  )
1919
1838
 
1920
1839
  response = pipeline_response.http_response
@@ -1929,13 +1848,9 @@ class BlobContainersOperations:
1929
1848
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1930
1849
 
1931
1850
  if cls:
1932
- return cls(pipeline_response, deserialized, response_headers)
1851
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1933
1852
 
1934
- return deserialized
1935
-
1936
- lock_immutability_policy.metadata = {
1937
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1938
- }
1853
+ return deserialized # type: ignore
1939
1854
 
1940
1855
  @overload
1941
1856
  def extend_immutability_policy(
@@ -1975,7 +1890,6 @@ class BlobContainersOperations:
1975
1890
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1976
1891
  Default value is "application/json".
1977
1892
  :paramtype content_type: str
1978
- :keyword callable cls: A custom type or function that will be passed the direct response
1979
1893
  :return: ImmutabilityPolicy or the result of cls(response)
1980
1894
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1981
1895
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1988,7 +1902,7 @@ class BlobContainersOperations:
1988
1902
  account_name: str,
1989
1903
  container_name: str,
1990
1904
  if_match: str,
1991
- parameters: Optional[IO] = None,
1905
+ parameters: Optional[IO[bytes]] = None,
1992
1906
  *,
1993
1907
  content_type: str = "application/json",
1994
1908
  **kwargs: Any
@@ -2015,11 +1929,10 @@ class BlobContainersOperations:
2015
1929
  :type if_match: str
2016
1930
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2017
1931
  container. Default value is None.
2018
- :type parameters: IO
1932
+ :type parameters: IO[bytes]
2019
1933
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2020
1934
  Default value is "application/json".
2021
1935
  :paramtype content_type: str
2022
- :keyword callable cls: A custom type or function that will be passed the direct response
2023
1936
  :return: ImmutabilityPolicy or the result of cls(response)
2024
1937
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
2025
1938
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2032,7 +1945,7 @@ class BlobContainersOperations:
2032
1945
  account_name: str,
2033
1946
  container_name: str,
2034
1947
  if_match: str,
2035
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1948
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2036
1949
  **kwargs: Any
2037
1950
  ) -> _models.ImmutabilityPolicy:
2038
1951
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2056,17 +1969,14 @@ class BlobContainersOperations:
2056
1969
  omitted, this operation will always be applied. Required.
2057
1970
  :type if_match: str
2058
1971
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2059
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2060
- :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or IO
2061
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2062
- Default value is None.
2063
- :paramtype content_type: str
2064
- :keyword callable cls: A custom type or function that will be passed the direct response
1972
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1973
+ :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
1974
+ IO[bytes]
2065
1975
  :return: ImmutabilityPolicy or the result of cls(response)
2066
1976
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
2067
1977
  :raises ~azure.core.exceptions.HttpResponseError:
2068
1978
  """
2069
- error_map = {
1979
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2070
1980
  401: ClientAuthenticationError,
2071
1981
  404: ResourceNotFoundError,
2072
1982
  409: ResourceExistsError,
@@ -2094,7 +2004,7 @@ class BlobContainersOperations:
2094
2004
  else:
2095
2005
  _json = None
2096
2006
 
2097
- request = build_extend_immutability_policy_request(
2007
+ _request = build_extend_immutability_policy_request(
2098
2008
  resource_group_name=resource_group_name,
2099
2009
  account_name=account_name,
2100
2010
  container_name=container_name,
@@ -2104,16 +2014,15 @@ class BlobContainersOperations:
2104
2014
  content_type=content_type,
2105
2015
  json=_json,
2106
2016
  content=_content,
2107
- template_url=self.extend_immutability_policy.metadata["url"],
2108
2017
  headers=_headers,
2109
2018
  params=_params,
2110
2019
  )
2111
- request = _convert_request(request)
2112
- request.url = self._client.format_url(request.url)
2020
+ _request = _convert_request(_request)
2021
+ _request.url = self._client.format_url(_request.url)
2113
2022
 
2114
2023
  _stream = False
2115
2024
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2116
- request, stream=_stream, **kwargs
2025
+ _request, stream=_stream, **kwargs
2117
2026
  )
2118
2027
 
2119
2028
  response = pipeline_response.http_response
@@ -2128,13 +2037,9 @@ class BlobContainersOperations:
2128
2037
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2129
2038
 
2130
2039
  if cls:
2131
- return cls(pipeline_response, deserialized, response_headers)
2132
-
2133
- return deserialized
2040
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2134
2041
 
2135
- extend_immutability_policy.metadata = {
2136
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2137
- }
2042
+ return deserialized # type: ignore
2138
2043
 
2139
2044
  @overload
2140
2045
  def lease(
@@ -2167,7 +2072,6 @@ class BlobContainersOperations:
2167
2072
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2168
2073
  Default value is "application/json".
2169
2074
  :paramtype content_type: str
2170
- :keyword callable cls: A custom type or function that will be passed the direct response
2171
2075
  :return: LeaseContainerResponse or the result of cls(response)
2172
2076
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
2173
2077
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2179,7 +2083,7 @@ class BlobContainersOperations:
2179
2083
  resource_group_name: str,
2180
2084
  account_name: str,
2181
2085
  container_name: str,
2182
- parameters: Optional[IO] = None,
2086
+ parameters: Optional[IO[bytes]] = None,
2183
2087
  *,
2184
2088
  content_type: str = "application/json",
2185
2089
  **kwargs: Any
@@ -2200,11 +2104,10 @@ class BlobContainersOperations:
2200
2104
  by a letter or number. Required.
2201
2105
  :type container_name: str
2202
2106
  :param parameters: Lease Container request body. Default value is None.
2203
- :type parameters: IO
2107
+ :type parameters: IO[bytes]
2204
2108
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2205
2109
  Default value is "application/json".
2206
2110
  :paramtype content_type: str
2207
- :keyword callable cls: A custom type or function that will be passed the direct response
2208
2111
  :return: LeaseContainerResponse or the result of cls(response)
2209
2112
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
2210
2113
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2216,7 +2119,7 @@ class BlobContainersOperations:
2216
2119
  resource_group_name: str,
2217
2120
  account_name: str,
2218
2121
  container_name: str,
2219
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2122
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2220
2123
  **kwargs: Any
2221
2124
  ) -> _models.LeaseContainerResponse:
2222
2125
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2234,18 +2137,15 @@ class BlobContainersOperations:
2234
2137
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2235
2138
  by a letter or number. Required.
2236
2139
  :type container_name: str
2237
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2238
- type. Default value is None.
2239
- :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerRequest or IO
2240
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2241
- Default value is None.
2242
- :paramtype content_type: str
2243
- :keyword callable cls: A custom type or function that will be passed the direct response
2140
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2141
+ IO[bytes] type. Default value is None.
2142
+ :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerRequest or
2143
+ IO[bytes]
2244
2144
  :return: LeaseContainerResponse or the result of cls(response)
2245
2145
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
2246
2146
  :raises ~azure.core.exceptions.HttpResponseError:
2247
2147
  """
2248
- error_map = {
2148
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2249
2149
  401: ClientAuthenticationError,
2250
2150
  404: ResourceNotFoundError,
2251
2151
  409: ResourceExistsError,
@@ -2273,7 +2173,7 @@ class BlobContainersOperations:
2273
2173
  else:
2274
2174
  _json = None
2275
2175
 
2276
- request = build_lease_request(
2176
+ _request = build_lease_request(
2277
2177
  resource_group_name=resource_group_name,
2278
2178
  account_name=account_name,
2279
2179
  container_name=container_name,
@@ -2282,16 +2182,15 @@ class BlobContainersOperations:
2282
2182
  content_type=content_type,
2283
2183
  json=_json,
2284
2184
  content=_content,
2285
- template_url=self.lease.metadata["url"],
2286
2185
  headers=_headers,
2287
2186
  params=_params,
2288
2187
  )
2289
- request = _convert_request(request)
2290
- request.url = self._client.format_url(request.url)
2188
+ _request = _convert_request(_request)
2189
+ _request.url = self._client.format_url(_request.url)
2291
2190
 
2292
2191
  _stream = False
2293
2192
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2294
- request, stream=_stream, **kwargs
2193
+ _request, stream=_stream, **kwargs
2295
2194
  )
2296
2195
 
2297
2196
  response = pipeline_response.http_response
@@ -2303,10 +2202,6 @@ class BlobContainersOperations:
2303
2202
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2304
2203
 
2305
2204
  if cls:
2306
- return cls(pipeline_response, deserialized, {})
2205
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2307
2206
 
2308
- return deserialized
2309
-
2310
- lease.metadata = {
2311
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2312
- }
2207
+ return deserialized # type: ignore