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, Iterable, Optional, TypeVar, Union, cast, overload
10
+ import sys
11
+ from typing import Any, Callable, Dict, IO, Iterable, Optional, Type, TypeVar, Union, cast, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.exceptions import (
@@ -32,6 +33,10 @@ from .. import models as _models
32
33
  from ..._serialization import Serializer
33
34
  from .._vendor import _convert_request
34
35
 
36
+ if sys.version_info >= (3, 9):
37
+ from collections.abc import MutableMapping
38
+ else:
39
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
35
40
  T = TypeVar("T")
36
41
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
37
42
 
@@ -295,7 +300,7 @@ def build_clear_legal_hold_request(
295
300
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
296
301
 
297
302
 
298
- def build_create_or_update_immutability_policy_request(
303
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
299
304
  resource_group_name: str,
300
305
  account_name: str,
301
306
  container_name: str,
@@ -634,7 +639,6 @@ class BlobContainersOperations:
634
639
  :param include: Optional, used to include the properties for soft deleted blob containers.
635
640
  "deleted" Default value is None.
636
641
  :type include: str or ~azure.mgmt.storage.v2021_04_01.models.ListContainersInclude
637
- :keyword callable cls: A custom type or function that will be passed the direct response
638
642
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
639
643
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2021_04_01.models.ListContainerItem]
640
644
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -645,7 +649,7 @@ class BlobContainersOperations:
645
649
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
646
650
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
647
651
 
648
- error_map = {
652
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
649
653
  401: ClientAuthenticationError,
650
654
  404: ResourceNotFoundError,
651
655
  409: ResourceExistsError,
@@ -656,7 +660,7 @@ class BlobContainersOperations:
656
660
  def prepare_request(next_link=None):
657
661
  if not next_link:
658
662
 
659
- request = build_list_request(
663
+ _request = build_list_request(
660
664
  resource_group_name=resource_group_name,
661
665
  account_name=account_name,
662
666
  subscription_id=self._config.subscription_id,
@@ -664,12 +668,11 @@ class BlobContainersOperations:
664
668
  filter=filter,
665
669
  include=include,
666
670
  api_version=api_version,
667
- template_url=self.list.metadata["url"],
668
671
  headers=_headers,
669
672
  params=_params,
670
673
  )
671
- request = _convert_request(request)
672
- request.url = self._client.format_url(request.url)
674
+ _request = _convert_request(_request)
675
+ _request.url = self._client.format_url(_request.url)
673
676
 
674
677
  else:
675
678
  # make call to next link with the client's api-version
@@ -680,14 +683,14 @@ class BlobContainersOperations:
680
683
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
681
684
  }
682
685
  )
683
- _next_request_params["api-version"] = self._config.api_version
684
- request = HttpRequest(
686
+ _next_request_params["api-version"] = self._api_version
687
+ _request = HttpRequest(
685
688
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
686
689
  )
687
- request = _convert_request(request)
688
- request.url = self._client.format_url(request.url)
689
- request.method = "GET"
690
- return request
690
+ _request = _convert_request(_request)
691
+ _request.url = self._client.format_url(_request.url)
692
+ _request.method = "GET"
693
+ return _request
691
694
 
692
695
  def extract_data(pipeline_response):
693
696
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -697,11 +700,11 @@ class BlobContainersOperations:
697
700
  return deserialized.next_link or None, iter(list_of_elem)
698
701
 
699
702
  def get_next(next_link=None):
700
- request = prepare_request(next_link)
703
+ _request = prepare_request(next_link)
701
704
 
702
705
  _stream = False
703
706
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
704
- request, stream=_stream, **kwargs
707
+ _request, stream=_stream, **kwargs
705
708
  )
706
709
  response = pipeline_response.http_response
707
710
 
@@ -713,10 +716,6 @@ class BlobContainersOperations:
713
716
 
714
717
  return ItemPaged(get_next, extract_data)
715
718
 
716
- list.metadata = {
717
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
718
- }
719
-
720
719
  @overload
721
720
  def create(
722
721
  self,
@@ -749,7 +748,6 @@ class BlobContainersOperations:
749
748
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
750
749
  Default value is "application/json".
751
750
  :paramtype content_type: str
752
- :keyword callable cls: A custom type or function that will be passed the direct response
753
751
  :return: BlobContainer or the result of cls(response)
754
752
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
755
753
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -761,7 +759,7 @@ class BlobContainersOperations:
761
759
  resource_group_name: str,
762
760
  account_name: str,
763
761
  container_name: str,
764
- blob_container: IO,
762
+ blob_container: IO[bytes],
765
763
  *,
766
764
  content_type: str = "application/json",
767
765
  **kwargs: Any
@@ -783,11 +781,10 @@ class BlobContainersOperations:
783
781
  by a letter or number. Required.
784
782
  :type container_name: str
785
783
  :param blob_container: Properties of the blob container to create. Required.
786
- :type blob_container: IO
784
+ :type blob_container: IO[bytes]
787
785
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
788
786
  Default value is "application/json".
789
787
  :paramtype content_type: str
790
- :keyword callable cls: A custom type or function that will be passed the direct response
791
788
  :return: BlobContainer or the result of cls(response)
792
789
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
793
790
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -799,7 +796,7 @@ class BlobContainersOperations:
799
796
  resource_group_name: str,
800
797
  account_name: str,
801
798
  container_name: str,
802
- blob_container: Union[_models.BlobContainer, IO],
799
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
803
800
  **kwargs: Any
804
801
  ) -> _models.BlobContainer:
805
802
  """Creates a new container under the specified account as described by request body. The container
@@ -819,17 +816,13 @@ class BlobContainersOperations:
819
816
  by a letter or number. Required.
820
817
  :type container_name: str
821
818
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
822
- type or a IO type. Required.
823
- :type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
824
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
825
- Default value is None.
826
- :paramtype content_type: str
827
- :keyword callable cls: A custom type or function that will be passed the direct response
819
+ type or a IO[bytes] type. Required.
820
+ :type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
828
821
  :return: BlobContainer or the result of cls(response)
829
822
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
830
823
  :raises ~azure.core.exceptions.HttpResponseError:
831
824
  """
832
- error_map = {
825
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
833
826
  401: ClientAuthenticationError,
834
827
  404: ResourceNotFoundError,
835
828
  409: ResourceExistsError,
@@ -852,7 +845,7 @@ class BlobContainersOperations:
852
845
  else:
853
846
  _json = self._serialize.body(blob_container, "BlobContainer")
854
847
 
855
- request = build_create_request(
848
+ _request = build_create_request(
856
849
  resource_group_name=resource_group_name,
857
850
  account_name=account_name,
858
851
  container_name=container_name,
@@ -861,16 +854,15 @@ class BlobContainersOperations:
861
854
  content_type=content_type,
862
855
  json=_json,
863
856
  content=_content,
864
- template_url=self.create.metadata["url"],
865
857
  headers=_headers,
866
858
  params=_params,
867
859
  )
868
- request = _convert_request(request)
869
- request.url = self._client.format_url(request.url)
860
+ _request = _convert_request(_request)
861
+ _request.url = self._client.format_url(_request.url)
870
862
 
871
863
  _stream = False
872
864
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
873
- request, stream=_stream, **kwargs
865
+ _request, stream=_stream, **kwargs
874
866
  )
875
867
 
876
868
  response = pipeline_response.http_response
@@ -890,10 +882,6 @@ class BlobContainersOperations:
890
882
 
891
883
  return deserialized # type: ignore
892
884
 
893
- create.metadata = {
894
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
895
- }
896
-
897
885
  @overload
898
886
  def update(
899
887
  self,
@@ -925,7 +913,6 @@ class BlobContainersOperations:
925
913
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
926
914
  Default value is "application/json".
927
915
  :paramtype content_type: str
928
- :keyword callable cls: A custom type or function that will be passed the direct response
929
916
  :return: BlobContainer or the result of cls(response)
930
917
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
931
918
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -937,7 +924,7 @@ class BlobContainersOperations:
937
924
  resource_group_name: str,
938
925
  account_name: str,
939
926
  container_name: str,
940
- blob_container: IO,
927
+ blob_container: IO[bytes],
941
928
  *,
942
929
  content_type: str = "application/json",
943
930
  **kwargs: Any
@@ -958,11 +945,10 @@ class BlobContainersOperations:
958
945
  by a letter or number. Required.
959
946
  :type container_name: str
960
947
  :param blob_container: Properties to update for the blob container. Required.
961
- :type blob_container: IO
948
+ :type blob_container: IO[bytes]
962
949
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
963
950
  Default value is "application/json".
964
951
  :paramtype content_type: str
965
- :keyword callable cls: A custom type or function that will be passed the direct response
966
952
  :return: BlobContainer or the result of cls(response)
967
953
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
968
954
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -974,7 +960,7 @@ class BlobContainersOperations:
974
960
  resource_group_name: str,
975
961
  account_name: str,
976
962
  container_name: str,
977
- blob_container: Union[_models.BlobContainer, IO],
963
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
978
964
  **kwargs: Any
979
965
  ) -> _models.BlobContainer:
980
966
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -993,17 +979,13 @@ class BlobContainersOperations:
993
979
  by a letter or number. Required.
994
980
  :type container_name: str
995
981
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
996
- type or a IO type. Required.
997
- :type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO
998
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
999
- Default value is None.
1000
- :paramtype content_type: str
1001
- :keyword callable cls: A custom type or function that will be passed the direct response
982
+ type or a IO[bytes] type. Required.
983
+ :type blob_container: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer or IO[bytes]
1002
984
  :return: BlobContainer or the result of cls(response)
1003
985
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
1004
986
  :raises ~azure.core.exceptions.HttpResponseError:
1005
987
  """
1006
- error_map = {
988
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1007
989
  401: ClientAuthenticationError,
1008
990
  404: ResourceNotFoundError,
1009
991
  409: ResourceExistsError,
@@ -1026,7 +1008,7 @@ class BlobContainersOperations:
1026
1008
  else:
1027
1009
  _json = self._serialize.body(blob_container, "BlobContainer")
1028
1010
 
1029
- request = build_update_request(
1011
+ _request = build_update_request(
1030
1012
  resource_group_name=resource_group_name,
1031
1013
  account_name=account_name,
1032
1014
  container_name=container_name,
@@ -1035,16 +1017,15 @@ class BlobContainersOperations:
1035
1017
  content_type=content_type,
1036
1018
  json=_json,
1037
1019
  content=_content,
1038
- template_url=self.update.metadata["url"],
1039
1020
  headers=_headers,
1040
1021
  params=_params,
1041
1022
  )
1042
- request = _convert_request(request)
1043
- request.url = self._client.format_url(request.url)
1023
+ _request = _convert_request(_request)
1024
+ _request.url = self._client.format_url(_request.url)
1044
1025
 
1045
1026
  _stream = False
1046
1027
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1047
- request, stream=_stream, **kwargs
1028
+ _request, stream=_stream, **kwargs
1048
1029
  )
1049
1030
 
1050
1031
  response = pipeline_response.http_response
@@ -1056,13 +1037,9 @@ class BlobContainersOperations:
1056
1037
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1057
1038
 
1058
1039
  if cls:
1059
- return cls(pipeline_response, deserialized, {})
1060
-
1061
- return deserialized
1040
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1062
1041
 
1063
- update.metadata = {
1064
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1065
- }
1042
+ return deserialized # type: ignore
1066
1043
 
1067
1044
  @distributed_trace
1068
1045
  def get(
@@ -1082,12 +1059,11 @@ class BlobContainersOperations:
1082
1059
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1083
1060
  by a letter or number. Required.
1084
1061
  :type container_name: str
1085
- :keyword callable cls: A custom type or function that will be passed the direct response
1086
1062
  :return: BlobContainer or the result of cls(response)
1087
1063
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.BlobContainer
1088
1064
  :raises ~azure.core.exceptions.HttpResponseError:
1089
1065
  """
1090
- error_map = {
1066
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1091
1067
  401: ClientAuthenticationError,
1092
1068
  404: ResourceNotFoundError,
1093
1069
  409: ResourceExistsError,
@@ -1101,22 +1077,21 @@ class BlobContainersOperations:
1101
1077
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1102
1078
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1103
1079
 
1104
- request = build_get_request(
1080
+ _request = build_get_request(
1105
1081
  resource_group_name=resource_group_name,
1106
1082
  account_name=account_name,
1107
1083
  container_name=container_name,
1108
1084
  subscription_id=self._config.subscription_id,
1109
1085
  api_version=api_version,
1110
- template_url=self.get.metadata["url"],
1111
1086
  headers=_headers,
1112
1087
  params=_params,
1113
1088
  )
1114
- request = _convert_request(request)
1115
- request.url = self._client.format_url(request.url)
1089
+ _request = _convert_request(_request)
1090
+ _request.url = self._client.format_url(_request.url)
1116
1091
 
1117
1092
  _stream = False
1118
1093
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1119
- request, stream=_stream, **kwargs
1094
+ _request, stream=_stream, **kwargs
1120
1095
  )
1121
1096
 
1122
1097
  response = pipeline_response.http_response
@@ -1128,13 +1103,9 @@ class BlobContainersOperations:
1128
1103
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1129
1104
 
1130
1105
  if cls:
1131
- return cls(pipeline_response, deserialized, {})
1132
-
1133
- return deserialized
1106
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1134
1107
 
1135
- get.metadata = {
1136
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1137
- }
1108
+ return deserialized # type: ignore
1138
1109
 
1139
1110
  @distributed_trace
1140
1111
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1154,12 +1125,11 @@ class BlobContainersOperations:
1154
1125
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1155
1126
  by a letter or number. Required.
1156
1127
  :type container_name: str
1157
- :keyword callable cls: A custom type or function that will be passed the direct response
1158
1128
  :return: None or the result of cls(response)
1159
1129
  :rtype: None
1160
1130
  :raises ~azure.core.exceptions.HttpResponseError:
1161
1131
  """
1162
- error_map = {
1132
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1163
1133
  401: ClientAuthenticationError,
1164
1134
  404: ResourceNotFoundError,
1165
1135
  409: ResourceExistsError,
@@ -1173,22 +1143,21 @@ class BlobContainersOperations:
1173
1143
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1174
1144
  cls: ClsType[None] = kwargs.pop("cls", None)
1175
1145
 
1176
- request = build_delete_request(
1146
+ _request = build_delete_request(
1177
1147
  resource_group_name=resource_group_name,
1178
1148
  account_name=account_name,
1179
1149
  container_name=container_name,
1180
1150
  subscription_id=self._config.subscription_id,
1181
1151
  api_version=api_version,
1182
- template_url=self.delete.metadata["url"],
1183
1152
  headers=_headers,
1184
1153
  params=_params,
1185
1154
  )
1186
- request = _convert_request(request)
1187
- request.url = self._client.format_url(request.url)
1155
+ _request = _convert_request(_request)
1156
+ _request.url = self._client.format_url(_request.url)
1188
1157
 
1189
1158
  _stream = False
1190
1159
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1191
- request, stream=_stream, **kwargs
1160
+ _request, stream=_stream, **kwargs
1192
1161
  )
1193
1162
 
1194
1163
  response = pipeline_response.http_response
@@ -1198,11 +1167,7 @@ class BlobContainersOperations:
1198
1167
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1199
1168
 
1200
1169
  if cls:
1201
- return cls(pipeline_response, None, {})
1202
-
1203
- delete.metadata = {
1204
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1205
- }
1170
+ return cls(pipeline_response, None, {}) # type: ignore
1206
1171
 
1207
1172
  @overload
1208
1173
  def set_legal_hold(
@@ -1236,7 +1201,6 @@ class BlobContainersOperations:
1236
1201
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1237
1202
  Default value is "application/json".
1238
1203
  :paramtype content_type: str
1239
- :keyword callable cls: A custom type or function that will be passed the direct response
1240
1204
  :return: LegalHold or the result of cls(response)
1241
1205
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
1242
1206
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1248,7 +1212,7 @@ class BlobContainersOperations:
1248
1212
  resource_group_name: str,
1249
1213
  account_name: str,
1250
1214
  container_name: str,
1251
- legal_hold: IO,
1215
+ legal_hold: IO[bytes],
1252
1216
  *,
1253
1217
  content_type: str = "application/json",
1254
1218
  **kwargs: Any
@@ -1270,11 +1234,10 @@ class BlobContainersOperations:
1270
1234
  by a letter or number. Required.
1271
1235
  :type container_name: str
1272
1236
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1273
- :type legal_hold: IO
1237
+ :type legal_hold: IO[bytes]
1274
1238
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1275
1239
  Default value is "application/json".
1276
1240
  :paramtype content_type: str
1277
- :keyword callable cls: A custom type or function that will be passed the direct response
1278
1241
  :return: LegalHold or the result of cls(response)
1279
1242
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
1280
1243
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1286,7 +1249,7 @@ class BlobContainersOperations:
1286
1249
  resource_group_name: str,
1287
1250
  account_name: str,
1288
1251
  container_name: str,
1289
- legal_hold: Union[_models.LegalHold, IO],
1252
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1290
1253
  **kwargs: Any
1291
1254
  ) -> _models.LegalHold:
1292
1255
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1306,17 +1269,13 @@ class BlobContainersOperations:
1306
1269
  by a letter or number. Required.
1307
1270
  :type container_name: str
1308
1271
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1309
- LegalHold type or a IO type. Required.
1310
- :type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
1311
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1312
- Default value is None.
1313
- :paramtype content_type: str
1314
- :keyword callable cls: A custom type or function that will be passed the direct response
1272
+ LegalHold type or a IO[bytes] type. Required.
1273
+ :type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
1315
1274
  :return: LegalHold or the result of cls(response)
1316
1275
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
1317
1276
  :raises ~azure.core.exceptions.HttpResponseError:
1318
1277
  """
1319
- error_map = {
1278
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1320
1279
  401: ClientAuthenticationError,
1321
1280
  404: ResourceNotFoundError,
1322
1281
  409: ResourceExistsError,
@@ -1339,7 +1298,7 @@ class BlobContainersOperations:
1339
1298
  else:
1340
1299
  _json = self._serialize.body(legal_hold, "LegalHold")
1341
1300
 
1342
- request = build_set_legal_hold_request(
1301
+ _request = build_set_legal_hold_request(
1343
1302
  resource_group_name=resource_group_name,
1344
1303
  account_name=account_name,
1345
1304
  container_name=container_name,
@@ -1348,16 +1307,15 @@ class BlobContainersOperations:
1348
1307
  content_type=content_type,
1349
1308
  json=_json,
1350
1309
  content=_content,
1351
- template_url=self.set_legal_hold.metadata["url"],
1352
1310
  headers=_headers,
1353
1311
  params=_params,
1354
1312
  )
1355
- request = _convert_request(request)
1356
- request.url = self._client.format_url(request.url)
1313
+ _request = _convert_request(_request)
1314
+ _request.url = self._client.format_url(_request.url)
1357
1315
 
1358
1316
  _stream = False
1359
1317
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1360
- request, stream=_stream, **kwargs
1318
+ _request, stream=_stream, **kwargs
1361
1319
  )
1362
1320
 
1363
1321
  response = pipeline_response.http_response
@@ -1369,13 +1327,9 @@ class BlobContainersOperations:
1369
1327
  deserialized = self._deserialize("LegalHold", pipeline_response)
1370
1328
 
1371
1329
  if cls:
1372
- return cls(pipeline_response, deserialized, {})
1373
-
1374
- return deserialized
1330
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1375
1331
 
1376
- set_legal_hold.metadata = {
1377
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1378
- }
1332
+ return deserialized # type: ignore
1379
1333
 
1380
1334
  @overload
1381
1335
  def clear_legal_hold(
@@ -1408,7 +1362,6 @@ class BlobContainersOperations:
1408
1362
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1409
1363
  Default value is "application/json".
1410
1364
  :paramtype content_type: str
1411
- :keyword callable cls: A custom type or function that will be passed the direct response
1412
1365
  :return: LegalHold or the result of cls(response)
1413
1366
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
1414
1367
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1420,7 +1373,7 @@ class BlobContainersOperations:
1420
1373
  resource_group_name: str,
1421
1374
  account_name: str,
1422
1375
  container_name: str,
1423
- legal_hold: IO,
1376
+ legal_hold: IO[bytes],
1424
1377
  *,
1425
1378
  content_type: str = "application/json",
1426
1379
  **kwargs: Any
@@ -1441,11 +1394,10 @@ class BlobContainersOperations:
1441
1394
  by a letter or number. Required.
1442
1395
  :type container_name: str
1443
1396
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1444
- :type legal_hold: IO
1397
+ :type legal_hold: IO[bytes]
1445
1398
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1446
1399
  Default value is "application/json".
1447
1400
  :paramtype content_type: str
1448
- :keyword callable cls: A custom type or function that will be passed the direct response
1449
1401
  :return: LegalHold or the result of cls(response)
1450
1402
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
1451
1403
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1457,7 +1409,7 @@ class BlobContainersOperations:
1457
1409
  resource_group_name: str,
1458
1410
  account_name: str,
1459
1411
  container_name: str,
1460
- legal_hold: Union[_models.LegalHold, IO],
1412
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1461
1413
  **kwargs: Any
1462
1414
  ) -> _models.LegalHold:
1463
1415
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1476,17 +1428,13 @@ class BlobContainersOperations:
1476
1428
  by a letter or number. Required.
1477
1429
  :type container_name: str
1478
1430
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1479
- LegalHold type or a IO type. Required.
1480
- :type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO
1481
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1482
- Default value is None.
1483
- :paramtype content_type: str
1484
- :keyword callable cls: A custom type or function that will be passed the direct response
1431
+ LegalHold type or a IO[bytes] type. Required.
1432
+ :type legal_hold: ~azure.mgmt.storage.v2021_04_01.models.LegalHold or IO[bytes]
1485
1433
  :return: LegalHold or the result of cls(response)
1486
1434
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LegalHold
1487
1435
  :raises ~azure.core.exceptions.HttpResponseError:
1488
1436
  """
1489
- error_map = {
1437
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1490
1438
  401: ClientAuthenticationError,
1491
1439
  404: ResourceNotFoundError,
1492
1440
  409: ResourceExistsError,
@@ -1509,7 +1457,7 @@ class BlobContainersOperations:
1509
1457
  else:
1510
1458
  _json = self._serialize.body(legal_hold, "LegalHold")
1511
1459
 
1512
- request = build_clear_legal_hold_request(
1460
+ _request = build_clear_legal_hold_request(
1513
1461
  resource_group_name=resource_group_name,
1514
1462
  account_name=account_name,
1515
1463
  container_name=container_name,
@@ -1518,16 +1466,15 @@ class BlobContainersOperations:
1518
1466
  content_type=content_type,
1519
1467
  json=_json,
1520
1468
  content=_content,
1521
- template_url=self.clear_legal_hold.metadata["url"],
1522
1469
  headers=_headers,
1523
1470
  params=_params,
1524
1471
  )
1525
- request = _convert_request(request)
1526
- request.url = self._client.format_url(request.url)
1472
+ _request = _convert_request(_request)
1473
+ _request.url = self._client.format_url(_request.url)
1527
1474
 
1528
1475
  _stream = False
1529
1476
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1530
- request, stream=_stream, **kwargs
1477
+ _request, stream=_stream, **kwargs
1531
1478
  )
1532
1479
 
1533
1480
  response = pipeline_response.http_response
@@ -1539,13 +1486,9 @@ class BlobContainersOperations:
1539
1486
  deserialized = self._deserialize("LegalHold", pipeline_response)
1540
1487
 
1541
1488
  if cls:
1542
- return cls(pipeline_response, deserialized, {})
1543
-
1544
- return deserialized
1489
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1545
1490
 
1546
- clear_legal_hold.metadata = {
1547
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1548
- }
1491
+ return deserialized # type: ignore
1549
1492
 
1550
1493
  @overload
1551
1494
  def create_or_update_immutability_policy(
@@ -1588,7 +1531,6 @@ class BlobContainersOperations:
1588
1531
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1589
1532
  Default value is "application/json".
1590
1533
  :paramtype content_type: str
1591
- :keyword callable cls: A custom type or function that will be passed the direct response
1592
1534
  :return: ImmutabilityPolicy or the result of cls(response)
1593
1535
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1594
1536
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1602,7 +1544,7 @@ class BlobContainersOperations:
1602
1544
  container_name: str,
1603
1545
  immutability_policy_name: Union[str, _models.Enum35],
1604
1546
  if_match: Optional[str] = None,
1605
- parameters: Optional[IO] = None,
1547
+ parameters: Optional[IO[bytes]] = None,
1606
1548
  *,
1607
1549
  content_type: str = "application/json",
1608
1550
  **kwargs: Any
@@ -1631,11 +1573,10 @@ class BlobContainersOperations:
1631
1573
  :type if_match: str
1632
1574
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1633
1575
  container. Default value is None.
1634
- :type parameters: IO
1576
+ :type parameters: IO[bytes]
1635
1577
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1636
1578
  Default value is "application/json".
1637
1579
  :paramtype content_type: str
1638
- :keyword callable cls: A custom type or function that will be passed the direct response
1639
1580
  :return: ImmutabilityPolicy or the result of cls(response)
1640
1581
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1641
1582
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1649,7 +1590,7 @@ class BlobContainersOperations:
1649
1590
  container_name: str,
1650
1591
  immutability_policy_name: Union[str, _models.Enum35],
1651
1592
  if_match: Optional[str] = None,
1652
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1593
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1653
1594
  **kwargs: Any
1654
1595
  ) -> _models.ImmutabilityPolicy:
1655
1596
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1675,17 +1616,13 @@ class BlobContainersOperations:
1675
1616
  omitted, this operation will always be applied. Default value is None.
1676
1617
  :type if_match: str
1677
1618
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1678
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1679
- :type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
1680
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1681
- Default value is None.
1682
- :paramtype content_type: str
1683
- :keyword callable cls: A custom type or function that will be passed the direct response
1619
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1620
+ :type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
1684
1621
  :return: ImmutabilityPolicy or the result of cls(response)
1685
1622
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1686
1623
  :raises ~azure.core.exceptions.HttpResponseError:
1687
1624
  """
1688
- error_map = {
1625
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1689
1626
  401: ClientAuthenticationError,
1690
1627
  404: ResourceNotFoundError,
1691
1628
  409: ResourceExistsError,
@@ -1711,7 +1648,7 @@ class BlobContainersOperations:
1711
1648
  else:
1712
1649
  _json = None
1713
1650
 
1714
- request = build_create_or_update_immutability_policy_request(
1651
+ _request = build_create_or_update_immutability_policy_request(
1715
1652
  resource_group_name=resource_group_name,
1716
1653
  account_name=account_name,
1717
1654
  container_name=container_name,
@@ -1722,16 +1659,15 @@ class BlobContainersOperations:
1722
1659
  content_type=content_type,
1723
1660
  json=_json,
1724
1661
  content=_content,
1725
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1726
1662
  headers=_headers,
1727
1663
  params=_params,
1728
1664
  )
1729
- request = _convert_request(request)
1730
- request.url = self._client.format_url(request.url)
1665
+ _request = _convert_request(_request)
1666
+ _request.url = self._client.format_url(_request.url)
1731
1667
 
1732
1668
  _stream = False
1733
1669
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1734
- request, stream=_stream, **kwargs
1670
+ _request, stream=_stream, **kwargs
1735
1671
  )
1736
1672
 
1737
1673
  response = pipeline_response.http_response
@@ -1746,13 +1682,9 @@ class BlobContainersOperations:
1746
1682
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1747
1683
 
1748
1684
  if cls:
1749
- return cls(pipeline_response, deserialized, response_headers)
1750
-
1751
- return deserialized
1685
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1752
1686
 
1753
- create_or_update_immutability_policy.metadata = {
1754
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1755
- }
1687
+ return deserialized # type: ignore
1756
1688
 
1757
1689
  @distributed_trace
1758
1690
  def get_immutability_policy(
@@ -1786,12 +1718,11 @@ class BlobContainersOperations:
1786
1718
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1787
1719
  omitted, this operation will always be applied. Default value is None.
1788
1720
  :type if_match: str
1789
- :keyword callable cls: A custom type or function that will be passed the direct response
1790
1721
  :return: ImmutabilityPolicy or the result of cls(response)
1791
1722
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1792
1723
  :raises ~azure.core.exceptions.HttpResponseError:
1793
1724
  """
1794
- error_map = {
1725
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1795
1726
  401: ClientAuthenticationError,
1796
1727
  404: ResourceNotFoundError,
1797
1728
  409: ResourceExistsError,
@@ -1805,7 +1736,7 @@ class BlobContainersOperations:
1805
1736
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1806
1737
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1807
1738
 
1808
- request = build_get_immutability_policy_request(
1739
+ _request = build_get_immutability_policy_request(
1809
1740
  resource_group_name=resource_group_name,
1810
1741
  account_name=account_name,
1811
1742
  container_name=container_name,
@@ -1813,16 +1744,15 @@ class BlobContainersOperations:
1813
1744
  subscription_id=self._config.subscription_id,
1814
1745
  if_match=if_match,
1815
1746
  api_version=api_version,
1816
- template_url=self.get_immutability_policy.metadata["url"],
1817
1747
  headers=_headers,
1818
1748
  params=_params,
1819
1749
  )
1820
- request = _convert_request(request)
1821
- request.url = self._client.format_url(request.url)
1750
+ _request = _convert_request(_request)
1751
+ _request.url = self._client.format_url(_request.url)
1822
1752
 
1823
1753
  _stream = False
1824
1754
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1825
- request, stream=_stream, **kwargs
1755
+ _request, stream=_stream, **kwargs
1826
1756
  )
1827
1757
 
1828
1758
  response = pipeline_response.http_response
@@ -1837,13 +1767,9 @@ class BlobContainersOperations:
1837
1767
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1838
1768
 
1839
1769
  if cls:
1840
- return cls(pipeline_response, deserialized, response_headers)
1770
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1841
1771
 
1842
- return deserialized
1843
-
1844
- get_immutability_policy.metadata = {
1845
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1846
- }
1772
+ return deserialized # type: ignore
1847
1773
 
1848
1774
  @distributed_trace
1849
1775
  def delete_immutability_policy(
@@ -1879,12 +1805,11 @@ class BlobContainersOperations:
1879
1805
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1880
1806
  omitted, this operation will always be applied. Required.
1881
1807
  :type if_match: str
1882
- :keyword callable cls: A custom type or function that will be passed the direct response
1883
1808
  :return: ImmutabilityPolicy or the result of cls(response)
1884
1809
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1885
1810
  :raises ~azure.core.exceptions.HttpResponseError:
1886
1811
  """
1887
- error_map = {
1812
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1888
1813
  401: ClientAuthenticationError,
1889
1814
  404: ResourceNotFoundError,
1890
1815
  409: ResourceExistsError,
@@ -1898,7 +1823,7 @@ class BlobContainersOperations:
1898
1823
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1899
1824
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1900
1825
 
1901
- request = build_delete_immutability_policy_request(
1826
+ _request = build_delete_immutability_policy_request(
1902
1827
  resource_group_name=resource_group_name,
1903
1828
  account_name=account_name,
1904
1829
  container_name=container_name,
@@ -1906,16 +1831,15 @@ class BlobContainersOperations:
1906
1831
  subscription_id=self._config.subscription_id,
1907
1832
  if_match=if_match,
1908
1833
  api_version=api_version,
1909
- template_url=self.delete_immutability_policy.metadata["url"],
1910
1834
  headers=_headers,
1911
1835
  params=_params,
1912
1836
  )
1913
- request = _convert_request(request)
1914
- request.url = self._client.format_url(request.url)
1837
+ _request = _convert_request(_request)
1838
+ _request.url = self._client.format_url(_request.url)
1915
1839
 
1916
1840
  _stream = False
1917
1841
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1918
- request, stream=_stream, **kwargs
1842
+ _request, stream=_stream, **kwargs
1919
1843
  )
1920
1844
 
1921
1845
  response = pipeline_response.http_response
@@ -1930,13 +1854,9 @@ class BlobContainersOperations:
1930
1854
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1931
1855
 
1932
1856
  if cls:
1933
- return cls(pipeline_response, deserialized, response_headers)
1857
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1934
1858
 
1935
- return deserialized
1936
-
1937
- delete_immutability_policy.metadata = {
1938
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1939
- }
1859
+ return deserialized # type: ignore
1940
1860
 
1941
1861
  @distributed_trace
1942
1862
  def lock_immutability_policy(
@@ -1961,12 +1881,11 @@ class BlobContainersOperations:
1961
1881
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1962
1882
  omitted, this operation will always be applied. Required.
1963
1883
  :type if_match: str
1964
- :keyword callable cls: A custom type or function that will be passed the direct response
1965
1884
  :return: ImmutabilityPolicy or the result of cls(response)
1966
1885
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
1967
1886
  :raises ~azure.core.exceptions.HttpResponseError:
1968
1887
  """
1969
- error_map = {
1888
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1970
1889
  401: ClientAuthenticationError,
1971
1890
  404: ResourceNotFoundError,
1972
1891
  409: ResourceExistsError,
@@ -1980,23 +1899,22 @@ class BlobContainersOperations:
1980
1899
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
1981
1900
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1982
1901
 
1983
- request = build_lock_immutability_policy_request(
1902
+ _request = build_lock_immutability_policy_request(
1984
1903
  resource_group_name=resource_group_name,
1985
1904
  account_name=account_name,
1986
1905
  container_name=container_name,
1987
1906
  subscription_id=self._config.subscription_id,
1988
1907
  if_match=if_match,
1989
1908
  api_version=api_version,
1990
- template_url=self.lock_immutability_policy.metadata["url"],
1991
1909
  headers=_headers,
1992
1910
  params=_params,
1993
1911
  )
1994
- request = _convert_request(request)
1995
- request.url = self._client.format_url(request.url)
1912
+ _request = _convert_request(_request)
1913
+ _request.url = self._client.format_url(_request.url)
1996
1914
 
1997
1915
  _stream = False
1998
1916
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1999
- request, stream=_stream, **kwargs
1917
+ _request, stream=_stream, **kwargs
2000
1918
  )
2001
1919
 
2002
1920
  response = pipeline_response.http_response
@@ -2011,13 +1929,9 @@ class BlobContainersOperations:
2011
1929
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2012
1930
 
2013
1931
  if cls:
2014
- return cls(pipeline_response, deserialized, response_headers)
1932
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2015
1933
 
2016
- return deserialized
2017
-
2018
- lock_immutability_policy.metadata = {
2019
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
2020
- }
1934
+ return deserialized # type: ignore
2021
1935
 
2022
1936
  @overload
2023
1937
  def extend_immutability_policy(
@@ -2057,7 +1971,6 @@ class BlobContainersOperations:
2057
1971
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2058
1972
  Default value is "application/json".
2059
1973
  :paramtype content_type: str
2060
- :keyword callable cls: A custom type or function that will be passed the direct response
2061
1974
  :return: ImmutabilityPolicy or the result of cls(response)
2062
1975
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
2063
1976
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2070,7 +1983,7 @@ class BlobContainersOperations:
2070
1983
  account_name: str,
2071
1984
  container_name: str,
2072
1985
  if_match: str,
2073
- parameters: Optional[IO] = None,
1986
+ parameters: Optional[IO[bytes]] = None,
2074
1987
  *,
2075
1988
  content_type: str = "application/json",
2076
1989
  **kwargs: Any
@@ -2097,11 +2010,10 @@ class BlobContainersOperations:
2097
2010
  :type if_match: str
2098
2011
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2099
2012
  container. Default value is None.
2100
- :type parameters: IO
2013
+ :type parameters: IO[bytes]
2101
2014
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2102
2015
  Default value is "application/json".
2103
2016
  :paramtype content_type: str
2104
- :keyword callable cls: A custom type or function that will be passed the direct response
2105
2017
  :return: ImmutabilityPolicy or the result of cls(response)
2106
2018
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
2107
2019
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2114,7 +2026,7 @@ class BlobContainersOperations:
2114
2026
  account_name: str,
2115
2027
  container_name: str,
2116
2028
  if_match: str,
2117
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
2029
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2118
2030
  **kwargs: Any
2119
2031
  ) -> _models.ImmutabilityPolicy:
2120
2032
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2138,17 +2050,13 @@ class BlobContainersOperations:
2138
2050
  omitted, this operation will always be applied. Required.
2139
2051
  :type if_match: str
2140
2052
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2141
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2142
- :type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO
2143
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2144
- Default value is None.
2145
- :paramtype content_type: str
2146
- :keyword callable cls: A custom type or function that will be passed the direct response
2053
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
2054
+ :type parameters: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy or IO[bytes]
2147
2055
  :return: ImmutabilityPolicy or the result of cls(response)
2148
2056
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.ImmutabilityPolicy
2149
2057
  :raises ~azure.core.exceptions.HttpResponseError:
2150
2058
  """
2151
- error_map = {
2059
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2152
2060
  401: ClientAuthenticationError,
2153
2061
  404: ResourceNotFoundError,
2154
2062
  409: ResourceExistsError,
@@ -2174,7 +2082,7 @@ class BlobContainersOperations:
2174
2082
  else:
2175
2083
  _json = None
2176
2084
 
2177
- request = build_extend_immutability_policy_request(
2085
+ _request = build_extend_immutability_policy_request(
2178
2086
  resource_group_name=resource_group_name,
2179
2087
  account_name=account_name,
2180
2088
  container_name=container_name,
@@ -2184,16 +2092,15 @@ class BlobContainersOperations:
2184
2092
  content_type=content_type,
2185
2093
  json=_json,
2186
2094
  content=_content,
2187
- template_url=self.extend_immutability_policy.metadata["url"],
2188
2095
  headers=_headers,
2189
2096
  params=_params,
2190
2097
  )
2191
- request = _convert_request(request)
2192
- request.url = self._client.format_url(request.url)
2098
+ _request = _convert_request(_request)
2099
+ _request.url = self._client.format_url(_request.url)
2193
2100
 
2194
2101
  _stream = False
2195
2102
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2196
- request, stream=_stream, **kwargs
2103
+ _request, stream=_stream, **kwargs
2197
2104
  )
2198
2105
 
2199
2106
  response = pipeline_response.http_response
@@ -2208,13 +2115,9 @@ class BlobContainersOperations:
2208
2115
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2209
2116
 
2210
2117
  if cls:
2211
- return cls(pipeline_response, deserialized, response_headers)
2212
-
2213
- return deserialized
2118
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2214
2119
 
2215
- extend_immutability_policy.metadata = {
2216
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2217
- }
2120
+ return deserialized # type: ignore
2218
2121
 
2219
2122
  @overload
2220
2123
  def lease(
@@ -2247,7 +2150,6 @@ class BlobContainersOperations:
2247
2150
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2248
2151
  Default value is "application/json".
2249
2152
  :paramtype content_type: str
2250
- :keyword callable cls: A custom type or function that will be passed the direct response
2251
2153
  :return: LeaseContainerResponse or the result of cls(response)
2252
2154
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
2253
2155
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2259,7 +2161,7 @@ class BlobContainersOperations:
2259
2161
  resource_group_name: str,
2260
2162
  account_name: str,
2261
2163
  container_name: str,
2262
- parameters: Optional[IO] = None,
2164
+ parameters: Optional[IO[bytes]] = None,
2263
2165
  *,
2264
2166
  content_type: str = "application/json",
2265
2167
  **kwargs: Any
@@ -2280,11 +2182,10 @@ class BlobContainersOperations:
2280
2182
  by a letter or number. Required.
2281
2183
  :type container_name: str
2282
2184
  :param parameters: Lease Container request body. Default value is None.
2283
- :type parameters: IO
2185
+ :type parameters: IO[bytes]
2284
2186
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2285
2187
  Default value is "application/json".
2286
2188
  :paramtype content_type: str
2287
- :keyword callable cls: A custom type or function that will be passed the direct response
2288
2189
  :return: LeaseContainerResponse or the result of cls(response)
2289
2190
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
2290
2191
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2296,7 +2197,7 @@ class BlobContainersOperations:
2296
2197
  resource_group_name: str,
2297
2198
  account_name: str,
2298
2199
  container_name: str,
2299
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2200
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2300
2201
  **kwargs: Any
2301
2202
  ) -> _models.LeaseContainerResponse:
2302
2203
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2314,18 +2215,14 @@ class BlobContainersOperations:
2314
2215
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2315
2216
  by a letter or number. Required.
2316
2217
  :type container_name: str
2317
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2318
- type. Default value is None.
2319
- :type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO
2320
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2321
- Default value is None.
2322
- :paramtype content_type: str
2323
- :keyword callable cls: A custom type or function that will be passed the direct response
2218
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2219
+ IO[bytes] type. Default value is None.
2220
+ :type parameters: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerRequest or IO[bytes]
2324
2221
  :return: LeaseContainerResponse or the result of cls(response)
2325
2222
  :rtype: ~azure.mgmt.storage.v2021_04_01.models.LeaseContainerResponse
2326
2223
  :raises ~azure.core.exceptions.HttpResponseError:
2327
2224
  """
2328
- error_map = {
2225
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2329
2226
  401: ClientAuthenticationError,
2330
2227
  404: ResourceNotFoundError,
2331
2228
  409: ResourceExistsError,
@@ -2351,7 +2248,7 @@ class BlobContainersOperations:
2351
2248
  else:
2352
2249
  _json = None
2353
2250
 
2354
- request = build_lease_request(
2251
+ _request = build_lease_request(
2355
2252
  resource_group_name=resource_group_name,
2356
2253
  account_name=account_name,
2357
2254
  container_name=container_name,
@@ -2360,16 +2257,15 @@ class BlobContainersOperations:
2360
2257
  content_type=content_type,
2361
2258
  json=_json,
2362
2259
  content=_content,
2363
- template_url=self.lease.metadata["url"],
2364
2260
  headers=_headers,
2365
2261
  params=_params,
2366
2262
  )
2367
- request = _convert_request(request)
2368
- request.url = self._client.format_url(request.url)
2263
+ _request = _convert_request(_request)
2264
+ _request.url = self._client.format_url(_request.url)
2369
2265
 
2370
2266
  _stream = False
2371
2267
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2372
- request, stream=_stream, **kwargs
2268
+ _request, stream=_stream, **kwargs
2373
2269
  )
2374
2270
 
2375
2271
  response = pipeline_response.http_response
@@ -2381,18 +2277,14 @@ class BlobContainersOperations:
2381
2277
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2382
2278
 
2383
2279
  if cls:
2384
- return cls(pipeline_response, deserialized, {})
2385
-
2386
- return deserialized
2280
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2387
2281
 
2388
- lease.metadata = {
2389
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2390
- }
2282
+ return deserialized # type: ignore
2391
2283
 
2392
2284
  def _object_level_worm_initial( # pylint: disable=inconsistent-return-statements
2393
2285
  self, resource_group_name: str, account_name: str, container_name: str, **kwargs: Any
2394
2286
  ) -> None:
2395
- error_map = {
2287
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2396
2288
  401: ClientAuthenticationError,
2397
2289
  404: ResourceNotFoundError,
2398
2290
  409: ResourceExistsError,
@@ -2406,22 +2298,21 @@ class BlobContainersOperations:
2406
2298
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2021-04-01"))
2407
2299
  cls: ClsType[None] = kwargs.pop("cls", None)
2408
2300
 
2409
- request = build_object_level_worm_request(
2301
+ _request = build_object_level_worm_request(
2410
2302
  resource_group_name=resource_group_name,
2411
2303
  account_name=account_name,
2412
2304
  container_name=container_name,
2413
2305
  subscription_id=self._config.subscription_id,
2414
2306
  api_version=api_version,
2415
- template_url=self._object_level_worm_initial.metadata["url"],
2416
2307
  headers=_headers,
2417
2308
  params=_params,
2418
2309
  )
2419
- request = _convert_request(request)
2420
- request.url = self._client.format_url(request.url)
2310
+ _request = _convert_request(_request)
2311
+ _request.url = self._client.format_url(_request.url)
2421
2312
 
2422
2313
  _stream = False
2423
2314
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2424
- request, stream=_stream, **kwargs
2315
+ _request, stream=_stream, **kwargs
2425
2316
  )
2426
2317
 
2427
2318
  response = pipeline_response.http_response
@@ -2431,11 +2322,7 @@ class BlobContainersOperations:
2431
2322
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
2432
2323
 
2433
2324
  if cls:
2434
- return cls(pipeline_response, None, {})
2435
-
2436
- _object_level_worm_initial.metadata = {
2437
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
2438
- }
2325
+ return cls(pipeline_response, None, {}) # type: ignore
2439
2326
 
2440
2327
  @distributed_trace
2441
2328
  def begin_object_level_worm(
@@ -2458,14 +2345,6 @@ class BlobContainersOperations:
2458
2345
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2459
2346
  by a letter or number. Required.
2460
2347
  :type container_name: str
2461
- :keyword callable cls: A custom type or function that will be passed the direct response
2462
- :keyword str continuation_token: A continuation token to restart a poller from a saved state.
2463
- :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this
2464
- operation to not poll, or pass in your own initialized polling object for a personal polling
2465
- strategy.
2466
- :paramtype polling: bool or ~azure.core.polling.PollingMethod
2467
- :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
2468
- Retry-After header is present.
2469
2348
  :return: An instance of LROPoller that returns either None or the result of cls(response)
2470
2349
  :rtype: ~azure.core.polling.LROPoller[None]
2471
2350
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2493,7 +2372,7 @@ class BlobContainersOperations:
2493
2372
 
2494
2373
  def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements
2495
2374
  if cls:
2496
- return cls(pipeline_response, None, {})
2375
+ return cls(pipeline_response, None, {}) # type: ignore
2497
2376
 
2498
2377
  if polling is True:
2499
2378
  polling_method: PollingMethod = cast(
@@ -2504,14 +2383,10 @@ class BlobContainersOperations:
2504
2383
  else:
2505
2384
  polling_method = polling
2506
2385
  if cont_token:
2507
- return LROPoller.from_continuation_token(
2386
+ return LROPoller[None].from_continuation_token(
2508
2387
  polling_method=polling_method,
2509
2388
  continuation_token=cont_token,
2510
2389
  client=self._client,
2511
2390
  deserialization_callback=get_long_running_output,
2512
2391
  )
2513
- return LROPoller(self._client, raw_result, get_long_running_output, polling_method) # type: ignore
2514
-
2515
- begin_object_level_worm.metadata = {
2516
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate"
2517
- }
2392
+ return LROPoller[None](self._client, raw_result, get_long_running_output, polling_method) # type: ignore