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,
@@ -597,7 +602,6 @@ class BlobContainersOperations:
597
602
  :param filter: Optional. When specified, only container names starting with the filter will be
598
603
  listed. Default value is None.
599
604
  :type filter: str
600
- :keyword callable cls: A custom type or function that will be passed the direct response
601
605
  :return: An iterator like instance of either ListContainerItem or the result of cls(response)
602
606
  :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.storage.v2019_04_01.models.ListContainerItem]
603
607
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -608,7 +612,7 @@ class BlobContainersOperations:
608
612
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
609
613
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
610
614
 
611
- error_map = {
615
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
612
616
  401: ClientAuthenticationError,
613
617
  404: ResourceNotFoundError,
614
618
  409: ResourceExistsError,
@@ -619,7 +623,7 @@ class BlobContainersOperations:
619
623
  def prepare_request(next_link=None):
620
624
  if not next_link:
621
625
 
622
- request = build_list_request(
626
+ _request = build_list_request(
623
627
  resource_group_name=resource_group_name,
624
628
  account_name=account_name,
625
629
  subscription_id=self._config.subscription_id,
@@ -627,12 +631,11 @@ class BlobContainersOperations:
627
631
  maxpagesize=maxpagesize,
628
632
  filter=filter,
629
633
  api_version=api_version,
630
- template_url=self.list.metadata["url"],
631
634
  headers=_headers,
632
635
  params=_params,
633
636
  )
634
- request = _convert_request(request)
635
- request.url = self._client.format_url(request.url)
637
+ _request = _convert_request(_request)
638
+ _request.url = self._client.format_url(_request.url)
636
639
 
637
640
  else:
638
641
  # make call to next link with the client's api-version
@@ -643,14 +646,14 @@ class BlobContainersOperations:
643
646
  for key, value in urllib.parse.parse_qs(_parsed_next_link.query).items()
644
647
  }
645
648
  )
646
- _next_request_params["api-version"] = self._config.api_version
647
- request = HttpRequest(
649
+ _next_request_params["api-version"] = self._api_version
650
+ _request = HttpRequest(
648
651
  "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params
649
652
  )
650
- request = _convert_request(request)
651
- request.url = self._client.format_url(request.url)
652
- request.method = "GET"
653
- return request
653
+ _request = _convert_request(_request)
654
+ _request.url = self._client.format_url(_request.url)
655
+ _request.method = "GET"
656
+ return _request
654
657
 
655
658
  def extract_data(pipeline_response):
656
659
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
@@ -660,11 +663,11 @@ class BlobContainersOperations:
660
663
  return deserialized.next_link or None, iter(list_of_elem)
661
664
 
662
665
  def get_next(next_link=None):
663
- request = prepare_request(next_link)
666
+ _request = prepare_request(next_link)
664
667
 
665
668
  _stream = False
666
669
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
667
- request, stream=_stream, **kwargs
670
+ _request, stream=_stream, **kwargs
668
671
  )
669
672
  response = pipeline_response.http_response
670
673
 
@@ -676,10 +679,6 @@ class BlobContainersOperations:
676
679
 
677
680
  return ItemPaged(get_next, extract_data)
678
681
 
679
- list.metadata = {
680
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
681
- }
682
-
683
682
  @overload
684
683
  def create(
685
684
  self,
@@ -712,7 +711,6 @@ class BlobContainersOperations:
712
711
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
713
712
  Default value is "application/json".
714
713
  :paramtype content_type: str
715
- :keyword callable cls: A custom type or function that will be passed the direct response
716
714
  :return: BlobContainer or the result of cls(response)
717
715
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
718
716
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -724,7 +722,7 @@ class BlobContainersOperations:
724
722
  resource_group_name: str,
725
723
  account_name: str,
726
724
  container_name: str,
727
- blob_container: IO,
725
+ blob_container: IO[bytes],
728
726
  *,
729
727
  content_type: str = "application/json",
730
728
  **kwargs: Any
@@ -746,11 +744,10 @@ class BlobContainersOperations:
746
744
  by a letter or number. Required.
747
745
  :type container_name: str
748
746
  :param blob_container: Properties of the blob container to create. Required.
749
- :type blob_container: IO
747
+ :type blob_container: IO[bytes]
750
748
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
751
749
  Default value is "application/json".
752
750
  :paramtype content_type: str
753
- :keyword callable cls: A custom type or function that will be passed the direct response
754
751
  :return: BlobContainer or the result of cls(response)
755
752
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
756
753
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -762,7 +759,7 @@ class BlobContainersOperations:
762
759
  resource_group_name: str,
763
760
  account_name: str,
764
761
  container_name: str,
765
- blob_container: Union[_models.BlobContainer, IO],
762
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
766
763
  **kwargs: Any
767
764
  ) -> _models.BlobContainer:
768
765
  """Creates a new container under the specified account as described by request body. The container
@@ -782,17 +779,13 @@ class BlobContainersOperations:
782
779
  by a letter or number. Required.
783
780
  :type container_name: str
784
781
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
785
- type or a IO type. Required.
786
- :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
787
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
788
- Default value is None.
789
- :paramtype content_type: str
790
- :keyword callable cls: A custom type or function that will be passed the direct response
782
+ type or a IO[bytes] type. Required.
783
+ :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
791
784
  :return: BlobContainer or the result of cls(response)
792
785
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
793
786
  :raises ~azure.core.exceptions.HttpResponseError:
794
787
  """
795
- error_map = {
788
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
796
789
  401: ClientAuthenticationError,
797
790
  404: ResourceNotFoundError,
798
791
  409: ResourceExistsError,
@@ -815,7 +808,7 @@ class BlobContainersOperations:
815
808
  else:
816
809
  _json = self._serialize.body(blob_container, "BlobContainer")
817
810
 
818
- request = build_create_request(
811
+ _request = build_create_request(
819
812
  resource_group_name=resource_group_name,
820
813
  account_name=account_name,
821
814
  container_name=container_name,
@@ -824,16 +817,15 @@ class BlobContainersOperations:
824
817
  content_type=content_type,
825
818
  json=_json,
826
819
  content=_content,
827
- template_url=self.create.metadata["url"],
828
820
  headers=_headers,
829
821
  params=_params,
830
822
  )
831
- request = _convert_request(request)
832
- request.url = self._client.format_url(request.url)
823
+ _request = _convert_request(_request)
824
+ _request.url = self._client.format_url(_request.url)
833
825
 
834
826
  _stream = False
835
827
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
836
- request, stream=_stream, **kwargs
828
+ _request, stream=_stream, **kwargs
837
829
  )
838
830
 
839
831
  response = pipeline_response.http_response
@@ -853,10 +845,6 @@ class BlobContainersOperations:
853
845
 
854
846
  return deserialized # type: ignore
855
847
 
856
- create.metadata = {
857
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
858
- }
859
-
860
848
  @overload
861
849
  def update(
862
850
  self,
@@ -888,7 +876,6 @@ class BlobContainersOperations:
888
876
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
889
877
  Default value is "application/json".
890
878
  :paramtype content_type: str
891
- :keyword callable cls: A custom type or function that will be passed the direct response
892
879
  :return: BlobContainer or the result of cls(response)
893
880
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
894
881
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -900,7 +887,7 @@ class BlobContainersOperations:
900
887
  resource_group_name: str,
901
888
  account_name: str,
902
889
  container_name: str,
903
- blob_container: IO,
890
+ blob_container: IO[bytes],
904
891
  *,
905
892
  content_type: str = "application/json",
906
893
  **kwargs: Any
@@ -921,11 +908,10 @@ class BlobContainersOperations:
921
908
  by a letter or number. Required.
922
909
  :type container_name: str
923
910
  :param blob_container: Properties to update for the blob container. Required.
924
- :type blob_container: IO
911
+ :type blob_container: IO[bytes]
925
912
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
926
913
  Default value is "application/json".
927
914
  :paramtype content_type: str
928
- :keyword callable cls: A custom type or function that will be passed the direct response
929
915
  :return: BlobContainer or the result of cls(response)
930
916
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
931
917
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -937,7 +923,7 @@ class BlobContainersOperations:
937
923
  resource_group_name: str,
938
924
  account_name: str,
939
925
  container_name: str,
940
- blob_container: Union[_models.BlobContainer, IO],
926
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
941
927
  **kwargs: Any
942
928
  ) -> _models.BlobContainer:
943
929
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -956,17 +942,13 @@ class BlobContainersOperations:
956
942
  by a letter or number. Required.
957
943
  :type container_name: str
958
944
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
959
- type or a IO type. Required.
960
- :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO
961
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
962
- Default value is None.
963
- :paramtype content_type: str
964
- :keyword callable cls: A custom type or function that will be passed the direct response
945
+ type or a IO[bytes] type. Required.
946
+ :type blob_container: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer or IO[bytes]
965
947
  :return: BlobContainer or the result of cls(response)
966
948
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
967
949
  :raises ~azure.core.exceptions.HttpResponseError:
968
950
  """
969
- error_map = {
951
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
970
952
  401: ClientAuthenticationError,
971
953
  404: ResourceNotFoundError,
972
954
  409: ResourceExistsError,
@@ -989,7 +971,7 @@ class BlobContainersOperations:
989
971
  else:
990
972
  _json = self._serialize.body(blob_container, "BlobContainer")
991
973
 
992
- request = build_update_request(
974
+ _request = build_update_request(
993
975
  resource_group_name=resource_group_name,
994
976
  account_name=account_name,
995
977
  container_name=container_name,
@@ -998,16 +980,15 @@ class BlobContainersOperations:
998
980
  content_type=content_type,
999
981
  json=_json,
1000
982
  content=_content,
1001
- template_url=self.update.metadata["url"],
1002
983
  headers=_headers,
1003
984
  params=_params,
1004
985
  )
1005
- request = _convert_request(request)
1006
- request.url = self._client.format_url(request.url)
986
+ _request = _convert_request(_request)
987
+ _request.url = self._client.format_url(_request.url)
1007
988
 
1008
989
  _stream = False
1009
990
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1010
- request, stream=_stream, **kwargs
991
+ _request, stream=_stream, **kwargs
1011
992
  )
1012
993
 
1013
994
  response = pipeline_response.http_response
@@ -1019,13 +1000,9 @@ class BlobContainersOperations:
1019
1000
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1020
1001
 
1021
1002
  if cls:
1022
- return cls(pipeline_response, deserialized, {})
1023
-
1024
- return deserialized
1003
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1025
1004
 
1026
- update.metadata = {
1027
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1028
- }
1005
+ return deserialized # type: ignore
1029
1006
 
1030
1007
  @distributed_trace
1031
1008
  def get(
@@ -1045,12 +1022,11 @@ class BlobContainersOperations:
1045
1022
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1046
1023
  by a letter or number. Required.
1047
1024
  :type container_name: str
1048
- :keyword callable cls: A custom type or function that will be passed the direct response
1049
1025
  :return: BlobContainer or the result of cls(response)
1050
1026
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.BlobContainer
1051
1027
  :raises ~azure.core.exceptions.HttpResponseError:
1052
1028
  """
1053
- error_map = {
1029
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1054
1030
  401: ClientAuthenticationError,
1055
1031
  404: ResourceNotFoundError,
1056
1032
  409: ResourceExistsError,
@@ -1064,22 +1040,21 @@ class BlobContainersOperations:
1064
1040
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1065
1041
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1066
1042
 
1067
- request = build_get_request(
1043
+ _request = build_get_request(
1068
1044
  resource_group_name=resource_group_name,
1069
1045
  account_name=account_name,
1070
1046
  container_name=container_name,
1071
1047
  subscription_id=self._config.subscription_id,
1072
1048
  api_version=api_version,
1073
- template_url=self.get.metadata["url"],
1074
1049
  headers=_headers,
1075
1050
  params=_params,
1076
1051
  )
1077
- request = _convert_request(request)
1078
- request.url = self._client.format_url(request.url)
1052
+ _request = _convert_request(_request)
1053
+ _request.url = self._client.format_url(_request.url)
1079
1054
 
1080
1055
  _stream = False
1081
1056
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1082
- request, stream=_stream, **kwargs
1057
+ _request, stream=_stream, **kwargs
1083
1058
  )
1084
1059
 
1085
1060
  response = pipeline_response.http_response
@@ -1091,13 +1066,9 @@ class BlobContainersOperations:
1091
1066
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1092
1067
 
1093
1068
  if cls:
1094
- return cls(pipeline_response, deserialized, {})
1095
-
1096
- return deserialized
1069
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1097
1070
 
1098
- get.metadata = {
1099
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1100
- }
1071
+ return deserialized # type: ignore
1101
1072
 
1102
1073
  @distributed_trace
1103
1074
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1117,12 +1088,11 @@ class BlobContainersOperations:
1117
1088
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1118
1089
  by a letter or number. Required.
1119
1090
  :type container_name: str
1120
- :keyword callable cls: A custom type or function that will be passed the direct response
1121
1091
  :return: None or the result of cls(response)
1122
1092
  :rtype: None
1123
1093
  :raises ~azure.core.exceptions.HttpResponseError:
1124
1094
  """
1125
- error_map = {
1095
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1126
1096
  401: ClientAuthenticationError,
1127
1097
  404: ResourceNotFoundError,
1128
1098
  409: ResourceExistsError,
@@ -1136,22 +1106,21 @@ class BlobContainersOperations:
1136
1106
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1137
1107
  cls: ClsType[None] = kwargs.pop("cls", None)
1138
1108
 
1139
- request = build_delete_request(
1109
+ _request = build_delete_request(
1140
1110
  resource_group_name=resource_group_name,
1141
1111
  account_name=account_name,
1142
1112
  container_name=container_name,
1143
1113
  subscription_id=self._config.subscription_id,
1144
1114
  api_version=api_version,
1145
- template_url=self.delete.metadata["url"],
1146
1115
  headers=_headers,
1147
1116
  params=_params,
1148
1117
  )
1149
- request = _convert_request(request)
1150
- request.url = self._client.format_url(request.url)
1118
+ _request = _convert_request(_request)
1119
+ _request.url = self._client.format_url(_request.url)
1151
1120
 
1152
1121
  _stream = False
1153
1122
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1154
- request, stream=_stream, **kwargs
1123
+ _request, stream=_stream, **kwargs
1155
1124
  )
1156
1125
 
1157
1126
  response = pipeline_response.http_response
@@ -1161,11 +1130,7 @@ class BlobContainersOperations:
1161
1130
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1162
1131
 
1163
1132
  if cls:
1164
- return cls(pipeline_response, None, {})
1165
-
1166
- delete.metadata = {
1167
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1168
- }
1133
+ return cls(pipeline_response, None, {}) # type: ignore
1169
1134
 
1170
1135
  @overload
1171
1136
  def set_legal_hold(
@@ -1199,7 +1164,6 @@ class BlobContainersOperations:
1199
1164
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1200
1165
  Default value is "application/json".
1201
1166
  :paramtype content_type: str
1202
- :keyword callable cls: A custom type or function that will be passed the direct response
1203
1167
  :return: LegalHold or the result of cls(response)
1204
1168
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
1205
1169
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1211,7 +1175,7 @@ class BlobContainersOperations:
1211
1175
  resource_group_name: str,
1212
1176
  account_name: str,
1213
1177
  container_name: str,
1214
- legal_hold: IO,
1178
+ legal_hold: IO[bytes],
1215
1179
  *,
1216
1180
  content_type: str = "application/json",
1217
1181
  **kwargs: Any
@@ -1233,11 +1197,10 @@ class BlobContainersOperations:
1233
1197
  by a letter or number. Required.
1234
1198
  :type container_name: str
1235
1199
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1236
- :type legal_hold: IO
1200
+ :type legal_hold: IO[bytes]
1237
1201
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1238
1202
  Default value is "application/json".
1239
1203
  :paramtype content_type: str
1240
- :keyword callable cls: A custom type or function that will be passed the direct response
1241
1204
  :return: LegalHold or the result of cls(response)
1242
1205
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
1243
1206
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1249,7 +1212,7 @@ class BlobContainersOperations:
1249
1212
  resource_group_name: str,
1250
1213
  account_name: str,
1251
1214
  container_name: str,
1252
- legal_hold: Union[_models.LegalHold, IO],
1215
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1253
1216
  **kwargs: Any
1254
1217
  ) -> _models.LegalHold:
1255
1218
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1269,17 +1232,13 @@ class BlobContainersOperations:
1269
1232
  by a letter or number. Required.
1270
1233
  :type container_name: str
1271
1234
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1272
- LegalHold type or a IO type. Required.
1273
- :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
1274
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1275
- Default value is None.
1276
- :paramtype content_type: str
1277
- :keyword callable cls: A custom type or function that will be passed the direct response
1235
+ LegalHold type or a IO[bytes] type. Required.
1236
+ :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
1278
1237
  :return: LegalHold or the result of cls(response)
1279
1238
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
1280
1239
  :raises ~azure.core.exceptions.HttpResponseError:
1281
1240
  """
1282
- error_map = {
1241
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1283
1242
  401: ClientAuthenticationError,
1284
1243
  404: ResourceNotFoundError,
1285
1244
  409: ResourceExistsError,
@@ -1302,7 +1261,7 @@ class BlobContainersOperations:
1302
1261
  else:
1303
1262
  _json = self._serialize.body(legal_hold, "LegalHold")
1304
1263
 
1305
- request = build_set_legal_hold_request(
1264
+ _request = build_set_legal_hold_request(
1306
1265
  resource_group_name=resource_group_name,
1307
1266
  account_name=account_name,
1308
1267
  container_name=container_name,
@@ -1311,16 +1270,15 @@ class BlobContainersOperations:
1311
1270
  content_type=content_type,
1312
1271
  json=_json,
1313
1272
  content=_content,
1314
- template_url=self.set_legal_hold.metadata["url"],
1315
1273
  headers=_headers,
1316
1274
  params=_params,
1317
1275
  )
1318
- request = _convert_request(request)
1319
- request.url = self._client.format_url(request.url)
1276
+ _request = _convert_request(_request)
1277
+ _request.url = self._client.format_url(_request.url)
1320
1278
 
1321
1279
  _stream = False
1322
1280
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1323
- request, stream=_stream, **kwargs
1281
+ _request, stream=_stream, **kwargs
1324
1282
  )
1325
1283
 
1326
1284
  response = pipeline_response.http_response
@@ -1332,13 +1290,9 @@ class BlobContainersOperations:
1332
1290
  deserialized = self._deserialize("LegalHold", pipeline_response)
1333
1291
 
1334
1292
  if cls:
1335
- return cls(pipeline_response, deserialized, {})
1336
-
1337
- return deserialized
1293
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1338
1294
 
1339
- set_legal_hold.metadata = {
1340
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1341
- }
1295
+ return deserialized # type: ignore
1342
1296
 
1343
1297
  @overload
1344
1298
  def clear_legal_hold(
@@ -1371,7 +1325,6 @@ class BlobContainersOperations:
1371
1325
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1372
1326
  Default value is "application/json".
1373
1327
  :paramtype content_type: str
1374
- :keyword callable cls: A custom type or function that will be passed the direct response
1375
1328
  :return: LegalHold or the result of cls(response)
1376
1329
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
1377
1330
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1383,7 +1336,7 @@ class BlobContainersOperations:
1383
1336
  resource_group_name: str,
1384
1337
  account_name: str,
1385
1338
  container_name: str,
1386
- legal_hold: IO,
1339
+ legal_hold: IO[bytes],
1387
1340
  *,
1388
1341
  content_type: str = "application/json",
1389
1342
  **kwargs: Any
@@ -1404,11 +1357,10 @@ class BlobContainersOperations:
1404
1357
  by a letter or number. Required.
1405
1358
  :type container_name: str
1406
1359
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1407
- :type legal_hold: IO
1360
+ :type legal_hold: IO[bytes]
1408
1361
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1409
1362
  Default value is "application/json".
1410
1363
  :paramtype content_type: str
1411
- :keyword callable cls: A custom type or function that will be passed the direct response
1412
1364
  :return: LegalHold or the result of cls(response)
1413
1365
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
1414
1366
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1420,7 +1372,7 @@ class BlobContainersOperations:
1420
1372
  resource_group_name: str,
1421
1373
  account_name: str,
1422
1374
  container_name: str,
1423
- legal_hold: Union[_models.LegalHold, IO],
1375
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1424
1376
  **kwargs: Any
1425
1377
  ) -> _models.LegalHold:
1426
1378
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1439,17 +1391,13 @@ class BlobContainersOperations:
1439
1391
  by a letter or number. Required.
1440
1392
  :type container_name: str
1441
1393
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1442
- LegalHold type or a IO type. Required.
1443
- :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO
1444
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1445
- Default value is None.
1446
- :paramtype content_type: str
1447
- :keyword callable cls: A custom type or function that will be passed the direct response
1394
+ LegalHold type or a IO[bytes] type. Required.
1395
+ :type legal_hold: ~azure.mgmt.storage.v2019_04_01.models.LegalHold or IO[bytes]
1448
1396
  :return: LegalHold or the result of cls(response)
1449
1397
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LegalHold
1450
1398
  :raises ~azure.core.exceptions.HttpResponseError:
1451
1399
  """
1452
- error_map = {
1400
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1453
1401
  401: ClientAuthenticationError,
1454
1402
  404: ResourceNotFoundError,
1455
1403
  409: ResourceExistsError,
@@ -1472,7 +1420,7 @@ class BlobContainersOperations:
1472
1420
  else:
1473
1421
  _json = self._serialize.body(legal_hold, "LegalHold")
1474
1422
 
1475
- request = build_clear_legal_hold_request(
1423
+ _request = build_clear_legal_hold_request(
1476
1424
  resource_group_name=resource_group_name,
1477
1425
  account_name=account_name,
1478
1426
  container_name=container_name,
@@ -1481,16 +1429,15 @@ class BlobContainersOperations:
1481
1429
  content_type=content_type,
1482
1430
  json=_json,
1483
1431
  content=_content,
1484
- template_url=self.clear_legal_hold.metadata["url"],
1485
1432
  headers=_headers,
1486
1433
  params=_params,
1487
1434
  )
1488
- request = _convert_request(request)
1489
- request.url = self._client.format_url(request.url)
1435
+ _request = _convert_request(_request)
1436
+ _request.url = self._client.format_url(_request.url)
1490
1437
 
1491
1438
  _stream = False
1492
1439
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1493
- request, stream=_stream, **kwargs
1440
+ _request, stream=_stream, **kwargs
1494
1441
  )
1495
1442
 
1496
1443
  response = pipeline_response.http_response
@@ -1502,13 +1449,9 @@ class BlobContainersOperations:
1502
1449
  deserialized = self._deserialize("LegalHold", pipeline_response)
1503
1450
 
1504
1451
  if cls:
1505
- return cls(pipeline_response, deserialized, {})
1506
-
1507
- return deserialized
1452
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1508
1453
 
1509
- clear_legal_hold.metadata = {
1510
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1511
- }
1454
+ return deserialized # type: ignore
1512
1455
 
1513
1456
  @overload
1514
1457
  def create_or_update_immutability_policy(
@@ -1551,7 +1494,6 @@ class BlobContainersOperations:
1551
1494
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1552
1495
  Default value is "application/json".
1553
1496
  :paramtype content_type: str
1554
- :keyword callable cls: A custom type or function that will be passed the direct response
1555
1497
  :return: ImmutabilityPolicy or the result of cls(response)
1556
1498
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1557
1499
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1565,7 +1507,7 @@ class BlobContainersOperations:
1565
1507
  container_name: str,
1566
1508
  immutability_policy_name: Union[str, _models.Enum16],
1567
1509
  if_match: Optional[str] = None,
1568
- parameters: Optional[IO] = None,
1510
+ parameters: Optional[IO[bytes]] = None,
1569
1511
  *,
1570
1512
  content_type: str = "application/json",
1571
1513
  **kwargs: Any
@@ -1594,11 +1536,10 @@ class BlobContainersOperations:
1594
1536
  :type if_match: str
1595
1537
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1596
1538
  container. Default value is None.
1597
- :type parameters: IO
1539
+ :type parameters: IO[bytes]
1598
1540
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1599
1541
  Default value is "application/json".
1600
1542
  :paramtype content_type: str
1601
- :keyword callable cls: A custom type or function that will be passed the direct response
1602
1543
  :return: ImmutabilityPolicy or the result of cls(response)
1603
1544
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1604
1545
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1612,7 +1553,7 @@ class BlobContainersOperations:
1612
1553
  container_name: str,
1613
1554
  immutability_policy_name: Union[str, _models.Enum16],
1614
1555
  if_match: Optional[str] = None,
1615
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1556
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1616
1557
  **kwargs: Any
1617
1558
  ) -> _models.ImmutabilityPolicy:
1618
1559
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1638,17 +1579,13 @@ class BlobContainersOperations:
1638
1579
  omitted, this operation will always be applied. Default value is None.
1639
1580
  :type if_match: str
1640
1581
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1641
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1642
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
1643
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1644
- Default value is None.
1645
- :paramtype content_type: str
1646
- :keyword callable cls: A custom type or function that will be passed the direct response
1582
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1583
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
1647
1584
  :return: ImmutabilityPolicy or the result of cls(response)
1648
1585
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1649
1586
  :raises ~azure.core.exceptions.HttpResponseError:
1650
1587
  """
1651
- error_map = {
1588
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1652
1589
  401: ClientAuthenticationError,
1653
1590
  404: ResourceNotFoundError,
1654
1591
  409: ResourceExistsError,
@@ -1674,7 +1611,7 @@ class BlobContainersOperations:
1674
1611
  else:
1675
1612
  _json = None
1676
1613
 
1677
- request = build_create_or_update_immutability_policy_request(
1614
+ _request = build_create_or_update_immutability_policy_request(
1678
1615
  resource_group_name=resource_group_name,
1679
1616
  account_name=account_name,
1680
1617
  container_name=container_name,
@@ -1685,16 +1622,15 @@ class BlobContainersOperations:
1685
1622
  content_type=content_type,
1686
1623
  json=_json,
1687
1624
  content=_content,
1688
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1689
1625
  headers=_headers,
1690
1626
  params=_params,
1691
1627
  )
1692
- request = _convert_request(request)
1693
- request.url = self._client.format_url(request.url)
1628
+ _request = _convert_request(_request)
1629
+ _request.url = self._client.format_url(_request.url)
1694
1630
 
1695
1631
  _stream = False
1696
1632
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1697
- request, stream=_stream, **kwargs
1633
+ _request, stream=_stream, **kwargs
1698
1634
  )
1699
1635
 
1700
1636
  response = pipeline_response.http_response
@@ -1709,13 +1645,9 @@ class BlobContainersOperations:
1709
1645
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1710
1646
 
1711
1647
  if cls:
1712
- return cls(pipeline_response, deserialized, response_headers)
1648
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1713
1649
 
1714
- return deserialized
1715
-
1716
- create_or_update_immutability_policy.metadata = {
1717
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1718
- }
1650
+ return deserialized # type: ignore
1719
1651
 
1720
1652
  @distributed_trace
1721
1653
  def get_immutability_policy(
@@ -1749,12 +1681,11 @@ class BlobContainersOperations:
1749
1681
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1750
1682
  omitted, this operation will always be applied. Default value is None.
1751
1683
  :type if_match: str
1752
- :keyword callable cls: A custom type or function that will be passed the direct response
1753
1684
  :return: ImmutabilityPolicy or the result of cls(response)
1754
1685
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1755
1686
  :raises ~azure.core.exceptions.HttpResponseError:
1756
1687
  """
1757
- error_map = {
1688
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1758
1689
  401: ClientAuthenticationError,
1759
1690
  404: ResourceNotFoundError,
1760
1691
  409: ResourceExistsError,
@@ -1768,7 +1699,7 @@ class BlobContainersOperations:
1768
1699
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1769
1700
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1770
1701
 
1771
- request = build_get_immutability_policy_request(
1702
+ _request = build_get_immutability_policy_request(
1772
1703
  resource_group_name=resource_group_name,
1773
1704
  account_name=account_name,
1774
1705
  container_name=container_name,
@@ -1776,16 +1707,15 @@ class BlobContainersOperations:
1776
1707
  subscription_id=self._config.subscription_id,
1777
1708
  if_match=if_match,
1778
1709
  api_version=api_version,
1779
- template_url=self.get_immutability_policy.metadata["url"],
1780
1710
  headers=_headers,
1781
1711
  params=_params,
1782
1712
  )
1783
- request = _convert_request(request)
1784
- request.url = self._client.format_url(request.url)
1713
+ _request = _convert_request(_request)
1714
+ _request.url = self._client.format_url(_request.url)
1785
1715
 
1786
1716
  _stream = False
1787
1717
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1788
- request, stream=_stream, **kwargs
1718
+ _request, stream=_stream, **kwargs
1789
1719
  )
1790
1720
 
1791
1721
  response = pipeline_response.http_response
@@ -1800,13 +1730,9 @@ class BlobContainersOperations:
1800
1730
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1801
1731
 
1802
1732
  if cls:
1803
- return cls(pipeline_response, deserialized, response_headers)
1733
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1804
1734
 
1805
- return deserialized
1806
-
1807
- get_immutability_policy.metadata = {
1808
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1809
- }
1735
+ return deserialized # type: ignore
1810
1736
 
1811
1737
  @distributed_trace
1812
1738
  def delete_immutability_policy(
@@ -1842,12 +1768,11 @@ class BlobContainersOperations:
1842
1768
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1843
1769
  omitted, this operation will always be applied. Required.
1844
1770
  :type if_match: str
1845
- :keyword callable cls: A custom type or function that will be passed the direct response
1846
1771
  :return: ImmutabilityPolicy or the result of cls(response)
1847
1772
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1848
1773
  :raises ~azure.core.exceptions.HttpResponseError:
1849
1774
  """
1850
- error_map = {
1775
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1851
1776
  401: ClientAuthenticationError,
1852
1777
  404: ResourceNotFoundError,
1853
1778
  409: ResourceExistsError,
@@ -1861,7 +1786,7 @@ class BlobContainersOperations:
1861
1786
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1862
1787
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1863
1788
 
1864
- request = build_delete_immutability_policy_request(
1789
+ _request = build_delete_immutability_policy_request(
1865
1790
  resource_group_name=resource_group_name,
1866
1791
  account_name=account_name,
1867
1792
  container_name=container_name,
@@ -1869,16 +1794,15 @@ class BlobContainersOperations:
1869
1794
  subscription_id=self._config.subscription_id,
1870
1795
  if_match=if_match,
1871
1796
  api_version=api_version,
1872
- template_url=self.delete_immutability_policy.metadata["url"],
1873
1797
  headers=_headers,
1874
1798
  params=_params,
1875
1799
  )
1876
- request = _convert_request(request)
1877
- request.url = self._client.format_url(request.url)
1800
+ _request = _convert_request(_request)
1801
+ _request.url = self._client.format_url(_request.url)
1878
1802
 
1879
1803
  _stream = False
1880
1804
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1881
- request, stream=_stream, **kwargs
1805
+ _request, stream=_stream, **kwargs
1882
1806
  )
1883
1807
 
1884
1808
  response = pipeline_response.http_response
@@ -1893,13 +1817,9 @@ class BlobContainersOperations:
1893
1817
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1894
1818
 
1895
1819
  if cls:
1896
- return cls(pipeline_response, deserialized, response_headers)
1820
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1897
1821
 
1898
- return deserialized
1899
-
1900
- delete_immutability_policy.metadata = {
1901
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1902
- }
1822
+ return deserialized # type: ignore
1903
1823
 
1904
1824
  @distributed_trace
1905
1825
  def lock_immutability_policy(
@@ -1924,12 +1844,11 @@ class BlobContainersOperations:
1924
1844
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1925
1845
  omitted, this operation will always be applied. Required.
1926
1846
  :type if_match: str
1927
- :keyword callable cls: A custom type or function that will be passed the direct response
1928
1847
  :return: ImmutabilityPolicy or the result of cls(response)
1929
1848
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
1930
1849
  :raises ~azure.core.exceptions.HttpResponseError:
1931
1850
  """
1932
- error_map = {
1851
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1933
1852
  401: ClientAuthenticationError,
1934
1853
  404: ResourceNotFoundError,
1935
1854
  409: ResourceExistsError,
@@ -1943,23 +1862,22 @@ class BlobContainersOperations:
1943
1862
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2019-04-01"))
1944
1863
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1945
1864
 
1946
- request = build_lock_immutability_policy_request(
1865
+ _request = build_lock_immutability_policy_request(
1947
1866
  resource_group_name=resource_group_name,
1948
1867
  account_name=account_name,
1949
1868
  container_name=container_name,
1950
1869
  subscription_id=self._config.subscription_id,
1951
1870
  if_match=if_match,
1952
1871
  api_version=api_version,
1953
- template_url=self.lock_immutability_policy.metadata["url"],
1954
1872
  headers=_headers,
1955
1873
  params=_params,
1956
1874
  )
1957
- request = _convert_request(request)
1958
- request.url = self._client.format_url(request.url)
1875
+ _request = _convert_request(_request)
1876
+ _request.url = self._client.format_url(_request.url)
1959
1877
 
1960
1878
  _stream = False
1961
1879
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1962
- request, stream=_stream, **kwargs
1880
+ _request, stream=_stream, **kwargs
1963
1881
  )
1964
1882
 
1965
1883
  response = pipeline_response.http_response
@@ -1974,13 +1892,9 @@ class BlobContainersOperations:
1974
1892
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1975
1893
 
1976
1894
  if cls:
1977
- return cls(pipeline_response, deserialized, response_headers)
1895
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1978
1896
 
1979
- return deserialized
1980
-
1981
- lock_immutability_policy.metadata = {
1982
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1983
- }
1897
+ return deserialized # type: ignore
1984
1898
 
1985
1899
  @overload
1986
1900
  def extend_immutability_policy(
@@ -2020,7 +1934,6 @@ class BlobContainersOperations:
2020
1934
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2021
1935
  Default value is "application/json".
2022
1936
  :paramtype content_type: str
2023
- :keyword callable cls: A custom type or function that will be passed the direct response
2024
1937
  :return: ImmutabilityPolicy or the result of cls(response)
2025
1938
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
2026
1939
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2033,7 +1946,7 @@ class BlobContainersOperations:
2033
1946
  account_name: str,
2034
1947
  container_name: str,
2035
1948
  if_match: str,
2036
- parameters: Optional[IO] = None,
1949
+ parameters: Optional[IO[bytes]] = None,
2037
1950
  *,
2038
1951
  content_type: str = "application/json",
2039
1952
  **kwargs: Any
@@ -2060,11 +1973,10 @@ class BlobContainersOperations:
2060
1973
  :type if_match: str
2061
1974
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2062
1975
  container. Default value is None.
2063
- :type parameters: IO
1976
+ :type parameters: IO[bytes]
2064
1977
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2065
1978
  Default value is "application/json".
2066
1979
  :paramtype content_type: str
2067
- :keyword callable cls: A custom type or function that will be passed the direct response
2068
1980
  :return: ImmutabilityPolicy or the result of cls(response)
2069
1981
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
2070
1982
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2077,7 +1989,7 @@ class BlobContainersOperations:
2077
1989
  account_name: str,
2078
1990
  container_name: str,
2079
1991
  if_match: str,
2080
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1992
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2081
1993
  **kwargs: Any
2082
1994
  ) -> _models.ImmutabilityPolicy:
2083
1995
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2101,17 +2013,13 @@ class BlobContainersOperations:
2101
2013
  omitted, this operation will always be applied. Required.
2102
2014
  :type if_match: str
2103
2015
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2104
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2105
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO
2106
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2107
- Default value is None.
2108
- :paramtype content_type: str
2109
- :keyword callable cls: A custom type or function that will be passed the direct response
2016
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
2017
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy or IO[bytes]
2110
2018
  :return: ImmutabilityPolicy or the result of cls(response)
2111
2019
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.ImmutabilityPolicy
2112
2020
  :raises ~azure.core.exceptions.HttpResponseError:
2113
2021
  """
2114
- error_map = {
2022
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2115
2023
  401: ClientAuthenticationError,
2116
2024
  404: ResourceNotFoundError,
2117
2025
  409: ResourceExistsError,
@@ -2137,7 +2045,7 @@ class BlobContainersOperations:
2137
2045
  else:
2138
2046
  _json = None
2139
2047
 
2140
- request = build_extend_immutability_policy_request(
2048
+ _request = build_extend_immutability_policy_request(
2141
2049
  resource_group_name=resource_group_name,
2142
2050
  account_name=account_name,
2143
2051
  container_name=container_name,
@@ -2147,16 +2055,15 @@ class BlobContainersOperations:
2147
2055
  content_type=content_type,
2148
2056
  json=_json,
2149
2057
  content=_content,
2150
- template_url=self.extend_immutability_policy.metadata["url"],
2151
2058
  headers=_headers,
2152
2059
  params=_params,
2153
2060
  )
2154
- request = _convert_request(request)
2155
- request.url = self._client.format_url(request.url)
2061
+ _request = _convert_request(_request)
2062
+ _request.url = self._client.format_url(_request.url)
2156
2063
 
2157
2064
  _stream = False
2158
2065
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2159
- request, stream=_stream, **kwargs
2066
+ _request, stream=_stream, **kwargs
2160
2067
  )
2161
2068
 
2162
2069
  response = pipeline_response.http_response
@@ -2171,13 +2078,9 @@ class BlobContainersOperations:
2171
2078
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2172
2079
 
2173
2080
  if cls:
2174
- return cls(pipeline_response, deserialized, response_headers)
2175
-
2176
- return deserialized
2081
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2177
2082
 
2178
- extend_immutability_policy.metadata = {
2179
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2180
- }
2083
+ return deserialized # type: ignore
2181
2084
 
2182
2085
  @overload
2183
2086
  def lease(
@@ -2210,7 +2113,6 @@ class BlobContainersOperations:
2210
2113
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2211
2114
  Default value is "application/json".
2212
2115
  :paramtype content_type: str
2213
- :keyword callable cls: A custom type or function that will be passed the direct response
2214
2116
  :return: LeaseContainerResponse or the result of cls(response)
2215
2117
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
2216
2118
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2222,7 +2124,7 @@ class BlobContainersOperations:
2222
2124
  resource_group_name: str,
2223
2125
  account_name: str,
2224
2126
  container_name: str,
2225
- parameters: Optional[IO] = None,
2127
+ parameters: Optional[IO[bytes]] = None,
2226
2128
  *,
2227
2129
  content_type: str = "application/json",
2228
2130
  **kwargs: Any
@@ -2243,11 +2145,10 @@ class BlobContainersOperations:
2243
2145
  by a letter or number. Required.
2244
2146
  :type container_name: str
2245
2147
  :param parameters: Lease Container request body. Default value is None.
2246
- :type parameters: IO
2148
+ :type parameters: IO[bytes]
2247
2149
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2248
2150
  Default value is "application/json".
2249
2151
  :paramtype content_type: str
2250
- :keyword callable cls: A custom type or function that will be passed the direct response
2251
2152
  :return: LeaseContainerResponse or the result of cls(response)
2252
2153
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
2253
2154
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2259,7 +2160,7 @@ class BlobContainersOperations:
2259
2160
  resource_group_name: str,
2260
2161
  account_name: str,
2261
2162
  container_name: str,
2262
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2163
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2263
2164
  **kwargs: Any
2264
2165
  ) -> _models.LeaseContainerResponse:
2265
2166
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2277,18 +2178,14 @@ class BlobContainersOperations:
2277
2178
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2278
2179
  by a letter or number. Required.
2279
2180
  :type container_name: str
2280
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2281
- type. Default value is None.
2282
- :type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO
2283
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2284
- Default value is None.
2285
- :paramtype content_type: str
2286
- :keyword callable cls: A custom type or function that will be passed the direct response
2181
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2182
+ IO[bytes] type. Default value is None.
2183
+ :type parameters: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerRequest or IO[bytes]
2287
2184
  :return: LeaseContainerResponse or the result of cls(response)
2288
2185
  :rtype: ~azure.mgmt.storage.v2019_04_01.models.LeaseContainerResponse
2289
2186
  :raises ~azure.core.exceptions.HttpResponseError:
2290
2187
  """
2291
- error_map = {
2188
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2292
2189
  401: ClientAuthenticationError,
2293
2190
  404: ResourceNotFoundError,
2294
2191
  409: ResourceExistsError,
@@ -2314,7 +2211,7 @@ class BlobContainersOperations:
2314
2211
  else:
2315
2212
  _json = None
2316
2213
 
2317
- request = build_lease_request(
2214
+ _request = build_lease_request(
2318
2215
  resource_group_name=resource_group_name,
2319
2216
  account_name=account_name,
2320
2217
  container_name=container_name,
@@ -2323,16 +2220,15 @@ class BlobContainersOperations:
2323
2220
  content_type=content_type,
2324
2221
  json=_json,
2325
2222
  content=_content,
2326
- template_url=self.lease.metadata["url"],
2327
2223
  headers=_headers,
2328
2224
  params=_params,
2329
2225
  )
2330
- request = _convert_request(request)
2331
- request.url = self._client.format_url(request.url)
2226
+ _request = _convert_request(_request)
2227
+ _request.url = self._client.format_url(_request.url)
2332
2228
 
2333
2229
  _stream = False
2334
2230
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2335
- request, stream=_stream, **kwargs
2231
+ _request, stream=_stream, **kwargs
2336
2232
  )
2337
2233
 
2338
2234
  response = pipeline_response.http_response
@@ -2344,10 +2240,6 @@ class BlobContainersOperations:
2344
2240
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2345
2241
 
2346
2242
  if cls:
2347
- return cls(pipeline_response, deserialized, {})
2348
-
2349
- return deserialized
2243
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2350
2244
 
2351
- lease.metadata = {
2352
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2353
- }
2245
+ return deserialized # type: ignore