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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,7 +7,8 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
- from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
10
+ import sys
11
+ from typing import Any, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
11
12
 
12
13
  from azure.core.exceptions import (
13
14
  ClientAuthenticationError,
@@ -42,6 +43,10 @@ from ...operations._blob_containers_operations import (
42
43
  build_update_request,
43
44
  )
44
45
 
46
+ if sys.version_info >= (3, 9):
47
+ from collections.abc import MutableMapping
48
+ else:
49
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
45
50
  T = TypeVar("T")
46
51
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
47
52
 
@@ -78,12 +83,11 @@ class BlobContainersOperations:
78
83
  Storage account names must be between 3 and 24 characters in length and use numbers and
79
84
  lower-case letters only. Required.
80
85
  :type account_name: str
81
- :keyword callable cls: A custom type or function that will be passed the direct response
82
86
  :return: ListContainerItems or the result of cls(response)
83
87
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ListContainerItems
84
88
  :raises ~azure.core.exceptions.HttpResponseError:
85
89
  """
86
- error_map = {
90
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
87
91
  401: ClientAuthenticationError,
88
92
  404: ResourceNotFoundError,
89
93
  409: ResourceExistsError,
@@ -99,21 +103,20 @@ class BlobContainersOperations:
99
103
  )
100
104
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
101
105
 
102
- request = build_list_request(
106
+ _request = build_list_request(
103
107
  resource_group_name=resource_group_name,
104
108
  account_name=account_name,
105
109
  subscription_id=self._config.subscription_id,
106
110
  api_version=api_version,
107
- template_url=self.list.metadata["url"],
108
111
  headers=_headers,
109
112
  params=_params,
110
113
  )
111
- request = _convert_request(request)
112
- request.url = self._client.format_url(request.url)
114
+ _request = _convert_request(_request)
115
+ _request.url = self._client.format_url(_request.url)
113
116
 
114
117
  _stream = False
115
118
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
116
- request, stream=_stream, **kwargs
119
+ _request, stream=_stream, **kwargs
117
120
  )
118
121
 
119
122
  response = pipeline_response.http_response
@@ -125,13 +128,9 @@ class BlobContainersOperations:
125
128
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
126
129
 
127
130
  if cls:
128
- return cls(pipeline_response, deserialized, {})
131
+ return cls(pipeline_response, deserialized, {}) # type: ignore
129
132
 
130
- return deserialized
131
-
132
- list.metadata = {
133
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
134
- }
133
+ return deserialized # type: ignore
135
134
 
136
135
  @overload
137
136
  async def create(
@@ -165,7 +164,6 @@ class BlobContainersOperations:
165
164
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
166
165
  Default value is "application/json".
167
166
  :paramtype content_type: str
168
- :keyword callable cls: A custom type or function that will be passed the direct response
169
167
  :return: BlobContainer or the result of cls(response)
170
168
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
171
169
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -177,7 +175,7 @@ class BlobContainersOperations:
177
175
  resource_group_name: str,
178
176
  account_name: str,
179
177
  container_name: str,
180
- blob_container: IO,
178
+ blob_container: IO[bytes],
181
179
  *,
182
180
  content_type: str = "application/json",
183
181
  **kwargs: Any
@@ -199,11 +197,10 @@ class BlobContainersOperations:
199
197
  by a letter or number. Required.
200
198
  :type container_name: str
201
199
  :param blob_container: Properties of the blob container to create. Required.
202
- :type blob_container: IO
200
+ :type blob_container: IO[bytes]
203
201
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
204
202
  Default value is "application/json".
205
203
  :paramtype content_type: str
206
- :keyword callable cls: A custom type or function that will be passed the direct response
207
204
  :return: BlobContainer or the result of cls(response)
208
205
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
209
206
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -215,7 +212,7 @@ class BlobContainersOperations:
215
212
  resource_group_name: str,
216
213
  account_name: str,
217
214
  container_name: str,
218
- blob_container: Union[_models.BlobContainer, IO],
215
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
219
216
  **kwargs: Any
220
217
  ) -> _models.BlobContainer:
221
218
  """Creates a new container under the specified account as described by request body. The container
@@ -235,17 +232,13 @@ class BlobContainersOperations:
235
232
  by a letter or number. Required.
236
233
  :type container_name: str
237
234
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
238
- type or a IO type. Required.
239
- :type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO
240
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
241
- Default value is None.
242
- :paramtype content_type: str
243
- :keyword callable cls: A custom type or function that will be passed the direct response
235
+ type or a IO[bytes] type. Required.
236
+ :type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO[bytes]
244
237
  :return: BlobContainer or the result of cls(response)
245
238
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
246
239
  :raises ~azure.core.exceptions.HttpResponseError:
247
240
  """
248
- error_map = {
241
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
249
242
  401: ClientAuthenticationError,
250
243
  404: ResourceNotFoundError,
251
244
  409: ResourceExistsError,
@@ -270,7 +263,7 @@ class BlobContainersOperations:
270
263
  else:
271
264
  _json = self._serialize.body(blob_container, "BlobContainer")
272
265
 
273
- request = build_create_request(
266
+ _request = build_create_request(
274
267
  resource_group_name=resource_group_name,
275
268
  account_name=account_name,
276
269
  container_name=container_name,
@@ -279,16 +272,15 @@ class BlobContainersOperations:
279
272
  content_type=content_type,
280
273
  json=_json,
281
274
  content=_content,
282
- template_url=self.create.metadata["url"],
283
275
  headers=_headers,
284
276
  params=_params,
285
277
  )
286
- request = _convert_request(request)
287
- request.url = self._client.format_url(request.url)
278
+ _request = _convert_request(_request)
279
+ _request.url = self._client.format_url(_request.url)
288
280
 
289
281
  _stream = False
290
282
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
291
- request, stream=_stream, **kwargs
283
+ _request, stream=_stream, **kwargs
292
284
  )
293
285
 
294
286
  response = pipeline_response.http_response
@@ -300,13 +292,9 @@ class BlobContainersOperations:
300
292
  deserialized = self._deserialize("BlobContainer", pipeline_response)
301
293
 
302
294
  if cls:
303
- return cls(pipeline_response, deserialized, {})
304
-
305
- return deserialized
295
+ return cls(pipeline_response, deserialized, {}) # type: ignore
306
296
 
307
- create.metadata = {
308
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
309
- }
297
+ return deserialized # type: ignore
310
298
 
311
299
  @overload
312
300
  async def update(
@@ -339,7 +327,6 @@ class BlobContainersOperations:
339
327
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
340
328
  Default value is "application/json".
341
329
  :paramtype content_type: str
342
- :keyword callable cls: A custom type or function that will be passed the direct response
343
330
  :return: BlobContainer or the result of cls(response)
344
331
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
345
332
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -351,7 +338,7 @@ class BlobContainersOperations:
351
338
  resource_group_name: str,
352
339
  account_name: str,
353
340
  container_name: str,
354
- blob_container: IO,
341
+ blob_container: IO[bytes],
355
342
  *,
356
343
  content_type: str = "application/json",
357
344
  **kwargs: Any
@@ -372,11 +359,10 @@ class BlobContainersOperations:
372
359
  by a letter or number. Required.
373
360
  :type container_name: str
374
361
  :param blob_container: Properties to update for the blob container. Required.
375
- :type blob_container: IO
362
+ :type blob_container: IO[bytes]
376
363
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
377
364
  Default value is "application/json".
378
365
  :paramtype content_type: str
379
- :keyword callable cls: A custom type or function that will be passed the direct response
380
366
  :return: BlobContainer or the result of cls(response)
381
367
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
382
368
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -388,7 +374,7 @@ class BlobContainersOperations:
388
374
  resource_group_name: str,
389
375
  account_name: str,
390
376
  container_name: str,
391
- blob_container: Union[_models.BlobContainer, IO],
377
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
392
378
  **kwargs: Any
393
379
  ) -> _models.BlobContainer:
394
380
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -407,17 +393,13 @@ class BlobContainersOperations:
407
393
  by a letter or number. Required.
408
394
  :type container_name: str
409
395
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
410
- type or a IO type. Required.
411
- :type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO
412
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
413
- Default value is None.
414
- :paramtype content_type: str
415
- :keyword callable cls: A custom type or function that will be passed the direct response
396
+ type or a IO[bytes] type. Required.
397
+ :type blob_container: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer or IO[bytes]
416
398
  :return: BlobContainer or the result of cls(response)
417
399
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
418
400
  :raises ~azure.core.exceptions.HttpResponseError:
419
401
  """
420
- error_map = {
402
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
421
403
  401: ClientAuthenticationError,
422
404
  404: ResourceNotFoundError,
423
405
  409: ResourceExistsError,
@@ -442,7 +424,7 @@ class BlobContainersOperations:
442
424
  else:
443
425
  _json = self._serialize.body(blob_container, "BlobContainer")
444
426
 
445
- request = build_update_request(
427
+ _request = build_update_request(
446
428
  resource_group_name=resource_group_name,
447
429
  account_name=account_name,
448
430
  container_name=container_name,
@@ -451,16 +433,15 @@ class BlobContainersOperations:
451
433
  content_type=content_type,
452
434
  json=_json,
453
435
  content=_content,
454
- template_url=self.update.metadata["url"],
455
436
  headers=_headers,
456
437
  params=_params,
457
438
  )
458
- request = _convert_request(request)
459
- request.url = self._client.format_url(request.url)
439
+ _request = _convert_request(_request)
440
+ _request.url = self._client.format_url(_request.url)
460
441
 
461
442
  _stream = False
462
443
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
463
- request, stream=_stream, **kwargs
444
+ _request, stream=_stream, **kwargs
464
445
  )
465
446
 
466
447
  response = pipeline_response.http_response
@@ -472,13 +453,9 @@ class BlobContainersOperations:
472
453
  deserialized = self._deserialize("BlobContainer", pipeline_response)
473
454
 
474
455
  if cls:
475
- return cls(pipeline_response, deserialized, {})
476
-
477
- return deserialized
456
+ return cls(pipeline_response, deserialized, {}) # type: ignore
478
457
 
479
- update.metadata = {
480
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
481
- }
458
+ return deserialized # type: ignore
482
459
 
483
460
  @distributed_trace_async
484
461
  async def get(
@@ -498,12 +475,11 @@ class BlobContainersOperations:
498
475
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
499
476
  by a letter or number. Required.
500
477
  :type container_name: str
501
- :keyword callable cls: A custom type or function that will be passed the direct response
502
478
  :return: BlobContainer or the result of cls(response)
503
479
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.BlobContainer
504
480
  :raises ~azure.core.exceptions.HttpResponseError:
505
481
  """
506
- error_map = {
482
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
507
483
  401: ClientAuthenticationError,
508
484
  404: ResourceNotFoundError,
509
485
  409: ResourceExistsError,
@@ -519,22 +495,21 @@ class BlobContainersOperations:
519
495
  )
520
496
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
521
497
 
522
- request = build_get_request(
498
+ _request = build_get_request(
523
499
  resource_group_name=resource_group_name,
524
500
  account_name=account_name,
525
501
  container_name=container_name,
526
502
  subscription_id=self._config.subscription_id,
527
503
  api_version=api_version,
528
- template_url=self.get.metadata["url"],
529
504
  headers=_headers,
530
505
  params=_params,
531
506
  )
532
- request = _convert_request(request)
533
- request.url = self._client.format_url(request.url)
507
+ _request = _convert_request(_request)
508
+ _request.url = self._client.format_url(_request.url)
534
509
 
535
510
  _stream = False
536
511
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
537
- request, stream=_stream, **kwargs
512
+ _request, stream=_stream, **kwargs
538
513
  )
539
514
 
540
515
  response = pipeline_response.http_response
@@ -546,13 +521,9 @@ class BlobContainersOperations:
546
521
  deserialized = self._deserialize("BlobContainer", pipeline_response)
547
522
 
548
523
  if cls:
549
- return cls(pipeline_response, deserialized, {})
524
+ return cls(pipeline_response, deserialized, {}) # type: ignore
550
525
 
551
- return deserialized
552
-
553
- get.metadata = {
554
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
555
- }
526
+ return deserialized # type: ignore
556
527
 
557
528
  @distributed_trace_async
558
529
  async def delete( # pylint: disable=inconsistent-return-statements
@@ -572,12 +543,11 @@ class BlobContainersOperations:
572
543
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
573
544
  by a letter or number. Required.
574
545
  :type container_name: str
575
- :keyword callable cls: A custom type or function that will be passed the direct response
576
546
  :return: None or the result of cls(response)
577
547
  :rtype: None
578
548
  :raises ~azure.core.exceptions.HttpResponseError:
579
549
  """
580
- error_map = {
550
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
581
551
  401: ClientAuthenticationError,
582
552
  404: ResourceNotFoundError,
583
553
  409: ResourceExistsError,
@@ -593,22 +563,21 @@ class BlobContainersOperations:
593
563
  )
594
564
  cls: ClsType[None] = kwargs.pop("cls", None)
595
565
 
596
- request = build_delete_request(
566
+ _request = build_delete_request(
597
567
  resource_group_name=resource_group_name,
598
568
  account_name=account_name,
599
569
  container_name=container_name,
600
570
  subscription_id=self._config.subscription_id,
601
571
  api_version=api_version,
602
- template_url=self.delete.metadata["url"],
603
572
  headers=_headers,
604
573
  params=_params,
605
574
  )
606
- request = _convert_request(request)
607
- request.url = self._client.format_url(request.url)
575
+ _request = _convert_request(_request)
576
+ _request.url = self._client.format_url(_request.url)
608
577
 
609
578
  _stream = False
610
579
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
611
- request, stream=_stream, **kwargs
580
+ _request, stream=_stream, **kwargs
612
581
  )
613
582
 
614
583
  response = pipeline_response.http_response
@@ -618,11 +587,7 @@ class BlobContainersOperations:
618
587
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
619
588
 
620
589
  if cls:
621
- return cls(pipeline_response, None, {})
622
-
623
- delete.metadata = {
624
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
625
- }
590
+ return cls(pipeline_response, None, {}) # type: ignore
626
591
 
627
592
  @overload
628
593
  async def set_legal_hold(
@@ -656,7 +621,6 @@ class BlobContainersOperations:
656
621
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
657
622
  Default value is "application/json".
658
623
  :paramtype content_type: str
659
- :keyword callable cls: A custom type or function that will be passed the direct response
660
624
  :return: LegalHold or the result of cls(response)
661
625
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
662
626
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -668,7 +632,7 @@ class BlobContainersOperations:
668
632
  resource_group_name: str,
669
633
  account_name: str,
670
634
  container_name: str,
671
- legal_hold: IO,
635
+ legal_hold: IO[bytes],
672
636
  *,
673
637
  content_type: str = "application/json",
674
638
  **kwargs: Any
@@ -690,11 +654,10 @@ class BlobContainersOperations:
690
654
  by a letter or number. Required.
691
655
  :type container_name: str
692
656
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
693
- :type legal_hold: IO
657
+ :type legal_hold: IO[bytes]
694
658
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
695
659
  Default value is "application/json".
696
660
  :paramtype content_type: str
697
- :keyword callable cls: A custom type or function that will be passed the direct response
698
661
  :return: LegalHold or the result of cls(response)
699
662
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
700
663
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -706,7 +669,7 @@ class BlobContainersOperations:
706
669
  resource_group_name: str,
707
670
  account_name: str,
708
671
  container_name: str,
709
- legal_hold: Union[_models.LegalHold, IO],
672
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
710
673
  **kwargs: Any
711
674
  ) -> _models.LegalHold:
712
675
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -726,17 +689,13 @@ class BlobContainersOperations:
726
689
  by a letter or number. Required.
727
690
  :type container_name: str
728
691
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
729
- LegalHold type or a IO type. Required.
730
- :type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO
731
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
732
- Default value is None.
733
- :paramtype content_type: str
734
- :keyword callable cls: A custom type or function that will be passed the direct response
692
+ LegalHold type or a IO[bytes] type. Required.
693
+ :type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO[bytes]
735
694
  :return: LegalHold or the result of cls(response)
736
695
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
737
696
  :raises ~azure.core.exceptions.HttpResponseError:
738
697
  """
739
- error_map = {
698
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
740
699
  401: ClientAuthenticationError,
741
700
  404: ResourceNotFoundError,
742
701
  409: ResourceExistsError,
@@ -761,7 +720,7 @@ class BlobContainersOperations:
761
720
  else:
762
721
  _json = self._serialize.body(legal_hold, "LegalHold")
763
722
 
764
- request = build_set_legal_hold_request(
723
+ _request = build_set_legal_hold_request(
765
724
  resource_group_name=resource_group_name,
766
725
  account_name=account_name,
767
726
  container_name=container_name,
@@ -770,16 +729,15 @@ class BlobContainersOperations:
770
729
  content_type=content_type,
771
730
  json=_json,
772
731
  content=_content,
773
- template_url=self.set_legal_hold.metadata["url"],
774
732
  headers=_headers,
775
733
  params=_params,
776
734
  )
777
- request = _convert_request(request)
778
- request.url = self._client.format_url(request.url)
735
+ _request = _convert_request(_request)
736
+ _request.url = self._client.format_url(_request.url)
779
737
 
780
738
  _stream = False
781
739
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
782
- request, stream=_stream, **kwargs
740
+ _request, stream=_stream, **kwargs
783
741
  )
784
742
 
785
743
  response = pipeline_response.http_response
@@ -791,13 +749,9 @@ class BlobContainersOperations:
791
749
  deserialized = self._deserialize("LegalHold", pipeline_response)
792
750
 
793
751
  if cls:
794
- return cls(pipeline_response, deserialized, {})
752
+ return cls(pipeline_response, deserialized, {}) # type: ignore
795
753
 
796
- return deserialized
797
-
798
- set_legal_hold.metadata = {
799
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
800
- }
754
+ return deserialized # type: ignore
801
755
 
802
756
  @overload
803
757
  async def clear_legal_hold(
@@ -830,7 +784,6 @@ class BlobContainersOperations:
830
784
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
831
785
  Default value is "application/json".
832
786
  :paramtype content_type: str
833
- :keyword callable cls: A custom type or function that will be passed the direct response
834
787
  :return: LegalHold or the result of cls(response)
835
788
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
836
789
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -842,7 +795,7 @@ class BlobContainersOperations:
842
795
  resource_group_name: str,
843
796
  account_name: str,
844
797
  container_name: str,
845
- legal_hold: IO,
798
+ legal_hold: IO[bytes],
846
799
  *,
847
800
  content_type: str = "application/json",
848
801
  **kwargs: Any
@@ -863,11 +816,10 @@ class BlobContainersOperations:
863
816
  by a letter or number. Required.
864
817
  :type container_name: str
865
818
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
866
- :type legal_hold: IO
819
+ :type legal_hold: IO[bytes]
867
820
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
868
821
  Default value is "application/json".
869
822
  :paramtype content_type: str
870
- :keyword callable cls: A custom type or function that will be passed the direct response
871
823
  :return: LegalHold or the result of cls(response)
872
824
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
873
825
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -879,7 +831,7 @@ class BlobContainersOperations:
879
831
  resource_group_name: str,
880
832
  account_name: str,
881
833
  container_name: str,
882
- legal_hold: Union[_models.LegalHold, IO],
834
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
883
835
  **kwargs: Any
884
836
  ) -> _models.LegalHold:
885
837
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -898,17 +850,13 @@ class BlobContainersOperations:
898
850
  by a letter or number. Required.
899
851
  :type container_name: str
900
852
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
901
- LegalHold type or a IO type. Required.
902
- :type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO
903
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
904
- Default value is None.
905
- :paramtype content_type: str
906
- :keyword callable cls: A custom type or function that will be passed the direct response
853
+ LegalHold type or a IO[bytes] type. Required.
854
+ :type legal_hold: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold or IO[bytes]
907
855
  :return: LegalHold or the result of cls(response)
908
856
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LegalHold
909
857
  :raises ~azure.core.exceptions.HttpResponseError:
910
858
  """
911
- error_map = {
859
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
912
860
  401: ClientAuthenticationError,
913
861
  404: ResourceNotFoundError,
914
862
  409: ResourceExistsError,
@@ -933,7 +881,7 @@ class BlobContainersOperations:
933
881
  else:
934
882
  _json = self._serialize.body(legal_hold, "LegalHold")
935
883
 
936
- request = build_clear_legal_hold_request(
884
+ _request = build_clear_legal_hold_request(
937
885
  resource_group_name=resource_group_name,
938
886
  account_name=account_name,
939
887
  container_name=container_name,
@@ -942,16 +890,15 @@ class BlobContainersOperations:
942
890
  content_type=content_type,
943
891
  json=_json,
944
892
  content=_content,
945
- template_url=self.clear_legal_hold.metadata["url"],
946
893
  headers=_headers,
947
894
  params=_params,
948
895
  )
949
- request = _convert_request(request)
950
- request.url = self._client.format_url(request.url)
896
+ _request = _convert_request(_request)
897
+ _request.url = self._client.format_url(_request.url)
951
898
 
952
899
  _stream = False
953
900
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
954
- request, stream=_stream, **kwargs
901
+ _request, stream=_stream, **kwargs
955
902
  )
956
903
 
957
904
  response = pipeline_response.http_response
@@ -963,13 +910,9 @@ class BlobContainersOperations:
963
910
  deserialized = self._deserialize("LegalHold", pipeline_response)
964
911
 
965
912
  if cls:
966
- return cls(pipeline_response, deserialized, {})
913
+ return cls(pipeline_response, deserialized, {}) # type: ignore
967
914
 
968
- return deserialized
969
-
970
- clear_legal_hold.metadata = {
971
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
972
- }
915
+ return deserialized # type: ignore
973
916
 
974
917
  @overload
975
918
  async def create_or_update_immutability_policy(
@@ -1012,7 +955,6 @@ class BlobContainersOperations:
1012
955
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1013
956
  Default value is "application/json".
1014
957
  :paramtype content_type: str
1015
- :keyword callable cls: A custom type or function that will be passed the direct response
1016
958
  :return: ImmutabilityPolicy or the result of cls(response)
1017
959
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1018
960
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1026,7 +968,7 @@ class BlobContainersOperations:
1026
968
  container_name: str,
1027
969
  immutability_policy_name: Union[str, _models.Enum13],
1028
970
  if_match: Optional[str] = None,
1029
- parameters: Optional[IO] = None,
971
+ parameters: Optional[IO[bytes]] = None,
1030
972
  *,
1031
973
  content_type: str = "application/json",
1032
974
  **kwargs: Any
@@ -1055,11 +997,10 @@ class BlobContainersOperations:
1055
997
  :type if_match: str
1056
998
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1057
999
  container. Default value is None.
1058
- :type parameters: IO
1000
+ :type parameters: IO[bytes]
1059
1001
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1060
1002
  Default value is "application/json".
1061
1003
  :paramtype content_type: str
1062
- :keyword callable cls: A custom type or function that will be passed the direct response
1063
1004
  :return: ImmutabilityPolicy or the result of cls(response)
1064
1005
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1065
1006
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1073,7 +1014,7 @@ class BlobContainersOperations:
1073
1014
  container_name: str,
1074
1015
  immutability_policy_name: Union[str, _models.Enum13],
1075
1016
  if_match: Optional[str] = None,
1076
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1017
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1077
1018
  **kwargs: Any
1078
1019
  ) -> _models.ImmutabilityPolicy:
1079
1020
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1099,17 +1040,14 @@ class BlobContainersOperations:
1099
1040
  omitted, this operation will always be applied. Default value is None.
1100
1041
  :type if_match: str
1101
1042
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1102
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1103
- :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or IO
1104
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1105
- Default value is None.
1106
- :paramtype content_type: str
1107
- :keyword callable cls: A custom type or function that will be passed the direct response
1043
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1044
+ :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
1045
+ IO[bytes]
1108
1046
  :return: ImmutabilityPolicy or the result of cls(response)
1109
1047
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1110
1048
  :raises ~azure.core.exceptions.HttpResponseError:
1111
1049
  """
1112
- error_map = {
1050
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1113
1051
  401: ClientAuthenticationError,
1114
1052
  404: ResourceNotFoundError,
1115
1053
  409: ResourceExistsError,
@@ -1137,7 +1075,7 @@ class BlobContainersOperations:
1137
1075
  else:
1138
1076
  _json = None
1139
1077
 
1140
- request = build_create_or_update_immutability_policy_request(
1078
+ _request = build_create_or_update_immutability_policy_request(
1141
1079
  resource_group_name=resource_group_name,
1142
1080
  account_name=account_name,
1143
1081
  container_name=container_name,
@@ -1148,16 +1086,15 @@ class BlobContainersOperations:
1148
1086
  content_type=content_type,
1149
1087
  json=_json,
1150
1088
  content=_content,
1151
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1152
1089
  headers=_headers,
1153
1090
  params=_params,
1154
1091
  )
1155
- request = _convert_request(request)
1156
- request.url = self._client.format_url(request.url)
1092
+ _request = _convert_request(_request)
1093
+ _request.url = self._client.format_url(_request.url)
1157
1094
 
1158
1095
  _stream = False
1159
1096
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1160
- request, stream=_stream, **kwargs
1097
+ _request, stream=_stream, **kwargs
1161
1098
  )
1162
1099
 
1163
1100
  response = pipeline_response.http_response
@@ -1172,13 +1109,9 @@ class BlobContainersOperations:
1172
1109
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1173
1110
 
1174
1111
  if cls:
1175
- return cls(pipeline_response, deserialized, response_headers)
1176
-
1177
- return deserialized
1112
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1178
1113
 
1179
- create_or_update_immutability_policy.metadata = {
1180
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1181
- }
1114
+ return deserialized # type: ignore
1182
1115
 
1183
1116
  @distributed_trace_async
1184
1117
  async def get_immutability_policy(
@@ -1212,12 +1145,11 @@ class BlobContainersOperations:
1212
1145
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1213
1146
  omitted, this operation will always be applied. Default value is None.
1214
1147
  :type if_match: str
1215
- :keyword callable cls: A custom type or function that will be passed the direct response
1216
1148
  :return: ImmutabilityPolicy or the result of cls(response)
1217
1149
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1218
1150
  :raises ~azure.core.exceptions.HttpResponseError:
1219
1151
  """
1220
- error_map = {
1152
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1221
1153
  401: ClientAuthenticationError,
1222
1154
  404: ResourceNotFoundError,
1223
1155
  409: ResourceExistsError,
@@ -1233,7 +1165,7 @@ class BlobContainersOperations:
1233
1165
  )
1234
1166
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1235
1167
 
1236
- request = build_get_immutability_policy_request(
1168
+ _request = build_get_immutability_policy_request(
1237
1169
  resource_group_name=resource_group_name,
1238
1170
  account_name=account_name,
1239
1171
  container_name=container_name,
@@ -1241,16 +1173,15 @@ class BlobContainersOperations:
1241
1173
  subscription_id=self._config.subscription_id,
1242
1174
  if_match=if_match,
1243
1175
  api_version=api_version,
1244
- template_url=self.get_immutability_policy.metadata["url"],
1245
1176
  headers=_headers,
1246
1177
  params=_params,
1247
1178
  )
1248
- request = _convert_request(request)
1249
- request.url = self._client.format_url(request.url)
1179
+ _request = _convert_request(_request)
1180
+ _request.url = self._client.format_url(_request.url)
1250
1181
 
1251
1182
  _stream = False
1252
1183
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1253
- request, stream=_stream, **kwargs
1184
+ _request, stream=_stream, **kwargs
1254
1185
  )
1255
1186
 
1256
1187
  response = pipeline_response.http_response
@@ -1265,13 +1196,9 @@ class BlobContainersOperations:
1265
1196
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1266
1197
 
1267
1198
  if cls:
1268
- return cls(pipeline_response, deserialized, response_headers)
1199
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1269
1200
 
1270
- return deserialized
1271
-
1272
- get_immutability_policy.metadata = {
1273
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1274
- }
1201
+ return deserialized # type: ignore
1275
1202
 
1276
1203
  @distributed_trace_async
1277
1204
  async def delete_immutability_policy(
@@ -1307,12 +1234,11 @@ class BlobContainersOperations:
1307
1234
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1308
1235
  omitted, this operation will always be applied. Required.
1309
1236
  :type if_match: str
1310
- :keyword callable cls: A custom type or function that will be passed the direct response
1311
1237
  :return: ImmutabilityPolicy or the result of cls(response)
1312
1238
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1313
1239
  :raises ~azure.core.exceptions.HttpResponseError:
1314
1240
  """
1315
- error_map = {
1241
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1316
1242
  401: ClientAuthenticationError,
1317
1243
  404: ResourceNotFoundError,
1318
1244
  409: ResourceExistsError,
@@ -1328,7 +1254,7 @@ class BlobContainersOperations:
1328
1254
  )
1329
1255
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1330
1256
 
1331
- request = build_delete_immutability_policy_request(
1257
+ _request = build_delete_immutability_policy_request(
1332
1258
  resource_group_name=resource_group_name,
1333
1259
  account_name=account_name,
1334
1260
  container_name=container_name,
@@ -1336,16 +1262,15 @@ class BlobContainersOperations:
1336
1262
  subscription_id=self._config.subscription_id,
1337
1263
  if_match=if_match,
1338
1264
  api_version=api_version,
1339
- template_url=self.delete_immutability_policy.metadata["url"],
1340
1265
  headers=_headers,
1341
1266
  params=_params,
1342
1267
  )
1343
- request = _convert_request(request)
1344
- request.url = self._client.format_url(request.url)
1268
+ _request = _convert_request(_request)
1269
+ _request.url = self._client.format_url(_request.url)
1345
1270
 
1346
1271
  _stream = False
1347
1272
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1348
- request, stream=_stream, **kwargs
1273
+ _request, stream=_stream, **kwargs
1349
1274
  )
1350
1275
 
1351
1276
  response = pipeline_response.http_response
@@ -1360,13 +1285,9 @@ class BlobContainersOperations:
1360
1285
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1361
1286
 
1362
1287
  if cls:
1363
- return cls(pipeline_response, deserialized, response_headers)
1364
-
1365
- return deserialized
1288
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1366
1289
 
1367
- delete_immutability_policy.metadata = {
1368
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1369
- }
1290
+ return deserialized # type: ignore
1370
1291
 
1371
1292
  @distributed_trace_async
1372
1293
  async def lock_immutability_policy(
@@ -1391,12 +1312,11 @@ class BlobContainersOperations:
1391
1312
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1392
1313
  omitted, this operation will always be applied. Required.
1393
1314
  :type if_match: str
1394
- :keyword callable cls: A custom type or function that will be passed the direct response
1395
1315
  :return: ImmutabilityPolicy or the result of cls(response)
1396
1316
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1397
1317
  :raises ~azure.core.exceptions.HttpResponseError:
1398
1318
  """
1399
- error_map = {
1319
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1400
1320
  401: ClientAuthenticationError,
1401
1321
  404: ResourceNotFoundError,
1402
1322
  409: ResourceExistsError,
@@ -1412,23 +1332,22 @@ class BlobContainersOperations:
1412
1332
  )
1413
1333
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1414
1334
 
1415
- request = build_lock_immutability_policy_request(
1335
+ _request = build_lock_immutability_policy_request(
1416
1336
  resource_group_name=resource_group_name,
1417
1337
  account_name=account_name,
1418
1338
  container_name=container_name,
1419
1339
  subscription_id=self._config.subscription_id,
1420
1340
  if_match=if_match,
1421
1341
  api_version=api_version,
1422
- template_url=self.lock_immutability_policy.metadata["url"],
1423
1342
  headers=_headers,
1424
1343
  params=_params,
1425
1344
  )
1426
- request = _convert_request(request)
1427
- request.url = self._client.format_url(request.url)
1345
+ _request = _convert_request(_request)
1346
+ _request.url = self._client.format_url(_request.url)
1428
1347
 
1429
1348
  _stream = False
1430
1349
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1431
- request, stream=_stream, **kwargs
1350
+ _request, stream=_stream, **kwargs
1432
1351
  )
1433
1352
 
1434
1353
  response = pipeline_response.http_response
@@ -1443,13 +1362,9 @@ class BlobContainersOperations:
1443
1362
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1444
1363
 
1445
1364
  if cls:
1446
- return cls(pipeline_response, deserialized, response_headers)
1365
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1447
1366
 
1448
- return deserialized
1449
-
1450
- lock_immutability_policy.metadata = {
1451
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1452
- }
1367
+ return deserialized # type: ignore
1453
1368
 
1454
1369
  @overload
1455
1370
  async def extend_immutability_policy(
@@ -1489,7 +1404,6 @@ class BlobContainersOperations:
1489
1404
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1490
1405
  Default value is "application/json".
1491
1406
  :paramtype content_type: str
1492
- :keyword callable cls: A custom type or function that will be passed the direct response
1493
1407
  :return: ImmutabilityPolicy or the result of cls(response)
1494
1408
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1495
1409
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1502,7 +1416,7 @@ class BlobContainersOperations:
1502
1416
  account_name: str,
1503
1417
  container_name: str,
1504
1418
  if_match: str,
1505
- parameters: Optional[IO] = None,
1419
+ parameters: Optional[IO[bytes]] = None,
1506
1420
  *,
1507
1421
  content_type: str = "application/json",
1508
1422
  **kwargs: Any
@@ -1529,11 +1443,10 @@ class BlobContainersOperations:
1529
1443
  :type if_match: str
1530
1444
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1531
1445
  container. Default value is None.
1532
- :type parameters: IO
1446
+ :type parameters: IO[bytes]
1533
1447
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1534
1448
  Default value is "application/json".
1535
1449
  :paramtype content_type: str
1536
- :keyword callable cls: A custom type or function that will be passed the direct response
1537
1450
  :return: ImmutabilityPolicy or the result of cls(response)
1538
1451
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1539
1452
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1546,7 +1459,7 @@ class BlobContainersOperations:
1546
1459
  account_name: str,
1547
1460
  container_name: str,
1548
1461
  if_match: str,
1549
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1462
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1550
1463
  **kwargs: Any
1551
1464
  ) -> _models.ImmutabilityPolicy:
1552
1465
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -1570,17 +1483,14 @@ class BlobContainersOperations:
1570
1483
  omitted, this operation will always be applied. Required.
1571
1484
  :type if_match: str
1572
1485
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1573
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1574
- :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or IO
1575
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1576
- Default value is None.
1577
- :paramtype content_type: str
1578
- :keyword callable cls: A custom type or function that will be passed the direct response
1486
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1487
+ :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy or
1488
+ IO[bytes]
1579
1489
  :return: ImmutabilityPolicy or the result of cls(response)
1580
1490
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.ImmutabilityPolicy
1581
1491
  :raises ~azure.core.exceptions.HttpResponseError:
1582
1492
  """
1583
- error_map = {
1493
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1584
1494
  401: ClientAuthenticationError,
1585
1495
  404: ResourceNotFoundError,
1586
1496
  409: ResourceExistsError,
@@ -1608,7 +1518,7 @@ class BlobContainersOperations:
1608
1518
  else:
1609
1519
  _json = None
1610
1520
 
1611
- request = build_extend_immutability_policy_request(
1521
+ _request = build_extend_immutability_policy_request(
1612
1522
  resource_group_name=resource_group_name,
1613
1523
  account_name=account_name,
1614
1524
  container_name=container_name,
@@ -1618,16 +1528,15 @@ class BlobContainersOperations:
1618
1528
  content_type=content_type,
1619
1529
  json=_json,
1620
1530
  content=_content,
1621
- template_url=self.extend_immutability_policy.metadata["url"],
1622
1531
  headers=_headers,
1623
1532
  params=_params,
1624
1533
  )
1625
- request = _convert_request(request)
1626
- request.url = self._client.format_url(request.url)
1534
+ _request = _convert_request(_request)
1535
+ _request.url = self._client.format_url(_request.url)
1627
1536
 
1628
1537
  _stream = False
1629
1538
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1630
- request, stream=_stream, **kwargs
1539
+ _request, stream=_stream, **kwargs
1631
1540
  )
1632
1541
 
1633
1542
  response = pipeline_response.http_response
@@ -1642,13 +1551,9 @@ class BlobContainersOperations:
1642
1551
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1643
1552
 
1644
1553
  if cls:
1645
- return cls(pipeline_response, deserialized, response_headers)
1646
-
1647
- return deserialized
1554
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1648
1555
 
1649
- extend_immutability_policy.metadata = {
1650
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
1651
- }
1556
+ return deserialized # type: ignore
1652
1557
 
1653
1558
  @overload
1654
1559
  async def lease(
@@ -1681,7 +1586,6 @@ class BlobContainersOperations:
1681
1586
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1682
1587
  Default value is "application/json".
1683
1588
  :paramtype content_type: str
1684
- :keyword callable cls: A custom type or function that will be passed the direct response
1685
1589
  :return: LeaseContainerResponse or the result of cls(response)
1686
1590
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
1687
1591
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1693,7 +1597,7 @@ class BlobContainersOperations:
1693
1597
  resource_group_name: str,
1694
1598
  account_name: str,
1695
1599
  container_name: str,
1696
- parameters: Optional[IO] = None,
1600
+ parameters: Optional[IO[bytes]] = None,
1697
1601
  *,
1698
1602
  content_type: str = "application/json",
1699
1603
  **kwargs: Any
@@ -1714,11 +1618,10 @@ class BlobContainersOperations:
1714
1618
  by a letter or number. Required.
1715
1619
  :type container_name: str
1716
1620
  :param parameters: Lease Container request body. Default value is None.
1717
- :type parameters: IO
1621
+ :type parameters: IO[bytes]
1718
1622
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1719
1623
  Default value is "application/json".
1720
1624
  :paramtype content_type: str
1721
- :keyword callable cls: A custom type or function that will be passed the direct response
1722
1625
  :return: LeaseContainerResponse or the result of cls(response)
1723
1626
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
1724
1627
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1730,7 +1633,7 @@ class BlobContainersOperations:
1730
1633
  resource_group_name: str,
1731
1634
  account_name: str,
1732
1635
  container_name: str,
1733
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
1636
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
1734
1637
  **kwargs: Any
1735
1638
  ) -> _models.LeaseContainerResponse:
1736
1639
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -1748,18 +1651,15 @@ class BlobContainersOperations:
1748
1651
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1749
1652
  by a letter or number. Required.
1750
1653
  :type container_name: str
1751
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
1752
- type. Default value is None.
1753
- :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerRequest or IO
1754
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1755
- Default value is None.
1756
- :paramtype content_type: str
1757
- :keyword callable cls: A custom type or function that will be passed the direct response
1654
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
1655
+ IO[bytes] type. Default value is None.
1656
+ :type parameters: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerRequest or
1657
+ IO[bytes]
1758
1658
  :return: LeaseContainerResponse or the result of cls(response)
1759
1659
  :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.LeaseContainerResponse
1760
1660
  :raises ~azure.core.exceptions.HttpResponseError:
1761
1661
  """
1762
- error_map = {
1662
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1763
1663
  401: ClientAuthenticationError,
1764
1664
  404: ResourceNotFoundError,
1765
1665
  409: ResourceExistsError,
@@ -1787,7 +1687,7 @@ class BlobContainersOperations:
1787
1687
  else:
1788
1688
  _json = None
1789
1689
 
1790
- request = build_lease_request(
1690
+ _request = build_lease_request(
1791
1691
  resource_group_name=resource_group_name,
1792
1692
  account_name=account_name,
1793
1693
  container_name=container_name,
@@ -1796,16 +1696,15 @@ class BlobContainersOperations:
1796
1696
  content_type=content_type,
1797
1697
  json=_json,
1798
1698
  content=_content,
1799
- template_url=self.lease.metadata["url"],
1800
1699
  headers=_headers,
1801
1700
  params=_params,
1802
1701
  )
1803
- request = _convert_request(request)
1804
- request.url = self._client.format_url(request.url)
1702
+ _request = _convert_request(_request)
1703
+ _request.url = self._client.format_url(_request.url)
1805
1704
 
1806
1705
  _stream = False
1807
1706
  pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access
1808
- request, stream=_stream, **kwargs
1707
+ _request, stream=_stream, **kwargs
1809
1708
  )
1810
1709
 
1811
1710
  response = pipeline_response.http_response
@@ -1817,10 +1716,6 @@ class BlobContainersOperations:
1817
1716
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
1818
1717
 
1819
1718
  if cls:
1820
- return cls(pipeline_response, deserialized, {})
1821
-
1822
- return deserialized
1719
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1823
1720
 
1824
- lease.metadata = {
1825
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
1826
- }
1721
+ return deserialized # type: ignore