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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,7 +7,8 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
- from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload
10
+ import sys
11
+ from typing import Any, Callable, Dict, IO, Iterable, Optional, Type, TypeVar, Union, overload
11
12
  import urllib.parse
12
13
 
13
14
  from azure.core.exceptions import (
@@ -30,6 +31,10 @@ from .. import models as _models
30
31
  from ..._serialization import Serializer
31
32
  from .._vendor import _convert_request
32
33
 
34
+ if sys.version_info >= (3, 9):
35
+ from collections.abc import MutableMapping
36
+ else:
37
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
33
38
  T = TypeVar("T")
34
39
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
35
40
 
@@ -293,7 +298,7 @@ def build_clear_legal_hold_request(
293
298
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
294
299
 
295
300
 
296
- def build_create_or_update_immutability_policy_request(
301
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
297
302
  resource_group_name: str,
298
303
  account_name: str,
299
304
  container_name: str,
@@ -598,7 +603,6 @@ class BlobContainersOperations:
598
603
  :param include: Optional, used to include the properties for soft deleted blob containers.
599
604
  "deleted" Default value is None.
600
605
  :type include: str or ~azure.mgmt.storage.v2020_08_01_preview.models.ListContainersInclude
601
- :keyword callable cls: A custom type or function that will be passed the direct response
602
606
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
603
607
  :rtype:
604
608
  ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2020_08_01_preview.models.ListContainerItem]
@@ -612,7 +616,7 @@ class BlobContainersOperations:
612
616
  )
613
617
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
614
618
 
615
- error_map = {
619
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
616
620
  401: ClientAuthenticationError,
617
621
  404: ResourceNotFoundError,
618
622
  409: ResourceExistsError,
@@ -623,7 +627,7 @@ class BlobContainersOperations:
623
627
  def prepare_request(next_link=None):
624
628
  if not next_link:
625
629
 
626
- request = build_list_request(
630
+ _request = build_list_request(
627
631
  resource_group_name=resource_group_name,
628
632
  account_name=account_name,
629
633
  subscription_id=self._config.subscription_id,
@@ -631,12 +635,11 @@ class BlobContainersOperations:
631
635
  filter=filter,
632
636
  include=include,
633
637
  api_version=api_version,
634
- template_url=self.list.metadata["url"],
635
638
  headers=_headers,
636
639
  params=_params,
637
640
  )
638
- request = _convert_request(request)
639
- request.url = self._client.format_url(request.url)
641
+ _request = _convert_request(_request)
642
+ _request.url = self._client.format_url(_request.url)
640
643
 
641
644
  else:
642
645
  # make call to next link with the client's api-version
@@ -647,14 +650,14 @@ class BlobContainersOperations:
647
650
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
648
651
  }
649
652
  )
650
- _next_request_params["api-version"] = self._config.api_version
651
- request = HttpRequest(
653
+ _next_request_params["api-version"] = self._api_version
654
+ _request = HttpRequest(
652
655
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
653
656
  )
654
- request = _convert_request(request)
655
- request.url = self._client.format_url(request.url)
656
- request.method = "GET"
657
- return request
657
+ _request = _convert_request(_request)
658
+ _request.url = self._client.format_url(_request.url)
659
+ _request.method = "GET"
660
+ return _request
658
661
 
659
662
  def extract_data(pipeline_response):
660
663
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -664,11 +667,11 @@ class BlobContainersOperations:
664
667
  return deserialized.next_link or None, iter(list_of_elem)
665
668
 
666
669
  def get_next(next_link=None):
667
- request = prepare_request(next_link)
670
+ _request = prepare_request(next_link)
668
671
 
669
672
  _stream = False
670
673
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
671
- request, stream=_stream, **kwargs
674
+ _request, stream=_stream, **kwargs
672
675
  )
673
676
  response = pipeline_response.http_response
674
677
 
@@ -680,10 +683,6 @@ class BlobContainersOperations:
680
683
 
681
684
  return ItemPaged(get_next, extract_data)
682
685
 
683
- list.metadata = {
684
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
685
- }
686
-
687
686
  @overload
688
687
  def create(
689
688
  self,
@@ -716,7 +715,6 @@ class BlobContainersOperations:
716
715
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
717
716
  Default value is "application/json".
718
717
  :paramtype content_type: str
719
- :keyword callable cls: A custom type or function that will be passed the direct response
720
718
  :return: BlobContainer or the result of cls(response)
721
719
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
722
720
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -728,7 +726,7 @@ class BlobContainersOperations:
728
726
  resource_group_name: str,
729
727
  account_name: str,
730
728
  container_name: str,
731
- blob_container: IO,
729
+ blob_container: IO[bytes],
732
730
  *,
733
731
  content_type: str = "application/json",
734
732
  **kwargs: Any
@@ -750,11 +748,10 @@ class BlobContainersOperations:
750
748
  by a letter or number. Required.
751
749
  :type container_name: str
752
750
  :param blob_container: Properties of the blob container to create. Required.
753
- :type blob_container: IO
751
+ :type blob_container: IO[bytes]
754
752
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
755
753
  Default value is "application/json".
756
754
  :paramtype content_type: str
757
- :keyword callable cls: A custom type or function that will be passed the direct response
758
755
  :return: BlobContainer or the result of cls(response)
759
756
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
760
757
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -766,7 +763,7 @@ class BlobContainersOperations:
766
763
  resource_group_name: str,
767
764
  account_name: str,
768
765
  container_name: str,
769
- blob_container: Union[_models.BlobContainer, IO],
766
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
770
767
  **kwargs: Any
771
768
  ) -> _models.BlobContainer:
772
769
  """Creates a new container under the specified account as described by request body. The container
@@ -786,17 +783,13 @@ class BlobContainersOperations:
786
783
  by a letter or number. Required.
787
784
  :type container_name: str
788
785
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
789
- type or a IO type. Required.
790
- :type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
791
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
792
- Default value is None.
793
- :paramtype content_type: str
794
- :keyword callable cls: A custom type or function that will be passed the direct response
786
+ type or a IO[bytes] type. Required.
787
+ :type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
795
788
  :return: BlobContainer or the result of cls(response)
796
789
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
797
790
  :raises ~azure.core.exceptions.HttpResponseError:
798
791
  """
799
- error_map = {
792
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
800
793
  401: ClientAuthenticationError,
801
794
  404: ResourceNotFoundError,
802
795
  409: ResourceExistsError,
@@ -821,7 +814,7 @@ class BlobContainersOperations:
821
814
  else:
822
815
  _json = self._serialize.body(blob_container, "BlobContainer")
823
816
 
824
- request = build_create_request(
817
+ _request = build_create_request(
825
818
  resource_group_name=resource_group_name,
826
819
  account_name=account_name,
827
820
  container_name=container_name,
@@ -830,16 +823,15 @@ class BlobContainersOperations:
830
823
  content_type=content_type,
831
824
  json=_json,
832
825
  content=_content,
833
- template_url=self.create.metadata["url"],
834
826
  headers=_headers,
835
827
  params=_params,
836
828
  )
837
- request = _convert_request(request)
838
- request.url = self._client.format_url(request.url)
829
+ _request = _convert_request(_request)
830
+ _request.url = self._client.format_url(_request.url)
839
831
 
840
832
  _stream = False
841
833
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
842
- request, stream=_stream, **kwargs
834
+ _request, stream=_stream, **kwargs
843
835
  )
844
836
 
845
837
  response = pipeline_response.http_response
@@ -859,10 +851,6 @@ class BlobContainersOperations:
859
851
 
860
852
  return deserialized # type: ignore
861
853
 
862
- create.metadata = {
863
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
864
- }
865
-
866
854
  @overload
867
855
  def update(
868
856
  self,
@@ -894,7 +882,6 @@ class BlobContainersOperations:
894
882
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
895
883
  Default value is "application/json".
896
884
  :paramtype content_type: str
897
- :keyword callable cls: A custom type or function that will be passed the direct response
898
885
  :return: BlobContainer or the result of cls(response)
899
886
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
900
887
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -906,7 +893,7 @@ class BlobContainersOperations:
906
893
  resource_group_name: str,
907
894
  account_name: str,
908
895
  container_name: str,
909
- blob_container: IO,
896
+ blob_container: IO[bytes],
910
897
  *,
911
898
  content_type: str = "application/json",
912
899
  **kwargs: Any
@@ -927,11 +914,10 @@ class BlobContainersOperations:
927
914
  by a letter or number. Required.
928
915
  :type container_name: str
929
916
  :param blob_container: Properties to update for the blob container. Required.
930
- :type blob_container: IO
917
+ :type blob_container: IO[bytes]
931
918
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
932
919
  Default value is "application/json".
933
920
  :paramtype content_type: str
934
- :keyword callable cls: A custom type or function that will be passed the direct response
935
921
  :return: BlobContainer or the result of cls(response)
936
922
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
937
923
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -943,7 +929,7 @@ class BlobContainersOperations:
943
929
  resource_group_name: str,
944
930
  account_name: str,
945
931
  container_name: str,
946
- blob_container: Union[_models.BlobContainer, IO],
932
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
947
933
  **kwargs: Any
948
934
  ) -> _models.BlobContainer:
949
935
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -962,17 +948,13 @@ class BlobContainersOperations:
962
948
  by a letter or number. Required.
963
949
  :type container_name: str
964
950
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
965
- type or a IO type. Required.
966
- :type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO
967
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
968
- Default value is None.
969
- :paramtype content_type: str
970
- :keyword callable cls: A custom type or function that will be passed the direct response
951
+ type or a IO[bytes] type. Required.
952
+ :type blob_container: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer or IO[bytes]
971
953
  :return: BlobContainer or the result of cls(response)
972
954
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
973
955
  :raises ~azure.core.exceptions.HttpResponseError:
974
956
  """
975
- error_map = {
957
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
976
958
  401: ClientAuthenticationError,
977
959
  404: ResourceNotFoundError,
978
960
  409: ResourceExistsError,
@@ -997,7 +979,7 @@ class BlobContainersOperations:
997
979
  else:
998
980
  _json = self._serialize.body(blob_container, "BlobContainer")
999
981
 
1000
- request = build_update_request(
982
+ _request = build_update_request(
1001
983
  resource_group_name=resource_group_name,
1002
984
  account_name=account_name,
1003
985
  container_name=container_name,
@@ -1006,16 +988,15 @@ class BlobContainersOperations:
1006
988
  content_type=content_type,
1007
989
  json=_json,
1008
990
  content=_content,
1009
- template_url=self.update.metadata["url"],
1010
991
  headers=_headers,
1011
992
  params=_params,
1012
993
  )
1013
- request = _convert_request(request)
1014
- request.url = self._client.format_url(request.url)
994
+ _request = _convert_request(_request)
995
+ _request.url = self._client.format_url(_request.url)
1015
996
 
1016
997
  _stream = False
1017
998
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1018
- request, stream=_stream, **kwargs
999
+ _request, stream=_stream, **kwargs
1019
1000
  )
1020
1001
 
1021
1002
  response = pipeline_response.http_response
@@ -1027,13 +1008,9 @@ class BlobContainersOperations:
1027
1008
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1028
1009
 
1029
1010
  if cls:
1030
- return cls(pipeline_response, deserialized, {})
1031
-
1032
- return deserialized
1011
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1033
1012
 
1034
- update.metadata = {
1035
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1036
- }
1013
+ return deserialized # type: ignore
1037
1014
 
1038
1015
  @distributed_trace
1039
1016
  def get(
@@ -1053,12 +1030,11 @@ class BlobContainersOperations:
1053
1030
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1054
1031
  by a letter or number. Required.
1055
1032
  :type container_name: str
1056
- :keyword callable cls: A custom type or function that will be passed the direct response
1057
1033
  :return: BlobContainer or the result of cls(response)
1058
1034
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.BlobContainer
1059
1035
  :raises ~azure.core.exceptions.HttpResponseError:
1060
1036
  """
1061
- error_map = {
1037
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1062
1038
  401: ClientAuthenticationError,
1063
1039
  404: ResourceNotFoundError,
1064
1040
  409: ResourceExistsError,
@@ -1074,22 +1050,21 @@ class BlobContainersOperations:
1074
1050
  )
1075
1051
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1076
1052
 
1077
- request = build_get_request(
1053
+ _request = build_get_request(
1078
1054
  resource_group_name=resource_group_name,
1079
1055
  account_name=account_name,
1080
1056
  container_name=container_name,
1081
1057
  subscription_id=self._config.subscription_id,
1082
1058
  api_version=api_version,
1083
- template_url=self.get.metadata["url"],
1084
1059
  headers=_headers,
1085
1060
  params=_params,
1086
1061
  )
1087
- request = _convert_request(request)
1088
- request.url = self._client.format_url(request.url)
1062
+ _request = _convert_request(_request)
1063
+ _request.url = self._client.format_url(_request.url)
1089
1064
 
1090
1065
  _stream = False
1091
1066
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1092
- request, stream=_stream, **kwargs
1067
+ _request, stream=_stream, **kwargs
1093
1068
  )
1094
1069
 
1095
1070
  response = pipeline_response.http_response
@@ -1101,13 +1076,9 @@ class BlobContainersOperations:
1101
1076
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1102
1077
 
1103
1078
  if cls:
1104
- return cls(pipeline_response, deserialized, {})
1105
-
1106
- return deserialized
1079
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1107
1080
 
1108
- get.metadata = {
1109
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1110
- }
1081
+ return deserialized # type: ignore
1111
1082
 
1112
1083
  @distributed_trace
1113
1084
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1127,12 +1098,11 @@ class BlobContainersOperations:
1127
1098
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1128
1099
  by a letter or number. Required.
1129
1100
  :type container_name: str
1130
- :keyword callable cls: A custom type or function that will be passed the direct response
1131
1101
  :return: None or the result of cls(response)
1132
1102
  :rtype: None
1133
1103
  :raises ~azure.core.exceptions.HttpResponseError:
1134
1104
  """
1135
- error_map = {
1105
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1136
1106
  401: ClientAuthenticationError,
1137
1107
  404: ResourceNotFoundError,
1138
1108
  409: ResourceExistsError,
@@ -1148,22 +1118,21 @@ class BlobContainersOperations:
1148
1118
  )
1149
1119
  cls: ClsType[None] = kwargs.pop("cls", None)
1150
1120
 
1151
- request = build_delete_request(
1121
+ _request = build_delete_request(
1152
1122
  resource_group_name=resource_group_name,
1153
1123
  account_name=account_name,
1154
1124
  container_name=container_name,
1155
1125
  subscription_id=self._config.subscription_id,
1156
1126
  api_version=api_version,
1157
- template_url=self.delete.metadata["url"],
1158
1127
  headers=_headers,
1159
1128
  params=_params,
1160
1129
  )
1161
- request = _convert_request(request)
1162
- request.url = self._client.format_url(request.url)
1130
+ _request = _convert_request(_request)
1131
+ _request.url = self._client.format_url(_request.url)
1163
1132
 
1164
1133
  _stream = False
1165
1134
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1166
- request, stream=_stream, **kwargs
1135
+ _request, stream=_stream, **kwargs
1167
1136
  )
1168
1137
 
1169
1138
  response = pipeline_response.http_response
@@ -1173,11 +1142,7 @@ class BlobContainersOperations:
1173
1142
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1174
1143
 
1175
1144
  if cls:
1176
- return cls(pipeline_response, None, {})
1177
-
1178
- delete.metadata = {
1179
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1180
- }
1145
+ return cls(pipeline_response, None, {}) # type: ignore
1181
1146
 
1182
1147
  @overload
1183
1148
  def set_legal_hold(
@@ -1211,7 +1176,6 @@ class BlobContainersOperations:
1211
1176
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1212
1177
  Default value is "application/json".
1213
1178
  :paramtype content_type: str
1214
- :keyword callable cls: A custom type or function that will be passed the direct response
1215
1179
  :return: LegalHold or the result of cls(response)
1216
1180
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
1217
1181
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1223,7 +1187,7 @@ class BlobContainersOperations:
1223
1187
  resource_group_name: str,
1224
1188
  account_name: str,
1225
1189
  container_name: str,
1226
- legal_hold: IO,
1190
+ legal_hold: IO[bytes],
1227
1191
  *,
1228
1192
  content_type: str = "application/json",
1229
1193
  **kwargs: Any
@@ -1245,11 +1209,10 @@ class BlobContainersOperations:
1245
1209
  by a letter or number. Required.
1246
1210
  :type container_name: str
1247
1211
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1248
- :type legal_hold: IO
1212
+ :type legal_hold: IO[bytes]
1249
1213
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1250
1214
  Default value is "application/json".
1251
1215
  :paramtype content_type: str
1252
- :keyword callable cls: A custom type or function that will be passed the direct response
1253
1216
  :return: LegalHold or the result of cls(response)
1254
1217
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
1255
1218
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1261,7 +1224,7 @@ class BlobContainersOperations:
1261
1224
  resource_group_name: str,
1262
1225
  account_name: str,
1263
1226
  container_name: str,
1264
- legal_hold: Union[_models.LegalHold, IO],
1227
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1265
1228
  **kwargs: Any
1266
1229
  ) -> _models.LegalHold:
1267
1230
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1281,17 +1244,13 @@ class BlobContainersOperations:
1281
1244
  by a letter or number. Required.
1282
1245
  :type container_name: str
1283
1246
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1284
- LegalHold type or a IO type. Required.
1285
- :type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
1286
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1287
- Default value is None.
1288
- :paramtype content_type: str
1289
- :keyword callable cls: A custom type or function that will be passed the direct response
1247
+ LegalHold type or a IO[bytes] type. Required.
1248
+ :type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
1290
1249
  :return: LegalHold or the result of cls(response)
1291
1250
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
1292
1251
  :raises ~azure.core.exceptions.HttpResponseError:
1293
1252
  """
1294
- error_map = {
1253
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1295
1254
  401: ClientAuthenticationError,
1296
1255
  404: ResourceNotFoundError,
1297
1256
  409: ResourceExistsError,
@@ -1316,7 +1275,7 @@ class BlobContainersOperations:
1316
1275
  else:
1317
1276
  _json = self._serialize.body(legal_hold, "LegalHold")
1318
1277
 
1319
- request = build_set_legal_hold_request(
1278
+ _request = build_set_legal_hold_request(
1320
1279
  resource_group_name=resource_group_name,
1321
1280
  account_name=account_name,
1322
1281
  container_name=container_name,
@@ -1325,16 +1284,15 @@ class BlobContainersOperations:
1325
1284
  content_type=content_type,
1326
1285
  json=_json,
1327
1286
  content=_content,
1328
- template_url=self.set_legal_hold.metadata["url"],
1329
1287
  headers=_headers,
1330
1288
  params=_params,
1331
1289
  )
1332
- request = _convert_request(request)
1333
- request.url = self._client.format_url(request.url)
1290
+ _request = _convert_request(_request)
1291
+ _request.url = self._client.format_url(_request.url)
1334
1292
 
1335
1293
  _stream = False
1336
1294
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1337
- request, stream=_stream, **kwargs
1295
+ _request, stream=_stream, **kwargs
1338
1296
  )
1339
1297
 
1340
1298
  response = pipeline_response.http_response
@@ -1346,13 +1304,9 @@ class BlobContainersOperations:
1346
1304
  deserialized = self._deserialize("LegalHold", pipeline_response)
1347
1305
 
1348
1306
  if cls:
1349
- return cls(pipeline_response, deserialized, {})
1350
-
1351
- return deserialized
1307
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1352
1308
 
1353
- set_legal_hold.metadata = {
1354
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1355
- }
1309
+ return deserialized # type: ignore
1356
1310
 
1357
1311
  @overload
1358
1312
  def clear_legal_hold(
@@ -1385,7 +1339,6 @@ class BlobContainersOperations:
1385
1339
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1386
1340
  Default value is "application/json".
1387
1341
  :paramtype content_type: str
1388
- :keyword callable cls: A custom type or function that will be passed the direct response
1389
1342
  :return: LegalHold or the result of cls(response)
1390
1343
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
1391
1344
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1397,7 +1350,7 @@ class BlobContainersOperations:
1397
1350
  resource_group_name: str,
1398
1351
  account_name: str,
1399
1352
  container_name: str,
1400
- legal_hold: IO,
1353
+ legal_hold: IO[bytes],
1401
1354
  *,
1402
1355
  content_type: str = "application/json",
1403
1356
  **kwargs: Any
@@ -1418,11 +1371,10 @@ class BlobContainersOperations:
1418
1371
  by a letter or number. Required.
1419
1372
  :type container_name: str
1420
1373
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1421
- :type legal_hold: IO
1374
+ :type legal_hold: IO[bytes]
1422
1375
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1423
1376
  Default value is "application/json".
1424
1377
  :paramtype content_type: str
1425
- :keyword callable cls: A custom type or function that will be passed the direct response
1426
1378
  :return: LegalHold or the result of cls(response)
1427
1379
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
1428
1380
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1434,7 +1386,7 @@ class BlobContainersOperations:
1434
1386
  resource_group_name: str,
1435
1387
  account_name: str,
1436
1388
  container_name: str,
1437
- legal_hold: Union[_models.LegalHold, IO],
1389
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1438
1390
  **kwargs: Any
1439
1391
  ) -> _models.LegalHold:
1440
1392
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1453,17 +1405,13 @@ class BlobContainersOperations:
1453
1405
  by a letter or number. Required.
1454
1406
  :type container_name: str
1455
1407
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1456
- LegalHold type or a IO type. Required.
1457
- :type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO
1458
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1459
- Default value is None.
1460
- :paramtype content_type: str
1461
- :keyword callable cls: A custom type or function that will be passed the direct response
1408
+ LegalHold type or a IO[bytes] type. Required.
1409
+ :type legal_hold: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold or IO[bytes]
1462
1410
  :return: LegalHold or the result of cls(response)
1463
1411
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LegalHold
1464
1412
  :raises ~azure.core.exceptions.HttpResponseError:
1465
1413
  """
1466
- error_map = {
1414
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1467
1415
  401: ClientAuthenticationError,
1468
1416
  404: ResourceNotFoundError,
1469
1417
  409: ResourceExistsError,
@@ -1488,7 +1436,7 @@ class BlobContainersOperations:
1488
1436
  else:
1489
1437
  _json = self._serialize.body(legal_hold, "LegalHold")
1490
1438
 
1491
- request = build_clear_legal_hold_request(
1439
+ _request = build_clear_legal_hold_request(
1492
1440
  resource_group_name=resource_group_name,
1493
1441
  account_name=account_name,
1494
1442
  container_name=container_name,
@@ -1497,16 +1445,15 @@ class BlobContainersOperations:
1497
1445
  content_type=content_type,
1498
1446
  json=_json,
1499
1447
  content=_content,
1500
- template_url=self.clear_legal_hold.metadata["url"],
1501
1448
  headers=_headers,
1502
1449
  params=_params,
1503
1450
  )
1504
- request = _convert_request(request)
1505
- request.url = self._client.format_url(request.url)
1451
+ _request = _convert_request(_request)
1452
+ _request.url = self._client.format_url(_request.url)
1506
1453
 
1507
1454
  _stream = False
1508
1455
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1509
- request, stream=_stream, **kwargs
1456
+ _request, stream=_stream, **kwargs
1510
1457
  )
1511
1458
 
1512
1459
  response = pipeline_response.http_response
@@ -1518,13 +1465,9 @@ class BlobContainersOperations:
1518
1465
  deserialized = self._deserialize("LegalHold", pipeline_response)
1519
1466
 
1520
1467
  if cls:
1521
- return cls(pipeline_response, deserialized, {})
1522
-
1523
- return deserialized
1468
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1524
1469
 
1525
- clear_legal_hold.metadata = {
1526
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1527
- }
1470
+ return deserialized # type: ignore
1528
1471
 
1529
1472
  @overload
1530
1473
  def create_or_update_immutability_policy(
@@ -1567,7 +1510,6 @@ class BlobContainersOperations:
1567
1510
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1568
1511
  Default value is "application/json".
1569
1512
  :paramtype content_type: str
1570
- :keyword callable cls: A custom type or function that will be passed the direct response
1571
1513
  :return: ImmutabilityPolicy or the result of cls(response)
1572
1514
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1573
1515
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1581,7 +1523,7 @@ class BlobContainersOperations:
1581
1523
  container_name: str,
1582
1524
  immutability_policy_name: Union[str, _models.Enum28],
1583
1525
  if_match: Optional[str] = None,
1584
- parameters: Optional[IO] = None,
1526
+ parameters: Optional[IO[bytes]] = None,
1585
1527
  *,
1586
1528
  content_type: str = "application/json",
1587
1529
  **kwargs: Any
@@ -1610,11 +1552,10 @@ class BlobContainersOperations:
1610
1552
  :type if_match: str
1611
1553
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1612
1554
  container. Default value is None.
1613
- :type parameters: IO
1555
+ :type parameters: IO[bytes]
1614
1556
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1615
1557
  Default value is "application/json".
1616
1558
  :paramtype content_type: str
1617
- :keyword callable cls: A custom type or function that will be passed the direct response
1618
1559
  :return: ImmutabilityPolicy or the result of cls(response)
1619
1560
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1620
1561
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1628,7 +1569,7 @@ class BlobContainersOperations:
1628
1569
  container_name: str,
1629
1570
  immutability_policy_name: Union[str, _models.Enum28],
1630
1571
  if_match: Optional[str] = None,
1631
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1572
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1632
1573
  **kwargs: Any
1633
1574
  ) -> _models.ImmutabilityPolicy:
1634
1575
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1654,17 +1595,14 @@ class BlobContainersOperations:
1654
1595
  omitted, this operation will always be applied. Default value is None.
1655
1596
  :type if_match: str
1656
1597
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1657
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1658
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or IO
1659
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1660
- Default value is None.
1661
- :paramtype content_type: str
1662
- :keyword callable cls: A custom type or function that will be passed the direct response
1598
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1599
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
1600
+ IO[bytes]
1663
1601
  :return: ImmutabilityPolicy or the result of cls(response)
1664
1602
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1665
1603
  :raises ~azure.core.exceptions.HttpResponseError:
1666
1604
  """
1667
- error_map = {
1605
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1668
1606
  401: ClientAuthenticationError,
1669
1607
  404: ResourceNotFoundError,
1670
1608
  409: ResourceExistsError,
@@ -1692,7 +1630,7 @@ class BlobContainersOperations:
1692
1630
  else:
1693
1631
  _json = None
1694
1632
 
1695
- request = build_create_or_update_immutability_policy_request(
1633
+ _request = build_create_or_update_immutability_policy_request(
1696
1634
  resource_group_name=resource_group_name,
1697
1635
  account_name=account_name,
1698
1636
  container_name=container_name,
@@ -1703,16 +1641,15 @@ class BlobContainersOperations:
1703
1641
  content_type=content_type,
1704
1642
  json=_json,
1705
1643
  content=_content,
1706
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1707
1644
  headers=_headers,
1708
1645
  params=_params,
1709
1646
  )
1710
- request = _convert_request(request)
1711
- request.url = self._client.format_url(request.url)
1647
+ _request = _convert_request(_request)
1648
+ _request.url = self._client.format_url(_request.url)
1712
1649
 
1713
1650
  _stream = False
1714
1651
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1715
- request, stream=_stream, **kwargs
1652
+ _request, stream=_stream, **kwargs
1716
1653
  )
1717
1654
 
1718
1655
  response = pipeline_response.http_response
@@ -1727,13 +1664,9 @@ class BlobContainersOperations:
1727
1664
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1728
1665
 
1729
1666
  if cls:
1730
- return cls(pipeline_response, deserialized, response_headers)
1667
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1731
1668
 
1732
- return deserialized
1733
-
1734
- create_or_update_immutability_policy.metadata = {
1735
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1736
- }
1669
+ return deserialized # type: ignore
1737
1670
 
1738
1671
  @distributed_trace
1739
1672
  def get_immutability_policy(
@@ -1767,12 +1700,11 @@ class BlobContainersOperations:
1767
1700
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1768
1701
  omitted, this operation will always be applied. Default value is None.
1769
1702
  :type if_match: str
1770
- :keyword callable cls: A custom type or function that will be passed the direct response
1771
1703
  :return: ImmutabilityPolicy or the result of cls(response)
1772
1704
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1773
1705
  :raises ~azure.core.exceptions.HttpResponseError:
1774
1706
  """
1775
- error_map = {
1707
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1776
1708
  401: ClientAuthenticationError,
1777
1709
  404: ResourceNotFoundError,
1778
1710
  409: ResourceExistsError,
@@ -1788,7 +1720,7 @@ class BlobContainersOperations:
1788
1720
  )
1789
1721
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1790
1722
 
1791
- request = build_get_immutability_policy_request(
1723
+ _request = build_get_immutability_policy_request(
1792
1724
  resource_group_name=resource_group_name,
1793
1725
  account_name=account_name,
1794
1726
  container_name=container_name,
@@ -1796,16 +1728,15 @@ class BlobContainersOperations:
1796
1728
  subscription_id=self._config.subscription_id,
1797
1729
  if_match=if_match,
1798
1730
  api_version=api_version,
1799
- template_url=self.get_immutability_policy.metadata["url"],
1800
1731
  headers=_headers,
1801
1732
  params=_params,
1802
1733
  )
1803
- request = _convert_request(request)
1804
- request.url = self._client.format_url(request.url)
1734
+ _request = _convert_request(_request)
1735
+ _request.url = self._client.format_url(_request.url)
1805
1736
 
1806
1737
  _stream = False
1807
1738
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1808
- request, stream=_stream, **kwargs
1739
+ _request, stream=_stream, **kwargs
1809
1740
  )
1810
1741
 
1811
1742
  response = pipeline_response.http_response
@@ -1820,13 +1751,9 @@ class BlobContainersOperations:
1820
1751
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1821
1752
 
1822
1753
  if cls:
1823
- return cls(pipeline_response, deserialized, response_headers)
1754
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1824
1755
 
1825
- return deserialized
1826
-
1827
- get_immutability_policy.metadata = {
1828
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1829
- }
1756
+ return deserialized # type: ignore
1830
1757
 
1831
1758
  @distributed_trace
1832
1759
  def delete_immutability_policy(
@@ -1862,12 +1789,11 @@ class BlobContainersOperations:
1862
1789
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1863
1790
  omitted, this operation will always be applied. Required.
1864
1791
  :type if_match: str
1865
- :keyword callable cls: A custom type or function that will be passed the direct response
1866
1792
  :return: ImmutabilityPolicy or the result of cls(response)
1867
1793
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1868
1794
  :raises ~azure.core.exceptions.HttpResponseError:
1869
1795
  """
1870
- error_map = {
1796
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1871
1797
  401: ClientAuthenticationError,
1872
1798
  404: ResourceNotFoundError,
1873
1799
  409: ResourceExistsError,
@@ -1883,7 +1809,7 @@ class BlobContainersOperations:
1883
1809
  )
1884
1810
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1885
1811
 
1886
- request = build_delete_immutability_policy_request(
1812
+ _request = build_delete_immutability_policy_request(
1887
1813
  resource_group_name=resource_group_name,
1888
1814
  account_name=account_name,
1889
1815
  container_name=container_name,
@@ -1891,16 +1817,15 @@ class BlobContainersOperations:
1891
1817
  subscription_id=self._config.subscription_id,
1892
1818
  if_match=if_match,
1893
1819
  api_version=api_version,
1894
- template_url=self.delete_immutability_policy.metadata["url"],
1895
1820
  headers=_headers,
1896
1821
  params=_params,
1897
1822
  )
1898
- request = _convert_request(request)
1899
- request.url = self._client.format_url(request.url)
1823
+ _request = _convert_request(_request)
1824
+ _request.url = self._client.format_url(_request.url)
1900
1825
 
1901
1826
  _stream = False
1902
1827
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1903
- request, stream=_stream, **kwargs
1828
+ _request, stream=_stream, **kwargs
1904
1829
  )
1905
1830
 
1906
1831
  response = pipeline_response.http_response
@@ -1915,13 +1840,9 @@ class BlobContainersOperations:
1915
1840
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1916
1841
 
1917
1842
  if cls:
1918
- return cls(pipeline_response, deserialized, response_headers)
1843
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1919
1844
 
1920
- return deserialized
1921
-
1922
- delete_immutability_policy.metadata = {
1923
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1924
- }
1845
+ return deserialized # type: ignore
1925
1846
 
1926
1847
  @distributed_trace
1927
1848
  def lock_immutability_policy(
@@ -1946,12 +1867,11 @@ class BlobContainersOperations:
1946
1867
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1947
1868
  omitted, this operation will always be applied. Required.
1948
1869
  :type if_match: str
1949
- :keyword callable cls: A custom type or function that will be passed the direct response
1950
1870
  :return: ImmutabilityPolicy or the result of cls(response)
1951
1871
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
1952
1872
  :raises ~azure.core.exceptions.HttpResponseError:
1953
1873
  """
1954
- error_map = {
1874
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1955
1875
  401: ClientAuthenticationError,
1956
1876
  404: ResourceNotFoundError,
1957
1877
  409: ResourceExistsError,
@@ -1967,23 +1887,22 @@ class BlobContainersOperations:
1967
1887
  )
1968
1888
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1969
1889
 
1970
- request = build_lock_immutability_policy_request(
1890
+ _request = build_lock_immutability_policy_request(
1971
1891
  resource_group_name=resource_group_name,
1972
1892
  account_name=account_name,
1973
1893
  container_name=container_name,
1974
1894
  subscription_id=self._config.subscription_id,
1975
1895
  if_match=if_match,
1976
1896
  api_version=api_version,
1977
- template_url=self.lock_immutability_policy.metadata["url"],
1978
1897
  headers=_headers,
1979
1898
  params=_params,
1980
1899
  )
1981
- request = _convert_request(request)
1982
- request.url = self._client.format_url(request.url)
1900
+ _request = _convert_request(_request)
1901
+ _request.url = self._client.format_url(_request.url)
1983
1902
 
1984
1903
  _stream = False
1985
1904
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1986
- request, stream=_stream, **kwargs
1905
+ _request, stream=_stream, **kwargs
1987
1906
  )
1988
1907
 
1989
1908
  response = pipeline_response.http_response
@@ -1998,13 +1917,9 @@ class BlobContainersOperations:
1998
1917
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1999
1918
 
2000
1919
  if cls:
2001
- return cls(pipeline_response, deserialized, response_headers)
1920
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2002
1921
 
2003
- return deserialized
2004
-
2005
- lock_immutability_policy.metadata = {
2006
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
2007
- }
1922
+ return deserialized # type: ignore
2008
1923
 
2009
1924
  @overload
2010
1925
  def extend_immutability_policy(
@@ -2044,7 +1959,6 @@ class BlobContainersOperations:
2044
1959
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2045
1960
  Default value is "application/json".
2046
1961
  :paramtype content_type: str
2047
- :keyword callable cls: A custom type or function that will be passed the direct response
2048
1962
  :return: ImmutabilityPolicy or the result of cls(response)
2049
1963
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
2050
1964
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2057,7 +1971,7 @@ class BlobContainersOperations:
2057
1971
  account_name: str,
2058
1972
  container_name: str,
2059
1973
  if_match: str,
2060
- parameters: Optional[IO] = None,
1974
+ parameters: Optional[IO[bytes]] = None,
2061
1975
  *,
2062
1976
  content_type: str = "application/json",
2063
1977
  **kwargs: Any
@@ -2084,11 +1998,10 @@ class BlobContainersOperations:
2084
1998
  :type if_match: str
2085
1999
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2086
2000
  container. Default value is None.
2087
- :type parameters: IO
2001
+ :type parameters: IO[bytes]
2088
2002
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2089
2003
  Default value is "application/json".
2090
2004
  :paramtype content_type: str
2091
- :keyword callable cls: A custom type or function that will be passed the direct response
2092
2005
  :return: ImmutabilityPolicy or the result of cls(response)
2093
2006
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
2094
2007
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2101,7 +2014,7 @@ class BlobContainersOperations:
2101
2014
  account_name: str,
2102
2015
  container_name: str,
2103
2016
  if_match: str,
2104
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
2017
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2105
2018
  **kwargs: Any
2106
2019
  ) -> _models.ImmutabilityPolicy:
2107
2020
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2125,17 +2038,14 @@ class BlobContainersOperations:
2125
2038
  omitted, this operation will always be applied. Required.
2126
2039
  :type if_match: str
2127
2040
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2128
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2129
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or IO
2130
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2131
- Default value is None.
2132
- :paramtype content_type: str
2133
- :keyword callable cls: A custom type or function that will be passed the direct response
2041
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
2042
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy or
2043
+ IO[bytes]
2134
2044
  :return: ImmutabilityPolicy or the result of cls(response)
2135
2045
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.ImmutabilityPolicy
2136
2046
  :raises ~azure.core.exceptions.HttpResponseError:
2137
2047
  """
2138
- error_map = {
2048
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2139
2049
  401: ClientAuthenticationError,
2140
2050
  404: ResourceNotFoundError,
2141
2051
  409: ResourceExistsError,
@@ -2163,7 +2073,7 @@ class BlobContainersOperations:
2163
2073
  else:
2164
2074
  _json = None
2165
2075
 
2166
- request = build_extend_immutability_policy_request(
2076
+ _request = build_extend_immutability_policy_request(
2167
2077
  resource_group_name=resource_group_name,
2168
2078
  account_name=account_name,
2169
2079
  container_name=container_name,
@@ -2173,16 +2083,15 @@ class BlobContainersOperations:
2173
2083
  content_type=content_type,
2174
2084
  json=_json,
2175
2085
  content=_content,
2176
- template_url=self.extend_immutability_policy.metadata["url"],
2177
2086
  headers=_headers,
2178
2087
  params=_params,
2179
2088
  )
2180
- request = _convert_request(request)
2181
- request.url = self._client.format_url(request.url)
2089
+ _request = _convert_request(_request)
2090
+ _request.url = self._client.format_url(_request.url)
2182
2091
 
2183
2092
  _stream = False
2184
2093
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2185
- request, stream=_stream, **kwargs
2094
+ _request, stream=_stream, **kwargs
2186
2095
  )
2187
2096
 
2188
2097
  response = pipeline_response.http_response
@@ -2197,13 +2106,9 @@ class BlobContainersOperations:
2197
2106
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2198
2107
 
2199
2108
  if cls:
2200
- return cls(pipeline_response, deserialized, response_headers)
2201
-
2202
- return deserialized
2109
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2203
2110
 
2204
- extend_immutability_policy.metadata = {
2205
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2206
- }
2111
+ return deserialized # type: ignore
2207
2112
 
2208
2113
  @overload
2209
2114
  def lease(
@@ -2236,7 +2141,6 @@ class BlobContainersOperations:
2236
2141
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2237
2142
  Default value is "application/json".
2238
2143
  :paramtype content_type: str
2239
- :keyword callable cls: A custom type or function that will be passed the direct response
2240
2144
  :return: LeaseContainerResponse or the result of cls(response)
2241
2145
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
2242
2146
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2248,7 +2152,7 @@ class BlobContainersOperations:
2248
2152
  resource_group_name: str,
2249
2153
  account_name: str,
2250
2154
  container_name: str,
2251
- parameters: Optional[IO] = None,
2155
+ parameters: Optional[IO[bytes]] = None,
2252
2156
  *,
2253
2157
  content_type: str = "application/json",
2254
2158
  **kwargs: Any
@@ -2269,11 +2173,10 @@ class BlobContainersOperations:
2269
2173
  by a letter or number. Required.
2270
2174
  :type container_name: str
2271
2175
  :param parameters: Lease Container request body. Default value is None.
2272
- :type parameters: IO
2176
+ :type parameters: IO[bytes]
2273
2177
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2274
2178
  Default value is "application/json".
2275
2179
  :paramtype content_type: str
2276
- :keyword callable cls: A custom type or function that will be passed the direct response
2277
2180
  :return: LeaseContainerResponse or the result of cls(response)
2278
2181
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
2279
2182
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2285,7 +2188,7 @@ class BlobContainersOperations:
2285
2188
  resource_group_name: str,
2286
2189
  account_name: str,
2287
2190
  container_name: str,
2288
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2191
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2289
2192
  **kwargs: Any
2290
2193
  ) -> _models.LeaseContainerResponse:
2291
2194
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2303,18 +2206,15 @@ class BlobContainersOperations:
2303
2206
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2304
2207
  by a letter or number. Required.
2305
2208
  :type container_name: str
2306
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2307
- type. Default value is None.
2308
- :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or IO
2309
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2310
- Default value is None.
2311
- :paramtype content_type: str
2312
- :keyword callable cls: A custom type or function that will be passed the direct response
2209
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2210
+ IO[bytes] type. Default value is None.
2211
+ :type parameters: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerRequest or
2212
+ IO[bytes]
2313
2213
  :return: LeaseContainerResponse or the result of cls(response)
2314
2214
  :rtype: ~azure.mgmt.storage.v2020_08_01_preview.models.LeaseContainerResponse
2315
2215
  :raises ~azure.core.exceptions.HttpResponseError:
2316
2216
  """
2317
- error_map = {
2217
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2318
2218
  401: ClientAuthenticationError,
2319
2219
  404: ResourceNotFoundError,
2320
2220
  409: ResourceExistsError,
@@ -2342,7 +2242,7 @@ class BlobContainersOperations:
2342
2242
  else:
2343
2243
  _json = None
2344
2244
 
2345
- request = build_lease_request(
2245
+ _request = build_lease_request(
2346
2246
  resource_group_name=resource_group_name,
2347
2247
  account_name=account_name,
2348
2248
  container_name=container_name,
@@ -2351,16 +2251,15 @@ class BlobContainersOperations:
2351
2251
  content_type=content_type,
2352
2252
  json=_json,
2353
2253
  content=_content,
2354
- template_url=self.lease.metadata["url"],
2355
2254
  headers=_headers,
2356
2255
  params=_params,
2357
2256
  )
2358
- request = _convert_request(request)
2359
- request.url = self._client.format_url(request.url)
2257
+ _request = _convert_request(_request)
2258
+ _request.url = self._client.format_url(_request.url)
2360
2259
 
2361
2260
  _stream = False
2362
2261
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2363
- request, stream=_stream, **kwargs
2262
+ _request, stream=_stream, **kwargs
2364
2263
  )
2365
2264
 
2366
2265
  response = pipeline_response.http_response
@@ -2372,10 +2271,6 @@ class BlobContainersOperations:
2372
2271
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2373
2272
 
2374
2273
  if cls:
2375
- return cls(pipeline_response, deserialized, {})
2376
-
2377
- return deserialized
2274
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2378
2275
 
2379
- lease.metadata = {
2380
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2381
- }
2276
+ return deserialized # type: ignore