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_11_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-11-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, {})
613
-
614
- return deserialized
615
+ return cls(pipeline_response, deserialized, {}) # type: ignore
615
616
 
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_11_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_11_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_11_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_11_01.models.BlobContainer or IO[bytes]
728
721
  :return: BlobContainer or the result of cls(response)
729
722
  :rtype: ~azure.mgmt.storage.v2018_11_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
@@ -790,10 +782,6 @@ class BlobContainersOperations:
790
782
 
791
783
  return deserialized # type: ignore
792
784
 
793
- create.metadata = {
794
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
795
- }
796
-
797
785
  @overload
798
786
  def update(
799
787
  self,
@@ -825,7 +813,6 @@ class BlobContainersOperations:
825
813
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
826
814
  Default value is "application/json".
827
815
  :paramtype content_type: str
828
- :keyword callable cls: A custom type or function that will be passed the direct response
829
816
  :return: BlobContainer or the result of cls(response)
830
817
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
831
818
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -837,7 +824,7 @@ class BlobContainersOperations:
837
824
  resource_group_name: str,
838
825
  account_name: str,
839
826
  container_name: str,
840
- blob_container: IO,
827
+ blob_container: IO[bytes],
841
828
  *,
842
829
  content_type: str = "application/json",
843
830
  **kwargs: Any
@@ -858,11 +845,10 @@ class BlobContainersOperations:
858
845
  by a letter or number. Required.
859
846
  :type container_name: str
860
847
  :param blob_container: Properties to update for the blob container. Required.
861
- :type blob_container: IO
848
+ :type blob_container: IO[bytes]
862
849
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
863
850
  Default value is "application/json".
864
851
  :paramtype content_type: str
865
- :keyword callable cls: A custom type or function that will be passed the direct response
866
852
  :return: BlobContainer or the result of cls(response)
867
853
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
868
854
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -874,7 +860,7 @@ class BlobContainersOperations:
874
860
  resource_group_name: str,
875
861
  account_name: str,
876
862
  container_name: str,
877
- blob_container: Union[_models.BlobContainer, IO],
863
+ blob_container: Union[_models.BlobContainer, IO[bytes]],
878
864
  **kwargs: Any
879
865
  ) -> _models.BlobContainer:
880
866
  """Updates container properties as specified in request body. Properties not mentioned in the
@@ -893,17 +879,13 @@ class BlobContainersOperations:
893
879
  by a letter or number. Required.
894
880
  :type container_name: str
895
881
  :param blob_container: Properties to update for the blob container. Is either a BlobContainer
896
- type or a IO type. Required.
897
- :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO
898
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
899
- Default value is None.
900
- :paramtype content_type: str
901
- :keyword callable cls: A custom type or function that will be passed the direct response
882
+ type or a IO[bytes] type. Required.
883
+ :type blob_container: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer or IO[bytes]
902
884
  :return: BlobContainer or the result of cls(response)
903
885
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
904
886
  :raises ~azure.core.exceptions.HttpResponseError:
905
887
  """
906
- error_map = {
888
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
907
889
  401: ClientAuthenticationError,
908
890
  404: ResourceNotFoundError,
909
891
  409: ResourceExistsError,
@@ -926,7 +908,7 @@ class BlobContainersOperations:
926
908
  else:
927
909
  _json = self._serialize.body(blob_container, "BlobContainer")
928
910
 
929
- request = build_update_request(
911
+ _request = build_update_request(
930
912
  resource_group_name=resource_group_name,
931
913
  account_name=account_name,
932
914
  container_name=container_name,
@@ -935,16 +917,15 @@ class BlobContainersOperations:
935
917
  content_type=content_type,
936
918
  json=_json,
937
919
  content=_content,
938
- template_url=self.update.metadata["url"],
939
920
  headers=_headers,
940
921
  params=_params,
941
922
  )
942
- request = _convert_request(request)
943
- request.url = self._client.format_url(request.url)
923
+ _request = _convert_request(_request)
924
+ _request.url = self._client.format_url(_request.url)
944
925
 
945
926
  _stream = False
946
927
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
947
- request, stream=_stream, **kwargs
928
+ _request, stream=_stream, **kwargs
948
929
  )
949
930
 
950
931
  response = pipeline_response.http_response
@@ -956,13 +937,9 @@ class BlobContainersOperations:
956
937
  deserialized = self._deserialize("BlobContainer", pipeline_response)
957
938
 
958
939
  if cls:
959
- return cls(pipeline_response, deserialized, {})
960
-
961
- return deserialized
940
+ return cls(pipeline_response, deserialized, {}) # type: ignore
962
941
 
963
- update.metadata = {
964
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
965
- }
942
+ return deserialized # type: ignore
966
943
 
967
944
  @distributed_trace
968
945
  def get(
@@ -982,12 +959,11 @@ class BlobContainersOperations:
982
959
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
983
960
  by a letter or number. Required.
984
961
  :type container_name: str
985
- :keyword callable cls: A custom type or function that will be passed the direct response
986
962
  :return: BlobContainer or the result of cls(response)
987
963
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.BlobContainer
988
964
  :raises ~azure.core.exceptions.HttpResponseError:
989
965
  """
990
- error_map = {
966
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
991
967
  401: ClientAuthenticationError,
992
968
  404: ResourceNotFoundError,
993
969
  409: ResourceExistsError,
@@ -1001,22 +977,21 @@ class BlobContainersOperations:
1001
977
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1002
978
  cls: ClsType[_models.BlobContainer] = kwargs.pop("cls", None)
1003
979
 
1004
- request = build_get_request(
980
+ _request = build_get_request(
1005
981
  resource_group_name=resource_group_name,
1006
982
  account_name=account_name,
1007
983
  container_name=container_name,
1008
984
  subscription_id=self._config.subscription_id,
1009
985
  api_version=api_version,
1010
- template_url=self.get.metadata["url"],
1011
986
  headers=_headers,
1012
987
  params=_params,
1013
988
  )
1014
- request = _convert_request(request)
1015
- request.url = self._client.format_url(request.url)
989
+ _request = _convert_request(_request)
990
+ _request.url = self._client.format_url(_request.url)
1016
991
 
1017
992
  _stream = False
1018
993
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1019
- request, stream=_stream, **kwargs
994
+ _request, stream=_stream, **kwargs
1020
995
  )
1021
996
 
1022
997
  response = pipeline_response.http_response
@@ -1028,13 +1003,9 @@ class BlobContainersOperations:
1028
1003
  deserialized = self._deserialize("BlobContainer", pipeline_response)
1029
1004
 
1030
1005
  if cls:
1031
- return cls(pipeline_response, deserialized, {})
1032
-
1033
- return deserialized
1006
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1034
1007
 
1035
- get.metadata = {
1036
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1037
- }
1008
+ return deserialized # type: ignore
1038
1009
 
1039
1010
  @distributed_trace
1040
1011
  def delete( # pylint: disable=inconsistent-return-statements
@@ -1054,12 +1025,11 @@ class BlobContainersOperations:
1054
1025
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
1055
1026
  by a letter or number. Required.
1056
1027
  :type container_name: str
1057
- :keyword callable cls: A custom type or function that will be passed the direct response
1058
1028
  :return: None or the result of cls(response)
1059
1029
  :rtype: None
1060
1030
  :raises ~azure.core.exceptions.HttpResponseError:
1061
1031
  """
1062
- error_map = {
1032
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1063
1033
  401: ClientAuthenticationError,
1064
1034
  404: ResourceNotFoundError,
1065
1035
  409: ResourceExistsError,
@@ -1073,22 +1043,21 @@ class BlobContainersOperations:
1073
1043
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1074
1044
  cls: ClsType[None] = kwargs.pop("cls", None)
1075
1045
 
1076
- request = build_delete_request(
1046
+ _request = build_delete_request(
1077
1047
  resource_group_name=resource_group_name,
1078
1048
  account_name=account_name,
1079
1049
  container_name=container_name,
1080
1050
  subscription_id=self._config.subscription_id,
1081
1051
  api_version=api_version,
1082
- template_url=self.delete.metadata["url"],
1083
1052
  headers=_headers,
1084
1053
  params=_params,
1085
1054
  )
1086
- request = _convert_request(request)
1087
- request.url = self._client.format_url(request.url)
1055
+ _request = _convert_request(_request)
1056
+ _request.url = self._client.format_url(_request.url)
1088
1057
 
1089
1058
  _stream = False
1090
1059
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1091
- request, stream=_stream, **kwargs
1060
+ _request, stream=_stream, **kwargs
1092
1061
  )
1093
1062
 
1094
1063
  response = pipeline_response.http_response
@@ -1098,11 +1067,7 @@ class BlobContainersOperations:
1098
1067
  raise HttpResponseError(response=response, error_format=ARMErrorFormat)
1099
1068
 
1100
1069
  if cls:
1101
- return cls(pipeline_response, None, {})
1102
-
1103
- delete.metadata = {
1104
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}"
1105
- }
1070
+ return cls(pipeline_response, None, {}) # type: ignore
1106
1071
 
1107
1072
  @overload
1108
1073
  def set_legal_hold(
@@ -1136,7 +1101,6 @@ class BlobContainersOperations:
1136
1101
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1137
1102
  Default value is "application/json".
1138
1103
  :paramtype content_type: str
1139
- :keyword callable cls: A custom type or function that will be passed the direct response
1140
1104
  :return: LegalHold or the result of cls(response)
1141
1105
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1142
1106
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1148,7 +1112,7 @@ class BlobContainersOperations:
1148
1112
  resource_group_name: str,
1149
1113
  account_name: str,
1150
1114
  container_name: str,
1151
- legal_hold: IO,
1115
+ legal_hold: IO[bytes],
1152
1116
  *,
1153
1117
  content_type: str = "application/json",
1154
1118
  **kwargs: Any
@@ -1170,11 +1134,10 @@ class BlobContainersOperations:
1170
1134
  by a letter or number. Required.
1171
1135
  :type container_name: str
1172
1136
  :param legal_hold: The LegalHold property that will be set to a blob container. Required.
1173
- :type legal_hold: IO
1137
+ :type legal_hold: IO[bytes]
1174
1138
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1175
1139
  Default value is "application/json".
1176
1140
  :paramtype content_type: str
1177
- :keyword callable cls: A custom type or function that will be passed the direct response
1178
1141
  :return: LegalHold or the result of cls(response)
1179
1142
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1180
1143
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1186,7 +1149,7 @@ class BlobContainersOperations:
1186
1149
  resource_group_name: str,
1187
1150
  account_name: str,
1188
1151
  container_name: str,
1189
- legal_hold: Union[_models.LegalHold, IO],
1152
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1190
1153
  **kwargs: Any
1191
1154
  ) -> _models.LegalHold:
1192
1155
  """Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold
@@ -1206,17 +1169,13 @@ class BlobContainersOperations:
1206
1169
  by a letter or number. Required.
1207
1170
  :type container_name: str
1208
1171
  :param legal_hold: The LegalHold property that will be set to a blob container. Is either a
1209
- LegalHold type or a IO type. Required.
1210
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
1211
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1212
- Default value is None.
1213
- :paramtype content_type: str
1214
- :keyword callable cls: A custom type or function that will be passed the direct response
1172
+ LegalHold type or a IO[bytes] type. Required.
1173
+ :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
1215
1174
  :return: LegalHold or the result of cls(response)
1216
1175
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1217
1176
  :raises ~azure.core.exceptions.HttpResponseError:
1218
1177
  """
1219
- error_map = {
1178
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1220
1179
  401: ClientAuthenticationError,
1221
1180
  404: ResourceNotFoundError,
1222
1181
  409: ResourceExistsError,
@@ -1239,7 +1198,7 @@ class BlobContainersOperations:
1239
1198
  else:
1240
1199
  _json = self._serialize.body(legal_hold, "LegalHold")
1241
1200
 
1242
- request = build_set_legal_hold_request(
1201
+ _request = build_set_legal_hold_request(
1243
1202
  resource_group_name=resource_group_name,
1244
1203
  account_name=account_name,
1245
1204
  container_name=container_name,
@@ -1248,16 +1207,15 @@ class BlobContainersOperations:
1248
1207
  content_type=content_type,
1249
1208
  json=_json,
1250
1209
  content=_content,
1251
- template_url=self.set_legal_hold.metadata["url"],
1252
1210
  headers=_headers,
1253
1211
  params=_params,
1254
1212
  )
1255
- request = _convert_request(request)
1256
- request.url = self._client.format_url(request.url)
1213
+ _request = _convert_request(_request)
1214
+ _request.url = self._client.format_url(_request.url)
1257
1215
 
1258
1216
  _stream = False
1259
1217
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1260
- request, stream=_stream, **kwargs
1218
+ _request, stream=_stream, **kwargs
1261
1219
  )
1262
1220
 
1263
1221
  response = pipeline_response.http_response
@@ -1269,13 +1227,9 @@ class BlobContainersOperations:
1269
1227
  deserialized = self._deserialize("LegalHold", pipeline_response)
1270
1228
 
1271
1229
  if cls:
1272
- return cls(pipeline_response, deserialized, {})
1273
-
1274
- return deserialized
1230
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1275
1231
 
1276
- set_legal_hold.metadata = {
1277
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"
1278
- }
1232
+ return deserialized # type: ignore
1279
1233
 
1280
1234
  @overload
1281
1235
  def clear_legal_hold(
@@ -1308,7 +1262,6 @@ class BlobContainersOperations:
1308
1262
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1309
1263
  Default value is "application/json".
1310
1264
  :paramtype content_type: str
1311
- :keyword callable cls: A custom type or function that will be passed the direct response
1312
1265
  :return: LegalHold or the result of cls(response)
1313
1266
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1314
1267
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1320,7 +1273,7 @@ class BlobContainersOperations:
1320
1273
  resource_group_name: str,
1321
1274
  account_name: str,
1322
1275
  container_name: str,
1323
- legal_hold: IO,
1276
+ legal_hold: IO[bytes],
1324
1277
  *,
1325
1278
  content_type: str = "application/json",
1326
1279
  **kwargs: Any
@@ -1341,11 +1294,10 @@ class BlobContainersOperations:
1341
1294
  by a letter or number. Required.
1342
1295
  :type container_name: str
1343
1296
  :param legal_hold: The LegalHold property that will be clear from a blob container. Required.
1344
- :type legal_hold: IO
1297
+ :type legal_hold: IO[bytes]
1345
1298
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1346
1299
  Default value is "application/json".
1347
1300
  :paramtype content_type: str
1348
- :keyword callable cls: A custom type or function that will be passed the direct response
1349
1301
  :return: LegalHold or the result of cls(response)
1350
1302
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1351
1303
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1357,7 +1309,7 @@ class BlobContainersOperations:
1357
1309
  resource_group_name: str,
1358
1310
  account_name: str,
1359
1311
  container_name: str,
1360
- legal_hold: Union[_models.LegalHold, IO],
1312
+ legal_hold: Union[_models.LegalHold, IO[bytes]],
1361
1313
  **kwargs: Any
1362
1314
  ) -> _models.LegalHold:
1363
1315
  """Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent
@@ -1376,17 +1328,13 @@ class BlobContainersOperations:
1376
1328
  by a letter or number. Required.
1377
1329
  :type container_name: str
1378
1330
  :param legal_hold: The LegalHold property that will be clear from a blob container. Is either a
1379
- LegalHold type or a IO type. Required.
1380
- :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO
1381
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1382
- Default value is None.
1383
- :paramtype content_type: str
1384
- :keyword callable cls: A custom type or function that will be passed the direct response
1331
+ LegalHold type or a IO[bytes] type. Required.
1332
+ :type legal_hold: ~azure.mgmt.storage.v2018_11_01.models.LegalHold or IO[bytes]
1385
1333
  :return: LegalHold or the result of cls(response)
1386
1334
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LegalHold
1387
1335
  :raises ~azure.core.exceptions.HttpResponseError:
1388
1336
  """
1389
- error_map = {
1337
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1390
1338
  401: ClientAuthenticationError,
1391
1339
  404: ResourceNotFoundError,
1392
1340
  409: ResourceExistsError,
@@ -1409,7 +1357,7 @@ class BlobContainersOperations:
1409
1357
  else:
1410
1358
  _json = self._serialize.body(legal_hold, "LegalHold")
1411
1359
 
1412
- request = build_clear_legal_hold_request(
1360
+ _request = build_clear_legal_hold_request(
1413
1361
  resource_group_name=resource_group_name,
1414
1362
  account_name=account_name,
1415
1363
  container_name=container_name,
@@ -1418,16 +1366,15 @@ class BlobContainersOperations:
1418
1366
  content_type=content_type,
1419
1367
  json=_json,
1420
1368
  content=_content,
1421
- template_url=self.clear_legal_hold.metadata["url"],
1422
1369
  headers=_headers,
1423
1370
  params=_params,
1424
1371
  )
1425
- request = _convert_request(request)
1426
- request.url = self._client.format_url(request.url)
1372
+ _request = _convert_request(_request)
1373
+ _request.url = self._client.format_url(_request.url)
1427
1374
 
1428
1375
  _stream = False
1429
1376
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1430
- request, stream=_stream, **kwargs
1377
+ _request, stream=_stream, **kwargs
1431
1378
  )
1432
1379
 
1433
1380
  response = pipeline_response.http_response
@@ -1439,13 +1386,9 @@ class BlobContainersOperations:
1439
1386
  deserialized = self._deserialize("LegalHold", pipeline_response)
1440
1387
 
1441
1388
  if cls:
1442
- return cls(pipeline_response, deserialized, {})
1443
-
1444
- return deserialized
1389
+ return cls(pipeline_response, deserialized, {}) # type: ignore
1445
1390
 
1446
- clear_legal_hold.metadata = {
1447
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"
1448
- }
1391
+ return deserialized # type: ignore
1449
1392
 
1450
1393
  @overload
1451
1394
  def create_or_update_immutability_policy(
@@ -1488,7 +1431,6 @@ class BlobContainersOperations:
1488
1431
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1489
1432
  Default value is "application/json".
1490
1433
  :paramtype content_type: str
1491
- :keyword callable cls: A custom type or function that will be passed the direct response
1492
1434
  :return: ImmutabilityPolicy or the result of cls(response)
1493
1435
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1494
1436
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1502,7 +1444,7 @@ class BlobContainersOperations:
1502
1444
  container_name: str,
1503
1445
  immutability_policy_name: Union[str, _models.Enum10],
1504
1446
  if_match: Optional[str] = None,
1505
- parameters: Optional[IO] = None,
1447
+ parameters: Optional[IO[bytes]] = None,
1506
1448
  *,
1507
1449
  content_type: str = "application/json",
1508
1450
  **kwargs: Any
@@ -1531,11 +1473,10 @@ class BlobContainersOperations:
1531
1473
  :type if_match: str
1532
1474
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1533
1475
  container. Default value is None.
1534
- :type parameters: IO
1476
+ :type parameters: IO[bytes]
1535
1477
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
1536
1478
  Default value is "application/json".
1537
1479
  :paramtype content_type: str
1538
- :keyword callable cls: A custom type or function that will be passed the direct response
1539
1480
  :return: ImmutabilityPolicy or the result of cls(response)
1540
1481
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1541
1482
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1549,7 +1490,7 @@ class BlobContainersOperations:
1549
1490
  container_name: str,
1550
1491
  immutability_policy_name: Union[str, _models.Enum10],
1551
1492
  if_match: Optional[str] = None,
1552
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1493
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
1553
1494
  **kwargs: Any
1554
1495
  ) -> _models.ImmutabilityPolicy:
1555
1496
  """Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but
@@ -1575,17 +1516,13 @@ class BlobContainersOperations:
1575
1516
  omitted, this operation will always be applied. Default value is None.
1576
1517
  :type if_match: str
1577
1518
  :param parameters: The ImmutabilityPolicy Properties that will be created or updated to a blob
1578
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
1579
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
1580
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
1581
- Default value is None.
1582
- :paramtype content_type: str
1583
- :keyword callable cls: A custom type or function that will be passed the direct response
1519
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1520
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
1584
1521
  :return: ImmutabilityPolicy or the result of cls(response)
1585
1522
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1586
1523
  :raises ~azure.core.exceptions.HttpResponseError:
1587
1524
  """
1588
- error_map = {
1525
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1589
1526
  401: ClientAuthenticationError,
1590
1527
  404: ResourceNotFoundError,
1591
1528
  409: ResourceExistsError,
@@ -1611,7 +1548,7 @@ class BlobContainersOperations:
1611
1548
  else:
1612
1549
  _json = None
1613
1550
 
1614
- request = build_create_or_update_immutability_policy_request(
1551
+ _request = build_create_or_update_immutability_policy_request(
1615
1552
  resource_group_name=resource_group_name,
1616
1553
  account_name=account_name,
1617
1554
  container_name=container_name,
@@ -1622,16 +1559,15 @@ class BlobContainersOperations:
1622
1559
  content_type=content_type,
1623
1560
  json=_json,
1624
1561
  content=_content,
1625
- template_url=self.create_or_update_immutability_policy.metadata["url"],
1626
1562
  headers=_headers,
1627
1563
  params=_params,
1628
1564
  )
1629
- request = _convert_request(request)
1630
- request.url = self._client.format_url(request.url)
1565
+ _request = _convert_request(_request)
1566
+ _request.url = self._client.format_url(_request.url)
1631
1567
 
1632
1568
  _stream = False
1633
1569
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1634
- request, stream=_stream, **kwargs
1570
+ _request, stream=_stream, **kwargs
1635
1571
  )
1636
1572
 
1637
1573
  response = pipeline_response.http_response
@@ -1646,13 +1582,9 @@ class BlobContainersOperations:
1646
1582
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1647
1583
 
1648
1584
  if cls:
1649
- return cls(pipeline_response, deserialized, response_headers)
1585
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1650
1586
 
1651
- return deserialized
1652
-
1653
- create_or_update_immutability_policy.metadata = {
1654
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1655
- }
1587
+ return deserialized # type: ignore
1656
1588
 
1657
1589
  @distributed_trace
1658
1590
  def get_immutability_policy(
@@ -1686,12 +1618,11 @@ class BlobContainersOperations:
1686
1618
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1687
1619
  omitted, this operation will always be applied. Default value is None.
1688
1620
  :type if_match: str
1689
- :keyword callable cls: A custom type or function that will be passed the direct response
1690
1621
  :return: ImmutabilityPolicy or the result of cls(response)
1691
1622
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1692
1623
  :raises ~azure.core.exceptions.HttpResponseError:
1693
1624
  """
1694
- error_map = {
1625
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1695
1626
  401: ClientAuthenticationError,
1696
1627
  404: ResourceNotFoundError,
1697
1628
  409: ResourceExistsError,
@@ -1705,7 +1636,7 @@ class BlobContainersOperations:
1705
1636
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1706
1637
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1707
1638
 
1708
- request = build_get_immutability_policy_request(
1639
+ _request = build_get_immutability_policy_request(
1709
1640
  resource_group_name=resource_group_name,
1710
1641
  account_name=account_name,
1711
1642
  container_name=container_name,
@@ -1713,16 +1644,15 @@ class BlobContainersOperations:
1713
1644
  subscription_id=self._config.subscription_id,
1714
1645
  if_match=if_match,
1715
1646
  api_version=api_version,
1716
- template_url=self.get_immutability_policy.metadata["url"],
1717
1647
  headers=_headers,
1718
1648
  params=_params,
1719
1649
  )
1720
- request = _convert_request(request)
1721
- request.url = self._client.format_url(request.url)
1650
+ _request = _convert_request(_request)
1651
+ _request.url = self._client.format_url(_request.url)
1722
1652
 
1723
1653
  _stream = False
1724
1654
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1725
- request, stream=_stream, **kwargs
1655
+ _request, stream=_stream, **kwargs
1726
1656
  )
1727
1657
 
1728
1658
  response = pipeline_response.http_response
@@ -1737,13 +1667,9 @@ class BlobContainersOperations:
1737
1667
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1738
1668
 
1739
1669
  if cls:
1740
- return cls(pipeline_response, deserialized, response_headers)
1670
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1741
1671
 
1742
- return deserialized
1743
-
1744
- get_immutability_policy.metadata = {
1745
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1746
- }
1672
+ return deserialized # type: ignore
1747
1673
 
1748
1674
  @distributed_trace
1749
1675
  def delete_immutability_policy(
@@ -1779,12 +1705,11 @@ class BlobContainersOperations:
1779
1705
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1780
1706
  omitted, this operation will always be applied. Required.
1781
1707
  :type if_match: str
1782
- :keyword callable cls: A custom type or function that will be passed the direct response
1783
1708
  :return: ImmutabilityPolicy or the result of cls(response)
1784
1709
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1785
1710
  :raises ~azure.core.exceptions.HttpResponseError:
1786
1711
  """
1787
- error_map = {
1712
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1788
1713
  401: ClientAuthenticationError,
1789
1714
  404: ResourceNotFoundError,
1790
1715
  409: ResourceExistsError,
@@ -1798,7 +1723,7 @@ class BlobContainersOperations:
1798
1723
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1799
1724
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1800
1725
 
1801
- request = build_delete_immutability_policy_request(
1726
+ _request = build_delete_immutability_policy_request(
1802
1727
  resource_group_name=resource_group_name,
1803
1728
  account_name=account_name,
1804
1729
  container_name=container_name,
@@ -1806,16 +1731,15 @@ class BlobContainersOperations:
1806
1731
  subscription_id=self._config.subscription_id,
1807
1732
  if_match=if_match,
1808
1733
  api_version=api_version,
1809
- template_url=self.delete_immutability_policy.metadata["url"],
1810
1734
  headers=_headers,
1811
1735
  params=_params,
1812
1736
  )
1813
- request = _convert_request(request)
1814
- request.url = self._client.format_url(request.url)
1737
+ _request = _convert_request(_request)
1738
+ _request.url = self._client.format_url(_request.url)
1815
1739
 
1816
1740
  _stream = False
1817
1741
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1818
- request, stream=_stream, **kwargs
1742
+ _request, stream=_stream, **kwargs
1819
1743
  )
1820
1744
 
1821
1745
  response = pipeline_response.http_response
@@ -1830,13 +1754,9 @@ class BlobContainersOperations:
1830
1754
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1831
1755
 
1832
1756
  if cls:
1833
- return cls(pipeline_response, deserialized, response_headers)
1757
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1834
1758
 
1835
- return deserialized
1836
-
1837
- delete_immutability_policy.metadata = {
1838
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}"
1839
- }
1759
+ return deserialized # type: ignore
1840
1760
 
1841
1761
  @distributed_trace
1842
1762
  def lock_immutability_policy(
@@ -1861,12 +1781,11 @@ class BlobContainersOperations:
1861
1781
  of "*" can be used to apply the operation only if the immutability policy already exists. If
1862
1782
  omitted, this operation will always be applied. Required.
1863
1783
  :type if_match: str
1864
- :keyword callable cls: A custom type or function that will be passed the direct response
1865
1784
  :return: ImmutabilityPolicy or the result of cls(response)
1866
1785
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1867
1786
  :raises ~azure.core.exceptions.HttpResponseError:
1868
1787
  """
1869
- error_map = {
1788
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
1870
1789
  401: ClientAuthenticationError,
1871
1790
  404: ResourceNotFoundError,
1872
1791
  409: ResourceExistsError,
@@ -1880,23 +1799,22 @@ class BlobContainersOperations:
1880
1799
  api_version: str = kwargs.pop("api_version", _params.pop("api-version", self._api_version or "2018-11-01"))
1881
1800
  cls: ClsType[_models.ImmutabilityPolicy] = kwargs.pop("cls", None)
1882
1801
 
1883
- request = build_lock_immutability_policy_request(
1802
+ _request = build_lock_immutability_policy_request(
1884
1803
  resource_group_name=resource_group_name,
1885
1804
  account_name=account_name,
1886
1805
  container_name=container_name,
1887
1806
  subscription_id=self._config.subscription_id,
1888
1807
  if_match=if_match,
1889
1808
  api_version=api_version,
1890
- template_url=self.lock_immutability_policy.metadata["url"],
1891
1809
  headers=_headers,
1892
1810
  params=_params,
1893
1811
  )
1894
- request = _convert_request(request)
1895
- request.url = self._client.format_url(request.url)
1812
+ _request = _convert_request(_request)
1813
+ _request.url = self._client.format_url(_request.url)
1896
1814
 
1897
1815
  _stream = False
1898
1816
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
1899
- request, stream=_stream, **kwargs
1817
+ _request, stream=_stream, **kwargs
1900
1818
  )
1901
1819
 
1902
1820
  response = pipeline_response.http_response
@@ -1911,13 +1829,9 @@ class BlobContainersOperations:
1911
1829
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
1912
1830
 
1913
1831
  if cls:
1914
- return cls(pipeline_response, deserialized, response_headers)
1832
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
1915
1833
 
1916
- return deserialized
1917
-
1918
- lock_immutability_policy.metadata = {
1919
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock"
1920
- }
1834
+ return deserialized # type: ignore
1921
1835
 
1922
1836
  @overload
1923
1837
  def extend_immutability_policy(
@@ -1957,7 +1871,6 @@ class BlobContainersOperations:
1957
1871
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
1958
1872
  Default value is "application/json".
1959
1873
  :paramtype content_type: str
1960
- :keyword callable cls: A custom type or function that will be passed the direct response
1961
1874
  :return: ImmutabilityPolicy or the result of cls(response)
1962
1875
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
1963
1876
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -1970,7 +1883,7 @@ class BlobContainersOperations:
1970
1883
  account_name: str,
1971
1884
  container_name: str,
1972
1885
  if_match: str,
1973
- parameters: Optional[IO] = None,
1886
+ parameters: Optional[IO[bytes]] = None,
1974
1887
  *,
1975
1888
  content_type: str = "application/json",
1976
1889
  **kwargs: Any
@@ -1997,11 +1910,10 @@ class BlobContainersOperations:
1997
1910
  :type if_match: str
1998
1911
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
1999
1912
  container. Default value is None.
2000
- :type parameters: IO
1913
+ :type parameters: IO[bytes]
2001
1914
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2002
1915
  Default value is "application/json".
2003
1916
  :paramtype content_type: str
2004
- :keyword callable cls: A custom type or function that will be passed the direct response
2005
1917
  :return: ImmutabilityPolicy or the result of cls(response)
2006
1918
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
2007
1919
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2014,7 +1926,7 @@ class BlobContainersOperations:
2014
1926
  account_name: str,
2015
1927
  container_name: str,
2016
1928
  if_match: str,
2017
- parameters: Optional[Union[_models.ImmutabilityPolicy, IO]] = None,
1929
+ parameters: Optional[Union[_models.ImmutabilityPolicy, IO[bytes]]] = None,
2018
1930
  **kwargs: Any
2019
1931
  ) -> _models.ImmutabilityPolicy:
2020
1932
  """Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only
@@ -2038,17 +1950,13 @@ class BlobContainersOperations:
2038
1950
  omitted, this operation will always be applied. Required.
2039
1951
  :type if_match: str
2040
1952
  :param parameters: The ImmutabilityPolicy Properties that will be extended for a blob
2041
- container. Is either a ImmutabilityPolicy type or a IO type. Default value is None.
2042
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO
2043
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2044
- Default value is None.
2045
- :paramtype content_type: str
2046
- :keyword callable cls: A custom type or function that will be passed the direct response
1953
+ container. Is either a ImmutabilityPolicy type or a IO[bytes] type. Default value is None.
1954
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy or IO[bytes]
2047
1955
  :return: ImmutabilityPolicy or the result of cls(response)
2048
1956
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.ImmutabilityPolicy
2049
1957
  :raises ~azure.core.exceptions.HttpResponseError:
2050
1958
  """
2051
- error_map = {
1959
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2052
1960
  401: ClientAuthenticationError,
2053
1961
  404: ResourceNotFoundError,
2054
1962
  409: ResourceExistsError,
@@ -2074,7 +1982,7 @@ class BlobContainersOperations:
2074
1982
  else:
2075
1983
  _json = None
2076
1984
 
2077
- request = build_extend_immutability_policy_request(
1985
+ _request = build_extend_immutability_policy_request(
2078
1986
  resource_group_name=resource_group_name,
2079
1987
  account_name=account_name,
2080
1988
  container_name=container_name,
@@ -2084,16 +1992,15 @@ class BlobContainersOperations:
2084
1992
  content_type=content_type,
2085
1993
  json=_json,
2086
1994
  content=_content,
2087
- template_url=self.extend_immutability_policy.metadata["url"],
2088
1995
  headers=_headers,
2089
1996
  params=_params,
2090
1997
  )
2091
- request = _convert_request(request)
2092
- request.url = self._client.format_url(request.url)
1998
+ _request = _convert_request(_request)
1999
+ _request.url = self._client.format_url(_request.url)
2093
2000
 
2094
2001
  _stream = False
2095
2002
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2096
- request, stream=_stream, **kwargs
2003
+ _request, stream=_stream, **kwargs
2097
2004
  )
2098
2005
 
2099
2006
  response = pipeline_response.http_response
@@ -2108,13 +2015,9 @@ class BlobContainersOperations:
2108
2015
  deserialized = self._deserialize("ImmutabilityPolicy", pipeline_response)
2109
2016
 
2110
2017
  if cls:
2111
- return cls(pipeline_response, deserialized, response_headers)
2112
-
2113
- return deserialized
2018
+ return cls(pipeline_response, deserialized, response_headers) # type: ignore
2114
2019
 
2115
- extend_immutability_policy.metadata = {
2116
- "url": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend"
2117
- }
2020
+ return deserialized # type: ignore
2118
2021
 
2119
2022
  @overload
2120
2023
  def lease(
@@ -2147,7 +2050,6 @@ class BlobContainersOperations:
2147
2050
  :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
2148
2051
  Default value is "application/json".
2149
2052
  :paramtype content_type: str
2150
- :keyword callable cls: A custom type or function that will be passed the direct response
2151
2053
  :return: LeaseContainerResponse or the result of cls(response)
2152
2054
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
2153
2055
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2159,7 +2061,7 @@ class BlobContainersOperations:
2159
2061
  resource_group_name: str,
2160
2062
  account_name: str,
2161
2063
  container_name: str,
2162
- parameters: Optional[IO] = None,
2064
+ parameters: Optional[IO[bytes]] = None,
2163
2065
  *,
2164
2066
  content_type: str = "application/json",
2165
2067
  **kwargs: Any
@@ -2180,11 +2082,10 @@ class BlobContainersOperations:
2180
2082
  by a letter or number. Required.
2181
2083
  :type container_name: str
2182
2084
  :param parameters: Lease Container request body. Default value is None.
2183
- :type parameters: IO
2085
+ :type parameters: IO[bytes]
2184
2086
  :keyword content_type: Body Parameter content-type. Content type parameter for binary body.
2185
2087
  Default value is "application/json".
2186
2088
  :paramtype content_type: str
2187
- :keyword callable cls: A custom type or function that will be passed the direct response
2188
2089
  :return: LeaseContainerResponse or the result of cls(response)
2189
2090
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
2190
2091
  :raises ~azure.core.exceptions.HttpResponseError:
@@ -2196,7 +2097,7 @@ class BlobContainersOperations:
2196
2097
  resource_group_name: str,
2197
2098
  account_name: str,
2198
2099
  container_name: str,
2199
- parameters: Optional[Union[_models.LeaseContainerRequest, IO]] = None,
2100
+ parameters: Optional[Union[_models.LeaseContainerRequest, IO[bytes]]] = None,
2200
2101
  **kwargs: Any
2201
2102
  ) -> _models.LeaseContainerResponse:
2202
2103
  """The Lease Container operation establishes and manages a lock on a container for delete
@@ -2214,18 +2115,14 @@ class BlobContainersOperations:
2214
2115
  letters and dash (-) only. Every dash (-) character must be immediately preceded and followed
2215
2116
  by a letter or number. Required.
2216
2117
  :type container_name: str
2217
- :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a IO
2218
- type. Default value is None.
2219
- :type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO
2220
- :keyword content_type: Body Parameter content-type. Known values are: 'application/json'.
2221
- Default value is None.
2222
- :paramtype content_type: str
2223
- :keyword callable cls: A custom type or function that will be passed the direct response
2118
+ :param parameters: Lease Container request body. Is either a LeaseContainerRequest type or a
2119
+ IO[bytes] type. Default value is None.
2120
+ :type parameters: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerRequest or IO[bytes]
2224
2121
  :return: LeaseContainerResponse or the result of cls(response)
2225
2122
  :rtype: ~azure.mgmt.storage.v2018_11_01.models.LeaseContainerResponse
2226
2123
  :raises ~azure.core.exceptions.HttpResponseError:
2227
2124
  """
2228
- error_map = {
2125
+ error_map: MutableMapping[int, Type[HttpResponseError]] = {
2229
2126
  401: ClientAuthenticationError,
2230
2127
  404: ResourceNotFoundError,
2231
2128
  409: ResourceExistsError,
@@ -2251,7 +2148,7 @@ class BlobContainersOperations:
2251
2148
  else:
2252
2149
  _json = None
2253
2150
 
2254
- request = build_lease_request(
2151
+ _request = build_lease_request(
2255
2152
  resource_group_name=resource_group_name,
2256
2153
  account_name=account_name,
2257
2154
  container_name=container_name,
@@ -2260,16 +2157,15 @@ class BlobContainersOperations:
2260
2157
  content_type=content_type,
2261
2158
  json=_json,
2262
2159
  content=_content,
2263
- template_url=self.lease.metadata["url"],
2264
2160
  headers=_headers,
2265
2161
  params=_params,
2266
2162
  )
2267
- request = _convert_request(request)
2268
- request.url = self._client.format_url(request.url)
2163
+ _request = _convert_request(_request)
2164
+ _request.url = self._client.format_url(_request.url)
2269
2165
 
2270
2166
  _stream = False
2271
2167
  pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access
2272
- request, stream=_stream, **kwargs
2168
+ _request, stream=_stream, **kwargs
2273
2169
  )
2274
2170
 
2275
2171
  response = pipeline_response.http_response
@@ -2281,10 +2177,6 @@ class BlobContainersOperations:
2281
2177
  deserialized = self._deserialize("LeaseContainerResponse", pipeline_response)
2282
2178
 
2283
2179
  if cls:
2284
- return cls(pipeline_response, deserialized, {})
2285
-
2286
- return deserialized
2180
+ return cls(pipeline_response, deserialized, {}) # type: ignore
2287
2181
 
2288
- lease.metadata = {
2289
- "url": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease"
2290
- }
2182
+ return deserialized # type: ignore