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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. azure/mgmt/storage/_configuration.py +2 -3
  2. azure/mgmt/storage/_serialization.py +41 -49
  3. azure/mgmt/storage/_storage_management_client.py +142 -2
  4. azure/mgmt/storage/_version.py +1 -1
  5. azure/mgmt/storage/aio/_configuration.py +2 -3
  6. azure/mgmt/storage/aio/_storage_management_client.py +142 -2
  7. azure/mgmt/storage/models.py +1 -1
  8. azure/mgmt/storage/v2015_06_15/_configuration.py +3 -4
  9. azure/mgmt/storage/v2015_06_15/_patch.py +1 -0
  10. azure/mgmt/storage/v2015_06_15/_storage_management.py +23 -3
  11. azure/mgmt/storage/v2015_06_15/_version.py +1 -1
  12. azure/mgmt/storage/v2015_06_15/aio/_configuration.py +3 -4
  13. azure/mgmt/storage/v2015_06_15/aio/_patch.py +1 -0
  14. azure/mgmt/storage/v2015_06_15/aio/_storage_management.py +25 -3
  15. azure/mgmt/storage/v2015_06_15/aio/operations/_storage_accounts_operations.py +109 -196
  16. azure/mgmt/storage/v2015_06_15/aio/operations/_usage_operations.py +19 -18
  17. azure/mgmt/storage/v2015_06_15/models/_models_py3.py +6 -6
  18. azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +109 -196
  19. azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +19 -18
  20. azure/mgmt/storage/v2016_01_01/_configuration.py +3 -4
  21. azure/mgmt/storage/v2016_01_01/_patch.py +1 -0
  22. azure/mgmt/storage/v2016_01_01/_storage_management_client.py +23 -3
  23. azure/mgmt/storage/v2016_01_01/_version.py +1 -1
  24. azure/mgmt/storage/v2016_01_01/aio/_configuration.py +3 -4
  25. azure/mgmt/storage/v2016_01_01/aio/_patch.py +1 -0
  26. azure/mgmt/storage/v2016_01_01/aio/_storage_management_client.py +25 -3
  27. azure/mgmt/storage/v2016_01_01/aio/operations/_storage_accounts_operations.py +109 -196
  28. azure/mgmt/storage/v2016_01_01/aio/operations/_usage_operations.py +19 -18
  29. azure/mgmt/storage/v2016_01_01/models/_models_py3.py +7 -7
  30. azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +109 -196
  31. azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +19 -18
  32. azure/mgmt/storage/v2016_12_01/_configuration.py +3 -4
  33. azure/mgmt/storage/v2016_12_01/_patch.py +1 -0
  34. azure/mgmt/storage/v2016_12_01/_storage_management.py +23 -3
  35. azure/mgmt/storage/v2016_12_01/_version.py +1 -1
  36. azure/mgmt/storage/v2016_12_01/aio/_configuration.py +3 -4
  37. azure/mgmt/storage/v2016_12_01/aio/_patch.py +1 -0
  38. azure/mgmt/storage/v2016_12_01/aio/_storage_management.py +25 -3
  39. azure/mgmt/storage/v2016_12_01/aio/operations/_storage_accounts_operations.py +133 -242
  40. azure/mgmt/storage/v2016_12_01/aio/operations/_usage_operations.py +19 -18
  41. azure/mgmt/storage/v2016_12_01/models/_models_py3.py +9 -9
  42. azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +133 -242
  43. azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +19 -18
  44. azure/mgmt/storage/v2017_06_01/_configuration.py +3 -4
  45. azure/mgmt/storage/v2017_06_01/_patch.py +1 -0
  46. azure/mgmt/storage/v2017_06_01/_storage_management.py +23 -3
  47. azure/mgmt/storage/v2017_06_01/_version.py +1 -1
  48. azure/mgmt/storage/v2017_06_01/aio/_configuration.py +3 -4
  49. azure/mgmt/storage/v2017_06_01/aio/_patch.py +1 -0
  50. azure/mgmt/storage/v2017_06_01/aio/_storage_management.py +25 -3
  51. azure/mgmt/storage/v2017_06_01/aio/operations/_operations.py +19 -18
  52. azure/mgmt/storage/v2017_06_01/aio/operations/_skus_operations.py +19 -18
  53. azure/mgmt/storage/v2017_06_01/aio/operations/_storage_accounts_operations.py +133 -242
  54. azure/mgmt/storage/v2017_06_01/aio/operations/_usage_operations.py +19 -18
  55. azure/mgmt/storage/v2017_06_01/models/_models_py3.py +16 -22
  56. azure/mgmt/storage/v2017_06_01/operations/_operations.py +19 -18
  57. azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +19 -18
  58. azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +133 -242
  59. azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +19 -18
  60. azure/mgmt/storage/v2017_10_01/_configuration.py +3 -4
  61. azure/mgmt/storage/v2017_10_01/_patch.py +1 -0
  62. azure/mgmt/storage/v2017_10_01/_storage_management.py +23 -3
  63. azure/mgmt/storage/v2017_10_01/_version.py +1 -1
  64. azure/mgmt/storage/v2017_10_01/aio/_configuration.py +3 -4
  65. azure/mgmt/storage/v2017_10_01/aio/_patch.py +1 -0
  66. azure/mgmt/storage/v2017_10_01/aio/_storage_management.py +25 -3
  67. azure/mgmt/storage/v2017_10_01/aio/operations/_operations.py +19 -18
  68. azure/mgmt/storage/v2017_10_01/aio/operations/_skus_operations.py +19 -18
  69. azure/mgmt/storage/v2017_10_01/aio/operations/_storage_accounts_operations.py +133 -242
  70. azure/mgmt/storage/v2017_10_01/aio/operations/_usage_operations.py +19 -18
  71. azure/mgmt/storage/v2017_10_01/models/_models_py3.py +16 -22
  72. azure/mgmt/storage/v2017_10_01/operations/_operations.py +19 -18
  73. azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +19 -18
  74. azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +133 -242
  75. azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +19 -18
  76. azure/mgmt/storage/v2018_02_01/_configuration.py +3 -4
  77. azure/mgmt/storage/v2018_02_01/_patch.py +1 -0
  78. azure/mgmt/storage/v2018_02_01/_storage_management_client.py +23 -3
  79. azure/mgmt/storage/v2018_02_01/_version.py +1 -1
  80. azure/mgmt/storage/v2018_02_01/aio/_configuration.py +3 -4
  81. azure/mgmt/storage/v2018_02_01/aio/_patch.py +1 -0
  82. azure/mgmt/storage/v2018_02_01/aio/_storage_management_client.py +25 -3
  83. azure/mgmt/storage/v2018_02_01/aio/operations/_blob_containers_operations.py +133 -241
  84. azure/mgmt/storage/v2018_02_01/aio/operations/_operations.py +19 -18
  85. azure/mgmt/storage/v2018_02_01/aio/operations/_skus_operations.py +19 -18
  86. azure/mgmt/storage/v2018_02_01/aio/operations/_storage_accounts_operations.py +133 -242
  87. azure/mgmt/storage/v2018_02_01/aio/operations/_usage_operations.py +31 -36
  88. azure/mgmt/storage/v2018_02_01/models/_models_py3.py +30 -36
  89. azure/mgmt/storage/v2018_02_01/models/_storage_management_client_enums.py +0 -1
  90. azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +134 -242
  91. azure/mgmt/storage/v2018_02_01/operations/_operations.py +19 -18
  92. azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +19 -18
  93. azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +133 -242
  94. azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +31 -36
  95. azure/mgmt/storage/v2018_03_01_preview/_configuration.py +3 -4
  96. azure/mgmt/storage/v2018_03_01_preview/_patch.py +1 -0
  97. azure/mgmt/storage/v2018_03_01_preview/_storage_management_client.py +23 -3
  98. azure/mgmt/storage/v2018_03_01_preview/_version.py +1 -1
  99. azure/mgmt/storage/v2018_03_01_preview/aio/_configuration.py +3 -4
  100. azure/mgmt/storage/v2018_03_01_preview/aio/_patch.py +1 -0
  101. azure/mgmt/storage/v2018_03_01_preview/aio/_storage_management_client.py +25 -3
  102. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_blob_containers_operations.py +136 -241
  103. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_management_policies_operations.py +32 -50
  104. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_operations.py +19 -18
  105. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_skus_operations.py +19 -18
  106. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_storage_accounts_operations.py +158 -290
  107. azure/mgmt/storage/v2018_03_01_preview/aio/operations/_usages_operations.py +31 -36
  108. azure/mgmt/storage/v2018_03_01_preview/models/_models_py3.py +32 -36
  109. azure/mgmt/storage/v2018_03_01_preview/models/_storage_management_client_enums.py +0 -1
  110. azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +137 -242
  111. azure/mgmt/storage/v2018_03_01_preview/operations/_management_policies_operations.py +32 -50
  112. azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +19 -18
  113. azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +19 -18
  114. azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +159 -291
  115. azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +31 -36
  116. azure/mgmt/storage/v2018_07_01/_configuration.py +3 -4
  117. azure/mgmt/storage/v2018_07_01/_patch.py +1 -0
  118. azure/mgmt/storage/v2018_07_01/_storage_management_client.py +23 -3
  119. azure/mgmt/storage/v2018_07_01/_version.py +1 -1
  120. azure/mgmt/storage/v2018_07_01/aio/_configuration.py +3 -4
  121. azure/mgmt/storage/v2018_07_01/aio/_patch.py +1 -0
  122. azure/mgmt/storage/v2018_07_01/aio/_storage_management_client.py +25 -3
  123. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_containers_operations.py +133 -241
  124. azure/mgmt/storage/v2018_07_01/aio/operations/_blob_services_operations.py +26 -38
  125. azure/mgmt/storage/v2018_07_01/aio/operations/_operations.py +19 -18
  126. azure/mgmt/storage/v2018_07_01/aio/operations/_skus_operations.py +19 -18
  127. azure/mgmt/storage/v2018_07_01/aio/operations/_storage_accounts_operations.py +140 -271
  128. azure/mgmt/storage/v2018_07_01/aio/operations/_usages_operations.py +19 -20
  129. azure/mgmt/storage/v2018_07_01/models/_models_py3.py +32 -38
  130. azure/mgmt/storage/v2018_07_01/models/_storage_management_client_enums.py +0 -1
  131. azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +134 -242
  132. azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +26 -38
  133. azure/mgmt/storage/v2018_07_01/operations/_operations.py +19 -18
  134. azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +19 -18
  135. azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +140 -271
  136. azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +19 -20
  137. azure/mgmt/storage/v2018_11_01/_configuration.py +3 -4
  138. azure/mgmt/storage/v2018_11_01/_patch.py +1 -0
  139. azure/mgmt/storage/v2018_11_01/_storage_management_client.py +23 -3
  140. azure/mgmt/storage/v2018_11_01/_version.py +1 -1
  141. azure/mgmt/storage/v2018_11_01/aio/_configuration.py +3 -4
  142. azure/mgmt/storage/v2018_11_01/aio/_patch.py +1 -0
  143. azure/mgmt/storage/v2018_11_01/aio/_storage_management_client.py +25 -3
  144. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_containers_operations.py +131 -239
  145. azure/mgmt/storage/v2018_11_01/aio/operations/_blob_services_operations.py +26 -38
  146. azure/mgmt/storage/v2018_11_01/aio/operations/_management_policies_operations.py +32 -50
  147. azure/mgmt/storage/v2018_11_01/aio/operations/_operations.py +19 -18
  148. azure/mgmt/storage/v2018_11_01/aio/operations/_skus_operations.py +19 -18
  149. azure/mgmt/storage/v2018_11_01/aio/operations/_storage_accounts_operations.py +146 -283
  150. azure/mgmt/storage/v2018_11_01/aio/operations/_usages_operations.py +19 -20
  151. azure/mgmt/storage/v2018_11_01/models/_models_py3.py +39 -45
  152. azure/mgmt/storage/v2018_11_01/models/_storage_management_client_enums.py +0 -1
  153. azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +132 -240
  154. azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +26 -38
  155. azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +32 -50
  156. azure/mgmt/storage/v2018_11_01/operations/_operations.py +19 -18
  157. azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +19 -18
  158. azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +147 -284
  159. azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +19 -20
  160. azure/mgmt/storage/v2019_04_01/_configuration.py +3 -4
  161. azure/mgmt/storage/v2019_04_01/_patch.py +1 -0
  162. azure/mgmt/storage/v2019_04_01/_storage_management_client.py +23 -3
  163. azure/mgmt/storage/v2019_04_01/_version.py +1 -1
  164. azure/mgmt/storage/v2019_04_01/aio/_configuration.py +3 -4
  165. azure/mgmt/storage/v2019_04_01/aio/_patch.py +1 -0
  166. azure/mgmt/storage/v2019_04_01/aio/_storage_management_client.py +25 -3
  167. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_containers_operations.py +136 -244
  168. azure/mgmt/storage/v2019_04_01/aio/operations/_blob_services_operations.py +38 -56
  169. azure/mgmt/storage/v2019_04_01/aio/operations/_file_services_operations.py +34 -52
  170. azure/mgmt/storage/v2019_04_01/aio/operations/_file_shares_operations.py +56 -91
  171. azure/mgmt/storage/v2019_04_01/aio/operations/_management_policies_operations.py +32 -50
  172. azure/mgmt/storage/v2019_04_01/aio/operations/_operations.py +19 -18
  173. azure/mgmt/storage/v2019_04_01/aio/operations/_skus_operations.py +19 -18
  174. azure/mgmt/storage/v2019_04_01/aio/operations/_storage_accounts_operations.py +147 -283
  175. azure/mgmt/storage/v2019_04_01/aio/operations/_usages_operations.py +19 -20
  176. azure/mgmt/storage/v2019_04_01/models/_models_py3.py +44 -50
  177. azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +0 -1
  178. azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +137 -245
  179. azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +38 -56
  180. azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +34 -52
  181. azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +56 -91
  182. azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +32 -50
  183. azure/mgmt/storage/v2019_04_01/operations/_operations.py +19 -18
  184. azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +19 -18
  185. azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +148 -284
  186. azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +19 -20
  187. azure/mgmt/storage/v2019_06_01/_configuration.py +3 -4
  188. azure/mgmt/storage/v2019_06_01/_patch.py +1 -0
  189. azure/mgmt/storage/v2019_06_01/_storage_management_client.py +23 -3
  190. azure/mgmt/storage/v2019_06_01/_version.py +1 -1
  191. azure/mgmt/storage/v2019_06_01/aio/_configuration.py +3 -4
  192. azure/mgmt/storage/v2019_06_01/aio/_patch.py +1 -0
  193. azure/mgmt/storage/v2019_06_01/aio/_storage_management_client.py +25 -3
  194. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_containers_operations.py +136 -244
  195. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  196. azure/mgmt/storage/v2019_06_01/aio/operations/_blob_services_operations.py +38 -56
  197. azure/mgmt/storage/v2019_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  198. azure/mgmt/storage/v2019_06_01/aio/operations/_file_services_operations.py +34 -52
  199. azure/mgmt/storage/v2019_06_01/aio/operations/_file_shares_operations.py +65 -116
  200. azure/mgmt/storage/v2019_06_01/aio/operations/_management_policies_operations.py +32 -50
  201. azure/mgmt/storage/v2019_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  202. azure/mgmt/storage/v2019_06_01/aio/operations/_operations.py +19 -18
  203. azure/mgmt/storage/v2019_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  204. azure/mgmt/storage/v2019_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  205. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_operations.py +56 -91
  206. azure/mgmt/storage/v2019_06_01/aio/operations/_queue_services_operations.py +33 -51
  207. azure/mgmt/storage/v2019_06_01/aio/operations/_skus_operations.py +19 -18
  208. azure/mgmt/storage/v2019_06_01/aio/operations/_storage_accounts_operations.py +163 -333
  209. azure/mgmt/storage/v2019_06_01/aio/operations/_table_operations.py +46 -71
  210. azure/mgmt/storage/v2019_06_01/aio/operations/_table_services_operations.py +33 -51
  211. azure/mgmt/storage/v2019_06_01/aio/operations/_usages_operations.py +19 -20
  212. azure/mgmt/storage/v2019_06_01/models/_models_py3.py +64 -70
  213. azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +0 -1
  214. azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +137 -245
  215. azure/mgmt/storage/v2019_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  216. azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +38 -56
  217. azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +48 -77
  218. azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +34 -52
  219. azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +65 -116
  220. azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +32 -50
  221. azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +45 -68
  222. azure/mgmt/storage/v2019_06_01/operations/_operations.py +19 -18
  223. azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  224. azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +14 -15
  225. azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +56 -91
  226. azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +33 -51
  227. azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +19 -18
  228. azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +164 -334
  229. azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +46 -71
  230. azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +33 -51
  231. azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +19 -20
  232. azure/mgmt/storage/v2020_08_01_preview/_configuration.py +3 -4
  233. azure/mgmt/storage/v2020_08_01_preview/_patch.py +1 -0
  234. azure/mgmt/storage/v2020_08_01_preview/_storage_management_client.py +23 -3
  235. azure/mgmt/storage/v2020_08_01_preview/_version.py +1 -1
  236. azure/mgmt/storage/v2020_08_01_preview/aio/_configuration.py +3 -4
  237. azure/mgmt/storage/v2020_08_01_preview/aio/_patch.py +1 -0
  238. azure/mgmt/storage/v2020_08_01_preview/aio/_storage_management_client.py +25 -3
  239. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_containers_operations.py +139 -244
  240. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_inventory_policies_operations.py +45 -68
  241. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_blob_services_operations.py +39 -56
  242. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_deleted_accounts_operations.py +26 -31
  243. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_encryption_scopes_operations.py +50 -77
  244. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_services_operations.py +35 -52
  245. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_file_shares_operations.py +65 -116
  246. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_management_policies_operations.py +32 -50
  247. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_object_replication_policies_operations.py +46 -68
  248. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_operations.py +19 -18
  249. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_endpoint_connections_operations.py +44 -68
  250. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_private_link_resources_operations.py +14 -15
  251. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_operations.py +56 -91
  252. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_queue_services_operations.py +34 -51
  253. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_skus_operations.py +19 -18
  254. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_storage_accounts_operations.py +164 -333
  255. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_operations.py +46 -71
  256. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_table_services_operations.py +34 -51
  257. azure/mgmt/storage/v2020_08_01_preview/aio/operations/_usages_operations.py +19 -20
  258. azure/mgmt/storage/v2020_08_01_preview/models/_models_py3.py +66 -88
  259. azure/mgmt/storage/v2020_08_01_preview/models/_storage_management_client_enums.py +0 -1
  260. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_containers_operations.py +140 -245
  261. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_inventory_policies_operations.py +45 -68
  262. azure/mgmt/storage/v2020_08_01_preview/operations/_blob_services_operations.py +39 -56
  263. azure/mgmt/storage/v2020_08_01_preview/operations/_deleted_accounts_operations.py +26 -31
  264. azure/mgmt/storage/v2020_08_01_preview/operations/_encryption_scopes_operations.py +50 -77
  265. azure/mgmt/storage/v2020_08_01_preview/operations/_file_services_operations.py +35 -52
  266. azure/mgmt/storage/v2020_08_01_preview/operations/_file_shares_operations.py +65 -116
  267. azure/mgmt/storage/v2020_08_01_preview/operations/_management_policies_operations.py +32 -50
  268. azure/mgmt/storage/v2020_08_01_preview/operations/_object_replication_policies_operations.py +46 -68
  269. azure/mgmt/storage/v2020_08_01_preview/operations/_operations.py +19 -18
  270. azure/mgmt/storage/v2020_08_01_preview/operations/_private_endpoint_connections_operations.py +44 -68
  271. azure/mgmt/storage/v2020_08_01_preview/operations/_private_link_resources_operations.py +14 -15
  272. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_operations.py +56 -91
  273. azure/mgmt/storage/v2020_08_01_preview/operations/_queue_services_operations.py +34 -51
  274. azure/mgmt/storage/v2020_08_01_preview/operations/_skus_operations.py +19 -18
  275. azure/mgmt/storage/v2020_08_01_preview/operations/_storage_accounts_operations.py +165 -334
  276. azure/mgmt/storage/v2020_08_01_preview/operations/_table_operations.py +46 -71
  277. azure/mgmt/storage/v2020_08_01_preview/operations/_table_services_operations.py +34 -51
  278. azure/mgmt/storage/v2020_08_01_preview/operations/_usages_operations.py +19 -20
  279. azure/mgmt/storage/v2021_01_01/_configuration.py +3 -4
  280. azure/mgmt/storage/v2021_01_01/_patch.py +1 -0
  281. azure/mgmt/storage/v2021_01_01/_storage_management_client.py +23 -3
  282. azure/mgmt/storage/v2021_01_01/_version.py +1 -1
  283. azure/mgmt/storage/v2021_01_01/aio/_configuration.py +3 -4
  284. azure/mgmt/storage/v2021_01_01/aio/_patch.py +1 -0
  285. azure/mgmt/storage/v2021_01_01/aio/_storage_management_client.py +25 -3
  286. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_containers_operations.py +136 -244
  287. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  288. azure/mgmt/storage/v2021_01_01/aio/operations/_blob_services_operations.py +38 -56
  289. azure/mgmt/storage/v2021_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  290. azure/mgmt/storage/v2021_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  291. azure/mgmt/storage/v2021_01_01/aio/operations/_file_services_operations.py +34 -52
  292. azure/mgmt/storage/v2021_01_01/aio/operations/_file_shares_operations.py +65 -116
  293. azure/mgmt/storage/v2021_01_01/aio/operations/_management_policies_operations.py +32 -50
  294. azure/mgmt/storage/v2021_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  295. azure/mgmt/storage/v2021_01_01/aio/operations/_operations.py +19 -18
  296. azure/mgmt/storage/v2021_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  297. azure/mgmt/storage/v2021_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  298. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_operations.py +56 -91
  299. azure/mgmt/storage/v2021_01_01/aio/operations/_queue_services_operations.py +33 -51
  300. azure/mgmt/storage/v2021_01_01/aio/operations/_skus_operations.py +19 -18
  301. azure/mgmt/storage/v2021_01_01/aio/operations/_storage_accounts_operations.py +163 -333
  302. azure/mgmt/storage/v2021_01_01/aio/operations/_table_operations.py +46 -71
  303. azure/mgmt/storage/v2021_01_01/aio/operations/_table_services_operations.py +33 -51
  304. azure/mgmt/storage/v2021_01_01/aio/operations/_usages_operations.py +19 -20
  305. azure/mgmt/storage/v2021_01_01/models/_models_py3.py +66 -88
  306. azure/mgmt/storage/v2021_01_01/models/_storage_management_client_enums.py +0 -1
  307. azure/mgmt/storage/v2021_01_01/operations/_blob_containers_operations.py +137 -245
  308. azure/mgmt/storage/v2021_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  309. azure/mgmt/storage/v2021_01_01/operations/_blob_services_operations.py +38 -56
  310. azure/mgmt/storage/v2021_01_01/operations/_deleted_accounts_operations.py +26 -31
  311. azure/mgmt/storage/v2021_01_01/operations/_encryption_scopes_operations.py +48 -77
  312. azure/mgmt/storage/v2021_01_01/operations/_file_services_operations.py +34 -52
  313. azure/mgmt/storage/v2021_01_01/operations/_file_shares_operations.py +65 -116
  314. azure/mgmt/storage/v2021_01_01/operations/_management_policies_operations.py +32 -50
  315. azure/mgmt/storage/v2021_01_01/operations/_object_replication_policies_operations.py +45 -68
  316. azure/mgmt/storage/v2021_01_01/operations/_operations.py +19 -18
  317. azure/mgmt/storage/v2021_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  318. azure/mgmt/storage/v2021_01_01/operations/_private_link_resources_operations.py +14 -15
  319. azure/mgmt/storage/v2021_01_01/operations/_queue_operations.py +56 -91
  320. azure/mgmt/storage/v2021_01_01/operations/_queue_services_operations.py +33 -51
  321. azure/mgmt/storage/v2021_01_01/operations/_skus_operations.py +19 -18
  322. azure/mgmt/storage/v2021_01_01/operations/_storage_accounts_operations.py +164 -334
  323. azure/mgmt/storage/v2021_01_01/operations/_table_operations.py +46 -71
  324. azure/mgmt/storage/v2021_01_01/operations/_table_services_operations.py +33 -51
  325. azure/mgmt/storage/v2021_01_01/operations/_usages_operations.py +19 -20
  326. azure/mgmt/storage/v2021_02_01/_configuration.py +3 -4
  327. azure/mgmt/storage/v2021_02_01/_patch.py +1 -0
  328. azure/mgmt/storage/v2021_02_01/_storage_management_client.py +23 -3
  329. azure/mgmt/storage/v2021_02_01/_version.py +1 -1
  330. azure/mgmt/storage/v2021_02_01/aio/_configuration.py +3 -4
  331. azure/mgmt/storage/v2021_02_01/aio/_patch.py +1 -0
  332. azure/mgmt/storage/v2021_02_01/aio/_storage_management_client.py +25 -3
  333. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_containers_operations.py +136 -244
  334. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  335. azure/mgmt/storage/v2021_02_01/aio/operations/_blob_services_operations.py +38 -56
  336. azure/mgmt/storage/v2021_02_01/aio/operations/_deleted_accounts_operations.py +26 -31
  337. azure/mgmt/storage/v2021_02_01/aio/operations/_encryption_scopes_operations.py +48 -77
  338. azure/mgmt/storage/v2021_02_01/aio/operations/_file_services_operations.py +34 -52
  339. azure/mgmt/storage/v2021_02_01/aio/operations/_file_shares_operations.py +65 -116
  340. azure/mgmt/storage/v2021_02_01/aio/operations/_management_policies_operations.py +32 -50
  341. azure/mgmt/storage/v2021_02_01/aio/operations/_object_replication_policies_operations.py +45 -68
  342. azure/mgmt/storage/v2021_02_01/aio/operations/_operations.py +19 -18
  343. azure/mgmt/storage/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  344. azure/mgmt/storage/v2021_02_01/aio/operations/_private_link_resources_operations.py +14 -15
  345. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_operations.py +56 -91
  346. azure/mgmt/storage/v2021_02_01/aio/operations/_queue_services_operations.py +33 -51
  347. azure/mgmt/storage/v2021_02_01/aio/operations/_skus_operations.py +19 -18
  348. azure/mgmt/storage/v2021_02_01/aio/operations/_storage_accounts_operations.py +163 -333
  349. azure/mgmt/storage/v2021_02_01/aio/operations/_table_operations.py +46 -71
  350. azure/mgmt/storage/v2021_02_01/aio/operations/_table_services_operations.py +33 -51
  351. azure/mgmt/storage/v2021_02_01/aio/operations/_usages_operations.py +19 -20
  352. azure/mgmt/storage/v2021_02_01/models/_models_py3.py +68 -90
  353. azure/mgmt/storage/v2021_02_01/models/_storage_management_client_enums.py +0 -1
  354. azure/mgmt/storage/v2021_02_01/operations/_blob_containers_operations.py +137 -245
  355. azure/mgmt/storage/v2021_02_01/operations/_blob_inventory_policies_operations.py +44 -68
  356. azure/mgmt/storage/v2021_02_01/operations/_blob_services_operations.py +38 -56
  357. azure/mgmt/storage/v2021_02_01/operations/_deleted_accounts_operations.py +26 -31
  358. azure/mgmt/storage/v2021_02_01/operations/_encryption_scopes_operations.py +48 -77
  359. azure/mgmt/storage/v2021_02_01/operations/_file_services_operations.py +34 -52
  360. azure/mgmt/storage/v2021_02_01/operations/_file_shares_operations.py +65 -116
  361. azure/mgmt/storage/v2021_02_01/operations/_management_policies_operations.py +32 -50
  362. azure/mgmt/storage/v2021_02_01/operations/_object_replication_policies_operations.py +45 -68
  363. azure/mgmt/storage/v2021_02_01/operations/_operations.py +19 -18
  364. azure/mgmt/storage/v2021_02_01/operations/_private_endpoint_connections_operations.py +44 -68
  365. azure/mgmt/storage/v2021_02_01/operations/_private_link_resources_operations.py +14 -15
  366. azure/mgmt/storage/v2021_02_01/operations/_queue_operations.py +56 -91
  367. azure/mgmt/storage/v2021_02_01/operations/_queue_services_operations.py +33 -51
  368. azure/mgmt/storage/v2021_02_01/operations/_skus_operations.py +19 -18
  369. azure/mgmt/storage/v2021_02_01/operations/_storage_accounts_operations.py +164 -334
  370. azure/mgmt/storage/v2021_02_01/operations/_table_operations.py +46 -71
  371. azure/mgmt/storage/v2021_02_01/operations/_table_services_operations.py +33 -51
  372. azure/mgmt/storage/v2021_02_01/operations/_usages_operations.py +19 -20
  373. azure/mgmt/storage/v2021_04_01/_configuration.py +3 -4
  374. azure/mgmt/storage/v2021_04_01/_patch.py +1 -0
  375. azure/mgmt/storage/v2021_04_01/_storage_management_client.py +23 -3
  376. azure/mgmt/storage/v2021_04_01/_version.py +1 -1
  377. azure/mgmt/storage/v2021_04_01/aio/_configuration.py +3 -4
  378. azure/mgmt/storage/v2021_04_01/aio/_patch.py +1 -0
  379. azure/mgmt/storage/v2021_04_01/aio/_storage_management_client.py +25 -3
  380. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_containers_operations.py +145 -270
  381. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  382. azure/mgmt/storage/v2021_04_01/aio/operations/_blob_services_operations.py +38 -56
  383. azure/mgmt/storage/v2021_04_01/aio/operations/_deleted_accounts_operations.py +26 -31
  384. azure/mgmt/storage/v2021_04_01/aio/operations/_encryption_scopes_operations.py +48 -77
  385. azure/mgmt/storage/v2021_04_01/aio/operations/_file_services_operations.py +34 -52
  386. azure/mgmt/storage/v2021_04_01/aio/operations/_file_shares_operations.py +80 -137
  387. azure/mgmt/storage/v2021_04_01/aio/operations/_management_policies_operations.py +32 -50
  388. azure/mgmt/storage/v2021_04_01/aio/operations/_object_replication_policies_operations.py +45 -68
  389. azure/mgmt/storage/v2021_04_01/aio/operations/_operations.py +19 -18
  390. azure/mgmt/storage/v2021_04_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  391. azure/mgmt/storage/v2021_04_01/aio/operations/_private_link_resources_operations.py +14 -15
  392. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_operations.py +56 -91
  393. azure/mgmt/storage/v2021_04_01/aio/operations/_queue_services_operations.py +33 -51
  394. azure/mgmt/storage/v2021_04_01/aio/operations/_skus_operations.py +19 -18
  395. azure/mgmt/storage/v2021_04_01/aio/operations/_storage_accounts_operations.py +163 -333
  396. azure/mgmt/storage/v2021_04_01/aio/operations/_table_operations.py +46 -71
  397. azure/mgmt/storage/v2021_04_01/aio/operations/_table_services_operations.py +33 -51
  398. azure/mgmt/storage/v2021_04_01/aio/operations/_usages_operations.py +19 -20
  399. azure/mgmt/storage/v2021_04_01/models/_models_py3.py +70 -92
  400. azure/mgmt/storage/v2021_04_01/models/_storage_management_client_enums.py +0 -2
  401. azure/mgmt/storage/v2021_04_01/operations/_blob_containers_operations.py +146 -271
  402. azure/mgmt/storage/v2021_04_01/operations/_blob_inventory_policies_operations.py +44 -68
  403. azure/mgmt/storage/v2021_04_01/operations/_blob_services_operations.py +38 -56
  404. azure/mgmt/storage/v2021_04_01/operations/_deleted_accounts_operations.py +26 -31
  405. azure/mgmt/storage/v2021_04_01/operations/_encryption_scopes_operations.py +48 -77
  406. azure/mgmt/storage/v2021_04_01/operations/_file_services_operations.py +34 -52
  407. azure/mgmt/storage/v2021_04_01/operations/_file_shares_operations.py +80 -137
  408. azure/mgmt/storage/v2021_04_01/operations/_management_policies_operations.py +32 -50
  409. azure/mgmt/storage/v2021_04_01/operations/_object_replication_policies_operations.py +45 -68
  410. azure/mgmt/storage/v2021_04_01/operations/_operations.py +19 -18
  411. azure/mgmt/storage/v2021_04_01/operations/_private_endpoint_connections_operations.py +44 -68
  412. azure/mgmt/storage/v2021_04_01/operations/_private_link_resources_operations.py +14 -15
  413. azure/mgmt/storage/v2021_04_01/operations/_queue_operations.py +56 -91
  414. azure/mgmt/storage/v2021_04_01/operations/_queue_services_operations.py +33 -51
  415. azure/mgmt/storage/v2021_04_01/operations/_skus_operations.py +19 -18
  416. azure/mgmt/storage/v2021_04_01/operations/_storage_accounts_operations.py +164 -334
  417. azure/mgmt/storage/v2021_04_01/operations/_table_operations.py +46 -71
  418. azure/mgmt/storage/v2021_04_01/operations/_table_services_operations.py +33 -51
  419. azure/mgmt/storage/v2021_04_01/operations/_usages_operations.py +19 -20
  420. azure/mgmt/storage/v2021_06_01/_configuration.py +3 -4
  421. azure/mgmt/storage/v2021_06_01/_patch.py +1 -0
  422. azure/mgmt/storage/v2021_06_01/_storage_management_client.py +23 -3
  423. azure/mgmt/storage/v2021_06_01/_version.py +1 -1
  424. azure/mgmt/storage/v2021_06_01/aio/_configuration.py +3 -4
  425. azure/mgmt/storage/v2021_06_01/aio/_patch.py +1 -0
  426. azure/mgmt/storage/v2021_06_01/aio/_storage_management_client.py +25 -3
  427. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_containers_operations.py +143 -293
  428. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  429. azure/mgmt/storage/v2021_06_01/aio/operations/_blob_services_operations.py +36 -75
  430. azure/mgmt/storage/v2021_06_01/aio/operations/_deleted_accounts_operations.py +26 -31
  431. azure/mgmt/storage/v2021_06_01/aio/operations/_encryption_scopes_operations.py +48 -77
  432. azure/mgmt/storage/v2021_06_01/aio/operations/_file_services_operations.py +32 -71
  433. azure/mgmt/storage/v2021_06_01/aio/operations/_file_shares_operations.py +80 -137
  434. azure/mgmt/storage/v2021_06_01/aio/operations/_management_policies_operations.py +32 -50
  435. azure/mgmt/storage/v2021_06_01/aio/operations/_object_replication_policies_operations.py +45 -68
  436. azure/mgmt/storage/v2021_06_01/aio/operations/_operations.py +19 -18
  437. azure/mgmt/storage/v2021_06_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  438. azure/mgmt/storage/v2021_06_01/aio/operations/_private_link_resources_operations.py +14 -15
  439. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_operations.py +56 -91
  440. azure/mgmt/storage/v2021_06_01/aio/operations/_queue_services_operations.py +31 -70
  441. azure/mgmt/storage/v2021_06_01/aio/operations/_skus_operations.py +19 -18
  442. azure/mgmt/storage/v2021_06_01/aio/operations/_storage_accounts_operations.py +184 -388
  443. azure/mgmt/storage/v2021_06_01/aio/operations/_table_operations.py +46 -71
  444. azure/mgmt/storage/v2021_06_01/aio/operations/_table_services_operations.py +31 -70
  445. azure/mgmt/storage/v2021_06_01/aio/operations/_usages_operations.py +19 -20
  446. azure/mgmt/storage/v2021_06_01/models/_models_py3.py +70 -92
  447. azure/mgmt/storage/v2021_06_01/models/_storage_management_client_enums.py +0 -2
  448. azure/mgmt/storage/v2021_06_01/operations/_blob_containers_operations.py +144 -294
  449. azure/mgmt/storage/v2021_06_01/operations/_blob_inventory_policies_operations.py +44 -68
  450. azure/mgmt/storage/v2021_06_01/operations/_blob_services_operations.py +36 -75
  451. azure/mgmt/storage/v2021_06_01/operations/_deleted_accounts_operations.py +26 -31
  452. azure/mgmt/storage/v2021_06_01/operations/_encryption_scopes_operations.py +48 -77
  453. azure/mgmt/storage/v2021_06_01/operations/_file_services_operations.py +32 -71
  454. azure/mgmt/storage/v2021_06_01/operations/_file_shares_operations.py +80 -137
  455. azure/mgmt/storage/v2021_06_01/operations/_management_policies_operations.py +32 -50
  456. azure/mgmt/storage/v2021_06_01/operations/_object_replication_policies_operations.py +45 -68
  457. azure/mgmt/storage/v2021_06_01/operations/_operations.py +19 -18
  458. azure/mgmt/storage/v2021_06_01/operations/_private_endpoint_connections_operations.py +44 -68
  459. azure/mgmt/storage/v2021_06_01/operations/_private_link_resources_operations.py +14 -15
  460. azure/mgmt/storage/v2021_06_01/operations/_queue_operations.py +56 -91
  461. azure/mgmt/storage/v2021_06_01/operations/_queue_services_operations.py +31 -70
  462. azure/mgmt/storage/v2021_06_01/operations/_skus_operations.py +19 -18
  463. azure/mgmt/storage/v2021_06_01/operations/_storage_accounts_operations.py +187 -391
  464. azure/mgmt/storage/v2021_06_01/operations/_table_operations.py +46 -71
  465. azure/mgmt/storage/v2021_06_01/operations/_table_services_operations.py +31 -70
  466. azure/mgmt/storage/v2021_06_01/operations/_usages_operations.py +19 -20
  467. azure/mgmt/storage/v2021_08_01/_configuration.py +3 -4
  468. azure/mgmt/storage/v2021_08_01/_patch.py +1 -0
  469. azure/mgmt/storage/v2021_08_01/_storage_management_client.py +23 -3
  470. azure/mgmt/storage/v2021_08_01/_version.py +1 -1
  471. azure/mgmt/storage/v2021_08_01/aio/_configuration.py +3 -4
  472. azure/mgmt/storage/v2021_08_01/aio/_patch.py +1 -0
  473. azure/mgmt/storage/v2021_08_01/aio/_storage_management_client.py +25 -3
  474. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_containers_operations.py +143 -293
  475. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  476. azure/mgmt/storage/v2021_08_01/aio/operations/_blob_services_operations.py +36 -75
  477. azure/mgmt/storage/v2021_08_01/aio/operations/_deleted_accounts_operations.py +26 -31
  478. azure/mgmt/storage/v2021_08_01/aio/operations/_encryption_scopes_operations.py +48 -77
  479. azure/mgmt/storage/v2021_08_01/aio/operations/_file_services_operations.py +32 -71
  480. azure/mgmt/storage/v2021_08_01/aio/operations/_file_shares_operations.py +80 -137
  481. azure/mgmt/storage/v2021_08_01/aio/operations/_local_users_operations.py +58 -94
  482. azure/mgmt/storage/v2021_08_01/aio/operations/_management_policies_operations.py +32 -50
  483. azure/mgmt/storage/v2021_08_01/aio/operations/_object_replication_policies_operations.py +45 -68
  484. azure/mgmt/storage/v2021_08_01/aio/operations/_operations.py +19 -18
  485. azure/mgmt/storage/v2021_08_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  486. azure/mgmt/storage/v2021_08_01/aio/operations/_private_link_resources_operations.py +14 -15
  487. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_operations.py +56 -91
  488. azure/mgmt/storage/v2021_08_01/aio/operations/_queue_services_operations.py +31 -70
  489. azure/mgmt/storage/v2021_08_01/aio/operations/_skus_operations.py +19 -18
  490. azure/mgmt/storage/v2021_08_01/aio/operations/_storage_accounts_operations.py +184 -388
  491. azure/mgmt/storage/v2021_08_01/aio/operations/_table_operations.py +46 -71
  492. azure/mgmt/storage/v2021_08_01/aio/operations/_table_services_operations.py +31 -70
  493. azure/mgmt/storage/v2021_08_01/aio/operations/_usages_operations.py +19 -20
  494. azure/mgmt/storage/v2021_08_01/models/_models_py3.py +72 -94
  495. azure/mgmt/storage/v2021_08_01/models/_storage_management_client_enums.py +0 -2
  496. azure/mgmt/storage/v2021_08_01/operations/_blob_containers_operations.py +144 -294
  497. azure/mgmt/storage/v2021_08_01/operations/_blob_inventory_policies_operations.py +44 -68
  498. azure/mgmt/storage/v2021_08_01/operations/_blob_services_operations.py +36 -75
  499. azure/mgmt/storage/v2021_08_01/operations/_deleted_accounts_operations.py +26 -31
  500. azure/mgmt/storage/v2021_08_01/operations/_encryption_scopes_operations.py +48 -77
  501. azure/mgmt/storage/v2021_08_01/operations/_file_services_operations.py +32 -71
  502. azure/mgmt/storage/v2021_08_01/operations/_file_shares_operations.py +80 -137
  503. azure/mgmt/storage/v2021_08_01/operations/_local_users_operations.py +58 -94
  504. azure/mgmt/storage/v2021_08_01/operations/_management_policies_operations.py +32 -50
  505. azure/mgmt/storage/v2021_08_01/operations/_object_replication_policies_operations.py +45 -68
  506. azure/mgmt/storage/v2021_08_01/operations/_operations.py +19 -18
  507. azure/mgmt/storage/v2021_08_01/operations/_private_endpoint_connections_operations.py +44 -68
  508. azure/mgmt/storage/v2021_08_01/operations/_private_link_resources_operations.py +14 -15
  509. azure/mgmt/storage/v2021_08_01/operations/_queue_operations.py +56 -91
  510. azure/mgmt/storage/v2021_08_01/operations/_queue_services_operations.py +31 -70
  511. azure/mgmt/storage/v2021_08_01/operations/_skus_operations.py +19 -18
  512. azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py +187 -391
  513. azure/mgmt/storage/v2021_08_01/operations/_table_operations.py +46 -71
  514. azure/mgmt/storage/v2021_08_01/operations/_table_services_operations.py +31 -70
  515. azure/mgmt/storage/v2021_08_01/operations/_usages_operations.py +19 -20
  516. azure/mgmt/storage/v2021_09_01/_configuration.py +3 -4
  517. azure/mgmt/storage/v2021_09_01/_patch.py +1 -0
  518. azure/mgmt/storage/v2021_09_01/_storage_management_client.py +23 -3
  519. azure/mgmt/storage/v2021_09_01/_version.py +1 -1
  520. azure/mgmt/storage/v2021_09_01/aio/_configuration.py +3 -4
  521. azure/mgmt/storage/v2021_09_01/aio/_patch.py +1 -0
  522. azure/mgmt/storage/v2021_09_01/aio/_storage_management_client.py +25 -3
  523. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_containers_operations.py +143 -293
  524. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  525. azure/mgmt/storage/v2021_09_01/aio/operations/_blob_services_operations.py +36 -75
  526. azure/mgmt/storage/v2021_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  527. azure/mgmt/storage/v2021_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  528. azure/mgmt/storage/v2021_09_01/aio/operations/_file_services_operations.py +32 -71
  529. azure/mgmt/storage/v2021_09_01/aio/operations/_file_shares_operations.py +80 -137
  530. azure/mgmt/storage/v2021_09_01/aio/operations/_local_users_operations.py +58 -94
  531. azure/mgmt/storage/v2021_09_01/aio/operations/_management_policies_operations.py +32 -50
  532. azure/mgmt/storage/v2021_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  533. azure/mgmt/storage/v2021_09_01/aio/operations/_operations.py +19 -18
  534. azure/mgmt/storage/v2021_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  535. azure/mgmt/storage/v2021_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  536. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_operations.py +56 -91
  537. azure/mgmt/storage/v2021_09_01/aio/operations/_queue_services_operations.py +31 -70
  538. azure/mgmt/storage/v2021_09_01/aio/operations/_skus_operations.py +19 -18
  539. azure/mgmt/storage/v2021_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  540. azure/mgmt/storage/v2021_09_01/aio/operations/_table_operations.py +58 -93
  541. azure/mgmt/storage/v2021_09_01/aio/operations/_table_services_operations.py +31 -70
  542. azure/mgmt/storage/v2021_09_01/aio/operations/_usages_operations.py +19 -20
  543. azure/mgmt/storage/v2021_09_01/models/_models_py3.py +74 -96
  544. azure/mgmt/storage/v2021_09_01/models/_storage_management_client_enums.py +0 -2
  545. azure/mgmt/storage/v2021_09_01/operations/_blob_containers_operations.py +144 -294
  546. azure/mgmt/storage/v2021_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  547. azure/mgmt/storage/v2021_09_01/operations/_blob_services_operations.py +36 -75
  548. azure/mgmt/storage/v2021_09_01/operations/_deleted_accounts_operations.py +26 -31
  549. azure/mgmt/storage/v2021_09_01/operations/_encryption_scopes_operations.py +48 -77
  550. azure/mgmt/storage/v2021_09_01/operations/_file_services_operations.py +32 -71
  551. azure/mgmt/storage/v2021_09_01/operations/_file_shares_operations.py +80 -137
  552. azure/mgmt/storage/v2021_09_01/operations/_local_users_operations.py +58 -94
  553. azure/mgmt/storage/v2021_09_01/operations/_management_policies_operations.py +32 -50
  554. azure/mgmt/storage/v2021_09_01/operations/_object_replication_policies_operations.py +45 -68
  555. azure/mgmt/storage/v2021_09_01/operations/_operations.py +19 -18
  556. azure/mgmt/storage/v2021_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  557. azure/mgmt/storage/v2021_09_01/operations/_private_link_resources_operations.py +14 -15
  558. azure/mgmt/storage/v2021_09_01/operations/_queue_operations.py +56 -91
  559. azure/mgmt/storage/v2021_09_01/operations/_queue_services_operations.py +31 -70
  560. azure/mgmt/storage/v2021_09_01/operations/_skus_operations.py +19 -18
  561. azure/mgmt/storage/v2021_09_01/operations/_storage_accounts_operations.py +187 -391
  562. azure/mgmt/storage/v2021_09_01/operations/_table_operations.py +58 -93
  563. azure/mgmt/storage/v2021_09_01/operations/_table_services_operations.py +31 -70
  564. azure/mgmt/storage/v2021_09_01/operations/_usages_operations.py +19 -20
  565. azure/mgmt/storage/v2022_05_01/_configuration.py +3 -4
  566. azure/mgmt/storage/v2022_05_01/_storage_management_client.py +23 -3
  567. azure/mgmt/storage/v2022_05_01/_version.py +1 -1
  568. azure/mgmt/storage/v2022_05_01/aio/_configuration.py +3 -4
  569. azure/mgmt/storage/v2022_05_01/aio/_storage_management_client.py +25 -3
  570. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_containers_operations.py +143 -293
  571. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  572. azure/mgmt/storage/v2022_05_01/aio/operations/_blob_services_operations.py +36 -75
  573. azure/mgmt/storage/v2022_05_01/aio/operations/_deleted_accounts_operations.py +26 -31
  574. azure/mgmt/storage/v2022_05_01/aio/operations/_encryption_scopes_operations.py +48 -77
  575. azure/mgmt/storage/v2022_05_01/aio/operations/_file_services_operations.py +32 -71
  576. azure/mgmt/storage/v2022_05_01/aio/operations/_file_shares_operations.py +80 -137
  577. azure/mgmt/storage/v2022_05_01/aio/operations/_local_users_operations.py +58 -94
  578. azure/mgmt/storage/v2022_05_01/aio/operations/_management_policies_operations.py +32 -50
  579. azure/mgmt/storage/v2022_05_01/aio/operations/_object_replication_policies_operations.py +45 -68
  580. azure/mgmt/storage/v2022_05_01/aio/operations/_operations.py +19 -18
  581. azure/mgmt/storage/v2022_05_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  582. azure/mgmt/storage/v2022_05_01/aio/operations/_private_link_resources_operations.py +14 -15
  583. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_operations.py +56 -91
  584. azure/mgmt/storage/v2022_05_01/aio/operations/_queue_services_operations.py +31 -70
  585. azure/mgmt/storage/v2022_05_01/aio/operations/_skus_operations.py +19 -18
  586. azure/mgmt/storage/v2022_05_01/aio/operations/_storage_accounts_operations.py +184 -388
  587. azure/mgmt/storage/v2022_05_01/aio/operations/_table_operations.py +58 -93
  588. azure/mgmt/storage/v2022_05_01/aio/operations/_table_services_operations.py +31 -70
  589. azure/mgmt/storage/v2022_05_01/aio/operations/_usages_operations.py +19 -20
  590. azure/mgmt/storage/v2022_05_01/models/_models_py3.py +73 -95
  591. azure/mgmt/storage/v2022_05_01/models/_storage_management_client_enums.py +0 -2
  592. azure/mgmt/storage/v2022_05_01/operations/_blob_containers_operations.py +144 -294
  593. azure/mgmt/storage/v2022_05_01/operations/_blob_inventory_policies_operations.py +44 -68
  594. azure/mgmt/storage/v2022_05_01/operations/_blob_services_operations.py +36 -75
  595. azure/mgmt/storage/v2022_05_01/operations/_deleted_accounts_operations.py +26 -31
  596. azure/mgmt/storage/v2022_05_01/operations/_encryption_scopes_operations.py +48 -77
  597. azure/mgmt/storage/v2022_05_01/operations/_file_services_operations.py +32 -71
  598. azure/mgmt/storage/v2022_05_01/operations/_file_shares_operations.py +80 -137
  599. azure/mgmt/storage/v2022_05_01/operations/_local_users_operations.py +58 -94
  600. azure/mgmt/storage/v2022_05_01/operations/_management_policies_operations.py +32 -50
  601. azure/mgmt/storage/v2022_05_01/operations/_object_replication_policies_operations.py +45 -68
  602. azure/mgmt/storage/v2022_05_01/operations/_operations.py +19 -18
  603. azure/mgmt/storage/v2022_05_01/operations/_private_endpoint_connections_operations.py +44 -68
  604. azure/mgmt/storage/v2022_05_01/operations/_private_link_resources_operations.py +14 -15
  605. azure/mgmt/storage/v2022_05_01/operations/_queue_operations.py +56 -91
  606. azure/mgmt/storage/v2022_05_01/operations/_queue_services_operations.py +31 -70
  607. azure/mgmt/storage/v2022_05_01/operations/_skus_operations.py +19 -18
  608. azure/mgmt/storage/v2022_05_01/operations/_storage_accounts_operations.py +187 -391
  609. azure/mgmt/storage/v2022_05_01/operations/_table_operations.py +58 -93
  610. azure/mgmt/storage/v2022_05_01/operations/_table_services_operations.py +31 -70
  611. azure/mgmt/storage/v2022_05_01/operations/_usages_operations.py +19 -20
  612. azure/mgmt/storage/v2022_09_01/_configuration.py +3 -4
  613. azure/mgmt/storage/v2022_09_01/_storage_management_client.py +23 -3
  614. azure/mgmt/storage/v2022_09_01/_version.py +1 -1
  615. azure/mgmt/storage/v2022_09_01/aio/_configuration.py +3 -4
  616. azure/mgmt/storage/v2022_09_01/aio/_storage_management_client.py +25 -3
  617. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_containers_operations.py +143 -293
  618. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  619. azure/mgmt/storage/v2022_09_01/aio/operations/_blob_services_operations.py +36 -75
  620. azure/mgmt/storage/v2022_09_01/aio/operations/_deleted_accounts_operations.py +26 -31
  621. azure/mgmt/storage/v2022_09_01/aio/operations/_encryption_scopes_operations.py +48 -77
  622. azure/mgmt/storage/v2022_09_01/aio/operations/_file_services_operations.py +32 -71
  623. azure/mgmt/storage/v2022_09_01/aio/operations/_file_shares_operations.py +80 -137
  624. azure/mgmt/storage/v2022_09_01/aio/operations/_local_users_operations.py +58 -94
  625. azure/mgmt/storage/v2022_09_01/aio/operations/_management_policies_operations.py +32 -50
  626. azure/mgmt/storage/v2022_09_01/aio/operations/_object_replication_policies_operations.py +45 -68
  627. azure/mgmt/storage/v2022_09_01/aio/operations/_operations.py +19 -18
  628. azure/mgmt/storage/v2022_09_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  629. azure/mgmt/storage/v2022_09_01/aio/operations/_private_link_resources_operations.py +14 -15
  630. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_operations.py +56 -91
  631. azure/mgmt/storage/v2022_09_01/aio/operations/_queue_services_operations.py +31 -70
  632. azure/mgmt/storage/v2022_09_01/aio/operations/_skus_operations.py +19 -18
  633. azure/mgmt/storage/v2022_09_01/aio/operations/_storage_accounts_operations.py +184 -388
  634. azure/mgmt/storage/v2022_09_01/aio/operations/_table_operations.py +58 -93
  635. azure/mgmt/storage/v2022_09_01/aio/operations/_table_services_operations.py +31 -70
  636. azure/mgmt/storage/v2022_09_01/aio/operations/_usages_operations.py +19 -20
  637. azure/mgmt/storage/v2022_09_01/models/_models_py3.py +73 -95
  638. azure/mgmt/storage/v2022_09_01/models/_storage_management_client_enums.py +0 -2
  639. azure/mgmt/storage/v2022_09_01/operations/_blob_containers_operations.py +144 -294
  640. azure/mgmt/storage/v2022_09_01/operations/_blob_inventory_policies_operations.py +44 -68
  641. azure/mgmt/storage/v2022_09_01/operations/_blob_services_operations.py +36 -75
  642. azure/mgmt/storage/v2022_09_01/operations/_deleted_accounts_operations.py +26 -31
  643. azure/mgmt/storage/v2022_09_01/operations/_encryption_scopes_operations.py +48 -77
  644. azure/mgmt/storage/v2022_09_01/operations/_file_services_operations.py +32 -71
  645. azure/mgmt/storage/v2022_09_01/operations/_file_shares_operations.py +80 -137
  646. azure/mgmt/storage/v2022_09_01/operations/_local_users_operations.py +58 -94
  647. azure/mgmt/storage/v2022_09_01/operations/_management_policies_operations.py +32 -50
  648. azure/mgmt/storage/v2022_09_01/operations/_object_replication_policies_operations.py +45 -68
  649. azure/mgmt/storage/v2022_09_01/operations/_operations.py +19 -18
  650. azure/mgmt/storage/v2022_09_01/operations/_private_endpoint_connections_operations.py +44 -68
  651. azure/mgmt/storage/v2022_09_01/operations/_private_link_resources_operations.py +14 -15
  652. azure/mgmt/storage/v2022_09_01/operations/_queue_operations.py +56 -91
  653. azure/mgmt/storage/v2022_09_01/operations/_queue_services_operations.py +31 -70
  654. azure/mgmt/storage/v2022_09_01/operations/_skus_operations.py +19 -18
  655. azure/mgmt/storage/v2022_09_01/operations/_storage_accounts_operations.py +187 -391
  656. azure/mgmt/storage/v2022_09_01/operations/_table_operations.py +58 -93
  657. azure/mgmt/storage/v2022_09_01/operations/_table_services_operations.py +31 -70
  658. azure/mgmt/storage/v2022_09_01/operations/_usages_operations.py +19 -20
  659. azure/mgmt/storage/v2023_01_01/_configuration.py +3 -4
  660. azure/mgmt/storage/v2023_01_01/_storage_management_client.py +23 -3
  661. azure/mgmt/storage/v2023_01_01/_version.py +1 -1
  662. azure/mgmt/storage/v2023_01_01/aio/_configuration.py +3 -4
  663. azure/mgmt/storage/v2023_01_01/aio/_storage_management_client.py +25 -3
  664. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_containers_operations.py +143 -293
  665. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_inventory_policies_operations.py +44 -68
  666. azure/mgmt/storage/v2023_01_01/aio/operations/_blob_services_operations.py +36 -75
  667. azure/mgmt/storage/v2023_01_01/aio/operations/_deleted_accounts_operations.py +26 -31
  668. azure/mgmt/storage/v2023_01_01/aio/operations/_encryption_scopes_operations.py +48 -77
  669. azure/mgmt/storage/v2023_01_01/aio/operations/_file_services_operations.py +32 -71
  670. azure/mgmt/storage/v2023_01_01/aio/operations/_file_shares_operations.py +80 -137
  671. azure/mgmt/storage/v2023_01_01/aio/operations/_local_users_operations.py +58 -94
  672. azure/mgmt/storage/v2023_01_01/aio/operations/_management_policies_operations.py +32 -50
  673. azure/mgmt/storage/v2023_01_01/aio/operations/_object_replication_policies_operations.py +45 -68
  674. azure/mgmt/storage/v2023_01_01/aio/operations/_operations.py +19 -18
  675. azure/mgmt/storage/v2023_01_01/aio/operations/_private_endpoint_connections_operations.py +44 -68
  676. azure/mgmt/storage/v2023_01_01/aio/operations/_private_link_resources_operations.py +14 -15
  677. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_operations.py +56 -91
  678. azure/mgmt/storage/v2023_01_01/aio/operations/_queue_services_operations.py +31 -70
  679. azure/mgmt/storage/v2023_01_01/aio/operations/_skus_operations.py +19 -18
  680. azure/mgmt/storage/v2023_01_01/aio/operations/_storage_accounts_operations.py +206 -452
  681. azure/mgmt/storage/v2023_01_01/aio/operations/_table_operations.py +58 -93
  682. azure/mgmt/storage/v2023_01_01/aio/operations/_table_services_operations.py +31 -70
  683. azure/mgmt/storage/v2023_01_01/aio/operations/_usages_operations.py +19 -20
  684. azure/mgmt/storage/v2023_01_01/models/_models_py3.py +74 -96
  685. azure/mgmt/storage/v2023_01_01/models/_storage_management_client_enums.py +0 -2
  686. azure/mgmt/storage/v2023_01_01/operations/_blob_containers_operations.py +144 -294
  687. azure/mgmt/storage/v2023_01_01/operations/_blob_inventory_policies_operations.py +44 -68
  688. azure/mgmt/storage/v2023_01_01/operations/_blob_services_operations.py +36 -75
  689. azure/mgmt/storage/v2023_01_01/operations/_deleted_accounts_operations.py +26 -31
  690. azure/mgmt/storage/v2023_01_01/operations/_encryption_scopes_operations.py +48 -77
  691. azure/mgmt/storage/v2023_01_01/operations/_file_services_operations.py +32 -71
  692. azure/mgmt/storage/v2023_01_01/operations/_file_shares_operations.py +80 -137
  693. azure/mgmt/storage/v2023_01_01/operations/_local_users_operations.py +58 -94
  694. azure/mgmt/storage/v2023_01_01/operations/_management_policies_operations.py +32 -50
  695. azure/mgmt/storage/v2023_01_01/operations/_object_replication_policies_operations.py +45 -68
  696. azure/mgmt/storage/v2023_01_01/operations/_operations.py +19 -18
  697. azure/mgmt/storage/v2023_01_01/operations/_private_endpoint_connections_operations.py +44 -68
  698. azure/mgmt/storage/v2023_01_01/operations/_private_link_resources_operations.py +14 -15
  699. azure/mgmt/storage/v2023_01_01/operations/_queue_operations.py +56 -91
  700. azure/mgmt/storage/v2023_01_01/operations/_queue_services_operations.py +31 -70
  701. azure/mgmt/storage/v2023_01_01/operations/_skus_operations.py +19 -18
  702. azure/mgmt/storage/v2023_01_01/operations/_storage_accounts_operations.py +211 -457
  703. azure/mgmt/storage/v2023_01_01/operations/_table_operations.py +58 -93
  704. azure/mgmt/storage/v2023_01_01/operations/_table_services_operations.py +31 -70
  705. azure/mgmt/storage/v2023_01_01/operations/_usages_operations.py +19 -20
  706. azure/mgmt/storage/v2023_05_01/__init__.py +26 -0
  707. azure/mgmt/storage/v2023_05_01/_configuration.py +65 -0
  708. azure/mgmt/storage/v2023_05_01/_patch.py +20 -0
  709. azure/mgmt/storage/v2023_05_01/_storage_management_client.py +256 -0
  710. azure/mgmt/storage/v2023_05_01/_vendor.py +16 -0
  711. azure/mgmt/storage/v2023_05_01/_version.py +9 -0
  712. azure/mgmt/storage/v2023_05_01/aio/__init__.py +23 -0
  713. azure/mgmt/storage/v2023_05_01/aio/_configuration.py +65 -0
  714. azure/mgmt/storage/v2023_05_01/aio/_patch.py +20 -0
  715. azure/mgmt/storage/v2023_05_01/aio/_storage_management_client.py +261 -0
  716. azure/mgmt/storage/v2023_05_01/aio/operations/__init__.py +65 -0
  717. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_containers_operations.py +1838 -0
  718. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_inventory_policies_operations.py +442 -0
  719. azure/mgmt/storage/v2023_05_01/aio/operations/_blob_services_operations.py +362 -0
  720. azure/mgmt/storage/v2023_05_01/aio/operations/_deleted_accounts_operations.py +194 -0
  721. azure/mgmt/storage/v2023_05_01/aio/operations/_encryption_scopes_operations.py +568 -0
  722. azure/mgmt/storage/v2023_05_01/aio/operations/_file_services_operations.py +328 -0
  723. azure/mgmt/storage/v2023_05_01/aio/operations/_file_shares_operations.py +1003 -0
  724. azure/mgmt/storage/v2023_05_01/aio/operations/_local_users_operations.py +583 -0
  725. azure/mgmt/storage/v2023_05_01/aio/operations/_management_policies_operations.py +349 -0
  726. azure/mgmt/storage/v2023_05_01/aio/operations/_network_security_perimeter_configurations_operations.py +342 -0
  727. azure/mgmt/storage/v2023_05_01/aio/operations/_object_replication_policies_operations.py +446 -0
  728. azure/mgmt/storage/v2023_05_01/aio/operations/_operations.py +135 -0
  729. azure/mgmt/storage/v2023_05_01/aio/operations/_patch.py +20 -0
  730. azure/mgmt/storage/v2023_05_01/aio/operations/_private_endpoint_connections_operations.py +432 -0
  731. azure/mgmt/storage/v2023_05_01/aio/operations/_private_link_resources_operations.py +117 -0
  732. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_operations.py +608 -0
  733. azure/mgmt/storage/v2023_05_01/aio/operations/_queue_services_operations.py +328 -0
  734. azure/mgmt/storage/v2023_05_01/aio/operations/_skus_operations.py +136 -0
  735. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_accounts_operations.py +2187 -0
  736. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignment_instances_report_operations.py +170 -0
  737. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_instances_report_operations.py +164 -0
  738. azure/mgmt/storage/v2023_05_01/aio/operations/_storage_task_assignments_operations.py +802 -0
  739. azure/mgmt/storage/v2023_05_01/aio/operations/_table_operations.py +588 -0
  740. azure/mgmt/storage/v2023_05_01/aio/operations/_table_services_operations.py +328 -0
  741. azure/mgmt/storage/v2023_05_01/aio/operations/_usages_operations.py +139 -0
  742. azure/mgmt/storage/v2023_05_01/models/__init__.py +537 -0
  743. azure/mgmt/storage/v2023_05_01/models/_models_py3.py +9703 -0
  744. azure/mgmt/storage/v2023_05_01/models/_patch.py +20 -0
  745. azure/mgmt/storage/v2023_05_01/models/_storage_management_client_enums.py +706 -0
  746. azure/mgmt/storage/v2023_05_01/operations/__init__.py +65 -0
  747. azure/mgmt/storage/v2023_05_01/operations/_blob_containers_operations.py +2398 -0
  748. azure/mgmt/storage/v2023_05_01/operations/_blob_inventory_policies_operations.py +595 -0
  749. azure/mgmt/storage/v2023_05_01/operations/_blob_services_operations.py +470 -0
  750. azure/mgmt/storage/v2023_05_01/operations/_deleted_accounts_operations.py +250 -0
  751. azure/mgmt/storage/v2023_05_01/operations/_encryption_scopes_operations.py +732 -0
  752. azure/mgmt/storage/v2023_05_01/operations/_file_services_operations.py +437 -0
  753. azure/mgmt/storage/v2023_05_01/operations/_file_shares_operations.py +1310 -0
  754. azure/mgmt/storage/v2023_05_01/operations/_local_users_operations.py +808 -0
  755. azure/mgmt/storage/v2023_05_01/operations/_management_policies_operations.py +465 -0
  756. azure/mgmt/storage/v2023_05_01/operations/_network_security_perimeter_configurations_operations.py +463 -0
  757. azure/mgmt/storage/v2023_05_01/operations/_object_replication_policies_operations.py +593 -0
  758. azure/mgmt/storage/v2023_05_01/operations/_operations.py +156 -0
  759. azure/mgmt/storage/v2023_05_01/operations/_patch.py +20 -0
  760. azure/mgmt/storage/v2023_05_01/operations/_private_endpoint_connections_operations.py +591 -0
  761. azure/mgmt/storage/v2023_05_01/operations/_private_link_resources_operations.py +155 -0
  762. azure/mgmt/storage/v2023_05_01/operations/_queue_operations.py +824 -0
  763. azure/mgmt/storage/v2023_05_01/operations/_queue_services_operations.py +437 -0
  764. azure/mgmt/storage/v2023_05_01/operations/_skus_operations.py +162 -0
  765. azure/mgmt/storage/v2023_05_01/operations/_storage_accounts_operations.py +2796 -0
  766. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignment_instances_report_operations.py +227 -0
  767. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_instances_report_operations.py +212 -0
  768. azure/mgmt/storage/v2023_05_01/operations/_storage_task_assignments_operations.py +1018 -0
  769. azure/mgmt/storage/v2023_05_01/operations/_table_operations.py +775 -0
  770. azure/mgmt/storage/v2023_05_01/operations/_table_services_operations.py +437 -0
  771. azure/mgmt/storage/v2023_05_01/operations/_usages_operations.py +169 -0
  772. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/METADATA +28 -11
  773. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/RECORD +776 -710
  774. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/WHEEL +1 -1
  775. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/LICENSE +0 -0
  776. {azure_mgmt_storage-21.1.0.dist-info → azure_mgmt_storage-21.2.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines
1
+ # pylint: disable=too-many-lines,too-many-statements
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,7 +7,8 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  from io import IOBase
10
- from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
10
+ import sys
11
+ from typing import Any, Callable, Dict, IO, Optional, Type, TypeVar, Union, overload
11
12
 
12
13
  from azure.core.exceptions import (
13
14
  ClientAuthenticationError,
@@ -28,6 +29,10 @@ from .. import models as _models
28
29
  from ..._serialization import Serializer
29
30
  from .._vendor import _convert_request
30
31
 
32
+ if sys.version_info >= (3, 9):
33
+ from collections.abc import MutableMapping
34
+ else:
35
+ from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
31
36
  T = TypeVar("T")
32
37
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
33
38
 
@@ -276,7 +281,7 @@ def build_clear_legal_hold_request(
276
281
  return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs)
277
282
 
278
283
 
279
- def build_create_or_update_immutability_policy_request(
284
+ def build_create_or_update_immutability_policy_request( # pylint: disable=name-too-long
280
285
  resource_group_name: str,
281
286
  account_name: str,
282
287
  container_name: str,
@@ -564,12 +569,11 @@ class BlobContainersOperations:
564
569
  Storage account names must be between 3 and 24 characters in length and use numbers and
565
570
  lower-case letters only. Required.
566
571
  :type account_name: str
567
- :keyword callable cls: A custom type or function that will be passed the direct response
568
572
  :return: ListContainerItems or the result of cls(response)
569
573
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ListContainerItems
570
574
  :raises ~azure.core.exceptions.HttpResponseError:
571
575
  """
572
- error_map = {
576
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
573
577
  401: ClientAuthenticationError,
574
578
  404: ResourceNotFoundError,
575
579
  409: ResourceExistsError,
@@ -583,21 +587,20 @@ class BlobContainersOperations:
583
587
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
584
588
  cls: ClsType[_models.ListContainerItems] = kwargs.pop("cls", None)
585
589
 
586
- request = build_list_request(
590
+ _request = build_list_request(
587
591
  resource_group_name=resource_group_name,
588
592
  account_name=account_name,
589
593
  subscription_id=self._config.subscription_id,
590
594
  api_version=api_version,
591
- template_url=self.list.metadata["url"],
592
595
  headers=_headers,
593
596
  params=_params,
594
597
  )
595
- request = _convert_request(request)
596
- request.url = self._client.format_url(request.url)
598
+ _request = _convert_request(_request)
599
+ _request.url = self._client.format_url(_request.url)
597
600
 
598
601
  _stream = False
599
602
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
600
- request, stream=_stream, **kwargs
603
+ _request, stream=_stream, **kwargs
601
604
  )
602
605
 
603
606
  response = pipeline_response.http_response
@@ -609,13 +612,9 @@ class BlobContainersOperations:
609
612
  deserialized = self._deserialize("ListContainerItems", pipeline_response)
610
613
 
611
614
  if cls:
612
- return cls(pipeline_response, deserialized, {})
615
+ return cls(pipeline_response, deserialized, {}) # type: ignore
613
616
 
614
- return deserialized
615
-
616
- list.metadata = {
617
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers"
618
- }
617
+ return deserialized # type: ignore
619
618
 
620
619
  @overload
621
620
  def create(
@@ -649,7 +648,6 @@ class BlobContainersOperations:
649
648
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
650
649
  Default value is "application/json".
651
650
  :paramtype content_type: str
652
- :keyword callable cls: A custom type or function that will be passed the direct response
653
651
  :return: BlobContainer or the result of cls(response)
654
652
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
655
653
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -661,7 +659,7 @@ class BlobContainersOperations:
661
659
  resource_group_name: str,
662
660
  account_name: str,
663
661
  container_name: str,
664
- blob_container: IO,
662
+ blob_container: IO[bytes],
665
663
  *,
666
664
  content_type: str = "application/json",
667
665
  **kwargs: Any
@@ -683,11 +681,10 @@ class BlobContainersOperations:
683
681
  by a letter or number. Required.
684
682
  :type container_name: str
685
683
  :param blob_container: Properties of the blob container to create. Required.
686
- :type blob_container: IO
684
+ :type blob_container: IO[bytes]
687
685
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
688
686
  Default value is "application/json".
689
687
  :paramtype content_type: str
690
- :keyword callable cls: A custom type or function that will be passed the direct response
691
688
  :return: BlobContainer or the result of cls(response)
692
689
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
693
690
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -699,7 +696,7 @@ class BlobContainersOperations:
699
696
  resource_group_name: str,
700
697
  account_name: str,
701
698
  container_name: str,
702
- blob_container: Union[_models.BlobContainer, IO],
699
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
703
700
  **kwargs: Any
704
701
  ) -> _models.BlobContainer:
705
702
  """Creates a new container under the specified account as described by request body. The container
@@ -719,17 +716,13 @@ class BlobContainersOperations:
719
716
  by a letter or number. Required.
720
717
  :type container_name: str
721
718
  :param blob_container: Properties of the blob container to create. Is either a BlobContainer
722
- type or a IO type. Required.
723
- :type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO
724
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
725
- Default value is None.
726
- :paramtype content_type: str
727
- :keyword callable cls: A custom type or function that will be passed the direct response
719
+ type or a IO[bytes] type. Required.
720
+ :type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO[bytes]
728
721
  :return: BlobContainer or the result of cls(response)
729
722
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
730
723
  :raises ~azure.core.exceptions.HttpResponseError:
731
724
  """
732
- error_map = {
725
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
733
726
  401: ClientAuthenticationError,
734
727
  404: ResourceNotFoundError,
735
728
  409: ResourceExistsError,
@@ -752,7 +745,7 @@ class BlobContainersOperations:
752
745
  else:
753
746
  _json = self._serialize.body(blob_container, "BlobContainer")
754
747
 
755
- request = build_create_request(
748
+ _request = build_create_request(
756
749
  resource_group_name=resource_group_name,
757
750
  account_name=account_name,
758
751
  container_name=container_name,
@@ -761,16 +754,15 @@ class BlobContainersOperations:
761
754
  content_type=content_type,
762
755
  json=_json,
763
756
  content=_content,
764
- template_url=self.create.metadata["url"],
765
757
  headers=_headers,
766
758
  params=_params,
767
759
  )
768
- request = _convert_request(request)
769
- request.url = self._client.format_url(request.url)
760
+ _request = _convert_request(_request)
761
+ _request.url = self._client.format_url(_request.url)
770
762
 
771
763
  _stream = False
772
764
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
773
- request, stream=_stream, **kwargs
765
+ _request, stream=_stream, **kwargs
774
766
  )
775
767
 
776
768
  response = pipeline_response.http_response
@@ -782,13 +774,9 @@ class BlobContainersOperations:
782
774
  deserialized = self._deserialize("BlobContainer", pipeline_response)
783
775
 
784
776
  if cls:
785
- return cls(pipeline_response, deserialized, {})
777
+ return cls(pipeline_response, deserialized, {}) # type: ignore
786
778
 
787
- return deserialized
788
-
789
- create.metadata = {
790
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
791
- }
779
+ return deserialized # type: ignore
792
780
 
793
781
  @overload
794
782
  def update(
@@ -821,7 +809,6 @@ class BlobContainersOperations:
821
809
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
822
810
  Default value is "application/json".
823
811
  :paramtype content_type: str
824
- :keyword callable cls: A custom type or function that will be passed the direct response
825
812
  :return: BlobContainer or the result of cls(response)
826
813
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
827
814
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -833,7 +820,7 @@ class BlobContainersOperations:
833
820
  resource_group_name: str,
834
821
  account_name: str,
835
822
  container_name: str,
836
- blob_container: IO,
823
+ blob_container: IO[bytes],
837
824
  *,
838
825
  content_type: str = "application/json",
839
826
  **kwargs: Any
@@ -854,11 +841,10 @@ class BlobContainersOperations:
854
841
  by a letter or number. Required.
855
842
  :type container_name: str
856
843
  :param blob_container: Properties to update for the blob container. Required.
857
- :type blob_container: IO
844
+ :type blob_container: IO[bytes]
858
845
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
859
846
  Default value is "application/json".
860
847
  :paramtype content_type: str
861
- :keyword callable cls: A custom type or function that will be passed the direct response
862
848
  :return: BlobContainer or the result of cls(response)
863
849
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
864
850
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -870,7 +856,7 @@ class BlobContainersOperations:
870
856
  resource_group_name: str,
871
857
  account_name: str,
872
858
  container_name: str,
873
- blob_container: Union[_models.BlobContainer, IO],
859
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
874
860
  **kwargs: Any
875
861
  ) -> _models.BlobContainer:
876
862
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -889,17 +875,13 @@ class BlobContainersOperations:
889
875
  by a letter or number. Required.
890
876
  :type container_name: str
891
877
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
892
- type or a IO type. Required.
893
- :type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO
894
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
895
- Default value is None.
896
- :paramtype content_type: str
897
- :keyword callable cls: A custom type or function that will be passed the direct response
878
+ type or a IO[bytes] type. Required.
879
+ :type blob_container: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or IO[bytes]
898
880
  :return: BlobContainer or the result of cls(response)
899
881
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
900
882
  :raises ~azure.core.exceptions.HttpResponseError:
901
883
  """
902
- error_map = {
884
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
903
885
  401: ClientAuthenticationError,
904
886
  404: ResourceNotFoundError,
905
887
  409: ResourceExistsError,
@@ -922,7 +904,7 @@ class BlobContainersOperations:
922
904
  else:
923
905
  _json = self._serialize.body(blob_container, "BlobContainer")
924
906
 
925
- request = build_update_request(
907
+ _request = build_update_request(
926
908
  resource_group_name=resource_group_name,
927
909
  account_name=account_name,
928
910
  container_name=container_name,
@@ -931,16 +913,15 @@ class BlobContainersOperations:
931
913
  content_type=content_type,
932
914
  json=_json,
933
915
  content=_content,
934
- template_url=self.update.metadata["url"],
935
916
  headers=_headers,
936
917
  params=_params,
937
918
  )
938
- request = _convert_request(request)
939
- request.url = self._client.format_url(request.url)
919
+ _request = _convert_request(_request)
920
+ _request.url = self._client.format_url(_request.url)
940
921
 
941
922
  _stream = False
942
923
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
943
- request, stream=_stream, **kwargs
924
+ _request, stream=_stream, **kwargs
944
925
  )
945
926
 
946
927
  response = pipeline_response.http_response
@@ -952,13 +933,9 @@ class BlobContainersOperations:
952
933
  deserialized = self._deserialize("BlobContainer", pipeline_response)
953
934
 
954
935
  if cls:
955
- return cls(pipeline_response, deserialized, {})
956
-
957
- return deserialized
936
+ return cls(pipeline_response, deserialized, {}) # type: ignore
958
937
 
959
- update.metadata = {
960
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
961
- }
938
+ return deserialized # type: ignore
962
939
 
963
940
  @distributed_trace
964
941
  def get(
@@ -978,12 +955,11 @@ class BlobContainersOperations:
978
955
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
979
956
  by a letter or number. Required.
980
957
  :type container_name: str
981
- :keyword callable cls: A custom type or function that will be passed the direct response
982
958
  :return: BlobContainer or the result of cls(response)
983
959
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer
984
960
  :raises ~azure.core.exceptions.HttpResponseError:
985
961
  """
986
- error_map = {
962
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
987
963
  401: ClientAuthenticationError,
988
964
  404: ResourceNotFoundError,
989
965
  409: ResourceExistsError,
@@ -997,22 +973,21 @@ class BlobContainersOperations:
997
973
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
998
974
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
999
975
 
1000
- request = build_get_request(
976
+ _request = build_get_request(
1001
977
  resource_group_name=resource_group_name,
1002
978
  account_name=account_name,
1003
979
  container_name=container_name,
1004
980
  subscription_id=self._config.subscription_id,
1005
981
  api_version=api_version,
1006
- template_url=self.get.metadata["url"],
1007
982
  headers=_headers,
1008
983
  params=_params,
1009
984
  )
1010
- request = _convert_request(request)
1011
- request.url = self._client.format_url(request.url)
985
+ _request = _convert_request(_request)
986
+ _request.url = self._client.format_url(_request.url)
1012
987
 
1013
988
  _stream = False
1014
989
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1015
- request, stream=_stream, **kwargs
990
+ _request, stream=_stream, **kwargs
1016
991
  )
1017
992
 
1018
993
  response = pipeline_response.http_response
@@ -1024,13 +999,9 @@ class BlobContainersOperations:
1024
999
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1025
1000
 
1026
1001
  if cls:
1027
- return cls(pipeline_response, deserialized, {})
1002
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1028
1003
 
1029
- return deserialized
1030
-
1031
- get.metadata = {
1032
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1033
- }
1004
+ return deserialized # type: ignore
1034
1005
 
1035
1006
  @distributed_trace
1036
1007
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1050,12 +1021,11 @@ class BlobContainersOperations:
1050
1021
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1051
1022
  by a letter or number. Required.
1052
1023
  :type container_name: str
1053
- :keyword callable cls: A custom type or function that will be passed the direct response
1054
1024
  :return: None or the result of cls(response)
1055
1025
  :rtype: None
1056
1026
  :raises ~azure.core.exceptions.HttpResponseError:
1057
1027
  """
1058
- error_map = {
1028
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1059
1029
  401: ClientAuthenticationError,
1060
1030
  404: ResourceNotFoundError,
1061
1031
  409: ResourceExistsError,
@@ -1069,22 +1039,21 @@ class BlobContainersOperations:
1069
1039
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
1070
1040
  cls: ClsType[None] = kwargs.pop("cls", None)
1071
1041
 
1072
- request = build_delete_request(
1042
+ _request = build_delete_request(
1073
1043
  resource_group_name=resource_group_name,
1074
1044
  account_name=account_name,
1075
1045
  container_name=container_name,
1076
1046
  subscription_id=self._config.subscription_id,
1077
1047
  api_version=api_version,
1078
- template_url=self.delete.metadata["url"],
1079
1048
  headers=_headers,
1080
1049
  params=_params,
1081
1050
  )
1082
- request = _convert_request(request)
1083
- request.url = self._client.format_url(request.url)
1051
+ _request = _convert_request(_request)
1052
+ _request.url = self._client.format_url(_request.url)
1084
1053
 
1085
1054
  _stream = False
1086
1055
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1087
- request, stream=_stream, **kwargs
1056
+ _request, stream=_stream, **kwargs
1088
1057
  )
1089
1058
 
1090
1059
  response = pipeline_response.http_response
@@ -1094,11 +1063,7 @@ class BlobContainersOperations:
1094
1063
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1095
1064
 
1096
1065
  if cls:
1097
- return cls(pipeline_response, None, {})
1098
-
1099
- delete.metadata = {
1100
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1101
- }
1066
+ return cls(pipeline_response, None, {}) # type: ignore
1102
1067
 
1103
1068
  @overload
1104
1069
  def set_legal_hold(
@@ -1132,7 +1097,6 @@ class BlobContainersOperations:
1132
1097
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1133
1098
  Default value is "application/json".
1134
1099
  :paramtype content_type: str
1135
- :keyword callable cls: A custom type or function that will be passed the direct response
1136
1100
  :return: LegalHold or the result of cls(response)
1137
1101
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
1138
1102
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1144,7 +1108,7 @@ class BlobContainersOperations:
1144
1108
  resource_group_name: str,
1145
1109
  account_name: str,
1146
1110
  container_name: str,
1147
- legal_hold: IO,
1111
+ legal_hold: IO[bytes],
1148
1112
  *,
1149
1113
  content_type: str = "application/json",
1150
1114
  **kwargs: Any
@@ -1166,11 +1130,10 @@ class BlobContainersOperations:
1166
1130
  by a letter or number. Required.
1167
1131
  :type container_name: str
1168
1132
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1169
- :type legal_hold: IO
1133
+ :type legal_hold: IO[bytes]
1170
1134
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1171
1135
  Default value is "application/json".
1172
1136
  :paramtype content_type: str
1173
- :keyword callable cls: A custom type or function that will be passed the direct response
1174
1137
  :return: LegalHold or the result of cls(response)
1175
1138
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
1176
1139
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1182,7 +1145,7 @@ class BlobContainersOperations:
1182
1145
  resource_group_name: str,
1183
1146
  account_name: str,
1184
1147
  container_name: str,
1185
- legal_hold: Union[_models.LegalHold, IO],
1148
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1186
1149
  **kwargs: Any
1187
1150
  ) -> _models.LegalHold:
1188
1151
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1202,17 +1165,13 @@ class BlobContainersOperations:
1202
1165
  by a letter or number. Required.
1203
1166
  :type container_name: str
1204
1167
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1205
- LegalHold type or a IO type. Required.
1206
- :type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO
1207
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1208
- Default value is None.
1209
- :paramtype content_type: str
1210
- :keyword callable cls: A custom type or function that will be passed the direct response
1168
+ LegalHold type or a IO[bytes] type. Required.
1169
+ :type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO[bytes]
1211
1170
  :return: LegalHold or the result of cls(response)
1212
1171
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
1213
1172
  :raises ~azure.core.exceptions.HttpResponseError:
1214
1173
  """
1215
- error_map = {
1174
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1216
1175
  401: ClientAuthenticationError,
1217
1176
  404: ResourceNotFoundError,
1218
1177
  409: ResourceExistsError,
@@ -1235,7 +1194,7 @@ class BlobContainersOperations:
1235
1194
  else:
1236
1195
  _json = self._serialize.body(legal_hold, "LegalHold")
1237
1196
 
1238
- request = build_set_legal_hold_request(
1197
+ _request = build_set_legal_hold_request(
1239
1198
  resource_group_name=resource_group_name,
1240
1199
  account_name=account_name,
1241
1200
  container_name=container_name,
@@ -1244,16 +1203,15 @@ class BlobContainersOperations:
1244
1203
  content_type=content_type,
1245
1204
  json=_json,
1246
1205
  content=_content,
1247
- template_url=self.set_legal_hold.metadata["url"],
1248
1206
  headers=_headers,
1249
1207
  params=_params,
1250
1208
  )
1251
- request = _convert_request(request)
1252
- request.url = self._client.format_url(request.url)
1209
+ _request = _convert_request(_request)
1210
+ _request.url = self._client.format_url(_request.url)
1253
1211
 
1254
1212
  _stream = False
1255
1213
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1256
- request, stream=_stream, **kwargs
1214
+ _request, stream=_stream, **kwargs
1257
1215
  )
1258
1216
 
1259
1217
  response = pipeline_response.http_response
@@ -1265,13 +1223,9 @@ class BlobContainersOperations:
1265
1223
  deserialized = self._deserialize("LegalHold", pipeline_response)
1266
1224
 
1267
1225
  if cls:
1268
- return cls(pipeline_response, deserialized, {})
1226
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1269
1227
 
1270
- return deserialized
1271
-
1272
- set_legal_hold.metadata = {
1273
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1274
- }
1228
+ return deserialized # type: ignore
1275
1229
 
1276
1230
  @overload
1277
1231
  def clear_legal_hold(
@@ -1304,7 +1258,6 @@ class BlobContainersOperations:
1304
1258
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1305
1259
  Default value is "application/json".
1306
1260
  :paramtype content_type: str
1307
- :keyword callable cls: A custom type or function that will be passed the direct response
1308
1261
  :return: LegalHold or the result of cls(response)
1309
1262
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
1310
1263
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1316,7 +1269,7 @@ class BlobContainersOperations:
1316
1269
  resource_group_name: str,
1317
1270
  account_name: str,
1318
1271
  container_name: str,
1319
- legal_hold: IO,
1272
+ legal_hold: IO[bytes],
1320
1273
  *,
1321
1274
  content_type: str = "application/json",
1322
1275
  **kwargs: Any
@@ -1337,11 +1290,10 @@ class BlobContainersOperations:
1337
1290
  by a letter or number. Required.
1338
1291
  :type container_name: str
1339
1292
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1340
- :type legal_hold: IO
1293
+ :type legal_hold: IO[bytes]
1341
1294
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1342
1295
  Default value is "application/json".
1343
1296
  :paramtype content_type: str
1344
- :keyword callable cls: A custom type or function that will be passed the direct response
1345
1297
  :return: LegalHold or the result of cls(response)
1346
1298
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
1347
1299
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1353,7 +1305,7 @@ class BlobContainersOperations:
1353
1305
  resource_group_name: str,
1354
1306
  account_name: str,
1355
1307
  container_name: str,
1356
- legal_hold: Union[_models.LegalHold, IO],
1308
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1357
1309
  **kwargs: Any
1358
1310
  ) -> _models.LegalHold:
1359
1311
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1372,17 +1324,13 @@ class BlobContainersOperations:
1372
1324
  by a letter or number. Required.
1373
1325
  :type container_name: str
1374
1326
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1375
- LegalHold type or a IO type. Required.
1376
- :type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO
1377
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1378
- Default value is None.
1379
- :paramtype content_type: str
1380
- :keyword callable cls: A custom type or function that will be passed the direct response
1327
+ LegalHold type or a IO[bytes] type. Required.
1328
+ :type legal_hold: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or IO[bytes]
1381
1329
  :return: LegalHold or the result of cls(response)
1382
1330
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold
1383
1331
  :raises ~azure.core.exceptions.HttpResponseError:
1384
1332
  """
1385
- error_map = {
1333
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1386
1334
  401: ClientAuthenticationError,
1387
1335
  404: ResourceNotFoundError,
1388
1336
  409: ResourceExistsError,
@@ -1405,7 +1353,7 @@ class BlobContainersOperations:
1405
1353
  else:
1406
1354
  _json = self._serialize.body(legal_hold, "LegalHold")
1407
1355
 
1408
- request = build_clear_legal_hold_request(
1356
+ _request = build_clear_legal_hold_request(
1409
1357
  resource_group_name=resource_group_name,
1410
1358
  account_name=account_name,
1411
1359
  container_name=container_name,
@@ -1414,16 +1362,15 @@ class BlobContainersOperations:
1414
1362
  content_type=content_type,
1415
1363
  json=_json,
1416
1364
  content=_content,
1417
- template_url=self.clear_legal_hold.metadata["url"],
1418
1365
  headers=_headers,
1419
1366
  params=_params,
1420
1367
  )
1421
- request = _convert_request(request)
1422
- request.url = self._client.format_url(request.url)
1368
+ _request = _convert_request(_request)
1369
+ _request.url = self._client.format_url(_request.url)
1423
1370
 
1424
1371
  _stream = False
1425
1372
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1426
- request, stream=_stream, **kwargs
1373
+ _request, stream=_stream, **kwargs
1427
1374
  )
1428
1375
 
1429
1376
  response = pipeline_response.http_response
@@ -1435,13 +1382,9 @@ class BlobContainersOperations:
1435
1382
  deserialized = self._deserialize("LegalHold", pipeline_response)
1436
1383
 
1437
1384
  if cls:
1438
- return cls(pipeline_response, deserialized, {})
1385
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1439
1386
 
1440
- return deserialized
1441
-
1442
- clear_legal_hold.metadata = {
1443
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1444
- }
1387
+ return deserialized # type: ignore
1445
1388
 
1446
1389
  @overload
1447
1390
  def create_or_update_immutability_policy(
@@ -1484,7 +1427,6 @@ class BlobContainersOperations:
1484
1427
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1485
1428
  Default value is "application/json".
1486
1429
  :paramtype content_type: str
1487
- :keyword callable cls: A custom type or function that will be passed the direct response
1488
1430
  :return: ImmutabilityPolicy or the result of cls(response)
1489
1431
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1490
1432
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1498,7 +1440,7 @@ class BlobContainersOperations:
1498
1440
  container_name: str,
1499
1441
  immutability_policy_name: Union[str, _models.Enum12],
1500
1442
  if_match: Optional[str] = None,
1501
- parameters: Optional[IO] = None,
1443
+ parameters: Optional[IO[bytes]] = None,
1502
1444
  *,
1503
1445
  content_type: str = "application/json",
1504
1446
  **kwargs: Any
@@ -1527,11 +1469,10 @@ class BlobContainersOperations:
1527
1469
  :type if_match: str
1528
1470
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1529
1471
  container. Default value is None.
1530
- :type parameters: IO
1472
+ :type parameters: IO[bytes]
1531
1473
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1532
1474
  Default value is "application/json".
1533
1475
  :paramtype content_type: str
1534
- :keyword callable cls: A custom type or function that will be passed the direct response
1535
1476
  :return: ImmutabilityPolicy or the result of cls(response)
1536
1477
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1537
1478
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1545,7 +1486,7 @@ class BlobContainersOperations:
1545
1486
  container_name: str,
1546
1487
  immutability_policy_name: Union[str, _models.Enum12],
1547
1488
  if_match: Optional[str] = None,
1548
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1489
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1549
1490
  **kwargs: Any
1550
1491
  ) -> _models.ImmutabilityPolicy:
1551
1492
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1571,17 +1512,13 @@ class BlobContainersOperations:
1571
1512
  omitted, this operation will always be applied. Default value is None.
1572
1513
  :type if_match: str
1573
1514
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1574
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1575
- :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO
1576
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1577
- Default value is None.
1578
- :paramtype content_type: str
1579
- :keyword callable cls: A custom type or function that will be passed the direct response
1515
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1516
+ :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO[bytes]
1580
1517
  :return: ImmutabilityPolicy or the result of cls(response)
1581
1518
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1582
1519
  :raises ~azure.core.exceptions.HttpResponseError:
1583
1520
  """
1584
- error_map = {
1521
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1585
1522
  401: ClientAuthenticationError,
1586
1523
  404: ResourceNotFoundError,
1587
1524
  409: ResourceExistsError,
@@ -1607,7 +1544,7 @@ class BlobContainersOperations:
1607
1544
  else:
1608
1545
  _json = None
1609
1546
 
1610
- request = build_create_or_update_immutability_policy_request(
1547
+ _request = build_create_or_update_immutability_policy_request(
1611
1548
  resource_group_name=resource_group_name,
1612
1549
  account_name=account_name,
1613
1550
  container_name=container_name,
@@ -1618,16 +1555,15 @@ class BlobContainersOperations:
1618
1555
  content_type=content_type,
1619
1556
  json=_json,
1620
1557
  content=_content,
1621
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1622
1558
  headers=_headers,
1623
1559
  params=_params,
1624
1560
  )
1625
- request = _convert_request(request)
1626
- request.url = self._client.format_url(request.url)
1561
+ _request = _convert_request(_request)
1562
+ _request.url = self._client.format_url(_request.url)
1627
1563
 
1628
1564
  _stream = False
1629
1565
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1630
- request, stream=_stream, **kwargs
1566
+ _request, stream=_stream, **kwargs
1631
1567
  )
1632
1568
 
1633
1569
  response = pipeline_response.http_response
@@ -1642,13 +1578,9 @@ class BlobContainersOperations:
1642
1578
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1643
1579
 
1644
1580
  if cls:
1645
- return cls(pipeline_response, deserialized, response_headers)
1581
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1646
1582
 
1647
- return deserialized
1648
-
1649
- create_or_update_immutability_policy.metadata = {
1650
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1651
- }
1583
+ return deserialized # type: ignore
1652
1584
 
1653
1585
  @distributed_trace
1654
1586
  def get_immutability_policy(
@@ -1682,12 +1614,11 @@ class BlobContainersOperations:
1682
1614
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1683
1615
  omitted, this operation will always be applied. Default value is None.
1684
1616
  :type if_match: str
1685
- :keyword callable cls: A custom type or function that will be passed the direct response
1686
1617
  :return: ImmutabilityPolicy or the result of cls(response)
1687
1618
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1688
1619
  :raises ~azure.core.exceptions.HttpResponseError:
1689
1620
  """
1690
- error_map = {
1621
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1691
1622
  401: ClientAuthenticationError,
1692
1623
  404: ResourceNotFoundError,
1693
1624
  409: ResourceExistsError,
@@ -1701,7 +1632,7 @@ class BlobContainersOperations:
1701
1632
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
1702
1633
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1703
1634
 
1704
- request = build_get_immutability_policy_request(
1635
+ _request = build_get_immutability_policy_request(
1705
1636
  resource_group_name=resource_group_name,
1706
1637
  account_name=account_name,
1707
1638
  container_name=container_name,
@@ -1709,16 +1640,15 @@ class BlobContainersOperations:
1709
1640
  subscription_id=self._config.subscription_id,
1710
1641
  if_match=if_match,
1711
1642
  api_version=api_version,
1712
- template_url=self.get_immutability_policy.metadata["url"],
1713
1643
  headers=_headers,
1714
1644
  params=_params,
1715
1645
  )
1716
- request = _convert_request(request)
1717
- request.url = self._client.format_url(request.url)
1646
+ _request = _convert_request(_request)
1647
+ _request.url = self._client.format_url(_request.url)
1718
1648
 
1719
1649
  _stream = False
1720
1650
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1721
- request, stream=_stream, **kwargs
1651
+ _request, stream=_stream, **kwargs
1722
1652
  )
1723
1653
 
1724
1654
  response = pipeline_response.http_response
@@ -1733,13 +1663,9 @@ class BlobContainersOperations:
1733
1663
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1734
1664
 
1735
1665
  if cls:
1736
- return cls(pipeline_response, deserialized, response_headers)
1666
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1737
1667
 
1738
- return deserialized
1739
-
1740
- get_immutability_policy.metadata = {
1741
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1742
- }
1668
+ return deserialized # type: ignore
1743
1669
 
1744
1670
  @distributed_trace
1745
1671
  def delete_immutability_policy(
@@ -1775,12 +1701,11 @@ class BlobContainersOperations:
1775
1701
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1776
1702
  omitted, this operation will always be applied. Required.
1777
1703
  :type if_match: str
1778
- :keyword callable cls: A custom type or function that will be passed the direct response
1779
1704
  :return: ImmutabilityPolicy or the result of cls(response)
1780
1705
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1781
1706
  :raises ~azure.core.exceptions.HttpResponseError:
1782
1707
  """
1783
- error_map = {
1708
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1784
1709
  401: ClientAuthenticationError,
1785
1710
  404: ResourceNotFoundError,
1786
1711
  409: ResourceExistsError,
@@ -1794,7 +1719,7 @@ class BlobContainersOperations:
1794
1719
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
1795
1720
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1796
1721
 
1797
- request = build_delete_immutability_policy_request(
1722
+ _request = build_delete_immutability_policy_request(
1798
1723
  resource_group_name=resource_group_name,
1799
1724
  account_name=account_name,
1800
1725
  container_name=container_name,
@@ -1802,16 +1727,15 @@ class BlobContainersOperations:
1802
1727
  subscription_id=self._config.subscription_id,
1803
1728
  if_match=if_match,
1804
1729
  api_version=api_version,
1805
- template_url=self.delete_immutability_policy.metadata["url"],
1806
1730
  headers=_headers,
1807
1731
  params=_params,
1808
1732
  )
1809
- request = _convert_request(request)
1810
- request.url = self._client.format_url(request.url)
1733
+ _request = _convert_request(_request)
1734
+ _request.url = self._client.format_url(_request.url)
1811
1735
 
1812
1736
  _stream = False
1813
1737
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1814
- request, stream=_stream, **kwargs
1738
+ _request, stream=_stream, **kwargs
1815
1739
  )
1816
1740
 
1817
1741
  response = pipeline_response.http_response
@@ -1826,13 +1750,9 @@ class BlobContainersOperations:
1826
1750
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1827
1751
 
1828
1752
  if cls:
1829
- return cls(pipeline_response, deserialized, response_headers)
1753
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1830
1754
 
1831
- return deserialized
1832
-
1833
- delete_immutability_policy.metadata = {
1834
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1835
- }
1755
+ return deserialized # type: ignore
1836
1756
 
1837
1757
  @distributed_trace
1838
1758
  def lock_immutability_policy(
@@ -1857,12 +1777,11 @@ class BlobContainersOperations:
1857
1777
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1858
1778
  omitted, this operation will always be applied. Required.
1859
1779
  :type if_match: str
1860
- :keyword callable cls: A custom type or function that will be passed the direct response
1861
1780
  :return: ImmutabilityPolicy or the result of cls(response)
1862
1781
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1863
1782
  :raises ~azure.core.exceptions.HttpResponseError:
1864
1783
  """
1865
- error_map = {
1784
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1866
1785
  401: ClientAuthenticationError,
1867
1786
  404: ResourceNotFoundError,
1868
1787
  409: ResourceExistsError,
@@ -1876,23 +1795,22 @@ class BlobContainersOperations:
1876
1795
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-02-01"))
1877
1796
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1878
1797
 
1879
- request = build_lock_immutability_policy_request(
1798
+ _request = build_lock_immutability_policy_request(
1880
1799
  resource_group_name=resource_group_name,
1881
1800
  account_name=account_name,
1882
1801
  container_name=container_name,
1883
1802
  subscription_id=self._config.subscription_id,
1884
1803
  if_match=if_match,
1885
1804
  api_version=api_version,
1886
- template_url=self.lock_immutability_policy.metadata["url"],
1887
1805
  headers=_headers,
1888
1806
  params=_params,
1889
1807
  )
1890
- request = _convert_request(request)
1891
- request.url = self._client.format_url(request.url)
1808
+ _request = _convert_request(_request)
1809
+ _request.url = self._client.format_url(_request.url)
1892
1810
 
1893
1811
  _stream = False
1894
1812
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1895
- request, stream=_stream, **kwargs
1813
+ _request, stream=_stream, **kwargs
1896
1814
  )
1897
1815
 
1898
1816
  response = pipeline_response.http_response
@@ -1907,13 +1825,9 @@ class BlobContainersOperations:
1907
1825
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1908
1826
 
1909
1827
  if cls:
1910
- return cls(pipeline_response, deserialized, response_headers)
1828
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1911
1829
 
1912
- return deserialized
1913
-
1914
- lock_immutability_policy.metadata = {
1915
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1916
- }
1830
+ return deserialized # type: ignore
1917
1831
 
1918
1832
  @overload
1919
1833
  def extend_immutability_policy(
@@ -1953,7 +1867,6 @@ class BlobContainersOperations:
1953
1867
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1954
1868
  Default value is "application/json".
1955
1869
  :paramtype content_type: str
1956
- :keyword callable cls: A custom type or function that will be passed the direct response
1957
1870
  :return: ImmutabilityPolicy or the result of cls(response)
1958
1871
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
1959
1872
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1966,7 +1879,7 @@ class BlobContainersOperations:
1966
1879
  account_name: str,
1967
1880
  container_name: str,
1968
1881
  if_match: str,
1969
- parameters: Optional[IO] = None,
1882
+ parameters: Optional[IO[bytes]] = None,
1970
1883
  *,
1971
1884
  content_type: str = "application/json",
1972
1885
  **kwargs: Any
@@ -1993,11 +1906,10 @@ class BlobContainersOperations:
1993
1906
  :type if_match: str
1994
1907
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1995
1908
  container. Default value is None.
1996
- :type parameters: IO
1909
+ :type parameters: IO[bytes]
1997
1910
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1998
1911
  Default value is "application/json".
1999
1912
  :paramtype content_type: str
2000
- :keyword callable cls: A custom type or function that will be passed the direct response
2001
1913
  :return: ImmutabilityPolicy or the result of cls(response)
2002
1914
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
2003
1915
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2010,7 +1922,7 @@ class BlobContainersOperations:
2010
1922
  account_name: str,
2011
1923
  container_name: str,
2012
1924
  if_match: str,
2013
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1925
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2014
1926
  **kwargs: Any
2015
1927
  ) -> _models.ImmutabilityPolicy:
2016
1928
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2034,17 +1946,13 @@ class BlobContainersOperations:
2034
1946
  omitted, this operation will always be applied. Required.
2035
1947
  :type if_match: str
2036
1948
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2037
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2038
- :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO
2039
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2040
- Default value is None.
2041
- :paramtype content_type: str
2042
- :keyword callable cls: A custom type or function that will be passed the direct response
1949
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1950
+ :type parameters: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or IO[bytes]
2043
1951
  :return: ImmutabilityPolicy or the result of cls(response)
2044
1952
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy
2045
1953
  :raises ~azure.core.exceptions.HttpResponseError:
2046
1954
  """
2047
- error_map = {
1955
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2048
1956
  401: ClientAuthenticationError,
2049
1957
  404: ResourceNotFoundError,
2050
1958
  409: ResourceExistsError,
@@ -2070,7 +1978,7 @@ class BlobContainersOperations:
2070
1978
  else:
2071
1979
  _json = None
2072
1980
 
2073
- request = build_extend_immutability_policy_request(
1981
+ _request = build_extend_immutability_policy_request(
2074
1982
  resource_group_name=resource_group_name,
2075
1983
  account_name=account_name,
2076
1984
  container_name=container_name,
@@ -2080,16 +1988,15 @@ class BlobContainersOperations:
2080
1988
  content_type=content_type,
2081
1989
  json=_json,
2082
1990
  content=_content,
2083
- template_url=self.extend_immutability_policy.metadata["url"],
2084
1991
  headers=_headers,
2085
1992
  params=_params,
2086
1993
  )
2087
- request = _convert_request(request)
2088
- request.url = self._client.format_url(request.url)
1994
+ _request = _convert_request(_request)
1995
+ _request.url = self._client.format_url(_request.url)
2089
1996
 
2090
1997
  _stream = False
2091
1998
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2092
- request, stream=_stream, **kwargs
1999
+ _request, stream=_stream, **kwargs
2093
2000
  )
2094
2001
 
2095
2002
  response = pipeline_response.http_response
@@ -2104,13 +2011,9 @@ class BlobContainersOperations:
2104
2011
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2105
2012
 
2106
2013
  if cls:
2107
- return cls(pipeline_response, deserialized, response_headers)
2108
-
2109
- return deserialized
2014
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2110
2015
 
2111
- extend_immutability_policy.metadata = {
2112
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2113
- }
2016
+ return deserialized # type: ignore
2114
2017
 
2115
2018
  @overload
2116
2019
  def lease(
@@ -2143,7 +2046,6 @@ class BlobContainersOperations:
2143
2046
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2144
2047
  Default value is "application/json".
2145
2048
  :paramtype content_type: str
2146
- :keyword callable cls: A custom type or function that will be passed the direct response
2147
2049
  :return: LeaseContainerResponse or the result of cls(response)
2148
2050
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
2149
2051
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2155,7 +2057,7 @@ class BlobContainersOperations:
2155
2057
  resource_group_name: str,
2156
2058
  account_name: str,
2157
2059
  container_name: str,
2158
- parameters: Optional[IO] = None,
2060
+ parameters: Optional[IO[bytes]] = None,
2159
2061
  *,
2160
2062
  content_type: str = "application/json",
2161
2063
  **kwargs: Any
@@ -2176,11 +2078,10 @@ class BlobContainersOperations:
2176
2078
  by a letter or number. Required.
2177
2079
  :type container_name: str
2178
2080
  :param parameters: Lease Container request body. Default value is None.
2179
- :type parameters: IO
2081
+ :type parameters: IO[bytes]
2180
2082
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2181
2083
  Default value is "application/json".
2182
2084
  :paramtype content_type: str
2183
- :keyword callable cls: A custom type or function that will be passed the direct response
2184
2085
  :return: LeaseContainerResponse or the result of cls(response)
2185
2086
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
2186
2087
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2192,7 +2093,7 @@ class BlobContainersOperations:
2192
2093
  resource_group_name: str,
2193
2094
  account_name: str,
2194
2095
  container_name: str,
2195
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2096
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2196
2097
  **kwargs: Any
2197
2098
  ) -> _models.LeaseContainerResponse:
2198
2099
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2210,18 +2111,14 @@ class BlobContainersOperations:
2210
2111
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2211
2112
  by a letter or number. Required.
2212
2113
  :type container_name: str
2213
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2214
- type. Default value is None.
2215
- :type parameters: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerRequest or IO
2216
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2217
- Default value is None.
2218
- :paramtype content_type: str
2219
- :keyword callable cls: A custom type or function that will be passed the direct response
2114
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2115
+ IO[bytes] type. Default value is None.
2116
+ :type parameters: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerRequest or IO[bytes]
2220
2117
  :return: LeaseContainerResponse or the result of cls(response)
2221
2118
  :rtype: ~azure.mgmt.storage.v2018_02_01.models.LeaseContainerResponse
2222
2119
  :raises ~azure.core.exceptions.HttpResponseError:
2223
2120
  """
2224
- error_map = {
2121
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2225
2122
  401: ClientAuthenticationError,
2226
2123
  404: ResourceNotFoundError,
2227
2124
  409: ResourceExistsError,
@@ -2247,7 +2144,7 @@ class BlobContainersOperations:
2247
2144
  else:
2248
2145
  _json = None
2249
2146
 
2250
- request = build_lease_request(
2147
+ _request = build_lease_request(
2251
2148
  resource_group_name=resource_group_name,
2252
2149
  account_name=account_name,
2253
2150
  container_name=container_name,
@@ -2256,16 +2153,15 @@ class BlobContainersOperations:
2256
2153
  content_type=content_type,
2257
2154
  json=_json,
2258
2155
  content=_content,
2259
- template_url=self.lease.metadata["url"],
2260
2156
  headers=_headers,
2261
2157
  params=_params,
2262
2158
  )
2263
- request = _convert_request(request)
2264
- request.url = self._client.format_url(request.url)
2159
+ _request = _convert_request(_request)
2160
+ _request.url = self._client.format_url(_request.url)
2265
2161
 
2266
2162
  _stream = False
2267
2163
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2268
- request, stream=_stream, **kwargs
2164
+ _request, stream=_stream, **kwargs
2269
2165
  )
2270
2166
 
2271
2167
  response = pipeline_response.http_response
@@ -2277,10 +2173,6 @@ class BlobContainersOperations:
2277
2173
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2278
2174
 
2279
2175
  if cls:
2280
- return cls(pipeline_response, deserialized, {})
2176
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2281
2177
 
2282
- return deserialized
2283
-
2284
- lease.metadata = {
2285
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2286
- }
2178
+ return deserialized # type: ignore